@charset "UTF-8";
:root{--site-width:1240px;--sidebar-width:220px;--site-gap:24px;--font:"Microsoft YaHei","PingFang SC",sans-serif;--serif:KaiTi,"STKaiti","SimSun",serif;--paper:#e8e2d2;--muted:#a3ac9f;--gold:#d2b779;--line:#b9a26c35;--surface:#101815f2}
html{scrollbar-gutter:stable;overflow-y:scroll;background:#0b100f}body{min-width:320px;background:linear-gradient(90deg,#080e0cf5,#0b1311ec 55%,#080e0cf2),url('hero-ink-generated.png') center top/cover fixed no-repeat;color:var(--paper);font:14px/1.75 var(--font)}button,input,textarea,select{font-family:var(--font)}a,button,input,textarea,select{outline-offset:3px}.wrap{width:min(var(--site-width),calc(100% - 64px));margin-left:auto;margin-right:auto}.top{height:32px;font-size:10px}.header{height:96px;min-height:96px;padding:0;flex-wrap:nowrap;gap:24px}.brand{width:228px;flex:none}.brand strong{font:26px/1.25 var(--serif);letter-spacing:.13em}.brand small{font:9px Arial;letter-spacing:.22em}.mark{width:43px;height:43px;font:25px var(--serif)}.header nav{display:flex;justify-content:center;gap:24px;flex:1;order:initial;width:auto;font:17px var(--serif)}.header nav a{padding:10px 0;white-space:nowrap}.header nav a.active{color:var(--gold)}.header .portal-user{width:178px;flex:none;justify-content:flex-end;font:12px var(--font);min-height:40px;overflow:hidden;gap:9px}.portal-user img,.user-placeholder{width:30px;height:30px;flex:none;object-fit:contain;border-radius:50%;background:#26352c;border:1px solid var(--line)}.user-placeholder{display:grid;place-items:center;font:18px var(--serif);color:var(--gold)}#siteUserLabel{max-width:136px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-layout{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);gap:var(--site-gap);align-items:start;margin:16px auto 40px}.workspace{min-width:0}.portal-nav{top:18px;padding:0;min-height:650px;background:#101914ed;box-shadow:none;border:1px solid var(--line)}.nav-heading{height:66px;display:flex;flex-direction:column;justify-content:center;padding:0 22px;border-bottom:1px solid var(--line);font:22px var(--serif);color:var(--gold)}.nav-heading small{font:8px Arial;letter-spacing:.18em;color:#8f9e89;margin-top:8px}.portal-nav a{padding:9px 22px;line-height:24px;font:13px/24px var(--font);color:#b7bdb0;border-left:2px solid transparent;white-space:nowrap}.portal-nav a.selected{border-left-color:var(--gold);background:linear-gradient(90deg,#b3914323,transparent);color:#e1c78f}.nav-divider{height:1px;background:var(--line);margin:13px 21px}.staff-slot{min-height:47px;margin-top:8px;border-top:1px solid var(--line);padding-top:3px}.context-slot{height:52px;min-width:0;overflow:hidden;margin-bottom:0;border:1px solid var(--line);border-bottom:0;background:#131d17e8}.context-nav{height:51px;display:flex;align-items:center;gap:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;padding:0 12px;line-height:1}.context-nav>span{padding:0 10px;color:var(--muted);font-size:12px}.context-nav a,.context-nav button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:50px;padding:0 14px;border:0;border-bottom:2px solid transparent;color:var(--muted);font:12px var(--font);flex:none}.context-nav button.selected,.context-nav a.selected{color:var(--gold);border-bottom-color:var(--gold);background:#d2b77908}.context-nav button>span.nav-symbol,.context-nav button>span:last-child:not([data-count]):not(#draftCount){display:none}.context-nav [data-count],#draftCount{font:10px Arial;border:1px solid var(--line);padding:2px 5px;min-width:18px;display:inline-block!important}.panel,.message-panel{min-height:610px;margin:0;box-shadow:none;min-width:0}.portal-hero,.panel-header{height:112px;min-height:112px;padding:22px 32px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;background:linear-gradient(105deg,#a4833812,transparent)}.portal-hero .eyebrow,.panel-header>span{display:none}.portal-hero h1,.panel-header h2{font:29px/1.35 var(--serif);letter-spacing:.07em;margin:0 0 8px;color:#ead8a9}.portal-hero p,.panel-header p{font:12px/1.7 var(--font);margin:0;color:var(--muted)}.portal-body,.panel-body{padding:28px 32px 32px}.portal-row h3,.portal-card h3{font:21px/1.5 var(--serif)}.portal-meta{font-size:12px}.portal-row p,.portal-card p,.help-copy p,.help-copy li,.point-explainer p,.field-note,.balance-note,.gift-help{font-size:12px;line-height:1.85}.portal-form label,.field label{font-size:12px}.portal-form input,.portal-form select,.portal-form textarea,.input-shell input{font-size:14px}.portal-form textarea,.field textarea{border:1px solid var(--line);background:#080f0c;color:var(--paper);padding:12px;font:14px/1.8 var(--font);resize:vertical}.button{min-height:42px;font-size:12px;border-radius:1px}.portal-grid{gap:18px}.portal-card{padding:20px;border:1px solid var(--line);background:#d2b77904}.portal-empty{padding:55px 18px;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center}.portal-empty strong{font:25px var(--serif)}.workspace-notices .notice{margin-top:14px;font-size:12px}.inline-admin-link{display:block;text-align:right;margin-top:14px;color:var(--gold);font-size:12px}.footer{margin-top:0;padding-top:23px;padding-bottom:26px;min-height:80px;font-size:11px}.footer>div{display:flex;gap:20px;align-items:center}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;pointer-events:none}.message-list .message-row{padding:21px 24px}.message-article{padding:28px 32px}.message-toolbar{padding:18px 32px}.message-back{padding:17px 32px}.message-body{font-size:14px;line-height:1.95}.admin-table th,.admin-table td{font-size:12px}.auth-form{max-width:480px}.hero-actions{margin-top:22px}.avatar-group h3{font:22px var(--serif)}.large-avatar{width:86px;height:86px}.avatar-choice{min-height:112px}.avatar-choice span{font-size:12px}.avatar-layout h2{font:25px var(--serif)}.home-banner{position:relative;min-height:244px;padding:30px;background:linear-gradient(90deg,#091613d9,#0b1c1a4d),url('hero-night-generated.png') center 54%/cover;border:1px solid var(--line);margin-bottom:22px;display:flex;align-items:center}.home-banner h2{font:38px/1.4 var(--serif);letter-spacing:.09em;margin:0 0 14px;color:#f0ddb2}.home-banner p{max-width:360px;font-size:13px;color:#d4d6c8;line-height:1.9}.home-banner .portal-actions{margin-top:20px}.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:27px}.home-shortcut{padding:16px 10px;border:1px solid var(--line);text-align:center;background:#d2b77907}.home-shortcut strong{display:block;font:20px var(--serif);color:#dbc794}.home-shortcut small{font-size:11px;color:var(--muted)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 18px}.section-heading h2{font:23px var(--serif);margin:0}.section-heading a{font-size:12px;color:var(--gold)}.faction-portraits{display:flex;gap:15px;margin:17px 0}.faction-portraits img{height:50px;width:50px}.faction-portraits span{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.event-state{color:var(--gold)}.action-dialog{width:min(620px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);background:#101b15;color:var(--paper);padding:27px}.action-dialog h2{font:26px var(--serif);margin-top:0}.action-dialog::backdrop{background:#020805b8}.action-dialog textarea{min-height:150px}.action-dialog .portal-actions{justify-content:flex-end}
@media(max-width:1050px){.brand{width:190px}.header nav{gap:17px}.header .portal-user{width:150px}.portal-layout{--sidebar-width:190px;--site-gap:18px}.portal-body,.panel-body{padding:25px}.portal-hero,.panel-header{padding-left:25px;padding-right:25px}}
@media(max-width:780px){.wrap{width:calc(100% - 32px)}.top{height:28px}.header{height:118px;min-height:118px;display:grid;grid-template-columns:1fr auto;grid-template-rows:65px 45px;gap:0}.brand{width:auto}.brand strong{font-size:24px}.header .portal-user{width:160px;justify-self:end}.header nav{grid-column:1/-1;width:100%;gap:0;justify-content:space-between;font:16px var(--serif)}.header nav a{padding:8px 0}.portal-layout{grid-template-columns:1fr;gap:14px;margin-top:10px}.portal-nav{position:static;min-height:0;padding:7px;display:flex;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;gap:0}.nav-heading,.nav-divider,.staff-slot:empty{display:none}.portal-nav a{font-size:12px;padding:7px 11px;border-left:0;border-bottom:2px solid transparent;line-height:22px;flex:none}.portal-nav a.selected{border-bottom-color:var(--gold)}.staff-slot{border:0;min-height:0;padding:0;margin:0}.staff-slot a{height:38px}.context-slot{height:48px}.context-nav{height:47px}.context-nav a,.context-nav button{min-height:46px;padding:0 12px}.portal-hero,.panel-header{height:105px;min-height:105px;padding:20px}.portal-hero h1,.panel-header h2{font-size:26px}.portal-body,.panel-body{padding:22px 20px}.portal-grid{grid-template-columns:1fr}.home-banner{min-height:220px;padding:23px}.home-banner h2{font-size:31px}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.message-toolbar,.message-article,.message-back{padding-left:20px;padding-right:20px}.footer{align-items:flex-start;gap:13px}.footer>div{gap:16px}.avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.avatar-choice{min-height:110px}.avatar-choice span{font-size:11px}.panel,.message-panel{min-height:570px}}
.portal-hero,.panel-header{height:auto;min-height:112px}.portal-hero h1,.panel-header h2,.portal-row h3,.portal-card h3,.welcome h3,.portal-meta strong{overflow-wrap:anywhere;max-width:100%}.welcome>div{min-width:0}.portal-meta>span{overflow-wrap:anywhere;min-width:0}
@media(max-width:780px){.portal-hero,.panel-header{height:auto;min-height:105px}.welcome{align-items:flex-start}.welcome h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Shared original calligraphic glyph; no square icon backing. */
.mark{flex-shrink:0}.mark .tang-calligraphy{display:block;width:25px;height:33px;object-fit:contain;margin:auto}
