/* Shared visual system: public site, player portal, and staff workspace. */
:root{--ink:#202832;--muted:#5d6875;--line:#dde2e7;--paper:#f3f5f7;--nav:#171d25;--accent:#edc27a;--accent-dark:#78531b;--radius:14px}
html{scroll-padding-top:24px}body{font-size:15px;line-height:1.65;background:var(--paper);color:var(--ink)}
body h1,body h2,body h3{font-weight:650;letter-spacing:-.025em}body h2{font-size:19px}body h3{font-size:16px}p{line-height:1.7}small{font-size:12px;line-height:1.55}
a{color:#76511c}a:hover{color:#50350f}a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ae7b30;outline-offset:3px}
.eyebrow{font-size:11px;letter-spacing:.13em;color:#78531b}.muted{color:#5d6875!important}.card{border:1px solid var(--line);border-radius:14px;padding:26px;background:#fff;box-shadow:0 3px 12px #18253604;margin-bottom:22px;min-width:0}.card h2{font-size:19px}.card .card{box-shadow:none;background:#f8f9fa;padding:20px}.card-heading{flex-wrap:wrap;align-items:center;gap:12px}.card-heading a{font-size:13px}.card-heading h2{margin:0}.card p:last-child{margin-bottom:0}
.button,button.button{font-size:14px;min-height:44px;padding:11px 18px;border-radius:9px;line-height:1.4;justify-content:center;text-align:center;white-space:normal}.primary{background:#263342;border-color:#263342;color:#fff}.primary:hover{background:#35495d;border-color:#35495d;color:#fff}.secondary{background:#fff;border-color:#ccd3da;color:#303f4e}.secondary:hover{background:#f0f3f6;border-color:#a6b3bf;color:#202d3b}.button-row{display:flex;flex-wrap:wrap;gap:12px}.button-row>*{margin:0}
.form-stack{gap:18px}.form-stack label,.filters label,.portal-filters label{font-size:14px;font-weight:600;color:#354351}input,select,textarea{border-radius:9px!important;border:1px solid #bfc9d3;background:#fff;color:#202832;line-height:1.5;min-width:0;max-width:100%}.form-stack input,.form-stack select,.form-stack textarea,.filters input,.filters select{font-size:15px;padding:12px;min-height:46px}.form-stack textarea{min-height:110px;resize:vertical}input::placeholder,textarea::placeholder{color:#737e89;font-weight:400}.filters,.portal-filters{gap:14px;flex-wrap:wrap;align-items:end}.filters label{min-width:160px;flex:1}.form-row>*{min-width:0}
.notice{border-radius:10px;padding:15px 18px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.notice.info{background:#edf3f9;border:1px solid #cfddeb;color:#344d66}.notice.success{background:#edf7f1;border:1px solid #bbdbc9;color:#285a40}.notice.error,.portal-error{background:#fff1ef;border:1px solid #edc7c2;color:#8c352a}.badge{font-size:12px;padding:5px 10px;border-radius:6px;white-space:nowrap}
.two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.activity-grid{gap:22px}.table-wrap{overflow-x:auto;max-width:100%;border-radius:10px}table{width:100%;font-size:14px}thead{background:#f5f7f9}th{font-size:11px;letter-spacing:.055em;color:#526171;white-space:nowrap}th,td{padding:14px 16px;vertical-align:top}td{overflow-wrap:anywhere}tbody tr:hover{background:#fafbfd}.preserve{overflow-wrap:anywhere}
.app-shell{grid-template-columns:250px minmax(0,1fr)}.sidebar{background:#171d25;padding:25px 15px;border-color:#2a3440}.sidebar .ucp-logo{width:175px}.sidebar .brand-row{padding:0 8px}.panel-caption{font-size:10px;line-height:1.7;margin:16px 10px 24px}.nav-label{font-size:10px;color:#a1adb9!important;letter-spacing:.12em}.sidebar .compact-nav{display:flex;flex-direction:column;gap:3px}.nav-item,.compact-nav .nav-item,.nav-group>summary{font-size:13px;min-height:43px;padding:10px 12px;border-radius:8px;color:#c5cfd8}.nav-group-links .nav-item{font-size:12px;padding:9px}.nav-item.active{color:#f1cc8d;background:#edc27a13;border-color:#edc27a35}.nav-item:hover,.nav-group>summary:hover{background:#25313e;color:white}.sidebar-bottom p{font-size:12px}.sidebar-bottom .edition{font-size:10px}.unread-count{min-width:22px;font-size:11px}
.topbar{min-height:76px;padding:18px 32px;background:#fff;font-size:13px}.breadcrumb{font-size:12px}.user-menu strong{font-size:13px}.user-menu small{font-size:11px}.user-menu .text-button{font-size:13px;min-height:40px}.workspace{padding:30px 32px 24px;max-width:1440px}.page-heading{margin-bottom:26px;align-items:center;flex-wrap:wrap}.page-heading h1{font-size:clamp(28px,3vw,36px);line-height:1.2;letter-spacing:-.035em}.page-heading p{font-size:15px;color:#5d6875;max-width:720px}
.dashboard-hero,body[data-page=acp] .page-heading,body[data-page=live] .page-heading{border-radius:16px;padding:32px;background-color:#202c39;min-height:200px;gap:24px}.dashboard-hero h1,body[data-page=acp] .page-heading h1,body[data-page=live] .page-heading h1{font-size:clamp(28px,3vw,38px);color:#fff}.dashboard-hero p,body[data-page=acp] .page-heading p,body[data-page=live] .page-heading p{font-size:15px;color:#d4dde6}.dashboard-hero>div{max-width:72%}.dashboard-hero .primary{color:#292b2d;background:#edc27a;border-color:#edc27a}
.stats-grid{gap:16px}.stats-grid .stat{padding:22px;border-radius:12px}.stat>span{font-size:13px;color:#536170}.stat>strong{font-size:30px;letter-spacing:-.025em}.stat small{font-size:12px;color:#647180}.stat:after{display:none}.detail-grid dt{font-size:12px;color:#647180}.detail-grid dd{font-size:14px}.character-name p{font-size:13px}.workspace-footer{font-size:11px}.portal-attention a{border-color:#d8e0e7;background:#f8fafc;gap:5px}.portal-attention strong{color:#76511c}.portal-attention span{font-size:13px}.portal-tabs{gap:10px}.portal-tabs a{font-size:14px;color:#6c4b1b;background:#fbf6ec;border:1px solid #e6d7bd;border-radius:9px;padding:10px 16px}.portal-case{border-color:#dbe2e9;background:#fafbfd;border-radius:10px}.portal-case summary{color:#34475a;font-size:14px;line-height:1.6}.portal-case[open] summary{margin-bottom:16px}.portal-queue-row{border-color:#e1e6eb}.portal-status{border-left:3px solid #a9bdcf}.portal-steps{gap:24px}.faction-section{border-radius:12px;border-color:#dce2e8}.faction-section>summary{font-size:15px;padding:18px 20px}.faction-section-body{min-width:0}.public-character{max-width:920px}
/* Public pages use the same spacing and palette as the portal. */
.public-site{background:#f3f5f7;color:#202832}.public-header{background:#171d25;padding:20px max(24px,calc((100vw - 1200px)/2));border-bottom:1px solid #313b46;gap:28px;flex-direction:row;align-items:center}.public-brand .ucp-logo{width:175px}.public-header nav{gap:6px;justify-content:flex-end}.public-header nav a{font-size:13px;color:#c8d2dd;padding:10px 12px;border-radius:8px}.public-header nav a:hover{color:white;background:#263340;text-decoration:none}.public-header nav a[aria-current=page]{background:#edc27a14;color:#f0ca89;text-decoration:none}.public-header nav .primary{background:#edc27a;color:#242b32;border-color:#edc27a;margin-left:8px;padding:11px 18px}.public-main{max-width:1248px;padding:0 24px 48px}.public-hero{max-width:none;background:#202c39 url('district-map.svg') right center/60% auto no-repeat;border:1px solid #344455;border-radius:20px;margin:32px 0 26px;padding:60px;position:relative;isolation:isolate;overflow:hidden}.public-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#202c39 20%,#202c39ed 52%,#202c3960);z-index:-1}.public-hero h1{color:#fff;font-size:clamp(38px,5.5vw,66px);line-height:1.08;letter-spacing:-.04em;margin:18px 0 22px}.public-hero p{font-size:17px;color:#d1dbe5;max-width:600px}.public-hero .eyebrow{color:#efc67f}.public-hero .primary{background:#edc27a;color:#222d38;border-color:#edc27a}.public-hero .secondary{background:#ffffff0a;color:#f4f7fa;border-color:#81909f}.public-hero.compact{padding:40px 48px}.public-hero.compact h1{font-size:42px}.public-hero.compact p{font-size:16px}.public-footer{max-width:1200px;border-color:#d9e0e7;padding:24px 0;margin:0 auto;font-size:13px;color:#637182}.public-footer a{color:#3c4e60}.activity-grid .card{padding:26px}.activity-grid .card h2{font-size:19px}.activity-grid .card p{font-size:15px;color:#5b6876}.connection-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;background:white;border:1px solid #dce2e8;border-radius:14px;margin:24px 0}.connection-strip small{display:block;color:#627180}.connection-strip strong{font-size:20px;color:#26394b;letter-spacing:.015em}.connection-strip a{font-size:14px}.join-steps{padding-left:24px}.join-steps li{padding:10px 0 24px 16px}.join-steps li::marker{color:#996f30;font-size:18px;font-weight:700}
.login-shell{background:#f3f5f7}.login-brand{background-color:#1c2733}.login-brand:after{display:none}.login-copy h1{font-size:clamp(38px,4.8vw,64px);line-height:1.12}.login-copy p{font-size:16px;color:#cad4de}.login-form{padding:48px}.login-box{width:100%;max-width:430px}.login-box h2{font-size:34px}.login-box label{font-size:14px}.login-box input{font-size:16px;min-height:48px}.login-help{font-size:13px;line-height:1.8}.login-foot,.local-pill{font-size:11px}
@media(max-width:1100px){.public-header{flex-direction:column;align-items:flex-start;gap:18px}.public-header nav{justify-content:flex-start}.portal-attention{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{padding:26px}.two-column{grid-template-columns:1fr}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){.app-shell{display:block}.sidebar{height:auto;padding:18px 22px;position:relative;overflow:visible}.sidebar .ucp-logo{width:145px}.sidebar .brand-row{padding:0}.navigation-panel .compact-nav{display:flex;flex-direction:column}.nav-group-links .nav-item{font-size:13px;min-height:44px}.nav-toggle{min-height:44px;font-size:14px}.topbar{padding:16px 24px}.public-footer{margin:0 24px}.login-form{padding:32px}}
@media(max-width:680px){.workspace{padding:22px 16px}.topbar{padding:12px 18px}.card{padding:21px 18px}.card .card{padding:16px}.page-heading{gap:14px}.page-heading p{font-size:14px}.dashboard-hero,body[data-page=acp] .page-heading,body[data-page=live] .page-heading{padding:25px 22px;min-height:0;align-items:flex-start}.dashboard-hero>div{max-width:100%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stats-grid .stat{padding:18px 14px}.stat>span{font-size:12px}.stat>strong{font-size:25px}.stat small{font-size:11px}.activity-grid,.two-column,.admin-tools{grid-template-columns:1fr;gap:16px}.activity-grid .card{margin:0}.form-stack input,.form-stack select,.form-stack textarea,.filters input,.filters select{font-size:16px}.filters label{min-width:0;width:100%}.public-header{padding:18px;gap:16px}.public-brand .ucp-logo{width:155px}.public-header nav{gap:3px;width:100%}.public-header nav a{font-size:13px;padding:9px 10px}.public-header nav .primary{margin-left:0}.public-main{padding:0 16px 30px}.public-hero,.public-hero.compact{margin-top:22px;padding:32px 24px;border-radius:14px;background-size:auto 100%}.public-hero h1,.public-hero.compact h1{font-size:38px}.public-hero p,.public-hero.compact p{font-size:15px}.public-footer{margin:0 16px;padding:22px 0;gap:12px}.connection-strip{align-items:flex-start;flex-direction:column;padding:20px}.connection-strip strong{font-size:19px}.portal-steps{grid-template-columns:1fr;gap:12px}.portal-tabs a{padding:11px 12px}.login-copy{padding:28px 0 12px}.login-copy h1{font-size:36px}.login-copy p{font-size:14px}.login-form{padding:32px 24px}.login-brand{padding:26px 24px}.login-brand .ucp-logo{width:180px}.detail-grid{gap:18px}.portal-queue-row{flex-direction:column}.portal-status>div{min-width:0;flex-basis:100%}.profile-preview{flex-direction:column}.user-menu{min-width:0}.user-menu strong{overflow-wrap:anywhere}.portal-attention a{padding:15px}.portal-attention strong{font-size:26px}}
@media(max-width:380px){.stats-grid,.portal-attention{grid-template-columns:1fr}.public-hero .button-row{flex-direction:column}.button-row .button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
