/* Site-wide interface charter. Card artwork, rarity colors and scenes keep their own styles. */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
[hidden]{display:none!important}
.houko-staff-bar{position:sticky;top:0;z-index:120;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;background:#14231f;color:#dbebe3;border-bottom:1px solid #3c6151;font:500 14px/1.5 Manrope,sans-serif;flex-wrap:wrap}
.houko-staff-bar button,.houko-staff-dialog button{padding:9px 14px;border:1px solid #aa843d;background:#171b1d;color:#f5d596;border-radius:5px;cursor:pointer;font:600 14px/1.4 Manrope,sans-serif}
.houko-staff-dialog{max-width:560px;width:calc(100% - 32px);box-sizing:border-box;background:#101719;color:#e4e9e8;border:1px solid #66502c;border-radius:10px;padding:28px;font:400 16px/1.65 Manrope,sans-serif}
.houko-staff-dialog::backdrop{background:#000b}.houko-staff-dialog button{margin:8px 8px 0 0}
.moderation-entry{margin:16px 0;padding:18px;border:1px solid #354044;border-radius:7px;background:#101719;overflow-wrap:anywhere}.moderation-entry h3{font-size:16px;color:#f2d7a1}.moderation-entry p{white-space:pre-wrap}
body.houko-ui{
 --bg:#090f12;--panel:#0d1519;--surface:#0d1519;--txt:#eef1f1;--text:#eef1f1;
 --muted:#b0bec2;--accent:#f4b146;--accent2:#ffcd79;--gold:#f4b146;
 --line:#afc3c426;--gold-line:#b994493d;color-scheme:dark;
 background:radial-gradient(ellipse at 80% 60%,#16342c18,transparent 60%),#090f12;
 color:var(--txt);font-family:Manrope,system-ui,sans-serif;font-size:16px;
}
body.houko-ui .aurora{display:none}
body.houko-ui textarea,body.houko-ui input[type=date]{font:14px/1.6 Manrope,sans-serif;background:#10191e;color:var(--txt);border:1px solid var(--line);border-radius:5px;padding:10px;max-width:100%}
body.houko-ui textarea{display:block;width:100%;margin-top:10px;resize:vertical}
body.houko-ui #historyRows pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:300px;font:12px/1.6 ui-monospace,monospace}
body.houko-ui #cardEditValue{width:100%;margin-block:10px}
body.houko-ui #historySearch label{display:flex;flex-direction:column;gap:8px;font-size:14px}
body.houko-ui #historyRows td{min-width:120px;overflow-wrap:anywhere;max-width:300px}
body.houko-ui:not(.tech-home) :is(h1,h2,h3,.rvtitle){font-family:Oxanium,Manrope,sans-serif;letter-spacing:.02em;font-weight:600}
body.houko-ui:not(.tech-home) h1{font-size:clamp(30px,4vw,48px);line-height:1.15}
body.houko-ui:not(.tech-home) h2{font-size:24px;line-height:1.35;color:var(--txt)}
body.houko-ui :is(.topnav,.profile-nav){min-height:80px;border-bottom:1px solid var(--line);gap:24px;padding-block:16px;margin-bottom:30px;background:#0b1013}
body.houko-ui :is(.topnav .brand,.profile-brand,header>.brand){font:600 28px/1.1 Oxanium,Manrope,sans-serif;letter-spacing:5px;color:var(--txt);text-decoration:none;white-space:nowrap}
body.houko-ui :is(.profile-brand,header>.brand){display:inline-flex;align-items:center;gap:14px}
body.houko-ui .topnav .logo{width:36px;height:40px;border:0;border-radius:0;background:none;color:var(--gold);font:32px Oxanium,sans-serif}
body.houko-ui .brand-emblem{width:36px;height:40px;color:var(--gold);flex-shrink:0}
body.houko-ui :is(.topnav a:not(.brand),.profile-nav>div,header>a:last-child){font:600 14px/1.6 Manrope,system-ui,sans-serif;color:var(--muted)}
body.houko-ui :is(.topnav a:hover,.topnav a.on,.profile-nav a:hover){color:var(--gold)}
body.houko-ui :is(.box,.account-box,.profile-panel,.stat,.admin-stat,.wc,.panels>.panel){background:linear-gradient(125deg,#10181d,#0b1316);border:1px solid var(--line);border-radius:6px;box-shadow:none}
body.houko-ui .profile-hero{background-color:var(--panel);border-color:var(--line);border-radius:6px}
body.houko-ui :is(.admin-stat strong,.stat .n,.stats strong,.profile-stats strong){font-family:Oxanium,Manrope,sans-serif;color:var(--gold)}
body.houko-ui :is(.access-badge,.profile-chip,.profile-badges>span){border-color:var(--line);border-radius:5px;font-family:Manrope,system-ui,sans-serif}
body.houko-ui .access-badge{background:#12241a55;color:#a6d7bf;border-color:#789b863b}
body.houko-ui :is(.box p,.sub,.lede,.status,.hint,.profile-precision,.profile-stats span,.profile-bio p,.profile-facts,.profile-related>span:last-child,.wc .sr,.card-state){font-family:Manrope,system-ui,sans-serif;font-size:14px;line-height:1.7}
body.houko-ui :is(.eyebrow,.profile-kicker,.kick){font:600 12px/1.6 Manrope,sans-serif;letter-spacing:2px;color:var(--gold)}
body.houko-ui :is(input[type=text],input[type=search],input[type=number],select,.search){background:#10191e;border:1px solid #94a7ab3b;border-radius:5px;color:var(--txt);font:14px/1.5 Manrope,sans-serif;min-height:44px;max-width:100%}
body.houko-ui:not(.tech-home) :is(button,.action,.profile-button,.recbtn):not(.tab):not(.secondary):not(.alt):not(.danger){background:linear-gradient(115deg,#ffbf58,#efa83a);color:#131718;border:1px solid #f7bf65;border-radius:5px;font-family:Manrope,system-ui,sans-serif;font-weight:800;box-shadow:inset 0 1px #ffffff24}
body.houko-ui :is(button.alt,.secondary,.profile-button.secondary){background:transparent;border:1px solid var(--gold-line);border-radius:5px;color:var(--gold);font-family:Manrope,system-ui,sans-serif}
body.houko-ui :is(.tab,.tabs button){font:600 14px/1.6 Manrope,sans-serif;background:none;border-radius:0;box-shadow:none;color:var(--muted)}
body.houko-ui .tab.on{color:var(--gold);border-bottom-color:var(--gold)}
body.houko-ui :is(a,button,input,select,summary,[role=button]):focus-visible{outline:2px solid var(--gold);outline-offset:4px}
body.houko-ui :is(.card:not(:has(.hcard)),.mcard){border-color:var(--line);border-radius:6px;background:var(--panel)}
body.houko-ui :is(.table-scroll,.table-wrap){overflow-x:auto}
body.houko-ui :is(th,td){font-family:Manrope,system-ui,sans-serif;font-size:14px;line-height:1.6;border-color:var(--line)}
body.houko-ui dialog{background:var(--panel);border-color:var(--gold-line);border-radius:6px}
body.houko-ui dialog h2{font-family:Oxanium,sans-serif}
body.houko-ui .top{background:#0b1013;border-bottom:1px solid var(--line)}
body.houko-ui .top h1{font:600 20px/1.4 Oxanium,Manrope,sans-serif}
body.houko-ui .opening-panel{background:#0d1519ed;border-color:var(--line);border-radius:6px}
body.houko-ui .opening-controls .seg button{background:transparent;color:var(--muted);border:1px solid transparent;box-shadow:none}
body.houko-ui .opening-controls .seg button.on{background:var(--gold);color:#131718;border-color:#f7bf65}
body.houko-ui .opening-controls .seg button strong{font-family:Oxanium,sans-serif}
body.houko-ui .recbtn b{font-family:Oxanium,sans-serif}
@media(max-width:760px){
 body.houko-ui :is(.topnav,.profile-nav){flex-wrap:wrap;gap:14px;min-height:74px}
 body.houko-ui .topnav .brand{width:100%}
 body.houko-ui .topnav .sp{display:none}
 body.houko-ui .profile-nav>div{font-size:14px;flex-wrap:wrap}
 body.houko-ui :is(.wrap,.profile-wrap){padding-inline:18px;min-width:0}
 body.houko-ui .admin-heading{display:block}
 body.houko-ui .access-badge{max-width:100%;white-space:normal}
 body.houko-ui .top h1{font-size:14px;min-width:0}
}

/* Compact player resources and staff control integrated into the navigation. */
.houko-staff-inline{display:inline-flex;flex:0 0 auto;align-items:center;margin-left:8px}
.houko-staff-inline button{border:1px solid #ad873844;background:transparent;color:#d9b967;border-radius:5px;padding:7px 9px;font:600 12px/1.3 Manrope,sans-serif;cursor:pointer;white-space:nowrap}
.houko-staff-inline.is-active button{color:#8adab3;border-color:#65bb8c88;background:#65bb8c0c}
.houko-staff-inline .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.hq-wallet{display:flex;align-items:center;gap:12px;white-space:nowrap;font:700 13px/1.4 Manrope,sans-serif;font-variant-numeric:tabular-nums;flex-shrink:0;color:#e5c36d}
.hq-wallet[hidden]{display:none}.hq-wallet a{color:inherit;text-decoration:none}.hq-wallet-gold{border-left:1px solid #afc3c426;padding-left:12px;color:#b5a780}
.tech-home .hq-nav{gap:16px}.tech-home .hq-account{padding-left:12px}
@media(max-width:1100px){.tech-home .hq-menu{gap:12px}.tech-home .hq-brand{padding-right:12px}.hq-wallet{gap:8px;font-size:12px}.hq-wallet-gold{padding-left:8px}}
@media(max-width:700px){.hq-wallet{gap:5px;font-size:11px}.hq-wallet-gold{padding-left:5px}.houko-staff-inline{margin-left:0}.houko-staff-inline button{padding:6px;font-size:11px}.tech-home .hq-nav{gap:8px}.tech-home .hq-account{padding-left:6px}.tech-home .hq-brand>span{font-size:20px;letter-spacing:2px}.tech-home .hq-emblem{width:24px}.tech-home .hq-account span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
@media(max-width:380px){.tech-home .hq-brand>span{font-size:17px;letter-spacing:1px}.tech-home .hq-nav{gap:6px}.houko-staff-inline button{font-size:10px;padding:5px}.hq-wallet{font-size:10px;gap:4px}.tech-home .mobile-menu{font-size:10px;gap:2px}.tech-home .hq-account>.hq-icon{width:26px;height:26px}}

@media(max-width:700px){.houko-staff-inline button{font-size:0!important;width:28px;height:28px;padding:0}.houko-staff-inline button::before{content:"🛡";font-size:14px}.houko-staff-inline.is-active button::before{content:"🛡";color:#8adab3}.tech-home .hq-account{flex-shrink:1}.tech-home .hq-nav{min-width:0}}
