/* SIDEHAVEN | REBIRTH STUDIOS — FULL FRONTEND RESKIN
   Loads after the original app.css and site-layout.css. No JavaScript logic altered.
   Uses original site selectors for authenticated and public views.
*/
:root,html.site,body.site{
 --sh-bg:#07141c;--sh-deep:#030b12;--sh-panel:#10232e;--sh-panel2:#142f3c;
 --sh-gold:#f3c576;--sh-cream:#f3e6c9;--sh-teal:#28d5dd;--sh-line:#34525b;
 --ink:#f4ead5;--muted:#9fb6bd;--accent:#26c7d2;--line:#34525b;--gold:#f3c576;
 color-scheme:dark!important;background:#07141c!important;color:#f4ead5!important;
}
html.site{background:radial-gradient(ellipse at 50% 0%,#153a49 0%,#07141c 55%,#030a10 100%) fixed!important}
body.site{font-family:Inter,'Segoe UI',Arial,sans-serif!important;font-size:14px!important;line-height:1.55!important;background:transparent!important}
body.site *,body.site *::before,body.site *::after{box-sizing:border-box}
body.site h1,body.site h2,body.site h3,body.site h4{font-family:'Segoe UI',Arial,sans-serif!important;color:var(--sh-cream)!important;letter-spacing:.015em}
body.site h1{font-size:clamp(25px,3vw,38px)!important;font-weight:750!important}
body.site h2{font-size:19px!important;font-weight:700!important}
body.site h3{font-size:15px!important;font-weight:700!important}
body.site p,body.site label,body.site .small{line-height:1.55}
body.site .muted,body.site .small.muted{color:#a6bac1!important}
body.site a{color:var(--sh-teal)!important;text-decoration:none}
body.site a:hover{color:#a1f9fa!important}
body.site button,body.site .button{cursor:pointer;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;min-height:35px;border:1px solid #52707b!important;border-radius:9px!important;background:linear-gradient(180deg,#24414e,#142b37)!important;color:#f7ead4!important;font:600 12px/1.3 'Segoe UI',Arial,sans-serif!important;box-shadow:inset 0 1px #ffffff13,0 4px 12px #0003!important;text-shadow:none!important;padding:8px 13px!important}
body.site button:hover,body.site .button:hover{background:linear-gradient(180deg,#2c5662,#1a3b49)!important;border-color:var(--sh-teal)!important;transform:translateY(-1px)}
body.site button.primary,body.site button[type=submit],body.site .site-signup button.primary{background:linear-gradient(135deg,#f9d991,#bc8539)!important;color:#11232b!important;border-color:#eac37e!important;font-weight:800!important;box-shadow:0 4px 20px #d8a65b26!important}
body.site button.primary:hover,body.site button[type=submit]:hover{background:linear-gradient(135deg,#ffe6ad,#e3a84d)!important}
body.site button:disabled{opacity:.45;cursor:not-allowed;transform:none}
body.site button:focus-visible,body.site a:focus-visible,body.site input:focus-visible,body.site select:focus-visible,body.site textarea:focus-visible{outline:2px solid var(--sh-teal)!important;outline-offset:3px}
body.site input,body.site select,body.site textarea{background:#071923!important;color:#fff5e3!important;border:1px solid #3b5964!important;border-radius:8px!important;padding:10px 12px!important;font:13px/1.4 'Segoe UI',Arial,sans-serif!important;min-height:38px}
body.site input:focus,body.site select:focus,body.site textarea:focus{border-color:#38cbd2!important;box-shadow:0 0 0 3px #2bd6dc20!important}
body.site input::placeholder,body.site textarea::placeholder{color:#829ba4!important}
body.site label{color:#d9e5e4!important;font-size:12px!important;font-weight:600}
body.site .site-header{height:auto!important;min-height:82px!important;background:linear-gradient(180deg,#071821fa,#0b2029f8)!important;border-bottom:1px solid #cba05b55!important;box-shadow:0 12px 35px #0008!important;backdrop-filter:blur(16px)}
body.site .site-header-inner{width:1180px!important;max-width:calc(100% - 28px)!important;height:auto!important;min-height:82px!important}
body.site .site-masthead{height:auto!important;min-height:82px!important;gap:22px!important;padding:9px 14px!important;flex-wrap:wrap}
body.site .wordmark{width:255px!important;height:70px!important;min-height:70px!important;flex-shrink:0!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
body.site .wordmark img{display:block!important;width:250px!important;height:70px!important;object-fit:contain!important;object-position:left center!important;filter:drop-shadow(0 0 11px #ffc97b25)}
body.site .site-header-status{color:#6be4cd!important;font-size:12px!important;font-weight:750!important;letter-spacing:.06em}
body.site .site-inline-login{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin-left:auto}
body.site .site-inline-login label{display:grid;gap:4px}
body.site .site-inline-login input{width:155px}
body.site .site-inline-login button{white-space:nowrap}
body.site .site-primary-nav{height:auto!important;min-height:46px!important;border-top:1px solid #ffffff12!important;margin:0!important;gap:5px!important;flex-wrap:wrap}
body.site .site-primary-nav>button,body.site .site-primary-nav>a,body.site .site-primary-nav .site-nav-item{height:45px!important;min-height:45px!important;border-radius:8px!important;color:#d7e5e5!important;background:transparent!important;font-size:13px!important}
body.site .site-primary-nav>button:hover,body.site .site-primary-nav>a:hover,body.site .site-primary-nav .selected{background:#1d3a47!important;color:#f9d894!important}
body.site .site-main{width:1180px!important;max-width:calc(100% - 28px)!important;min-height:65vh!important;margin:110px auto 30px!important;padding:28px!important;background:linear-gradient(160deg,#112833ee,#081923f5)!important;border:1px solid #3b596260!important;border-radius:19px!important;box-shadow:0 22px 90px #0008,0 0 65px #1dbfc20a!important}
body.site .site-columns,body.site.site-page-home .site-columns{max-width:100%!important;column-gap:22px!important;row-gap:18px!important}
body.site .site-content,body.site .site-side,body.site .site-right{background:transparent!important;color:#f4ead5!important}
body.site #page-title{color:var(--sh-gold)!important;border-bottom:1px solid #e7bd6b35!important;padding-bottom:14px!important;margin-bottom:22px!important}
body.site .site-section-nav{background:#0a1b26!important;border:1px solid #2c4c57!important;border-radius:10px!important;padding:5px!important;gap:4px!important}
body.site .site-section-nav button,body.site .site-section-nav a{border:0!important;border-radius:7px!important;color:#d5e6e5!important;background:transparent!important}
body.site .site-section-nav button:hover,body.site .site-section-nav .selected{background:#204653!important;color:var(--sh-gold)!important}
body.site .site-landing{display:grid;gap:24px!important}
body.site .site-welcome{position:relative;overflow:hidden;min-height:330px!important;border:1px solid #b38b4a77!important;border-radius:18px!important;background:linear-gradient(90deg,#07141ce8 0%,#0c2634b8 70%,#0c2634aa),url('sidehaven-cinematic-logo.png') center 45% / cover no-repeat!important;box-shadow:inset 0 0 70px #0008,0 16px 50px #0006!important;padding:42px 30px!important}
body.site .site-welcome::after{content:'';position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,transparent,#f5c573,#2edbe2,transparent)}
body.site .site-welcome-copy{position:relative;z-index:1;max-width:550px!important;padding:10px 14px!important;border-radius:14px;background:#06121b9e;backdrop-filter:blur(5px)}
body.site .site-welcome h1{font-size:clamp(31px,4.5vw,53px)!important;line-height:1.1!important;color:#ffdf9c!important;text-shadow:0 3px 22px #000b}
body.site .site-welcome h2{font-size:clamp(16px,2vw,22px)!important;color:#c8f7f2!important}
body.site .site-welcome p{font-size:15px!important;color:#f0e9d8!important}
body.site .site-signup{padding:28px!important;border-radius:17px!important;background:linear-gradient(155deg,#183641,#0c1d28)!important;border:1px solid #8c744b70!important;box-shadow:0 12px 32px #0005!important}
body.site .site-signup h2{font-size:25px!important;color:var(--sh-gold)!important}
body.site .site-signup .fields{gap:14px!important}
body.site .site-signup input{width:100%}
body.site .panel,body.site .site-widget,body.site .site-profile-card,body.site .site-card,body.site .card{background:linear-gradient(155deg,#16313d,#0c1d27)!important;color:#f2e9d6!important;border:1px solid #3a5964!important;border-radius:13px!important;box-shadow:0 8px 24px #0004!important}
body.site .site-widget{padding:12px!important;margin-bottom:18px!important}
body.site .site-widget-title,body.site .titlebar{background:linear-gradient(90deg,#25414b,#122d39)!important;color:#f6d49a!important;border-bottom:1px solid #4e6971!important;border-radius:8px!important;padding:10px 12px!important;font-size:13px!important}
body.site .site-widget-body{padding:10px!important}
body.site .divider{background:#395762!important}
body.site .notice{background:#102f3b!important;color:#b9f4f4!important;border:1px solid #276c78!important;border-radius:9px!important}
body.site .error{background:#3e2027!important;color:#ffd2d0!important;border:1px solid #a95a63!important;border-radius:9px!important}
body.site .empty{background:#102530!important;color:#a6bbc1!important;border:1px dashed #46636d!important;border-radius:10px!important}
body.site .site-footer{color:#9eb6ba!important;background:#06131c!important;border-top:1px solid #cda15a55!important;padding:24px!important}
body.site .site-footer-links{gap:16px!important}
body.site .site-footer p{color:#a6b9bc!important}
body.site .site-footer button{background:transparent!important;border:0!important;box-shadow:none!important}
body.site .site-profile-row .avatar{border-radius:11px!important;border-color:#b68c5080!important;background:#1b3b46!important}
body.site .site-profile-row strong,body.site .site-profile-row .site-player-name{color:#f1c478!important}
body.site .site-account-menu>div,body.site .site-account-menu>nav,body.site .site-account-menu>ul{background:#0e2632!important;border-color:#40606c!important;border-radius:10px!important}
body.site .site-account-menu a:hover,body.site .site-account-menu button:hover{background:#254a57!important;color:#f7d08c!important}
@media(max-width:850px){body.site .site-header{position:relative!important}body.site .site-header-inner{max-width:100%!important}body.site .site-masthead{justify-content:center!important}body.site .site-inline-login{justify-content:center;margin:0!important}body.site .site-main{margin:15px auto 20px!important;padding:16px!important}body.site .site-columns,body.site.site-page-home .site-columns{display:block!important}body.site .site-side,body.site .site-right,body.site .site-content{width:100%!important;margin-bottom:20px!important}body.site .site-welcome{min-height:280px!important;padding:20px!important}body.site .site-signup{padding:18px!important}}
@media(max-width:480px){body.site .wordmark{width:220px!important}body.site .wordmark img{width:215px!important}body.site .site-inline-login input{width:130px!important}body.site .site-main{max-width:calc(100% - 16px)!important;padding:12px!important}body.site .site-welcome-copy{padding:12px!important}}
@media(prefers-reduced-motion:reduce){body.site button,body.site .button{transition:none!important}}
