/* SUNSET QUEST — a fresh pixel RPG interface, built over the responsive base. */
:root{--ink:#191622;--panel:#2c2534;--panel-2:#3b303d;--paper:#fff0dc;--muted:#c6b8b4;--line:rgba(255,230,204,.18);--acid:#f7c574;--orange:#ee8a67;--violet:#c6a6d8}
body{background:#191622;color:var(--paper)}
body:before{background:linear-gradient(rgba(25,22,34,.80),rgba(25,22,34,.96)),url('/pixel-sunset-valley.webp?v=1') center / cover no-repeat}
.site-shell{padding-left:190px;overflow:hidden}
.site-header{position:fixed;top:0;left:0;width:190px;height:100vh;padding:32px 18px 24px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:32px;z-index:50;background:#241e2c;border:0;border-right:3px solid #a66e59;box-shadow:5px 0 0 #15121b}
.brand{margin:0;display:flex;align-items:center;font-size:13px;line-height:1.5;letter-spacing:.08em}.brand i{color:#f7c574}.brand-mark span{background:#f7c574}
.desktop-nav{display:flex!important;flex-direction:column;gap:7px;margin:0;padding:0;background:none;border:0}
.desktop-nav a{padding:15px 13px;border:1px solid #594552!important;background:#302737;color:#e2ccc1;font:10px var(--mono);box-shadow:3px 3px 0 #16121a}
.desktop-nav a:hover,.desktop-nav a[aria-current=page]{background:#f7c574;color:#251d29;border-color:#f7c574!important}
.header-cta{margin-top:auto;text-align:center;background:#a85d50;border:2px solid #f0b17c;color:#fff0dc;box-shadow:3px 3px 0 #15121b}.header-cta:hover{background:#f7c574;color:#261b25}
.header-cta span{color:inherit}.menu-toggle{display:none!important}
/* Homepage: panoramic banner, compact search console below it, results below. */
.hero.section-pad{width:min(1060px,calc(100% - 96px));margin:45px auto 48px;min-height:0;display:flex;flex-direction:column;gap:0;background:#2b2330;border:3px solid #d69a6b;box-shadow:8px 8px 0 #110e18}
.hero:before{position:relative;display:block;content:'';height:clamp(190px,24vw,310px);width:100%;background:url('/pixel-sunset-valley.webp?v=1') center 48% / cover no-repeat;border-bottom:3px solid #d69a6b}
.hero:after{display:none}
.hero-copy{position:relative;align-self:stretch;max-width:none;margin:0;padding:25px 32px;background:#2b2330;border:0;box-shadow:none;display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr);gap:30px;align-items:center}
.hero-copy .eyebrow{margin:0;color:#e0c4af;line-height:1.6;font-size:9px}.live-dot,.status-dot{background:#99c99c;box-shadow:none}
.search-form{margin:0}.search-form label{font-size:9px;color:#e7b68e}.search-row{background:#fff1d9;box-shadow:3px 3px 0 #17121c}.search-row input{color:#2c2630}.search-row button,.guild-search-row button,.streak-input-row button{color:#261e29;background:#f7c574}.search-row button:hover,.guild-search-row button:hover,.streak-input-row button:hover{background:#ec9473}
.hero-visual{display:flex;min-height:0;width:100%;padding:0 32px 30px;justify-content:flex-start;background:#2b2330!important}
.hero-visual:has(#player-profile[hidden]):has(#not-found-card[hidden]){display:none}
.profile-card{width:min(100%,540px);max-height:none;background:#211d2af5;border:2px solid #d69a6b;box-shadow:5px 5px 0 #110e18}
.avatar{background:#d69a6b;box-shadow:4px 4px 0 #f7c574}.not-found-card{background:#211d2a;border-color:#d69a6b;box-shadow:5px 5px 0 #110e18}
.kill-feed-section{width:min(1060px,calc(100% - 96px));margin:0 auto 50px}.kill-log{background:#2b2330;border-color:#a66e59}.kill-log-head{background:#493342;color:#f7c574}
/* Section pages: different header, warmer panels, landscape strip. */
.streak-main,.guilds-main{width:min(1060px,calc(100% - 96px));max-width:none;margin:auto;padding:45px 0 70px}
.streak-intro,.guilds-hero{padding:32px!important;background:linear-gradient(90deg,#332739ee,#46313acb),url('/pixel-sunset-valley.webp?v=1') center 43% / cover!important;border:3px solid #d69a6b;box-shadow:7px 7px 0 #110e18}
.streak-intro h1 em,.guilds-hero h1 span{color:#f7c574}.streak-lead,.guilds-hero p{color:#e1c9bc}.streak-kicker,.streak-overline{color:#f7be93}
.streak-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:18px!important}.streak-side-card{order:0}.streak-main-card{order:1}
.streak-main-card,.streak-side-card,.streak-board-section,.guild-detail-card,.guild-directory{background:#2c2534!important;border:2px solid #a66e59!important;box-shadow:5px 5px 0 #110e18!important}
.streak-progress span{background:#f7c574!important}.streak-table th,.guild-table th,.guild-member-table th{background:#493442;color:#f5cea2}
.streak-table tbody tr:hover,.guild-table tbody tr:hover,.guild-member-table tbody tr:hover{background:rgba(247,197,116,.08)}
.guild-search-row,.streak-input-row{box-shadow:4px 4px 0 #191420}.site-footer{background:#241e2c;border-top:2px solid #8a5f54}
.mobile-nav{background:#241e2c}
@media(max-width:900px){
 .site-shell{padding-left:0}.site-header{position:relative;width:auto;height:70px;padding:0 16px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border-right:0;border-bottom:2px solid #a66e59;box-shadow:0 4px 0 #15121b}
 .desktop-nav{display:none!important}.header-cta{margin:0 0 0 auto}.menu-toggle{display:flex!important;margin:0;flex:none}
 .mobile-nav{top:70px}
 .hero.section-pad{width:calc(100% - 28px);margin:24px auto 32px;min-height:0;display:flex;flex-direction:column}
 .hero:before{height:clamp(180px,45vw,280px);flex:none;background-position:center 45%}
 .hero-copy{width:auto;max-width:none;margin:0;padding:20px;display:flex;gap:16px;align-items:stretch}
 .hero-copy .eyebrow{margin:0;font-size:9px}.search-form{width:100%}
 .hero-visual{flex:none;min-height:0;padding:0 20px 22px}
 .hero-visual:has(#player-profile[hidden]):has(#not-found-card[hidden]){display:none}
 .profile-card{max-height:none;width:100%}
 .kill-feed-section{width:calc(100% - 28px)}
 .streak-main,.guilds-main{width:calc(100% - 28px);padding:24px 0 60px}
 .streak-dashboard{display:flex;flex-direction:column}.streak-side-card{order:0}.streak-main-card{order:1}
 .streak-intro,.guilds-hero{padding:23px!important}
}
@media(max-width:380px){.site-header{padding:0 12px}.header-cta{padding:9px 8px;font-size:9px}.hero-copy{padding:16px}.hero-visual{padding:0 16px 20px}.hero:before{height:175px}.streak-main-card,.streak-side-card,.streak-board-section,.guild-detail-card{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:900px){.hero.section-pad{flex:0 0 auto}.hero-copy{flex-direction:column}.hero-copy .eyebrow{display:flex;align-items:center}.search-form{min-width:0}.search-row{width:100%}}
