:root {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #e7e9e4;
    background: #101311;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --bg: #101311;
    --panel: #171b18;
    --panel-raised: #1c211d;
    --border: #2a312c;
    --muted: #8a948c;
    --bright: #b7d76b;
    --bright-dark: #91ae49;
    --mono: Consolas, 'Courier New', monospace;
    --heading: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar {
    position: fixed; inset: 0 auto 0 0; width: 250px; display: flex; flex-direction: column;
    padding: 27px 17px 18px; background: #141815; border-right: 1px solid var(--border); z-index: 4;
}
.sidebar-head { padding: 0 8px 34px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark, .hero-mark { font-family: var(--heading); font-weight: 800; letter-spacing: -5px; }
.brand-mark { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid #54653a; color: var(--bright); font-size: 15px; letter-spacing: -2px; }
.brand-mark span, .hero-mark span { color: #687b42; }
.brand strong { display: block; font-family: var(--heading); font-size: 15px; letter-spacing: -.3px; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font: 9px var(--mono); letter-spacing: 1.1px; }
.side-nav { display: grid; gap: 5px; }
.nav-caption, .eyebrow, .metric-label, .status-dot, .sidebar-footer, .topbar, .page-footer, th { font-family: var(--mono); }
.nav-caption { padding: 0 11px 9px; color: #68716a; font-size: 9px; letter-spacing: 1.3px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 4px; color: #a7afa8; font-size: 13px; transition: background .15s, color .15s; }
.nav-link > span { width: 17px; color: #7d897e; font-size: 16px; text-align: center; }
.nav-link:hover, .nav-link.active { background: #242b24; color: #dfe8d5; }
.nav-link.active { box-shadow: inset 2px 0 var(--bright); }
.nav-link.active > span { color: var(--bright); }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 18px 9px; border-bottom: 1px solid var(--border); color: #81907f; font-size: 8px; letter-spacing: .5px; }
.online-indicator { width: 6px; height: 6px; border-radius: 50%; background: #a5cd58; box-shadow: 0 0 9px #a5cd5870; }
.user-menu { display: flex; align-items: center; gap: 10px; min-height: 59px; padding: 12px 8px 0; font-size: 11px; }
.user-avatar { display: grid; place-items: center; width: 28px; height: 28px; background: #303a29; color: var(--bright); font-weight: 700; }
.user-name { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; color: #c7cdc7; }
.user-menu form { margin: 0; }
.logout-button { border: 0; background: none; color: var(--muted); cursor: pointer; }
.login-link { color: var(--bright); font-size: 12px; }
.main-content { width: calc(100% - 250px); min-height: 100vh; margin-left: 250px; padding: 0 44px; }
.topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); color: #8a948c; font-size: 9px; letter-spacing: .8px; }
.topbar-divider { padding: 0 5px; color: #566052; }
.topbar-date { color: #68736a; }
.page-content { max-width: 1300px; margin: 0 auto; padding: 37px 0 54px; }
.page-footer { max-width: 1300px; display: flex; justify-content: space-between; margin: 0 auto; padding: 15px 0 20px; border-top: 1px solid var(--border); color: #707971; font-size: 8px; letter-spacing: .5px; }
.hero { position: relative; display: flex; min-height: 188px; align-items: center; justify-content: space-between; overflow: hidden; padding: 28px 34px; border: 1px solid #31382f; background: radial-gradient(ellipse at 87% 45%, #37432958 0, transparent 39%), linear-gradient(110deg, #1a201b, #171b18 70%); }
.hero:after { position: absolute; right: 0; bottom: 0; width: 48%; height: 1px; background: linear-gradient(90deg, transparent, #9abb584c); content: ''; }
.eyebrow { margin: 0 0 9px; color: var(--bright); font-size: 9px; letter-spacing: 1.25px; }
h1, h2 { margin: 0; font-family: var(--heading); font-weight: 700; letter-spacing: -.6px; }
.hero h1 { font-size: clamp(25px, 3vw, 36px); }
.hero h1 span { color: #a8c665; }
.hero-copy { max-width: 560px; margin: 11px 0 0; color: #9ba49d; font-size: 13px; line-height: 1.65; }
.hero-mark { margin-right: 2%; color: #52633b; font-size: 62px; opacity: .8; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 18px 0; }
.metric-card, .panel { border: 1px solid var(--border); background: var(--panel); }
.metric-card { min-height: 112px; padding: 17px 19px; }
.metric-label { display: block; color: #859087; font-size: 9px; letter-spacing: .8px; }
.metric-card strong { display: block; margin-top: 7px; color: #e9eee7; font: 700 28px var(--heading); letter-spacing: -.7px; }
.metric-foot { color: #78827a; font-size: 10px; }
.content-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.panel { min-width: 0; padding: 20px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.panel h2, .page-heading h1, .login-panel h1 { font-size: 17px; }
.panel > p:not(.eyebrow) { color: #929c93; font-size: 12px; line-height: 1.65; }
.status-dot { flex-shrink: 0; padding: 5px 7px; border: 1px solid #394533; color: #a4c565; font-size: 8px; letter-spacing: .4px; }
code { color: #bdcf98; font: 10px var(--mono); overflow-wrap: anywhere; }
.file-drop { display: flex; min-height: 130px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-top: 17px; border: 1px dashed #46503f; background: #1b201b; cursor: pointer; text-align: center; }
.file-drop:hover { border-color: #9bbd5a; background: #20271d; }
.file-drop input { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0,0,0,0); }
.file-icon { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #49573a; color: var(--bright); font-size: 17px; }
.file-drop strong { font-size: 12px; }
.file-drop > span:last-child { color: #7f8980; font-size: 10px; }
.notice { margin: 12px 0 0; padding: 10px 12px; border-left: 2px solid; font-size: 11px; }
.notice-success { border-color: var(--bright); background: #28321d; color: #c6dc9a; }
.notice-error { border-color: #c87970; background: #342321; color: #e5aaa3; }
.text-link { color: var(--bright); font-size: 10px; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 9px 5px; border-bottom: 1px solid var(--border); color: #77827a; font-size: 8px; font-weight: 400; letter-spacing: .8px; }
td { padding: 10px 5px; border-bottom: 1px solid #252b27; color: #adb5ae; font-size: 10px; }
tbody tr:last-child td { border-bottom: 0; }
.empty-state { padding: 18px 0; color: #7e8980; font-size: 12px; line-height: 1.6; }
.leaderboard-panel { grid-column: 1 / 2; }
.leader-list { display: grid; }
.leader-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #262c27; }
.leader-row:last-child { border-bottom: 0; }
.leader-rank { color: #778271; font: 10px var(--mono); }
.leader-name { overflow: hidden; flex: 1; color: #c7cec7; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.leader-kills { color: #dce5d2; font: 11px var(--mono); }
.leader-kills small { margin-left: 4px; color: #77827a; font-size: 7px; }
.dispatch-panel { display: flex; flex-direction: column; align-items: flex-start; }
.dispatch-panel > p:not(.eyebrow) { margin-top: 10px; }
.button-link { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 14px; margin-top: 9px; padding: 0 13px; border: 1px solid #52663b; background: #2b3821; color: #d7e7b5; font-size: 11px; cursor: pointer; }
.button-link:hover { border-color: #8baa50; background: #35452a; }
.page-heading { margin: 6px 0 24px; }
.page-heading h1 { font-size: 29px; }
.page-heading > p:last-child { margin: 9px 0 0; color: #8e9990; font-size: 12px; }
.dispatch-list { display: grid; gap: 14px; }
.dispatch-card { padding: 23px 26px; }
.dispatch-meta { display: flex; justify-content: space-between; color: var(--bright); font: 9px var(--mono); letter-spacing: .4px; text-transform: uppercase; }
.dispatch-meta time { color: #78827a; }
.dispatch-card h2 { margin-top: 12px; font-size: 19px; }
.dispatch-subject { margin: 8px 0 0; color: #aab79a; font: 10px var(--mono); }
.dispatch-body { white-space: pre-line; color: #a1aaa2; font-size: 12px; line-height: 1.8; }
.dispatch-author { color: #78827a; font: 9px var(--mono); }
.login-panel { max-width: 460px; margin: 7vh auto; padding: 30px; }
.login-panel h1 { margin-bottom: 8px; font-size: 24px; }
.login-panel > p:not(.eyebrow) { color: #8e9990; font-size: 12px; line-height: 1.6; }
.login-panel form { display: grid; gap: 9px; margin-top: 22px; }
.login-panel label { margin-top: 6px; color: #a3ada4; font-size: 11px; }
.login-panel input { height: 39px; padding: 0 10px; border: 1px solid #343d36; outline: 0; background: #111512; color: #e6ebe4; }
.login-panel input:focus { border-color: #78934c; }
.login-panel .button-link { width: fit-content; margin-top: 10px; }
#blazor-error-ui { display: none; position: fixed; right: 18px; bottom: 18px; padding: 12px 15px; border: 1px solid #60443e; background: #2a211e; color: #f0c2b9; font-size: 12px; z-index: 10; }
#blazor-error-ui .dismiss { margin-left: 12px; border: 0; background: none; color: inherit; cursor: pointer; }

@media (max-width: 960px) {
    .sidebar { width: 210px; }
    .main-content { width: calc(100% - 210px); margin-left: 210px; padding: 0 25px; }
    .content-grid { grid-template-columns: 1fr; }
    .leaderboard-panel { grid-column: auto; }
}
@media (max-width: 640px) {
    .sidebar { position: relative; width: 100%; height: auto; padding: 13px 15px; border-right: 0; border-bottom: 1px solid var(--border); }
    .app-shell { display: block; }
    .sidebar-head { padding: 0 0 12px; }
    .side-nav { grid-template-columns: repeat(2, 1fr); }
    .nav-caption, .sidebar-footer, .user-menu { display: none; }
    .nav-link { padding: 8px 9px; font-size: 11px; }
    .main-content { width: 100%; margin: 0; padding: 0 16px; }
    .topbar { height: 45px; font-size: 8px; }
    .page-content { padding-top: 21px; }
    .hero { min-height: 170px; padding: 22px 18px; }
    .hero-mark { position: absolute; right: 17px; bottom: 0; font-size: 47px; opacity: .35; }
    .hero-copy { max-width: 90%; }
    .metric-grid { grid-template-columns: 1fr; gap: 8px; }
    .metric-card { min-height: 89px; }
    .page-footer { font-size: 7px; }
}

.satyr-site {
    --satyr-ink: #e8e4d7;
    --satyr-muted: #9b9a91;
    --satyr-dim: #72766e;
    --satyr-gold: #d3a83c;
    --satyr-gold-light: #e7c56e;
    --satyr-line: #393a32;
    min-height: 100vh;
    color: var(--satyr-ink);
    background: #101210;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.satyr-hero {
    position: relative;
    display: flex;
    height: clamp(210px, 20vw, 290px);
    align-items: flex-end;
    justify-content: center;
    border-bottom: 1px solid #6f5b2e;
    background: #171d26 url('satyr-hero.png') center 43% / cover no-repeat;
}
.satyr-hero:after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, #0d0f0f 0, #0d0f0f9c 32%, transparent 100%);
    content: '';
    pointer-events: none;
}
.satyr-nav {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(100%, 1380px);
    min-height: 48px;
    align-items: stretch;
    justify-content: center;
    gap: clamp(18px, 3vw, 45px);
    padding: 0 25px;
    border: 1px solid #ded5bb2a;
    border-bottom: 0;
    background: #111412bd;
    backdrop-filter: blur(7px);
}
.satyr-nav a {
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    color: #e4e0d4;
    font: 10px var(--mono);
    letter-spacing: 1.15px;
    transition: color .15s, border-color .15s;
}
.satyr-nav a:hover, .satyr-nav a:focus-visible { border-color: var(--satyr-gold); color: var(--satyr-gold-light); }
.satyr-main { width: min(100% - 48px, 1300px); min-height: 54vh; margin: 0 auto; padding: 48px 0 60px; }
.satyr-footer {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 max(24px, calc((100% - 1300px) / 2));
    border-top: 1px solid #2e312d;
    background: #0c0e0d;
    color: #777a72;
    font: 9px var(--mono);
    letter-spacing: .8px;
}
.satyr-footer > span:first-child > span { padding: 0 7px; color: var(--satyr-gold); }
.satyr-footer > span:last-child { display: flex; gap: 22px; }
.satyr-footer a:hover { color: var(--satyr-gold-light); }
.section-kicker, .card-index { color: var(--satyr-gold); font: 9px var(--mono); letter-spacing: 1.15px; }
.card-index { color: #777a71; font-size: 8px; white-space: nowrap; }
.satyr-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--satyr-line);
    background: linear-gradient(140deg, #1a1c19, #151715 78%);
}
.satyr-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.satyr-card h2 { color: #eee9dc; font-size: 18px; letter-spacing: -.3px; }
.card-copy { margin: 10px 0 19px; color: var(--satyr-muted); font-size: 12px; line-height: 1.7; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .75fr); gap: 22px; }
.landing-intro { display: flex; min-height: 345px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px clamp(12px, 4vw, 60px); }
.landing-intro h1, .page-lead h1 { margin: 12px 0 0; color: #eee9dc; font-size: clamp(35px, 5vw, 63px); line-height: 1.08; letter-spacing: -1.7px; }
.landing-intro h1 span, .page-lead h1 span { color: var(--satyr-gold); }
.landing-intro > p:not(.section-kicker) { max-width: 500px; margin: 17px 0 0; color: #a4a49a; font-size: 14px; line-height: 1.8; }
.landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 25px; }
.gold-button, .outline-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 17px;
    border: 1px solid #b68b2a;
    background: linear-gradient(110deg, #b88d2d, #d0a840);
    color: #171611;
    font: 700 9px var(--mono);
    letter-spacing: .8px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.gold-button:hover { border-color: #e5c76d; background: #e0b84c; color: #13130f; }
.gold-button:focus-visible, .outline-button:focus-visible, .text-button:focus-visible, .line-link:focus-visible { outline: 2px solid var(--satyr-gold-light); outline-offset: 3px; }
.text-button { color: #c1bba9; font: 9px var(--mono); letter-spacing: .8px; }
.text-button:hover, .line-link:hover { color: var(--satyr-gold-light); }
.landing-side { display: grid; gap: 14px; }
.career-card, .news-card { display: flex; flex-direction: column; justify-content: center; min-height: 160px; }
.career-card h2, .news-card h2 { font-size: 16px; }
.career-card p:not(.section-kicker), .news-card p:not(.section-kicker) { margin: 8px 0 13px; color: var(--satyr-muted); font-size: 11px; line-height: 1.7; }
.line-link { display: inline-flex; align-items: center; gap: 14px; color: #d7bd77; font: 9px var(--mono); letter-spacing: .6px; }
.landing-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border: 1px solid #31332e; background: #141614; }
.landing-strip > div { display: grid; grid-template-columns: 35px 1fr; gap: 3px 12px; align-content: center; min-height: 85px; padding: 15px 20px; border-right: 1px solid #31332e; }
.landing-strip > div:last-child { border-right: 0; }
.strip-number { grid-row: span 2; color: var(--satyr-gold); font: 12px var(--mono); }
.landing-strip strong { color: #dcd9ce; font-size: 11px; }
.landing-strip div > span:last-child { color: #878981; font-size: 10px; }
.page-lead { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; padding-bottom: 22px; border-bottom: 1px solid #343630; }
.page-lead h1 { margin-top: 9px; font-size: clamp(29px, 4vw, 43px); letter-spacing: -1px; }
.page-lead > p { max-width: 390px; margin: 0 0 4px; color: var(--satyr-muted); font-size: 12px; line-height: 1.75; }
.dashboard-columns { display: grid; grid-template-columns: .9fr 1.15fr .95fr; align-items: start; gap: 14px; }
.earnings-card, .uploaded-card, .upload-card { min-height: 380px; }
.satyr-login-form { display: grid; gap: 9px; margin-top: 22px; }
.satyr-login-form label, .field-label { margin-top: 5px; color: #aaa99f; font: 9px var(--mono); letter-spacing: .5px; }
.satyr-input, .satyr-login-form input {
    width: 100%;
    height: 41px;
    padding: 0 11px;
    border: 1px solid #41433a;
    border-radius: 0;
    outline: none;
    background: #111311;
    color: var(--satyr-ink);
    font-size: 11px;
}
.satyr-input::placeholder, .satyr-login-form input::placeholder { color: #666a62; }
.satyr-input:focus, .satyr-login-form input:focus { border-color: #b3903d; box-shadow: 0 0 0 1px #b3903d35; }
.satyr-login-form .gold-button { justify-self: start; margin-top: 10px; }
.account-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0; border-top: 1px solid #393a32; border-bottom: 1px solid #393a32; }
.account-stats > div { display: grid; gap: 8px; padding: 15px 5px; }
.account-stats > div + div { border-left: 1px solid #393a32; padding-left: 15px; }
.account-stats span { color: #898a80; font: 8px var(--mono); letter-spacing: .8px; }
.account-stats strong { color: #e4c66e; font: 700 21px 'Segoe UI', Arial, sans-serif; }
.outline-button { min-height: 34px; border-color: #55574b; background: transparent; color: #d4d0c3; }
.outline-button:hover { border-color: var(--satyr-gold); color: var(--satyr-gold-light); }
.empty-card { padding: 15px 0; color: #85867d; font-size: 11px; line-height: 1.7; }
.empty-mark { color: var(--satyr-gold); font-size: 19px; }
.aar-list { max-height: 225px; overflow-y: auto; margin-top: 11px; border-top: 1px solid #383a33; }
.aar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #2d302b; }
.aar-row:hover { background: #20221e; }
.aar-row > span { display: grid; min-width: 0; gap: 4px; }
.aar-row strong { overflow: hidden; color: #ddd9ce; font: 10px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.aar-row small, .aar-row time { color: #898a80; font-size: 9px; }
.aar-row time { flex-shrink: 0; }
.aar-file-picker {
    position: relative;
    display: flex;
    min-height: 98px;
    align-items: center;
    gap: 12px;
    margin-top: 21px;
    padding: 13px;
    border: 1px dashed #71613a;
    background: #171814;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.aar-file-picker:hover, .aar-file-picker:focus-within { border-color: var(--satyr-gold); background: #1d1c16; }
.aar-file-picker input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.aar-file-picker input:focus-visible + .file-picker-icon { outline: 2px solid var(--satyr-gold-light); outline-offset: 3px; }
.file-picker-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border: 1px solid #786131; color: var(--satyr-gold-light); font-size: 18px; }
.file-picker-copy { display: grid; flex: 1; gap: 6px; }
.file-picker-copy strong { color: #ddd9cc; font-size: 10px; }
.file-picker-copy small { color: #898980; font-size: 9px; line-height: 1.4; }
.file-picker-action { color: #d7b85d; font: 8px var(--mono); letter-spacing: .8px; }
.satyr-notice { margin: 12px 0 0; padding: 10px; border-left: 2px solid; font-size: 10px; line-height: 1.6; }
.satyr-notice-success { border-color: #b4c56c; background: #25291c; color: #d4dca3; }
.satyr-notice-error { border-color: #c87970; background: #30211f; color: #e7b5ac; }
.stats-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 14px; }
.stat-metric { display: grid; min-height: 126px; align-content: center; gap: 6px; }
.stat-metric strong { color: #e4c66e; font: 700 31px 'Segoe UI', Arial, sans-serif; }
.stat-metric small { color: #8d8d83; font-size: 10px; }
.stats-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ranking-card { min-height: 315px; }
.ranking-card h2 { margin-bottom: 14px; }
.ranking-list { border-top: 1px solid #393a32; }
.ranking-row { display: flex; align-items: center; gap: 13px; min-height: 42px; border-bottom: 1px solid #2c2f2a; }
.ranking-number { width: 24px; color: #8f8e82; font: 9px var(--mono); }
.ranking-name { overflow: hidden; flex: 1; color: #d3d0c5; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ranking-value { color: #dfc36c; font: 10px var(--mono); }
.ranking-value small { margin-left: 4px; color: #797a70; font-size: 7px; }
.stats-action { display: flex; justify-content: flex-end; margin-top: 16px; }
.search-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .75fr); align-items: start; gap: 15px; }
.search-results { min-height: 400px; }
.search-empty { display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; }
.search-crosshair { color: #b8953f; font-size: 32px; }
.search-empty h2 { margin-top: 13px; font-size: 16px; }
.search-empty p { max-width: 350px; margin: 9px 0 0; color: #929188; font-size: 11px; line-height: 1.7; }
.search-panel form { display: grid; gap: 9px; margin-top: 21px; }
.search-submit { width: 100%; margin-top: 9px; }
.search-hint { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding-top: 13px; border-top: 1px solid #353730; color: #818278; font: 8px var(--mono); letter-spacing: .6px; }
.result-section { margin-top: 21px; }
.result-section h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; font-size: 13px; }
.result-section h2 span { color: #8c8d82; font: 9px var(--mono); }
.search-result-row { display: flex; min-height: 56px; align-items: center; gap: 12px; padding: 9px 2px; border-top: 1px solid #30322c; }
.search-result-row > span:nth-child(2) { display: grid; flex: 1; gap: 4px; }
.result-icon { display: grid; width: 30px; height: 27px; flex: 0 0 30px; place-items: center; border: 1px solid #645534; color: #d2b45c; font: 8px var(--mono); }
.search-result-row strong { overflow-wrap: anywhere; color: #dedace; font-size: 10px; }
.search-result-row small, .search-result-row time { color: #898a80; font-size: 9px; }
.search-result-row time { flex-shrink: 0; }
.result-arrow { color: #c7a746; }
.store-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); align-items: start; gap: 15px; }
.product-card { display: grid; grid-template-columns: minmax(200px, .85fr) 1fr; gap: 24px; padding: 16px; }
.product-art { position: relative; display: grid; min-height: 310px; place-items: center; overflow: hidden; border: 1px solid #4d4735; background: radial-gradient(ellipse at 50% 50%, #303023 0, #1a1c18 58%, #131512 100%); }
.product-art:before, .product-art:after { position: absolute; width: 155px; height: 155px; border: 1px solid #b4923d2e; border-radius: 50%; content: ''; }
.product-art:after { width: 190px; height: 190px; }
.product-art-mark { position: absolute; top: 17px; left: 18px; color: #d8b84f; font: 800 17px 'Segoe UI', Arial, sans-serif; }
.product-art-mark span { color: #71663f; }
.product-art-label { position: absolute; right: 15px; bottom: 14px; color: #a1987d; font: 8px var(--mono); letter-spacing: 1px; }
.product-art-stamp { position: absolute; top: 16px; right: 18px; color: #887b51; font: 8px var(--mono); line-height: 1.4; text-align: right; }
.plush-figure { position: relative; z-index: 1; width: 132px; height: 157px; border: 1px solid #a68a42; border-radius: 46% 46% 42% 42%; background: linear-gradient(130deg, #b6a170, #73694d 67%, #534c3b); box-shadow: inset -12px -8px 0 #00000020, 0 14px 30px #0008; }
.plush-figure:before, .plush-figure:after { position: absolute; top: -14px; width: 41px; height: 50px; border: 1px solid #a68a42; border-radius: 60% 60% 30% 30%; background: #91835c; content: ''; }
.plush-figure:before { left: 8px; transform: rotate(-23deg); }
.plush-figure:after { right: 8px; transform: rotate(23deg); }
.plush-eye { position: absolute; z-index: 1; top: 61px; width: 8px; height: 8px; border-radius: 50%; background: #211f19; }
.plush-eye.left { left: 38px; }
.plush-eye.right { right: 38px; }
.plush-mouth { position: absolute; top: 81px; left: 58px; width: 17px; height: 10px; border-bottom: 2px solid #51432d; border-radius: 50%; }
.product-details { display: flex; flex-direction: column; justify-content: center; padding: 18px 8px; }
.product-details h2 { font-size: 22px; }
.product-details > p { margin: 13px 0 22px; color: var(--satyr-muted); font-size: 12px; line-height: 1.8; }
.product-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid #383a33; }
.product-price { color: #d7c17d; font: 10px var(--mono); }
.store-aside { min-height: 270px; }
.store-aside > p:not(.section-kicker) { color: #a09f95; font-size: 11px; line-height: 1.7; }
.store-aside .line-link { margin: 9px 0 22px; }
.store-aside-divider { height: 1px; margin-bottom: 17px; background: #383a33; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.about-feature { grid-row: span 2; display: flex; min-height: 380px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px; background: radial-gradient(ellipse at 90% 10%, #62502a3b, transparent 48%), #181a17; }
.about-feature h2 { margin-top: 17px; color: #eee8d8; font-size: clamp(24px, 3vw, 37px); line-height: 1.25; }
.about-feature > p:not(.section-kicker) { max-width: 360px; margin: 14px 0 21px; color: var(--satyr-muted); font-size: 12px; line-height: 1.8; }
.about-pillar { min-height: 175px; }
.about-number { display: block; margin-bottom: 22px; color: #c4a348; font: 10px var(--mono); }
.about-pillar h2 { font-size: 15px; }
.about-pillar p { margin: 9px 0 0; color: #99998f; font-size: 10px; line-height: 1.7; }

@media (max-width: 920px) {
    .dashboard-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .upload-card { grid-column: span 2; min-height: 0; }
    .search-layout, .store-layout { grid-template-columns: 1fr; }
    .search-results { min-height: 340px; }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .about-feature { grid-row: auto; min-height: 290px; }
}
@media (max-width: 640px) {
    .satyr-hero { height: 190px; background-position: center 42%; }
    .satyr-nav { min-height: 43px; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 0 15px; }
    .satyr-nav a { flex: 0 0 auto; font-size: 8px; }
    .satyr-main { width: calc(100% - 28px); padding: 30px 0 40px; }
    .satyr-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding: 17px 15px; }
    .landing-grid { grid-template-columns: 1fr; }
    .landing-intro { min-height: 280px; padding: 18px 8px; }
    .landing-intro h1 { font-size: 42px; }
    .landing-strip { grid-template-columns: 1fr; }
    .landing-strip > div { min-height: 68px; border-right: 0; border-bottom: 1px solid #31332e; }
    .landing-strip > div:last-child { border-bottom: 0; }
    .page-lead { align-items: flex-start; flex-direction: column; gap: 12px; }
    .page-lead > p { max-width: 100%; }
    .dashboard-columns, .stats-columns { grid-template-columns: 1fr; }
    .upload-card { grid-column: auto; }
    .stats-metrics { grid-template-columns: 1fr; gap: 8px; }
    .stat-metric { min-height: 97px; }
    .search-result-row { gap: 8px; }
    .search-result-row time { display: none; }
    .product-card { grid-template-columns: 1fr; gap: 9px; }
    .product-art { min-height: 270px; }
    .product-details { padding: 14px 4px 5px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-feature { min-height: 280px; padding: 24px; }
}

.satyr-site {
    --satyr-muted: #383838;
    color: #141414;
    background: #282828;
}

.satyr-hero {
    height: 360px;
    align-items: flex-end;
    border-bottom: 0;
    background-color: #222;
    background-position: center;
}

.satyr-hero:after {
    inset: 45% 0 0;
    background: linear-gradient(0deg, #2424248c, transparent);
}

.home-hero {
    height: 229px;
    justify-content: center;
    background: #282828;
}

.home-hero:before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 240px;
    height: 185px;
    transform: translateX(-50%);
    background: url('satyr-hero.png') -10px center / auto 185px no-repeat;
    content: '';
}

.home-hero:after { display: none; }
.stats-hero { height: 630px; }
.stats-hero:after { inset: 0; background: #15151545; }

.satyr-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    border: 0;
    background: #8a8a8acc;
    backdrop-filter: none;
}

.satyr-nav a {
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    color: #171717;
    font: 12px Arial, sans-serif;
    letter-spacing: 0;
}

.satyr-nav a:hover, .satyr-nav a:focus-visible {
    background: #6e6e6e;
    color: #111;
}

.workspace-nav { justify-content: flex-end; padding-right: 7%; }
.workspace-nav .nav-search { margin: 5px 0 5px 8px; min-height: 34px; border-radius: 5px; background: #151515; color: #fff; }
.home-nav { background: #898989; }
.home-nav a { border-right: 1px solid #6f6f6f; }

.satyr-main {
    width: min(calc(100% - 32px), 1700px);
    min-height: 54vh;
    padding: 28px 0 50px;
}

.satyr-main-stats { padding-top: 0; }
.satyr-footer {
    min-height: 42px;
    justify-content: flex-end;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #777;
    font: 10px Arial, sans-serif;
    letter-spacing: 0;
}

.satyr-footer > span:first-child > span, .satyr-footer > span:last-child { display: none; }
.landing-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; min-height: 690px; }
.landing-empty { min-height: 640px; }
.landing-side { align-content: start; gap: 12px; }
.career-card, .news-card {
    min-height: 190px;
    justify-content: flex-start;
    padding: 14px;
    border: 0;
    border-radius: 0;
    background: #898989;
    color: #151515;
}

.satyr-card h2 { color: #171717; font-size: 15px; font-weight: 400; letter-spacing: 0; }
.career-card a, .news-card a, .store-aside a { color: #151515; font: 12px Arial, sans-serif; text-decoration: underline; }
.career-card h2, .news-card h2 { margin-bottom: 12px; }

.dashboard-columns {
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 42px;
}

.dashboard-columns > .satyr-card {
    min-height: 780px;
    padding: 14px;
    border: 0;
    border-radius: 20px;
    background: #898989;
    color: #171717;
}

.earnings-card h2, .uploaded-card h2, .upload-card h2 { margin-bottom: 12px; }
.card-copy { margin: 8px 0 14px; color: #252525; font-size: 11px; line-height: 1.45; }
.satyr-login-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.satyr-login-form label, .field-label, .upload-card label {
    margin: 0;
    color: #171717;
    font: 12px Arial, sans-serif;
    letter-spacing: 0;
}

.satyr-login-form input, .satyr-input {
    width: 145px;
    height: 25px;
    padding: 2px 4px;
    border: 1px solid #888;
    background: white;
    color: #111;
    font: 13px Arial, sans-serif;
}

.satyr-login-form input:focus, .satyr-input:focus { border-color: #555; box-shadow: none; }
.satyr-login-form button, .upload-card button, .search-panel button, .product-buy-row button {
    min-height: 24px;
    padding: 2px 7px;
    border: 2px outset buttonborder;
    border-radius: 2px;
    background: buttonface;
    color: buttontext;
    font: 13px Arial, sans-serif;
    letter-spacing: 0;
    cursor: pointer;
}

.account-stats { margin: 15px 0; border-color: #555; }
.account-stats > div { gap: 5px; padding: 10px 4px; }
.account-stats > div + div { border-color: #555; }
.account-stats span { color: #222; font: 11px Arial, sans-serif; letter-spacing: 0; }
.account-stats strong { color: #111; font: 16px Arial, sans-serif; }
.empty-card { padding: 10px 0; color: #222; font: 11px Arial, sans-serif; }
.aar-list { max-height: 330px; margin-top: 12px; border-color: #666; }
.aar-row { padding: 8px 2px; border-color: #777; }
.aar-row:hover { background: #9a9a9a; }
.aar-row strong { color: #171717; font: 11px Arial, sans-serif; }
.aar-row small, .aar-row time { color: #292929; font-size: 10px; }

.upload-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.upload-card input[type=file] { max-width: 100%; color: #111; font: 13px Arial, sans-serif; }
.upload-card button:disabled { cursor: default; opacity: .65; }
.satyr-notice { padding: 7px; color: #111; font-size: 11px; }
.satyr-notice-success, .satyr-notice-error { border-color: #333; background: #aaa; color: #111; }

.search-layout {
    grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr);
    gap: 24px;
    max-width: 1080px;
    min-height: 480px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 20px;
    background: #898989;
}

.search-results, .search-panel {
    min-height: 440px;
    padding: 12px;
    border: 0;
    border-radius: 18px;
    background: #303030;
    color: #eee;
}

.search-panel { min-height: 130px; align-self: start; }
.search-panel form { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.search-panel .satyr-input { width: 100%; height: 26px; }
.search-panel .search-submit {
    width: 100%;
    min-height: 26px;
    align-self: flex-start;
    margin: 0;
    border: 1px solid #111;
    background: #111;
    color: #fff;
}
.search-empty { min-height: 400px; padding: 15px; }
.search-empty h2 { color: #eee; }
.result-section h2 { color: #eee; }
.search-result-row { border-color: #555; }
.search-result-row strong { color: #eee; }
.search-result-row small, .search-result-row time { color: #bbb; }

.store-layout {
    grid-template-columns: 425px 170px;
    justify-content: space-between;
    gap: 40px;
    max-width: 1020px;
    margin: 25px auto 0;
}

.product-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid #bca34c;
    border-radius: 0;
    background: transparent;
}

.product-art {
    min-height: 235px;
    border: 0;
    background: #898989;
}

.product-art img { width: 100%; height: 100%; object-fit: contain; }
.product-details { padding: 11px 5px 5px; }
.product-details h2 { color: #eee; font-size: 17px; }
.product-details > p { margin: 8px 0; color: #ddd; font-size: 12px; }
.product-buy-row { justify-content: flex-start; gap: 15px; padding-top: 8px; border: 0; }
.product-price { color: #eee; font: 13px Arial, sans-serif; }
.store-aside { padding-top: 8px; }
.store-aside h2 { margin: 0 0 6px; color: #eee; font-size: 14px; }
.store-aside a { display: inline-block; margin-bottom: 28px; color: #ddd; }

.stats-upload-stage {
    position: relative;
    display: grid;
    min-height: 560px;
    place-items: center;
    margin-top: -120px;
    padding: 35px 20px;
    background: #898989;
}

.stats-upload-heading { position: absolute; top: 20px; left: 50%; width: min(94%, 1000px); transform: translateX(-50%); text-align: center; }
.stats-upload-heading h1 { color: #171717; font-size: 27px; font-weight: 400; }
.stats-upload-heading p { margin: 8px 0; color: #222; font-size: 12px; }
.stats-upload-stage .upload-card {
    width: 376px;
    min-height: 151px;
    margin-top: 65px;
    padding: 10px;
    background: #252525;
    color: #eee;
}

.stats-upload-stage .upload-card h2, .stats-upload-stage .upload-card label { color: #eee; }
.stats-upload-stage .upload-card button { margin-left: 0; }
.stats-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 24px; }
.stats-section {
    min-height: 230px;
    padding: 12px;
    border: 0;
    background: #898989;
}

.stats-section h2 { margin-bottom: 12px; color: #171717; }
.stats-section h2 span { color: #333; font-size: 12px; }
.stats-list-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 2px;
    border-bottom: 1px solid #6d6d6d;
    color: #171717;
    font-size: 11px;
}

.stats-empty { min-height: 140px; }

@media (max-width: 920px) {
    .dashboard-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .dashboard-columns > .satyr-card { min-height: 420px; }
    .dashboard-columns > .upload-card { grid-column: span 2; }
    .stats-columns { grid-template-columns: 1fr; }
    .search-layout { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); }
}

@media (max-width: 640px) {
    .home-hero { height: 184px; }
    .home-hero:before { width: 180px; height: 140px; background-position: -8px center; background-size: auto 140px; }
    .satyr-nav { overflow-x: auto; }
    .satyr-nav a { flex: 0 0 auto; padding: 0 10px; font-size: 11px; }
    .workspace-nav { justify-content: flex-start; padding-right: 0; }
    .satyr-main { width: calc(100% - 22px); padding: 20px 0 30px; }
    .landing-grid { grid-template-columns: 1fr; min-height: 0; }
    .landing-empty { display: none; }
    .landing-side { grid-row: 1; }
    .career-card, .news-card { min-height: 130px; }
    .dashboard-columns, .search-layout { grid-template-columns: 1fr; }
    .dashboard-columns > .satyr-card { min-height: 280px; }
    .dashboard-columns > .upload-card { grid-column: auto; }
    .search-layout { min-height: 0; }
    .search-results { min-height: 300px; }
    .store-layout { grid-template-columns: minmax(0, 1fr); }
    .product-card { width: 100%; }
    .store-aside { display: flex; flex-wrap: wrap; gap: 12px; }
    .stats-hero { height: 360px; }
    .stats-upload-stage { min-height: 420px; margin-top: -45px; }
    .stats-upload-stage .upload-card { width: min(100%, 376px); }
}
