/* Independent art direction: each team owns materials, typography and composition. */
body[data-unit=blackjack]{--bg:#0b100b;--surface:#1c261b;--surface2:#2d3c29;--text:#e6e5ce;--muted:#b7c2a4;--accent:#b4cd8d;--line:#526044;--field:#182116;--control:#35452d;background:radial-gradient(ellipse at 70% 25%,#34492744,transparent 55%),var(--bg)}
body[data-unit=origin]{--bg:#100d1d;--surface:#21192f;--surface2:#312542;--text:#eee6ff;--muted:#b8a9cb;--accent:#c3a0f6;--line:#514260;--field:#1b1428;--control:#3b2d4d;background:radial-gradient(ellipse at 85% 30%,#54357d44,transparent 60%),var(--bg)}
body[data-unit=beacon]{--bg:#101d27;--surface:#1c2b36;--surface2:#2c3d49;--text:#e5eef2;--muted:#a1b6c4;--accent:#98cee3;--line:#465b69;--field:#172630;--control:#304552;background:var(--bg)}
body[data-unit=shield]{--bg:#191a18;--surface:#292b25;--surface2:#3a3c32;--text:#ede9d9;--muted:#bcb59e;--accent:#dabb76;--line:#5a5748;--field:#22241e;--control:#414133;background:linear-gradient(120deg,#39322135,transparent 70%),var(--bg)}




body:is([data-unit=blackjack],[data-unit=origin],[data-unit=beacon],[data-unit=shield]) :is(.site-header,.site-nav,.site-footer,.agency-strip){background:var(--surface);color:var(--text);border-color:var(--line)}
body .team-hero{position:relative;isolation:isolate;min-height:420px;padding:40px!important;border:1px solid var(--line);color:var(--text);background:var(--surface)!important}
.team-hero h2{font-size:clamp(44px,6.5vw,96px);line-height:.95;letter-spacing:-.045em;margin:22px 0}
.team-division{font:11px var(--mono);letter-spacing:.15em;color:var(--muted)}
.team-motto{font-size:20px;font-weight:700;line-height:1.5}
.team-description{font-size:14px;line-height:1.9;max-width:45ch;color:var(--muted)}
.team-hero .unit-meta{margin-top:24px;font-size:11px;line-height:1.8;flex-wrap:wrap;gap:12px}
.team-hero-photo{background-size:cover;background-position:50% 22%;min-width:0;min-height:0;-webkit-touch-callout:none;user-select:none}
.team-anchor{display:inline-block;margin-top:24px;font-size:12px;border-bottom:1px solid currentColor;padding-bottom:8px}
body[data-viewer=public] .team-hero-photo{filter:blur(8px) grayscale(1)}
/* BLACKJACK: Siso's olive metal television, cream dossier stock, checkered rails. */
body .blackjack-hero{grid-template-columns:1fr 1fr!important;background:radial-gradient(at 80% 10%,#526e3833,transparent 60%),#11190e!important;color:#e6e5ce;border:1px solid #64744e;border-radius:30px!important;padding:46px 40px 62px!important;box-shadow:inset 0 1px 0 #d8e1b733,0 24px 45px #0004;overflow:visible}
body .blackjack-hero h2{color:#e6e5ce!important;text-shadow:3px 3px 0 #455b35}
body .blackjack-hero :is(p,small,.team-division,.unit-meta){color:#b7c2a4!important}
.blackjack-copy{align-self:center}
.field-tv{position:relative;padding:19px 19px 15px;border-radius:38px;background:linear-gradient(135deg,#a5b28d 0%,#566943 12%,#27351e 45%,#6e8053 80%,#29391f);border:2px solid #81956a;box-shadow:inset 3px 3px 5px #e9f1c7b0,inset -7px -8px 5px #0c1809,10px 14px 0 #11190c,16px 26px 30px #0008;transform:rotate(-2deg);max-width:530px;width:100%;margin:auto}
.tv-screen{position:relative;height:330px;overflow:hidden;border-radius:25px;background:#101a0c;border:8px solid #1b2915;box-shadow:0 0 0 2px #6a7b50,inset 0 0 25px #000}
.tv-screen .team-hero-photo{height:100%;opacity:.85;filter:saturate(.6);background-position:50% 30%}
.tv-screen:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#102009dd,transparent 60%);pointer-events:none}
.tv-screen-label{position:absolute;top:13px;left:15px;right:15px;z-index:2;display:flex;gap:6px;align-items:center;color:#d2e3b5;font:8px var(--mono);letter-spacing:.1em}
.tv-screen-label>span{margin-left:auto}.tv-screen-label i{width:6px;height:6px;border-radius:50%;background:#c2ee88;box-shadow:0 0 8px #bcf77b}
.tv-caption{position:absolute;bottom:20px;left:24px;z-index:2;color:#e9e8d2;display:grid;gap:8px}.tv-caption strong{font:64px/.9 var(--display);letter-spacing:.04em}.tv-caption small{font:9px var(--mono);letter-spacing:.15em}
.tv-scan{position:absolute;inset:0;background:repeating-linear-gradient(transparent 0 3px,#0002 3px 4px);pointer-events:none;z-index:3}
.tv-controls{display:flex;align-items:center;gap:20px;padding:20px 7px 3px}.tv-dial{width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:repeating-conic-gradient(#344625 0 7deg,#90a471 7deg 14deg);box-shadow:0 3px 4px #0008,inset 0 0 0 9px #637c49;border:1px solid #c0ce9c}.tv-speaker{height:27px;flex:1;border-radius:6px;background:repeating-linear-gradient(90deg,#101a0b 0 3px,#7b8a60 3px 6px);box-shadow:inset 0 2px 4px #0008}
.blackjack-checker{position:absolute;bottom:0;left:25px;right:25px;height:13px;background:conic-gradient(#879b6b 25%,#182510 0 50%,#879b6b 0 75%,#182510 0) 0 0/18px 18px;border-radius:0 0 4px 4px}
body[data-unit=blackjack] .unit-workspace{background:linear-gradient(130deg,#9fac86,#3a4a2d);padding:16px;border-radius:25px;box-shadow:inset 2px 2px 0 #e6ebcd,0 8px 0 #1c2814;margin-top:38px;gap:16px}
body[data-unit=blackjack] .unit-workspace .panel{background:#e3e3ce;color:#293622;--text:#293622;--muted:#5e6d4d;--line:#b4bea1;--accent:#4b6e32;border-radius:16px;border:1px solid #536641;box-shadow:inset 0 1px 0 #fff}
body .person-card[data-team=blackjack] .card-face{background:linear-gradient(135deg,#f0efdc,#d6d8bf)!important;color:#253622;border:5px solid #697c50!important;box-shadow:inset 0 1px 0 #fff,4px 7px 0 #29391d,0 15px 24px #0004!important;--text:#253622;--muted:#586a45;--line:#adba96;--card-text:#253622;--card-muted:#586a45}
body .person-card[data-team=blackjack] .id-card-head{background:linear-gradient(#4b6239,#2c4222);color:#dfe6c6}
body .person-card[data-team=blackjack] .id-photo{border:2px solid #435d30;border-radius:15px!important}
body .person-card[data-team=blackjack] .id-caption{padding:18px;background:#e0e1c9!important}
body .person-card[data-team=blackjack] .id-card-foot{background:#cfD4b8;color:#425635}
/* ORIGIN: a violet gate aperture and translucent vertical specimen records. */
body .origin-hero{grid-template-columns:1fr 1fr!important;border-radius:42px 42px 12px 42px!important;background:radial-gradient(ellipse at 80% 50%,#74539566,transparent 65%),#171022!important;color:#eee6ff;border-color:#85649e;min-height:500px;overflow:hidden}
body .origin-hero h2{color:#eee6ff!important;font-weight:400;letter-spacing:.13em;font-size:clamp(40px,6vw,90px)}
body .origin-hero :is(p,small,.team-division,.unit-meta){color:#c1afcf!important}
.origin-orbit-label{font:10px var(--mono);letter-spacing:.25em;color:#bba1d0;display:block;margin-bottom:36px}
.origin-aperture{position:relative;min-height:360px;display:flex;align-items:center;justify-content:center;gap:12px;perspective:800px}
.origin-ring{position:absolute;width:340px;height:340px;border-radius:50%;border:1px solid #b793dc;box-shadow:0 0 35px #b580b642,inset 0 0 40px #8e55b340,0 0 0 18px #ab80d010,0 0 0 19px #ae83d438;transform:rotateX(18deg) rotateY(-20deg)}
.origin-aperture .team-hero-photo{position:relative;width:26%;height:250px;border-radius:120px 120px 14px 14px;border:1px solid #d9bff06b;box-shadow:0 25px 30px #0007;filter:saturate(.35)}
.origin-aperture .team-hero-photo:nth-of-type(2){height:320px;z-index:2}
.origin-aperture>span{position:absolute;bottom:0;font:8px var(--mono);letter-spacing:.22em;color:#c3a5d8}
body .person-card[data-team=origin] .card-face{border-radius:60px 60px 16px 16px!important;clip-path:inset(0 round 60px 60px 16px 16px);background:linear-gradient(150deg,#493255,#21152e)!important;--text:#eee6f3;--muted:#bdabc8;color:#eee6f3;border-color:#a489b1!important}
body .person-card[data-team=origin] .id-card-head{padding-top:9px;justify-content:center;color:#d8c4e8}.person-card[data-team=origin] .id-card-head>img{display:none}
body .person-card[data-team=origin] .id-photo{border-radius:42px 42px 10px 10px!important;border:1px solid #bc94d35c}
body .person-card[data-team=origin] .id-caption{color:#eee6f3!important;--muted:#bdabc8}
body .person-card[data-team=origin] .id-card-foot{color:#bdabc8}
/* BEACON: a pale blue investigation file, clipped evidence and calibrated reticle. */
body .beacon-hero{grid-template-columns:1.15fr .85fr!important;background:linear-gradient(90deg,#e8eef1 0 58%,#bfced7 58%)!important;color:#233849;border:1px solid #9bb0be;border-radius:12px 30px 30px 12px!important;}
body .beacon-hero h2{color:#233849!important;font-family:Georgia,serif;font-size:clamp(43px,6.5vw,92px);letter-spacing:-.065em}
body .beacon-hero :is(p,small,.team-division,.unit-meta){color:#536d80!important}
.beacon-file-label{display:inline-block;border:1px solid #92a5b3;padding:9px;font:9px var(--mono);color:#4f6a7c;letter-spacing:.08em;margin-bottom:18px}
.beacon-file-sign{display:flex;gap:18px;align-items:center;font:8px var(--mono);margin-top:28px;color:#4d6f85}
.beacon-evidence{height:360px;border:10px solid #f7f8f4;border-bottom-width:35px;box-shadow:5px 7px 0 #7c909d,0 20px 30px #182f4533;position:relative;transform:rotate(3deg);background:#8d9fac;margin:8px 15px}
.beacon-evidence:before{content:'';position:absolute;right:20px;top:-25px;width:22px;height:54px;border:3px solid #748894;border-radius:12px;z-index:3;box-shadow:2px 1px 1px #fff9}
.beacon-evidence .team-hero-photo{height:100%;filter:grayscale(.7)}
.evidence-label{position:absolute;bottom:-27px;left:0;right:0;text-align:center;color:#435a69;font:9px var(--mono)}
.evidence-crosshair{position:absolute;inset:16%;border:1px solid #d7edf988;pointer-events:none}.evidence-crosshair:after{content:'+';position:absolute;inset:0;display:grid;place-items:center;color:#d7edf9;font:36px monospace}
body .person-card[data-team=beacon] .card-face{border-radius:12px!important;clip-path:inset(0 round 12px);background:linear-gradient(135deg,#f0f4f5,#d9e3e8)!important;border:1px solid #8fa5b5!important;--text:#253e51;--muted:#5c788b;color:#253e51;box-shadow:6px 7px 0 #657f9433,0 15px 24px #0002!important}
body .person-card[data-team=beacon] .id-card-head{background:#36566c;color:#e2edf5}
body .person-card[data-team=beacon] .id-photo{border:8px solid #fff;border-radius:2px!important;box-shadow:0 3px 6px #29445922;transform:rotate(-1deg);margin:12px 18px 4px}
body .person-card[data-team=beacon] .id-caption{margin:12px 16px;padding:8px 12px;color:#253e51!important;--muted:#5c788b}
body .person-card[data-team=beacon] .id-card-foot{color:#5c788b;background:#cddae2}
/* SHIELD: broad armored panels, amber hazard edges and rank plates. */
body .shield-hero{grid-template-columns:1fr 1fr!important;gap:24px;background:linear-gradient(120deg,#30352e,#171c18)!important;color:#e9e3cd;border:2px solid #77745d;border-radius:18px!important;box-shadow:inset 0 2px 0 #c4b89555,0 10px 0 #111710,0 22px 35px #0003}
.shield-hero-top,.shield-hero-bottom{grid-column:1/-1;display:flex;justify-content:space-between;font:10px var(--mono);letter-spacing:.15em;color:#c3b47f;gap:12px}
.shield-hero-top{border-bottom:1px solid #77745d;padding-bottom:18px}.shield-hero-bottom{padding:12px 18px;background:repeating-linear-gradient(135deg,#c1a65c 0 10px,#343b2a 10px 20px);border-radius:5px;color:#fff;text-shadow:0 1px 5px #000}
.shield-copy{align-self:center}.shield-copy .team-division{display:none}
body .shield-hero h2{color:#e9e3cd!important;font-size:clamp(50px,8vw,112px);letter-spacing:.02em;text-shadow:0 3px 0 #978c66}
body .shield-hero :is(p,small,.unit-meta){color:#bdb799!important}
.shield-lineup{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:9px;min-height:330px}
.shield-lineup>div{position:relative;overflow:hidden;border-radius:9px;border:1px solid #877c54}.shield-lineup .team-hero-photo{height:100%;filter:saturate(.45)}
.shield-lineup>div>span{position:absolute;bottom:0;left:0;right:0;padding:15px 8px;background:#1c251acc;color:#e4d39c;font:10px var(--mono)}
body .person-card[data-team=shield] .card-face{border-radius:12px!important;clip-path:inset(0 round 12px);background:linear-gradient(140deg,#4a4e40,#272e23)!important;--text:#eee9d4;--muted:#c2bb9e;color:#eee9d4;border:3px solid #8f8966!important;box-shadow:inset 0 2px 0 #dbd1ac88,5px 7px 0 #192016,0 18px 22px #0004!important}
body .person-card[data-team=shield] .id-card-head{background:#b7a267;color:#1e291d;font-weight:700}
body .person-card[data-team=shield] .id-photo{border:2px solid #a19162;border-radius:8px!important;margin:10px 12px 0}
body .person-card[data-team=shield] .id-caption{background:linear-gradient(#4e5543,#343e2c)!important;color:#eee9d4;--muted:#c2bb9e}
body .person-card[data-team=shield] .id-card-foot{background:repeating-linear-gradient(135deg,#82774822 0 8px,#1b251644 8px 16px);color:#d0c59f}
/* Directory previews preserve those distinct materials. */
body .directory-grid>.directory-card[data-team=blackjack]{background:linear-gradient(145deg,#526740,#1a2814);color:#e5e7cd;--text:#e5e7cd;--muted:#b6c59c;--line:#758860;border:3px solid #879a6e;}
body .directory-grid>.directory-card[data-team=blackjack] .directory-visual{border:8px solid #26391b;box-shadow:0 0 0 2px #91a471;border-radius:22px}
body .directory-grid>.directory-card[data-team=origin]{background:radial-gradient(at 80% 15%,#715082,#21162e 70%);--text:#f1e6fa;--muted:#c5afd3;--line:#9a79ad55;color:var(--text);border-color:#9a79ad}
body .directory-grid>.directory-card[data-team=origin] .directory-visual{border-radius:120px 120px 14px 14px;border:1px solid #cdaae655}
body .directory-grid>.directory-card[data-team=beacon]{background:linear-gradient(140deg,#f0f4f5,#cfdee7);--text:#233e52;--muted:#58768b;--line:#a4bbcb;color:var(--text);}
body .directory-grid>.directory-card[data-team=beacon] .directory-visual{border:7px solid #fff;border-radius:2px;transform:rotate(-1deg);box-shadow:0 5px 12px #273e5522}
body .directory-grid>.directory-card[data-team=shield]{background:linear-gradient(130deg,#4a503f,#222b1e);--text:#eee8d2;--muted:#c1b995;--line:#80784e;color:var(--text);border:3px solid #8f865e;}
body .directory-grid>.directory-card[data-team=shield] .directory-window-label{background:repeating-linear-gradient(135deg,#81733e 0 10px,#4f542b 10px 20px)}
body .profile-stage[data-team=orpe]{--profile-surface:#151316;--profile-ink:#eee5df;--profile-accent:#e7a2a5;--profile-line:#604348}
/* Fixed dossier materials own their text and link palette in both page modes. */
body .profile-stage[data-team=blackjack]{--profile-surface:#e4e6d0;--profile-ink:#293a22;--profile-accent:#435c32;--profile-line:#a2b08f}
body .profile-stage[data-team=origin]{--profile-surface:#21192f;--profile-ink:#eee6f3;--profile-accent:#cdb4df;--profile-line:#63516f}
body .profile-stage[data-team=beacon]{--profile-surface:#1a222b;--profile-ink:#e4eaf2;--profile-accent:#b4cce0;--profile-line:#4e6578}
body .profile-stage[data-team=shield]{--profile-surface:#ebeddf;--profile-ink:#303627;--profile-accent:#515b38;--profile-line:#a8b094}
body .profile-stage:is([data-team=blackjack],[data-team=origin],[data-team=beacon],[data-team=shield],[data-team=orpe],[data-team=obsidus],[data-team=lucky]){
  --text:var(--profile-ink);--muted:var(--profile-accent);--surface:var(--profile-surface);
  --control:var(--profile-surface);--accent:var(--profile-accent);--line:var(--profile-line);
}
body .profile-stage:is([data-team=blackjack],[data-team=origin],[data-team=beacon],[data-team=shield],[data-team=orpe],[data-team=obsidus],[data-team=lucky]) .profile-document{color:var(--profile-ink);background:var(--profile-surface)!important}
body .profile-stage:is([data-team=blackjack],[data-team=origin],[data-team=beacon],[data-team=shield],[data-team=orpe],[data-team=obsidus],[data-team=lucky]) .profile-document :is(.eyebrow,h3 small){opacity:1}
body .profile-stage:is([data-team=blackjack],[data-team=origin],[data-team=beacon],[data-team=shield],[data-team=orpe],[data-team=obsidus],[data-team=lucky]) .profile-windowbar{background:#111923e8;color:#f4f7fa}

@media(max-width:760px){body .team-hero{grid-template-columns:minmax(0,1fr)!important;padding:25px!important;gap:28px}.team-hero h2{font-size:54px}.team-motto{font-size:17px}.team-description{font-size:13px}.field-tv{max-width:430px;padding:13px;border-radius:30px}.tv-screen{height:270px;border-width:6px;border-radius:20px}.tv-caption strong{font-size:48px}.tv-controls{padding-top:14px}.tv-dial{width:30px;height:30px;flex-basis:30px}.blackjack-checker{height:9px}.origin-aperture{min-height:290px}.origin-ring{width:240px;height:240px}.origin-aperture .team-hero-photo{height:200px}.origin-aperture .team-hero-photo:nth-of-type(2){height:250px}.beacon-evidence{height:290px;margin:0 10px 15px}.shield-lineup{min-height:270px}.shield-hero-top,.shield-hero-bottom{font-size:8px}body[data-unit=blackjack] .unit-workspace{padding:10px}}
@media(prefers-reduced-motion:reduce){.field-tv{transform:none}}
:root{--display:'Barlow Condensed',sans-serif}
.team-hero .team-division{display:block}
body .team-hero>.blackjack-checker{max-width:none}
body .team-hero>.shield-hero-top,body .team-hero>.shield-hero-bottom{max-width:none}
body .team-hero>.field-tv{max-width:530px}
body .team-hero>.origin-aperture{max-width:none}

/* Fixed materials own their palette; mode changes must not invert their ink. */
body .blackjack-hero{--text:#e6e5ce;--muted:#b7c2a4;--accent:#b4cd8d}
body .origin-hero{--text:#eee6ff;--muted:#c1afcf;--accent:#d0b4f3}
body .beacon-hero{--text:#233849;--muted:#405a6c;--accent:#2d617e;background-color:#e8eef1!important}
body .shield-hero{--text:#e9e3cd;--muted:#cfc9ad;--accent:#e2c982;background-color:#22291f!important}
body .shield-hero-bottom{background:#262e21;color:#efe4b8;}
body .person-card[data-team=beacon] .card-face{--muted:#425f72}
body .person-card[data-team=beacon] :is(.id-caption,.id-card-foot){--muted:#425f72;color:#425f72}
body .person-card[data-team=blackjack] .card-face{--muted:#485a39}
body .directory-grid>.directory-card[data-team=beacon]{--muted:#405e73}
body .directory-grid>.directory-card[data-team=shield] .directory-window-label{background:#343e29;color:#fff4d2}




body .directory-grid>.directory-card[data-team=blackjack]{--accent:#e0edbf}
body .directory-grid>.directory-card[data-team=origin]{--accent:#e2c6fb}
body .directory-grid>.directory-card[data-team=beacon]{--accent:#315b76}
body .directory-grid>.directory-card[data-team=shield]{--accent:#efdc9e}

body .profile-stage[data-team=obsidus]{--profile-surface:#1d1d20;--profile-ink:#f2f1ed;--profile-accent:#e0c68c;--profile-line:#68645a}
body .profile-stage[data-team=lucky]{--profile-surface:#fff0f6;--profile-ink:#3c2635;--profile-accent:#873e66;--profile-line:#b891a6}
body .profile-stage[data-mode=studio] .profile-photo-window{transform:none;filter:none;animation:none}
body .profile-stage[data-mode=studio] .dossier-photo{filter:none;animation:none}
body .profile-stage[data-mode=studio]::after{display:none}
body .profile-stage:is([data-team=obsidus],[data-team=lucky]) .profile-filebar{background:var(--profile-surface)!important;color:var(--profile-ink)!important}

/* Community conversation controls and reply groups. */
body .fan-post-detail .record-edit-links{margin-left:auto;display:flex;flex:0 0 auto;gap:10px;align-self:flex-start}
body .fan-post-detail .record-edit-links button{padding:2px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:11px;color:inherit;opacity:.8;min-height:0}
body .fan-post-detail .record-edit-links button:hover{text-decoration:underline;opacity:1}
body .fan-post-detail .fan-author>span:first-of-type{min-width:0}
body .fan-post-detail .post-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}
body .fan-post-detail .post-admin-link{margin-left:auto;font-size:10px}
body .fan-post-detail .reply-thread{margin:8px 0 16px 20px}
body .fan-post-detail .reply-thread summary{cursor:pointer;padding:8px 0;font-size:12px;color:inherit}
.reply-thread .thread-close,.reply-thread[open] .thread-open{display:none}.reply-thread[open] .thread-close{display:inline}
body .fan-post-detail .comment-row .post-photos{max-width:540px}

/* Compact reply disclosure */
body .fan-post-detail .reply-thread summary{display:flex;align-items:center;gap:8px;width:fit-content;padding:9px 4px;border:0;border-radius:6px;list-style:none;font-size:12px;font-weight:600;opacity:.82;transition:opacity .15s}
body .fan-post-detail .reply-thread summary::-webkit-details-marker{display:none}
body .fan-post-detail .reply-thread summary:hover{opacity:1}
body .fan-post-detail .reply-thread summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.reply-thread-line{width:20px;height:1px;background:currentColor;opacity:.35}
.reply-thread summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .15s}
.reply-thread[open] summary svg{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.reply-thread summary,.reply-thread summary svg{transition:none!important}}

/* One level of indentation for the complete conversation, including replies. */
body .fan-post-detail .reply-thread{margin:0 0 14px 0;padding:0;border:0;background:transparent}
body .fan-post-detail .reply-thread summary{margin-left:2px;min-height:40px}
body .fan-post-detail .reply-list{margin:2px 0 0 12px;padding-left:12px;}
body .fan-post-detail .reply-list .comment-row.is-reply{margin:0;padding:14px 0;}
body .fan-post-detail .reply-list .fan-author{margin-bottom:8px}
body .fan-post-detail .reply-list .comment-row p{margin:6px 0 10px}
body .fan-post-detail .reply-list .comment-row:last-child{border-bottom:0}
body .fan-post-detail .reply-collapse{display:block;margin:4px 0 0 24px;padding:8px 0;border:0;background:transparent;box-shadow:none;color:inherit;font-size:12px;opacity:.75;min-height:36px}
body .fan-post-detail .reply-collapse:hover{opacity:1}
body .fan-post-detail .reply-collapse:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:480px){body .fan-post-detail .reply-list{margin-left:6px;padding-left:10px}body .fan-post-detail .reply-collapse{margin-left:16px}}
body .fan-post-detail .comment-row .fan-author{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:start;gap:8px}
body .fan-post-detail .comment-row .fan-author .fan-avatar{width:28px!important;height:28px!important;margin:0}
body .fan-post-detail .comment-row .fan-author>span{min-width:0}
body .fan-post-detail .comment-row .fan-author time{font-size:9px;letter-spacing:0;line-height:1.5;margin-top:4px}
body .fan-post-detail .comment-row .record-edit-links{margin:0;gap:6px;justify-self:end}
body .fan-post-detail .comment-row .record-edit-links button{margin:0;padding:0;font-size:10px}

/* Staff lounge: a comfortable reading surface, with restrained reply hierarchy. */
body .fan-community.staff .staff-masthead{padding:28px 4px 30px}
body .fan-community.staff .staff-wordmark{font-size:clamp(24px,4vw,38px);letter-spacing:-.045em}
body .fan-community.staff .staff-masthead p{line-height:1.7;opacity:.7;margin:10px 0 0}
body .fan-community.staff{border:0;box-shadow:none}
body .fan-community.staff .fan-feed{padding:24px 0;background:transparent;box-shadow:none;border-radius:0}
body .fan-community.staff .fan-post-list{display:grid;gap:16px;border:0;background:transparent;border-radius:0;overflow:visible}
body .fan-community.staff .fan-post-card{padding:28px 30px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 4px 18px #00000005;transition:background .2s,box-shadow .2s,transform .2s}
body .fan-community.staff .fan-post-card:hover{box-shadow:0 8px 24px #0000000d;transform:translateY(-2px)}
body .fan-community.staff .fan-post-card h3{font-size:19px;line-height:1.55;letter-spacing:-.025em;margin:18px 0 10px;font-weight:700}
body .fan-community.staff .fan-post-card .feed-body{font-size:14px;line-height:1.85;margin:0 0 22px;color:var(--text);opacity:.85}
body .fan-community.staff .fan-post-card .feed-counts{padding-top:16px;border-top:1px solid var(--line);gap:22px;font-size:12px;color:var(--muted)}
body .fan-community.staff .fan-post-card .fan-author{gap:12px}
body .fan-community.staff .fan-post-card .fan-author time{margin-top:5px;font-size:11px;color:var(--muted)}
body .fan-post-detail[data-community=staff] .post-body{font-size:16px;line-height:1.95;padding:26px 0 30px;overflow-wrap:anywhere}
body .fan-post-detail[data-community=staff] .comments .comment-row{padding:24px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;margin:0}
body .fan-post-detail[data-community=staff] .comment-row .fan-author{grid-template-columns:32px minmax(0,1fr) auto;gap:10px}
body .fan-post-detail[data-community=staff] .comment-row .fan-author time{font-size:11px;line-height:1.6}
body .fan-post-detail[data-community=staff] .comment-row>p{font-size:14px;line-height:1.85;margin:14px 0 16px}
body .fan-post-detail[data-community=staff] .reply-list{margin:6px 0 0 24px;padding:0;background:var(--control);border:0;border-radius:14px;overflow:hidden}
body .fan-post-detail[data-community=staff] .reply-list .comment-row{padding:20px;border-radius:0}
@media(max-width:600px){
 body .fan-community.staff{padding:0}
 body .fan-community.staff .fan-feed{padding:16px 0}
 body .fan-community.staff .fan-post-list{gap:12px}
 body .fan-community.staff .fan-post-card{padding:22px 20px;border-radius:18px}
 body .fan-community.staff .fan-post-card h3{font-size:17px;margin-top:16px}
 body .fan-community.staff .fan-post-card .feed-body{font-size:14px;line-height:1.8}
 body .fan-post-detail[data-community=staff] .comments .comment-row{padding:22px 8px}
 body .fan-post-detail[data-community=staff] .reply-list{margin-left:12px}
 body .fan-post-detail[data-community=staff] .reply-list .comment-row{padding:18px 14px}
}
@media(prefers-reduced-motion:reduce){body .fan-community.staff .fan-post-card{transition:none}body .fan-community.staff .fan-post-card:hover{transform:none}}

/* Department and label surfaces: quiet glass, generous spacing, distinct palettes. */
.directory-grid,.label-directory{gap:32px}
body .directory-grid>.directory-card[data-team]{
 --ink:#eef2f6;--subtle:#b9c4d0;--glass:#171e29;
 --text:var(--ink);--muted:var(--subtle);--line:#ffffff24;
 padding:30px;border:1px solid #ffffff24;border-radius:30px!important;
 background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--team) 20%,transparent),transparent 65%),linear-gradient(150deg,#ffffff0d,transparent),var(--glass);
 box-shadow:inset 0 1px 0 #ffffff25,0 18px 50px #00000018;
 color:var(--ink);transform:none;isolation:isolate;
 transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s;
}
body .directory-grid>.directory-card[data-team=beacon]{--team:#8eb9d8;--glass:#172635}
body .directory-grid>.directory-card[data-team=origin]{--team:#bfa1d7;--glass:#282031}
body .directory-grid>.directory-card[data-team=shield]{--team:#c3ad77;--glass:#29291f}
body .directory-grid>.directory-card[data-team=blackjack]{--team:#a7bf84;--glass:#232b20}

body .directory-grid>.directory-card[data-team] .eyebrow{color:var(--subtle);font-size:10px;letter-spacing:.18em}
body .directory-grid>.directory-card[data-team] .directory-visual{height:290px;margin:24px 0 28px}
body .directory-grid>.directory-card[data-team] .directory-visual img{filter:saturate(.8);transition:filter .4s,scale .6s}
body .directory-grid>.directory-card[data-team] .directory-number{font-size:48px;line-height:1;font-weight:400;color:#fff;opacity:.8;text-shadow:0 2px 15px #0008}
body .directory-grid>.directory-card[data-team] .directory-window-label{background:#1018206e;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#f6f7fa;font-size:9px;font-weight:500;letter-spacing:.18em;padding:12px 16px}
body .directory-grid>.directory-card[data-team] .directory-title h2{color:var(--ink);font-size:clamp(28px,3vw,40px);font-weight:650;letter-spacing:-.045em}
body .directory-grid>.directory-card[data-team] .directory-title small{color:var(--subtle);font-weight:400;line-height:1.6}
body .directory-grid>.directory-card[data-team]>p{color:var(--subtle);font-size:14px;line-height:1.85;margin:20px 0 24px}
body .directory-grid>.directory-card[data-team] .directory-meta{color:var(--subtle);font-size:11px;line-height:1.7}
body .directory-grid>.directory-card[data-team] .avatar-stack{border:0;padding-top:4px;margin-top:22px;color:var(--subtle);font-size:10px}
body .organization-note{margin-top:40px;padding:36px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(125deg,#ffffff08,transparent),var(--surface);box-shadow:0 12px 40px #0000000a}
body .organization-note h2{font-weight:600;letter-spacing:-.04em}
body .org-branches{gap:12px}
body .org-branches>a{border-radius:14px;padding:16px 20px;background:var(--control);border:0}

/* Retain each unit's visual signature while giving its content room to breathe. */
body .team-hero[data-team]{border:1px solid #ffffff24;border-radius:30px!important;box-shadow:inset 0 1px 0 #ffffff20,0 24px 55px #00000018;padding:40px;gap:36px;isolation:isolate}
body .team-hero .team-division{letter-spacing:.16em;font-size:10px;line-height:1.8;opacity:.8}
body .team-hero h2{font-size:clamp(38px,5.5vw,76px);font-weight:550;letter-spacing:-.055em;line-height:1.05;margin:18px 0}
body .team-hero .team-motto{font-weight:500;line-height:1.7;font-size:17px}
body .team-hero .team-description{font-size:14px;line-height:1.9;max-width:48ch}
body .team-hero .unit-meta{font-size:11px;gap:12px;line-height:1.8;flex-wrap:wrap}
body .team-hero .team-anchor{border-radius:100px;border:1px solid currentColor;background:transparent;padding:11px 18px;font-size:12px}
body .team-hero.beacon-hero{background:radial-gradient(at 100% 0,#7299b23b,transparent 65%),#dae6ec;color:#233e52;--muted:#405e73}
body .team-hero .beacon-evidence{transform:none;border:0;border-radius:20px;box-shadow:0 14px 35px #21374925;overflow:hidden}
body .team-hero .beacon-file-label{border:0;background:transparent;padding:0;font-size:9px;letter-spacing:.12em}
body .team-hero .beacon-file-sign{border:0;opacity:.6;padding-top:24px}
body .team-hero.origin-hero{background:radial-gradient(at 95% 5%,#ad80c03d,transparent 60%),#2a2233;color:#f0e7f6;--muted:#cec0d9}
body .team-hero.blackjack-hero{background:radial-gradient(at 100% 0,#a8bf7640,transparent 65%),#252e21;color:#eef0de;--muted:#c1cbb1}
body .team-hero .blackjack-checker{opacity:.15}
body .team-hero.shield-hero{background:radial-gradient(at 90% 0,#bc9f5b30,transparent 65%),#292b21;color:#f2ecd8;--muted:#c9c4ad}
body .team-hero .shield-lineup{gap:10px}
body .team-hero .shield-lineup>div{border:0;border-radius:18px;overflow:hidden}
body .team-hero .shield-hero-bottom{border:0;background:transparent;font-weight:500;letter-spacing:.16em;font-size:14px;padding:20px 0 0}
body .team-hero .shield-hero-top{border:0;font-size:9px;letter-spacing:.13em;opacity:.65}
body .unit-workspace{gap:24px;margin:28px 0 44px}
body .unit-workspace .panel{border:1px solid var(--line);border-radius:24px;padding:28px;background:linear-gradient(140deg,#ffffff08,transparent),var(--surface);box-shadow:0 10px 36px #00000008}
body .unit-workspace .section-title h2{font-size:18px;letter-spacing:-.03em;font-weight:600}
body .unit-workspace .briefing p{font-size:14px;line-height:1.9}
body .personnel-heading{margin:48px 0 28px;gap:16px}
body .personnel-heading h2{font-weight:600;letter-spacing:-.04em}

/* Entertainment: photographic covers and translucent controls, pink / silver-gold. */
body .label-showcase.lucky{--label-tint:#edb5cf;--label-bg:#332631;--label-text:#fff5fa;--label-muted:#d9becd}
body .label-showcase.obsidus{--label-tint:#c9b98d;--label-bg:#24272c;--label-text:#f5f2e9;--label-muted:#c2bfb5}
body .label-directory .label-showcase{position:relative;isolation:isolate;min-width:0;padding:30px;border:1px solid #ffffff25;border-radius:30px;background:radial-gradient(at 100% 0,color-mix(in srgb,var(--label-tint) 20%,transparent),transparent 65%),var(--label-bg);color:var(--label-text);box-shadow:inset 0 1px 0 #ffffff25,0 20px 50px #0002;transform:none;transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
html[data-theme=light] body .label-showcase.lucky{--label-bg:#fbf3f7;--label-text:#422c3c;--label-muted:#725869}
html[data-theme=light] body .label-showcase.obsidus{--label-bg:#f1f1ee;--label-text:#292c32;--label-muted:#62615c}
body .label-directory .label-top{color:var(--label-muted);font-size:10px;letter-spacing:.14em;align-items:center;margin-bottom:24px}
body .label-directory .label-top b{font-size:14px;font-weight:500}
body .label-directory .label-portraits{height:360px;border:0;border-radius:20px;gap:3px;overflow:hidden;background:transparent}
body .label-directory .label-portraits span{border:0;overflow:hidden}
body .label-directory .label-portraits img{filter:saturate(.85);transition:scale .7s,filter .4s}
body .label-directory .label-wordmark{display:block;object-fit:contain;height:110px;width:320px;max-width:85%;margin:24px auto;filter:drop-shadow(0 5px 12px #0002)}
body .label-directory .label-bottom{border:0;padding:12px 0 2px;gap:12px;align-items:center}
body .label-directory .label-bottom h2{font-size:clamp(26px,3vw,38px);font-weight:600;letter-spacing:-.045em;color:var(--label-text);margin:0}
body .label-directory .label-bottom>span{color:var(--label-muted);font-size:9px;letter-spacing:.15em}
body .label-directory .label-bottom>b{font-size:25px;font-weight:400}
body .agency-site{--label-accent:#e1b0c8;--label-surface:#2a2029;border:1px solid var(--line);border-radius:30px;box-shadow:0 24px 60px #00000015;overflow:hidden}
body .agency-site.obsidus{--label-accent:#cbbd97;--label-surface:#22262c}
body .agency-nav{background:var(--label-surface);padding:20px 28px;border:0}
body .agency-nav a{color:#ede9ed;font-size:10px;letter-spacing:.1em}
body .agency-hero{padding:48px;min-height:740px;background:var(--label-surface);color:#fff}
body .agency-hero:after{background:linear-gradient(90deg,#080a10a8,transparent 85%),linear-gradient(0deg,var(--label-surface),transparent 65%)}
body .agency-hero h1{font-size:clamp(38px,7.5vw,100px);font-weight:500;letter-spacing:-.055em;line-height:1.1;text-shadow:0 3px 24px #0005}
body .agency-kicker{font-size:10px;letter-spacing:.2em;color:#f3e9ef}
body .agency-lineup{gap:12px;margin-top:90px;max-width:580px}
body .agency-site .agency-lineup button{min-width:0;background:#ffffff0d;border:1px solid #ffffff30;border-radius:18px;overflow:hidden;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #ffffff28,0 8px 24px #0002;transition:transform .3s cubic-bezier(.22,1,.36,1),background .3s}
body .agency-site .agency-lineup button>span{padding:12px;color:#fff;font-size:13px;line-height:1.5}
body .agency-site .agency-lineup button small{color:#ddd4dc;font-size:9px;letter-spacing:.08em}
body .agency-hero-foot{margin-top:36px;gap:20px;flex-wrap:wrap;font-size:10px;color:#eee8ec}
body .spotlight-controls{gap:8px;padding:6px;background:#ffffff0e;border:1px solid #ffffff26;border-radius:100px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body .spotlight-controls button{background:transparent;color:#fff;border:0;border-radius:100px;min-width:34px;min-height:34px;font-size:11px}
body .spotlight-controls button:hover{background:#ffffff20}
body #spotlight-count{font-size:10px;font-variant-numeric:tabular-nums;color:#ddd4dc}
body .agency-site :is(.artist-roster,.agency-gallery){padding:48px;background:var(--surface);color:var(--text)}
body .agency-section-title{gap:16px;margin-bottom:28px;align-items:baseline}
body .agency-section-title>span{color:var(--muted);font-size:10px;letter-spacing:.15em}
body .agency-section-title h2{font-weight:550;font-size:clamp(26px,3.5vw,42px);letter-spacing:-.045em}
body .agency-section-title>a{font-size:12px;color:var(--text);border:1px solid var(--line);border-radius:100px;padding:10px 16px}
body .artist-strips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body .artist-strip{grid-template-columns:24px 64px minmax(0,1fr) auto;gap:16px;border:1px solid var(--line);padding:20px;border-radius:20px;background:linear-gradient(140deg,color-mix(in srgb,var(--label-accent) 8%,transparent),transparent),var(--surface);color:var(--text);box-shadow:inset 0 1px 0 #ffffff10;transition:background .25s,transform .25s}
body .artist-strip>img{width:64px;height:78px;border:0;border-radius:12px;object-fit:cover}
body .artist-strip>span:first-child{font-size:10px;color:var(--muted)}
body .artist-strip>span:nth-last-child(2){grid-column:3;grid-row:2;font-size:11px;color:var(--muted);margin-top:-18px}
body .artist-strip>strong{font-size:20px;font-weight:600;letter-spacing:-.03em;min-width:0}
body .artist-strip>strong small{font-size:9px;letter-spacing:.12em;line-height:2;color:var(--muted)}
body .artist-strip>b{font-size:20px;font-weight:400}
body .agency-gallery .gallery-filters{gap:8px;padding:0 0 24px;flex-wrap:wrap}
body .agency-gallery .gallery-filters button{border:1px solid var(--line);border-radius:100px;padding:10px 18px;background:transparent;color:var(--muted);font-size:12px}
body .agency-gallery .gallery-filters button[aria-pressed=true]{background:var(--text);color:var(--surface);border-color:var(--text)}
body .agency-gallery .gallery-grid{gap:20px}
body .agency-gallery .gallery-grid>button{border:0;border-radius:20px;background:var(--control);overflow:hidden;box-shadow:0 8px 25px #0000000c}
body .agency-gallery .gallery-grid>button>span{padding:16px;font-size:11px;color:var(--text)}
@media(hover:hover){
 body .directory-grid>.directory-card[data-team]:hover,body .label-directory .label-showcase:hover{transform:translateY(-5px);box-shadow:inset 0 1px 0 #ffffff35,0 26px 55px #00000025}
 body[data-viewer=staff] .directory-grid>.directory-card[data-team]:hover .directory-visual img,body .label-directory .label-showcase:hover .label-portraits img{filter:saturate(1)}
 body .agency-site .agency-lineup button:hover,body .artist-strip:hover{transform:translateY(-3px)}
}
@media(max-width:800px){
 body .artist-strips{grid-template-columns:minmax(0,1fr)}
 body .team-hero[data-team]{padding:28px;gap:26px}
 body .agency-site :is(.artist-roster,.agency-gallery){padding:32px 24px}
 body .agency-section-title{flex-wrap:wrap}
}
@media(max-width:600px){
 .directory-grid,.label-directory{gap:22px}
 body .directory-grid>.directory-card[data-team],body .label-directory .label-showcase{padding:22px;border-radius:24px!important}
 body .directory-grid>.directory-card[data-team] .directory-visual{height:240px;margin:20px 0 24px;border-radius:16px}
 body .directory-grid>.directory-card[data-team] .directory-number{font-size:36px}
 body .organization-note{padding:24px;border-radius:24px}
 body .team-hero[data-team]{padding:24px;gap:24px;border-radius:24px!important}
 body .team-hero h2{font-size:clamp(30px,10vw,48px);overflow-wrap:anywhere}
 body .team-hero .team-motto{font-size:15px}
 body .team-hero .team-description{font-size:13px}
 body .unit-workspace{gap:16px;margin:22px 0 32px}
 body .unit-workspace .panel{padding:22px;border-radius:20px}
 body .personnel-heading{margin:36px 0 24px}
 body .label-directory .label-portraits{height:260px;border-radius:16px}
 body .label-directory .label-top{font-size:9px;letter-spacing:.07em;gap:12px}
 body .label-directory .label-bottom{flex-wrap:wrap}
 body .label-directory .label-bottom h2{font-size:28px}
 body .label-directory .label-wordmark{height:95px;margin:20px auto}
 body .agency-site{border-radius:24px}
 body .agency-nav{padding:14px 12px;gap:8px}
 body .agency-nav a{font-size:8px;letter-spacing:0;overflow-wrap:anywhere}
 body .agency-hero{padding:28px 18px;min-height:600px}
 body .agency-hero h1{font-size:clamp(26px,8.7vw,48px)}
 body .agency-kicker{font-size:8px;letter-spacing:.1em}
 body .agency-lineup{margin-top:110px;gap:6px}
 body .agency-site .agency-lineup button{border-radius:12px}
 body .agency-site .agency-lineup button>span{padding:8px 4px;font-size:11px}
 body .agency-site .agency-lineup button small{font-size:7px;letter-spacing:0;overflow-wrap:anywhere}
 body .agency-hero-foot{gap:18px;font-size:9px}
 body .agency-site :is(.artist-roster,.agency-gallery){padding:30px 18px}
 body .agency-section-title{gap:12px}
 body .artist-strip{grid-template-columns:16px 48px minmax(0,1fr) auto;gap:10px;padding:16px;border-radius:16px}
 body .artist-strip>img{width:48px;height:64px;border-radius:10px}
 body .artist-strip>strong{font-size:18px}
 body .agency-gallery .gallery-grid{gap:12px}
 body .agency-gallery .gallery-grid>button{border-radius:14px}
 body .agency-gallery .gallery-filters button{font-size:11px;padding:8px 12px}
}
@media(prefers-reduced-motion:reduce){
 body .directory-grid>.directory-card[data-team],body .label-directory .label-showcase,body .agency-site .agency-lineup button,body .artist-strip,body .directory-visual img,body .label-portraits img{transition:none!important}
 body .directory-grid>.directory-card[data-team]:hover,body .label-directory .label-showcase:hover,body .agency-site .agency-lineup button:hover,body .artist-strip:hover{transform:none}
}

/* Team identities: independent silhouettes and palettes, without accent rails. */
body .directory-grid > .directory-card[data-team="shield"], body .team-hero[data-team="shield"] {
  --team:#b8c5f5; --muted:#bdc9e7; color:#edf1ff;
  background:radial-gradient(ellipse at 50% 18%,#6574a1 0%,#242e54 42%,#0c1128 100%);
  border:1px solid #aebce050; border-radius:42px 42px 18px 18px!important;
  box-shadow:inset 0 1px 0 #e7edff60,0 18px 38px #0b10252b;
}
body .directory-grid > .directory-card[data-team="origin"], body .team-hero[data-team="origin"] {
  --team:#c98aef; --muted:#dac3e8; color:#f7ecff;
  background:radial-gradient(ellipse at 35% 10%,#895398 0%,#493253 48%,#211c35 100%);
  border:1px solid #d0a6ed45; border-radius:48px 48px 12px 12px!important;
  box-shadow:inset 0 1px 0 #f0cfff50,0 18px 38px #25122d2b;
}
body .directory-grid > .directory-card[data-team="beacon"], body .team-hero[data-team="beacon"] {
  --team:#54759c; --muted:#4e6582; color:#20324b;
  background:radial-gradient(circle at 12% 0%,#fff 0%,#edf3fb 43%,#c5d4e7 100%);
  border:2px solid #34465d; border-radius:12px 32px 32px 12px!important;
  box-shadow:6px 8px 0 #8298b331,inset 0 1px 0 #fff;
}
body .directory-grid > .directory-card[data-team="blackjack"], body .team-hero[data-team="blackjack"] {
  --team:#d4ddb0; --muted:#d1d6bd; color:#f0efdf;
  background:linear-gradient(135deg,#7c8566 0%,#48553e 45%,#202f24 100%);
  border:3px solid #9ba786; border-radius:30px!important;
  box-shadow:inset 0 0 0 2px #d6ddae30,0 6px 0 #162519,0 18px 36px #101a1833;
}
body .directory-card[data-team] .directory-title small,
body .directory-card[data-team] .directory-meta {color:var(--muted)}
body .team-hero[data-team="shield"] .shield-lineup>div {background:#111a35;color:#edf1ff;border-color:#879bc055}
@media(max-width:600px){
 body .directory-grid > .directory-card[data-team="shield"],body .team-hero[data-team="shield"]{border-radius:30px 30px 14px 14px!important}
 body .directory-grid > .directory-card[data-team="origin"],body .team-hero[data-team="origin"]{border-radius:36px 36px 10px 10px!important}
 body .directory-grid > .directory-card[data-team="beacon"],body .team-hero[data-team="beacon"]{border-radius:10px 24px 24px 10px!important}
}

/* Directory typography follows each team's own surface in either portal mode. */
body .directory-grid>.directory-card[data-team="shield"]{--ink:#edf1ff;--subtle:#bdc9e7}
body .directory-grid>.directory-card[data-team="origin"]{--ink:#f7ecff;--subtle:#dac3e8}
body .directory-grid>.directory-card[data-team="beacon"]{--ink:#20324b;--subtle:#4e6582}
body .directory-grid>.directory-card[data-team="blackjack"]{--ink:#f0efdf;--subtle:#d1d6bd}

/* Shield page: the navy-white identity used by its directory card and badges
   replaces the earlier olive field palette everywhere on /shield.html. */
body[data-unit=shield]{--bg:#0b1026;--surface:#151c38;--surface2:#212a4d;--text:#edf1ff;--muted:#b3bfe0;--accent:#c9d4ff;--line:#38446e;--field:#111733;--control:#2a3462;background:radial-gradient(ellipse at 75% 0%,#3a4a8a40,transparent 60%),var(--bg)}
body .team-hero.shield-hero,body .team-hero[data-team="shield"]{background:radial-gradient(ellipse at 50% 12%,#6574a1 0%,#242e54 44%,#0c1128 100%)!important;color:#edf1ff;border:1px solid #aebce050;box-shadow:inset 0 1px 0 #e7edff60,0 18px 38px #0b10252b}
body .shield-hero h2{color:#f4f6ff!important;text-shadow:0 2px 24px #8fa3ff55}
body .shield-hero :is(p,small,.unit-meta){color:#c6d0ee!important}
body .shield-hero .shield-hero-top,body .shield-hero .shield-hero-bottom{color:#c9d4ff;border-color:#aebce040;background:transparent}
body .shield-hero .shield-lineup>div{border:1px solid #aebce040;background:#111a35}
body .shield-hero .shield-lineup .team-hero-photo{filter:none}
body .shield-hero .shield-lineup>div>span{background:linear-gradient(transparent,#0c1128e6);color:#e6ebff}
body[data-unit=shield] .unit-workspace .panel{background:var(--surface);border-color:var(--line)}

/* Team pages keep their own palette in both light and dark mode, signed in or not:
   the generic light/staff variables (:root[data-theme] body[data-viewer]) must not reach them. */
:root[data-theme] body[data-unit=blackjack]{--bg:#0b100b;--surface:#1c261b;--surface2:#2d3c29;--text:#e6e5ce;--muted:#b7c2a4;--accent:#b4cd8d;--line:#526044;--field:#182116;--control:#35452d;--nav:#1c261b;--accent-soft:#b4cd8d14;color-scheme:dark}
:root[data-theme] body[data-unit=origin]{--bg:#100d1d;--surface:#21192f;--surface2:#312542;--text:#eee6ff;--muted:#b8a9cb;--accent:#c3a0f6;--line:#514260;--field:#1b1428;--control:#3b2d4d;--nav:#21192f;--accent-soft:#c3a0f614;color-scheme:dark}
:root[data-theme] body[data-unit=beacon]{--bg:#101d27;--surface:#1c2b36;--surface2:#2c3d49;--text:#e5eef2;--muted:#a1b6c4;--accent:#98cee3;--line:#465b69;--field:#172630;--control:#304552;--nav:#1c2b36;--accent-soft:#98cee314;color-scheme:dark}
:root[data-theme] body[data-unit=shield]{--bg:#0b1026;--surface:#151c38;--surface2:#212a4d;--text:#edf1ff;--muted:#b3bfe0;--accent:#c9d4ff;--line:#38446e;--field:#111733;--control:#2a3462;--nav:#151c38;--accent-soft:#c9d4ff14;color-scheme:dark}
