:root {
    --orange: #fc6205;
    --dark: #141414;
    --panel: #292929;
    --panel-2: #202020;
    --line: #454545;
    --text: #dedede;
    --muted: #a9a9a9;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; color: var(--text); background: #0e0e0e; font: 13px/1.5 Arial, Helvetica, sans-serif; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
img { max-width: 100%; height: auto; }
.site-shell { width: min(985px, calc(100% - 24px)); margin-inline: auto; }
.top-strip { padding: 5px 0; color: #999; background: #050505; border-bottom: 1px solid #222; font-size: 11px; text-transform: uppercase; }
.site-header { background: linear-gradient(#2f2f2f, #202020); border-bottom: 4px solid var(--orange); }
.header-inner { min-height: 104px; display: flex; align-items: center; gap: 22px; }
.brand { flex: 0 1 380px; display: block; }
.brand img { display: block; }
.header-copy { flex: 1; min-width: 0; }
.header-kicker { margin: 0 0 10px; color: #bbb; font-weight: 700; }
nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-header nav a { min-height: 32px; display: inline-flex; align-items: center; padding: 6px 10px; color: #ddd; background: #161616; border: 1px solid #444; font-weight: 700; }
.site-header nav a:hover { color: #fff; background: var(--orange); border-color: var(--orange); text-decoration: none; }
main.site-shell { padding-block: 14px 24px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: #fff; font-size: 26px; line-height: 1.12; }
h2 { color: #fff; font-size: 20px; line-height: 1.2; }
h3 { font-size: 16px; line-height: 1.2; }
.intro-band { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 22px; padding: 15px 16px; background: var(--panel); border-top: 1px solid #444; border-bottom: 3px solid var(--orange); }
.intro-band p { max-width: 710px; margin-bottom: 0; color: #c9c9c9; }
.primary-link, .more-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 12px; color: #fff; background: var(--orange); font-weight: 700; text-decoration: none; }
.primary-link:hover, .more-link:hover { color: #111; background: #fff; text-decoration: none; }
.content-section { padding-block: 15px 2px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 8px; border-bottom: 1px solid #444; }
.section-heading h2 { margin-bottom: 5px; }
.section-heading p { max-width: 520px; margin-bottom: 5px; color: var(--muted); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.featured-item { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid #3d3d3d; }
.featured-image { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: #111; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.featured-copy { padding: 8px 9px 10px; }
.featured-copy h3 { margin-bottom: 4px; }
.featured-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.category-panel { padding: 12px; background: var(--panel); border-top: 4px solid var(--orange); }
.category-panel h3 { margin-bottom: 4px; }
.category-panel > p { color: var(--muted); }
.directory-links { list-style: none; margin: 0 0 10px; padding: 0; }
.directory-links li { display: grid; grid-template-columns: minmax(150px,.65fr) 1fr; gap: 10px; padding: 6px 3px; border-top: 1px dotted #555; }
.directory-links a { font-weight: 700; }
.directory-links span { color: var(--muted); font-size: 12px; }
.more-link { min-height: 29px; padding: 4px 9px; font-size: 11px; }
.archive-note, .category-page, .content-page, .not-found { margin-top: 16px; padding: 16px; background: var(--panel); border: 1px solid #444; }
.archive-note { border-left: 5px solid var(--orange); }
.breadcrumbs { gap: 7px; margin: 1px 0 10px; color: var(--muted); font-size: 11px; }
.category-page > header, .content-page > header { max-width: 760px; }
.category-page .directory-links { max-width: 820px; margin-top: 14px; }
.category-copy, .content-page section { max-width: 800px; margin-top: 18px; padding-top: 13px; border-top: 2px solid var(--orange); }
.error-code { margin: 0; color: var(--orange); font-size: 50px; font-weight: 700; line-height: 1; }
.site-footer { color: #bbb; background: #151515; border-top: 4px solid var(--orange); }
.footer-inner { min-height: 96px; display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: center; gap: 18px; padding-block: 12px; }
.footer-inner img { max-width: 170px; }
.footer-inner p { margin: 3px 0 0; color: #999; font-size: 11px; }
.site-footer a { color: var(--orange); }

@media (max-width: 760px) {
    .header-inner { display: block; padding-block: 10px; }
    .brand { width: min(330px, 100%); margin-bottom: 8px; }
    .header-kicker { margin-bottom: 7px; }
    .intro-band { grid-template-columns: 1fr; align-items: start; gap: 12px; }
    .featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .category-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 500px) {
    .site-shell { width: min(100% - 14px, 985px); }
    .site-header nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .site-header nav a { justify-content: center; text-align: center; }
    h1 { font-size: 23px; }
    .section-heading { display: block; }
    .featured-grid { grid-template-columns: 1fr; }
    .directory-links li { grid-template-columns: 1fr; gap: 2px; }
}

/* Compact ranked toplist layout */
.bb-wrap { width: min(990px, calc(100% - 24px)); margin-inline: auto; }
.bb-notice { padding: 5px 0; color: #999; background: #050505; font-size: 11px; text-transform: uppercase; }
.bb-header { background: #202020; border-bottom: 4px solid var(--orange); }
.bb-header-main { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bb-logo { display: block; width: min(380px, 48%); }
.bb-logo img { display: block; }
.bb-header-main p { max-width: 410px; margin: 0; color: #bbb; font-weight: 700; text-align: right; }
.bb-menu { display: flex; gap: 2px; padding-bottom: 8px; }
.bb-menu a { padding: 7px 13px; color: #ddd; background: #101010; border: 1px solid #3b3b3b; font-size: 12px; font-weight: 700; text-decoration: none; }
.bb-menu a:hover { color: #111; background: var(--orange); }
.bb-main { padding-block: 13px 25px; }
.bb-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding: 14px 16px; background: #272727; border-bottom: 3px solid var(--orange); }
.bb-summary-copy p { max-width: 720px; margin: 0; color: #c8c8c8; }
.bb-button, .bb-open { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; color: #fff; background: var(--orange); font-weight: 700; text-decoration: none; }
.bb-button:hover, .bb-open:hover { color: #111; background: #fff; text-decoration: none; }
.bb-ranked-section, .bb-category-section { margin-top: 16px; }
.bb-title-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 7px; border-bottom: 1px solid #444; }
.bb-title-row h2, .bb-title-row p { margin-bottom: 5px; }
.bb-title-row p { color: var(--muted); font-size: 12px; }
.bb-toplist { list-style: none; margin: 0; padding: 0; border: 1px solid #414141; }
.bb-top-entry { display: grid; grid-template-columns: 44px 132px minmax(0,1fr) auto; align-items: center; min-height: 90px; background: #262626; border-top: 1px solid #444; }
.bb-top-entry:first-child { border-top: 0; }
.bb-rank { color: var(--orange); font-size: 22px; font-weight: 700; text-align: center; }
.bb-thumb { align-self: stretch; overflow: hidden; background: #111; }
.bb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bb-entry-copy { padding: 10px 13px; }
.bb-entry-copy h3, .bb-entry-copy p { margin: 0; }
.bb-entry-copy p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.bb-open { margin-right: 12px; font-size: 11px; }
.bb-category-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.bb-category-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; background: #242424; border-left: 4px solid var(--orange); }
.bb-category-list h3, .bb-category-list p { margin: 0; }
.bb-category-list p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.bb-category-list article > a { flex: 0 0 auto; color: #fff; font-size: 11px; font-weight: 700; }
.bb-focus-note { margin-top: 16px; padding: 14px 16px; background: #242424; border: 1px solid #414141; }
.bb-focus-note h2 { margin-bottom: 5px; }
.bb-focus-note p { margin: 0; }
.bb-trail { display: flex; gap: 7px; margin-bottom: 9px; color: #999; font-size: 11px; }
.bb-category-page, .bb-guide-page, .bb-missing { padding: 16px; background: #242424; border-top: 4px solid var(--orange); }
.bb-page-heading { max-width: 790px; }
.bb-directory { list-style: none; max-width: 850px; margin: 14px 0 0; padding: 0; border: 1px solid #414141; }
.bb-directory li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 9px; padding: 8px 10px; border-top: 1px solid #414141; }
.bb-directory li:first-child { border-top: 0; }
.bb-position { color: var(--orange); font-weight: 700; }
.bb-directory p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.bb-list-notes, .bb-guide-section { max-width: 800px; margin-top: 18px; padding-top: 13px; border-top: 2px solid var(--orange); }
.bb-guide-section .bb-directory { margin-top: 10px; }
.bb-info-page { max-width: 760px; }
.bb-missing strong { color: var(--orange); font-size: 48px; line-height: 1; }
.bb-footer { color: #aaa; background: #111; border-top: 4px solid var(--orange); }
.bb-footer-row { min-height: 88px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding-block: 12px; }
.bb-footer-row p { margin: 0; font-size: 11px; }
.bb-footer-row nav { display: flex; gap: 12px; }
.bb-copyright { text-align: right; }

@media (max-width: 700px) {
    .bb-header-main { min-height: 0; display: block; padding-block: 10px; }
    .bb-logo { width: min(330px,100%); }
    .bb-header-main p { margin-top: 7px; text-align: left; }
    .bb-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bb-menu a { text-align: center; }
    .bb-summary { grid-template-columns: 1fr; }
    .bb-title-row { display: block; }
    .bb-top-entry { grid-template-columns: 36px 92px minmax(0,1fr); }
    .bb-open { grid-column: 3; justify-self: start; margin: 0 10px 9px; }
    .bb-category-list { grid-template-columns: 1fr; }
    .bb-footer-row { grid-template-columns: 1fr; gap: 8px; }
    .bb-copyright { text-align: left; }
}
@media (max-width: 440px) {
    .bb-wrap { width: min(100% - 14px,990px); }
    .bb-top-entry { grid-template-columns: 34px 78px minmax(0,1fr); }
    .bb-entry-copy { padding: 8px; }
    .bb-category-list article { display: block; }
    .bb-category-list article > a { display: inline-block; margin-top: 7px; }
}
