/* One compact door into a deep build. Character choices never occupy the sea. */
#circuits-character-open,#circuits-ally,.lc-panel,.lc-contact-panel{font-family:Arial,"Segoe UI",sans-serif;font-synthesis:none;box-sizing:border-box}
#circuits-character-open[hidden],#circuits-ally[hidden],.lc-panel [hidden]{display:none!important}
.lc-icon{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
#circuits-character-open{flex:0 0 42px;width:42px;height:38px;position:relative;display:grid;place-items:center;padding:3px;border:1px solid #c4cba87a;border-radius:10px;background:#2a5558;color:#fff0c5;pointer-events:auto;cursor:pointer}
#circuits-character-open .lc-icon{width:23px;height:23px}.lc-hud-label{display:none}.lc-hud-points{position:absolute;right:-5px;top:-8px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 3px;border-radius:7px;background:#f3d38e;color:#183d48;font:800 11px/1 Arial;box-shadow:0 1px 4px #082c3a80}
#circuits-character-open:hover{background:#38676a}#circuits-character-open:focus-visible,#circuits-ally:focus-visible{outline:3px solid #ffe6ac;outline-offset:3px}
#crew-xp .cx-main{min-width:0}#crew-xp:has(#circuits-character-open){gap:10px;padding-right:8px}
#circuits-ally{position:absolute;left:16px;bottom:calc(124px + env(safe-area-inset-bottom));z-index:18;display:flex;align-items:center;gap:8px;width:174px;min-height:54px;padding:7px 9px;border:1px solid #95d6b8aa;border-radius:12px;background:#0d3948ee;color:#f0f5df;text-align:left;pointer-events:auto;cursor:pointer}
.lc-ally-portrait{display:grid;place-items:center;width:32px;height:34px;border-radius:8px;background:#29595d}.lc-ally-portrait svg{width:28px;height:28px;stroke:#f8efd3;stroke-width:2;fill:var(--droid-accent)}#circuits-ally>span:last-child{min-width:0;flex:1}#circuits-ally small{display:block;color:#a9dfc6;font-size:9px;font-weight:800;letter-spacing:.05em}#circuits-ally strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;margin:3px 0}.lc-ally-track{display:block;overflow:hidden;height:4px;border-radius:3px;background:#061d28}.lc-ally-track>i{display:block;height:100%;background:#9fe1bd}
#signal-dialog.lc-panel{--lc-accent:#e5bd73;--lc-glow:#d6b66e33;--lc-ink:#edf4e9;width:min(1040px,calc(100vw - 40px));max-width:none;height:min(850px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #93b4a79c;border-radius:24px;background:#102e3b;color:var(--lc-ink);box-shadow:0 24px 90px #041c2bb3;overflow:hidden;display:flex;flex-direction:column}
#signal-dialog.lc-panel:not([open]){display:none}#signal-dialog.lc-panel[data-droid="scout"]{--lc-accent:#89d9df;--lc-glow:#79cbd833}#signal-dialog.lc-panel[data-droid="lumen"]{--lc-accent:#a9e4bc;--lc-glow:#8adeb633}
.lc-panel *,.lc-contact-panel *{box-sizing:border-box}.lc-panel button,.lc-contact-panel button{font-family:inherit;font-size:14px!important;font-weight:750!important;line-height:1.3;cursor:pointer}.lc-panel button:disabled,.lc-contact-panel button:disabled{cursor:default;opacity:.48}.lc-panel button:focus-visible,.lc-contact-panel button:focus-visible{outline:3px solid #ffe6ac;outline-offset:3px}.lc-panel p,.lc-contact-panel p{font-size:16px;line-height:1.5}.lc-panel h1,.lc-panel h2,.lc-panel h3,.lc-contact-panel h1{font-family:inherit!important;font-style:normal;font-weight:800!important;letter-spacing:-.025em}
.lc-header{flex:none;display:flex;align-items:center;gap:18px;padding:24px 28px 20px;background:radial-gradient(ellipse at 15% 0,var(--lc-glow),transparent 55%),linear-gradient(125deg,#1b4a51,#102e3b);border-bottom:1px solid #a9c6b92b}
.lc-profile-portrait{position:relative;flex:none;display:grid;place-items:center;width:76px;height:72px;border-radius:19px;border:1px solid var(--lc-accent);background:radial-gradient(circle at 38% 28%,#477875,#173a48);box-shadow:inset 0 0 20px #061f3a44}.lc-profile-portrait svg{width:58px;height:58px;fill:var(--droid-accent);stroke:#fff1cd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.lc-profile-portrait>b{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:4px 9px;border-radius:7px;background:var(--lc-accent);color:#0d303c;font-size:13px;box-shadow:0 2px 5px #061e2b80}
.lc-profile-heading{min-width:0;flex:1}.lc-profile-heading p{margin:0 0 3px;color:var(--lc-accent);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.lc-profile-heading h1{margin:0 0 5px;font-size:31px;line-height:1.14;overflow-wrap:anywhere}.lc-profile-heading>span{font-size:14px;color:#bad4ce;line-height:1.4}.lc-close{flex:none;align-self:flex-start;width:42px;height:42px;min-height:42px;padding:0;border:1px solid #c5d6c44a;border-radius:50%;background:#173f4b;color:#ecf0dd;font:400 27px/1 Arial!important}
.lc-tabs{flex:none;display:flex;gap:9px;align-items:center;padding:14px 28px;border-bottom:1px solid #a9c6b92b;background:#0d2936}.lc-tabs button{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 18px;border:1px solid #789b9359;border-radius:10px;background:transparent;color:#c1d6cd}.lc-tabs button b{min-width:23px;height:23px;padding:3px 5px;border-radius:6px;background:#153a46;color:#d9e9db;font-size:13px}.lc-tabs button[aria-pressed="true"]{border-color:var(--lc-accent);color:#fff4d5;background:#264a4f}.lc-tabs button[aria-pressed="true"] b{background:var(--lc-accent);color:#113542}.lc-tabs>span{margin-left:auto;font-size:13px;color:#abc7bf}
.lc-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#537c75 #102e3b;padding:24px 28px}.lc-kicker{margin:0 0 5px!important;font-size:12px!important;font-weight:850;letter-spacing:.11em;color:var(--lc-accent);text-transform:uppercase}.lc-tree-intro,.lc-stat-intro{display:flex;align-items:center;gap:24px;margin-bottom:22px}.lc-tree-intro>div:first-child,.lc-stat-intro>div:first-child{flex:1;min-width:0}.lc-tree-intro h2,.lc-stat-intro h2{font-size:23px;line-height:1.2;margin:0 0 7px}.lc-tree-intro p:not(.lc-kicker),.lc-stat-intro p:not(.lc-kicker){font-size:15px;color:#c3d9d0;margin:0;max-width:640px}.lc-tree-budget{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.lc-tree-budget strong{font-size:29px;color:var(--lc-accent);font-variant-numeric:tabular-nums}.lc-tree-budget small{font-size:17px;color:#a3c3bb}.lc-tree-budget>span{font-size:12px;color:#b5cec5}.lc-point-seal{display:flex;align-items:center;gap:10px;color:var(--lc-accent);flex:none}.lc-point-seal strong{font-size:42px}.lc-point-seal span{font-size:13px;line-height:1.3;color:#c3d9d0}
.lc-tree-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:28px;align-items:start}.lc-tree{position:relative;min-width:0;padding:2px 0 5px}.lc-tree:before{content:'';position:absolute;left:50%;top:42px;bottom:65px;width:1px;background:linear-gradient(#c8ce9b70,#7eaaa36b,#91b9ad2b);pointer-events:none}.lc-tree-row{position:relative;margin-bottom:20px}.lc-tree-row:last-child{margin-bottom:0}.lc-row-gate{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:1;font-size:11px;letter-spacing:.07em;padding:7px 0;border-top:1px solid #90b6aa40;background:#102e3b;color:#97b9ae}.lc-row-gate>b{font-weight:650;letter-spacing:0;font-size:12px}.is-unlocked>.lc-row-gate{color:#d0e2cd}.is-unlocked>.lc-row-gate>b{color:var(--lc-accent)}.lc-row-nodes{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:10px}.lc-row-nodes:before{content:'';position:absolute;left:17%;right:17%;top:42px;height:1px;background:#7baca36b}.lc-node{position:relative;display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;padding:0 3px;border:0;background:transparent;color:#cfdfd4}.lc-node-art{position:relative;display:grid;place-items:center;width:61px;height:61px;border:1px solid #709990;border-radius:16px;background:radial-gradient(circle at 35% 25%,#315c61,#123440 80%);color:#d7e6cd;box-shadow:0 3px 8px #031c282e,inset 0 1px #d4e5c612;transition:background .15s,box-shadow .15s,transform .15s}.lc-node-art .lc-icon{width:38px;height:38px}.lc-node strong{font-size:14px;line-height:1.2;max-width:155px;text-wrap:balance;font-weight:750}.lc-node-art>i{position:absolute;right:-5px;bottom:-5px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;border:1px solid #102c39;background:var(--lc-accent);color:#123442;font-size:13px;font-style:normal}.lc-node-art>.lc-lock{background:#284852;color:#bacdc3;font-size:15px}.lc-node.is-locked .lc-node-art{background:#15333f;color:#73998f;border-color:#4a736a}.lc-node.is-locked strong{color:#91ada6}.lc-node:hover .lc-node-art,.lc-node.is-inspected .lc-node-art{border-color:#eddeb1;box-shadow:0 0 0 3px #f2dfac19}.lc-node.is-selected .lc-node-art{color:var(--lc-accent);border-color:var(--lc-accent);background:radial-gradient(circle at 35% 25%,#4a695e,#163b46 85%);box-shadow:0 0 0 3px var(--lc-glow),0 0 17px var(--lc-glow)}.lc-node.is-selected strong{color:#fff0c7}.lc-node.is-capstone .lc-node-art{border-radius:50%;width:65px;height:65px;border-width:2px}.lc-node.is-inspected strong{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--lc-accent)}
.lc-node-detail{position:sticky;top:0;padding:20px;border:1px solid #91b9a94f;border-radius:18px;background:radial-gradient(ellipse at 50% 0,var(--lc-glow),transparent 60%),#163c47;box-shadow:0 5px 18px #071f2b26;outline:none}.lc-detail-art{display:grid;place-items:center;width:76px;height:76px;margin-bottom:19px;border:1px solid #c2d9b850;border-radius:20px;color:var(--lc-accent);background:#0e303c;box-shadow:0 0 30px var(--lc-glow)}.lc-detail-art .lc-icon{width:50px;height:50px}.lc-node-detail h3{font-size:23px;line-height:1.2;margin:5px 0 12px;color:#fff0d2}.lc-node-description{font-size:16px!important;color:#daeadc;margin:0 0 20px}.lc-requirement{padding:12px 0;border-top:1px solid #a6c4b73d;color:#bdd5ca;font-size:13px;line-height:1.5}.lc-requirement.is-locked{color:#f3cf95}.lc-primary,.lc-secondary{min-height:44px;border-radius:10px;padding:11px 16px;border:1px solid #98b8a477;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-align:center}.lc-primary{background:#e6cb8d;color:#153843;border-color:#e9cd8c;box-shadow:inset 0 1px #fff8d57a}.lc-primary:not(:disabled):hover{background:#f6dda3}.lc-secondary{background:#214851;color:#e5ecda;border-color:#8eafa66e}.lc-secondary:not(:disabled):hover{background:#2c5960}.lc-node-detail>button{width:100%;margin-top:2px}.lc-inspector-note{display:block;text-align:center;margin-top:12px;color:#a3c1b7;font-size:12px;line-height:1.4}
.lc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lc-stat-card{display:flex;align-items:flex-start;gap:13px;padding:18px 16px;background:linear-gradient(125deg,#1c444e,#153742);border:1px solid #80a7984d;border-radius:15px}.lc-stat-card:last-child{grid-column:1/-1}.lc-stat-symbol{flex:none;display:grid;place-items:center;width:46px;height:46px;border:1px solid #b7caae3b;border-radius:12px;background:#102e3b;color:var(--lc-accent)}.lc-stat-symbol .lc-icon{width:31px;height:31px}.lc-stat-main{flex:1;min-width:0}.lc-stat-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:25px}.lc-stat-name h3{font-size:18px;margin:0;line-height:1.2}.lc-primary-badge{font-size:10px;font-weight:850;letter-spacing:.04em;border:1px solid #dcca925e;color:var(--lc-accent);padding:3px 5px;border-radius:5px}.lc-help{width:28px;height:28px;min-height:28px;padding:0;border:1px solid #96b7a766;border-radius:50%;background:#254b54;color:#d8e8d6}.lc-stat-main p{margin:8px 0 10px;color:#c3d9ce;font-size:14px;line-height:1.45}.lc-stat-main .lc-help-text{color:#fff0c3;background:#102d38;border-radius:8px;padding:9px;font-size:14px}.lc-stat-origin{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#a8c7bb}.lc-stat-allocation{flex:none;text-align:right}.lc-stat-value{display:flex;justify-content:flex-end;align-items:baseline;gap:8px;margin-bottom:10px}.lc-stat-value strong{font-size:29px;line-height:1;color:var(--lc-accent)}.lc-stat-value small{font-size:15px;color:#b6cfc3;text-decoration:line-through}.lc-stepper{display:flex;gap:5px}.lc-stepper button{width:36px;height:38px;padding:0;border:1px solid #a9c2a66b;border-radius:9px;background:#244c53;color:#f4e6bd;font-size:22px!important}.lc-stepper button:last-child{background:#c9d8b6;color:#1d4145;border-color:#c9d8b6}.lc-small-note{font-size:13px!important;color:#b1cbbf;margin:16px 0 0}
.lc-footer{flex:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 28px;background:#0b2633;border-top:1px solid #a4c1b549}.lc-footer>div:first-child{min-width:0;flex:1}.lc-footer strong{display:block;font-size:14px;color:#e8e9cf}.lc-footer span{display:block;margin-top:4px;font-size:12px;color:#aac7bd;line-height:1.4}.lc-footer #lc-status{font-size:13px;color:#f1d294;margin:5px 0 0;line-height:1.4}.lc-footer #lc-status:empty{display:none}.lc-footer-buttons{display:flex;flex:none;gap:8px}.lc-saved #lc-save-state{color:#a8e4bd}.lc-saved .lc-profile-portrait{box-shadow:0 0 22px #91dda54a}.lc-wide{width:100%;margin-top:10px}
#signal-dialog.lc-contact-panel{width:min(470px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:1px solid #9fbfab88;border-radius:22px;background:#12313e;color:#eef3df;overflow-y:auto;box-shadow:0 20px 70px #061c2b99}.lc-contact-head{display:flex;align-items:center;gap:18px;padding:25px 24px;background:linear-gradient(130deg,#28545b,#173945);border-bottom:1px solid #9fc4b244}.lc-contact-head>div:nth-child(2){flex:1;min-width:0}.lc-contact-head p{font-size:13px;font-weight:750;color:#b6d7c5;margin:0 0 4px}.lc-contact-head h1{font-size:25px;margin:0 0 9px;line-height:1.2;overflow-wrap:anywhere}.lc-contact-level{display:inline-block;font-size:15px;font-weight:850;letter-spacing:.04em;color:#123843;border-radius:7px;background:#eed28f;padding:6px 10px}.lc-contact-portrait{flex:none;width:82px;height:87px;display:grid;place-items:center;border:1px solid #e3c48a;border-radius:22px;background:radial-gradient(circle at 40% 30%,#678d7a,#204652)}.lc-contact-portrait svg{width:68px;height:68px;fill:var(--droid-accent);stroke:#fff0c8;stroke-width:2}.lc-contact-body{padding:23px 24px}.lc-contact-hull>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}.lc-contact-hull strong{font-size:12px;letter-spacing:.04em;color:#c9dfcc}.lc-contact-hull b{font-size:17px;font-variant-numeric:tabular-nums}.lc-contact-track{height:13px;overflow:hidden;border:1px solid #8fb8a759;border-radius:7px;background:#061e2b;margin-top:10px}.lc-contact-track>i{display:block;height:100%;background:linear-gradient(90deg,#5da894,#a6e0b2);border-radius:6px}.lc-contact-status{font-size:14px!important;color:#b1cec0;margin:13px 0 17px}.lc-contact-management{display:flex;gap:9px;margin-top:15px}.lc-contact-management>button{flex:1}.lc-contact-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 24px;border-top:1px solid #93b5a445;background:#0d2937}.lc-contact-footer>span{font-size:12px;line-height:1.4;color:#b3cabc}
@media(max-width:760px){#signal-dialog.lc-panel{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.lc-header{padding:18px 18px 17px;gap:13px}.lc-profile-portrait{width:62px;height:62px;border-radius:16px}.lc-profile-portrait svg{width:48px;height:48px}.lc-profile-heading h1{font-size:25px}.lc-profile-heading>span{font-size:13px}.lc-profile-heading p{font-size:11px}.lc-close{width:36px;height:36px;min-height:36px}.lc-tabs{padding:12px 18px;gap:8px}.lc-tabs button{padding:8px 13px}.lc-tabs>span{font-size:11px;max-width:70px;text-align:right}.lc-scroll{padding:18px}.lc-tree-layout{grid-template-columns:minmax(0,1fr) 220px;gap:17px}.lc-node-detail{padding:16px}.lc-node-art{width:52px;height:52px;border-radius:13px}.lc-node-art .lc-icon{width:34px;height:34px}.lc-node.is-capstone .lc-node-art{width:56px;height:56px}.lc-node strong{font-size:13px}.lc-node-detail h3{font-size:21px}.lc-tree-intro p:not(.lc-kicker){font-size:14px}.lc-stats{grid-template-columns:1fr}.lc-stat-card:last-child{grid-column:auto}.lc-stat-card{gap:12px;padding:15px}.lc-stat-value strong{font-size:27px}.lc-stepper button{width:42px;height:42px}.lc-footer{padding:13px 18px;gap:10px}.lc-footer-buttons{gap:7px}.lc-footer-buttons button{padding:10px 12px}.lc-footer #lc-apply-note{max-width:250px}}
@media(max-width:600px){#circuits-character-open{flex-basis:33px;width:33px;height:27px;border-radius:7px;padding:2px}#circuits-character-open .lc-icon{width:19px;height:19px}.lc-hud-points{height:16px;min-width:16px;top:-7px;right:-4px;font-size:10px;border-radius:6px}#crew-xp:has(#circuits-character-open){gap:7px;padding-right:6px}.lc-hud-label{display:none}#circuits-ally{left:12px;bottom:calc(108px + env(safe-area-inset-bottom));width:147px;min-height:48px;padding:6px;gap:6px;border-radius:10px}.lc-ally-portrait{width:28px;height:30px}.lc-ally-portrait svg{width:25px;height:25px}#circuits-ally strong{font-size:12px}#circuits-ally small{font-size:8px}
 .lc-profile-heading>span{display:none}.lc-header{padding:15px 15px 18px;gap:12px}.lc-profile-portrait{width:54px;height:53px;border-radius:14px}.lc-profile-portrait svg{width:43px;height:43px}.lc-profile-portrait>b{font-size:11px;padding:3px 8px;bottom:-9px}.lc-profile-heading h1{font-size:24px}.lc-profile-heading p{font-size:11px;letter-spacing:.04em}.lc-tabs{padding:11px 15px}.lc-tabs button{font-size:14px!important;gap:9px;min-height:42px}.lc-tabs>span{font-size:10px}.lc-scroll{padding:17px 15px}.lc-tree-intro{align-items:flex-start;gap:12px;margin-bottom:17px}.lc-tree-intro h2{font-size:20px}.lc-tree-intro p:not(.lc-kicker){font-size:14px;line-height:1.45}.lc-tree-budget{gap:2px}.lc-tree-budget strong{font-size:24px}.lc-tree-budget small{font-size:14px}.lc-tree-budget>span{font-size:10px;width:53px;text-align:right}.lc-kicker{font-size:10px!important;letter-spacing:.08em}.lc-tree-layout{display:flex;flex-direction:column;gap:17px}.lc-tree{width:100%;order:1}.lc-node-detail{position:relative;top:auto;width:100%;order:0;padding:14px 15px 13px;display:grid;grid-template-columns:45px minmax(0,1fr) auto;gap:3px 10px;border-radius:13px;box-shadow:none}.lc-detail-art{grid-row:1/3;grid-column:1;width:44px;height:44px;margin:0;border-radius:12px}.lc-detail-art .lc-icon{width:30px;height:30px}.lc-node-detail>.lc-kicker{grid-column:2/4;font-size:9px!important;margin:0!important;align-self:end}.lc-node-detail>h3{grid-column:2/4;font-size:19px;line-height:1.15;margin:1px 0 5px}.lc-node-description{grid-column:1/4;font-size:14px!important;line-height:1.45!important;margin:6px 0 7px}.lc-requirement{grid-column:1/3;font-size:11px;padding:7px 0 0;border:0;margin:0;align-self:center}.lc-node-detail>button{grid-column:3;padding:9px 11px;width:auto;font-size:12px!important;min-height:41px;max-width:137px;align-self:center}.lc-inspector-note{grid-column:1/4;text-align:left;margin-top:6px;font-size:10px}.lc-row-nodes{gap:10px;padding-top:9px}.lc-node-art{width:58px;height:58px;border-radius:15px}.lc-node-art .lc-icon{width:37px;height:37px}.lc-node.is-capstone .lc-node-art{width:62px;height:62px}.lc-node strong{font-size:14px;line-height:1.2;max-width:110px}.lc-tree-row{margin-bottom:17px}.lc-row-gate{font-size:10px}.lc-row-gate>b{font-size:11px}.lc-row-nodes:before{top:39px}
 .lc-stat-intro{gap:13px;margin-bottom:17px;align-items:flex-start}.lc-stat-intro h2{font-size:20px}.lc-stat-intro p:not(.lc-kicker){font-size:14px}.lc-point-seal{gap:6px;align-items:center}.lc-point-seal strong{font-size:34px}.lc-point-seal span{font-size:11px}.lc-stat-card{padding:13px 11px;gap:9px;position:relative}.lc-stat-symbol{width:34px;height:36px;border-radius:10px}.lc-stat-symbol .lc-icon{width:27px;height:27px}.lc-stat-name{gap:5px;padding-right:0}.lc-stat-name h3{font-size:17px}.lc-primary-badge{font-size:8px;padding:3px}.lc-help{width:27px;height:27px;min-height:27px}.lc-stat-main p{font-size:13px;line-height:1.45;margin:6px 0 8px}.lc-stat-main .lc-help-text{font-size:13px}.lc-stat-origin{font-size:11px;gap:7px}.lc-stat-allocation{width:44px}.lc-stat-value{justify-content:center;margin-bottom:7px;gap:4px;flex-wrap:wrap}.lc-stat-value strong{font-size:25px}.lc-stat-value small{font-size:12px}.lc-stepper{flex-direction:column;gap:5px}.lc-stepper button{width:40px;height:40px}.lc-small-note{font-size:12px!important}.lc-footer{padding:12px 15px;display:block}.lc-footer strong{font-size:13px}.lc-footer #lc-apply-note{display:none}.lc-footer #lc-status{font-size:12px;margin-top:4px}.lc-footer-buttons{display:flex;gap:9px;margin-top:9px}.lc-footer-buttons button{flex:1;font-size:14px!important;min-height:44px}.lc-contact-head{padding:20px 18px;gap:13px}.lc-contact-portrait{width:70px;height:76px;border-radius:18px}.lc-contact-portrait svg{width:58px;height:58px}.lc-contact-head h1{font-size:23px}.lc-contact-head p{font-size:12px}.lc-contact-head .lc-close{width:32px;height:32px;min-height:32px}.lc-contact-body{padding:20px 18px}.lc-contact-footer{padding:15px 18px}.lc-contact-level{font-size:14px}
}
@media(max-height:540px) and (min-width:601px){#signal-dialog.lc-panel{height:calc(100dvh - 14px);max-height:calc(100dvh - 14px)}.lc-header{padding:10px 20px;gap:12px}.lc-profile-portrait{width:48px;height:43px;border-radius:12px}.lc-profile-portrait svg{width:37px;height:37px}.lc-profile-portrait>b{font-size:10px;padding:2px 6px}.lc-profile-heading p{font-size:10px}.lc-profile-heading h1{font-size:24px;margin-bottom:0}.lc-profile-heading>span{display:none}.lc-tabs{padding:8px 20px}.lc-tabs button{min-height:36px;padding:5px 14px}.lc-scroll{padding:16px 20px}.lc-footer{padding:10px 20px}.lc-footer #lc-apply-note{display:none}.lc-tree-intro{margin-bottom:16px}.lc-tree-intro h2{font-size:20px}.lc-node-detail{padding:15px}.lc-detail-art{display:none}.lc-node-description{font-size:14px!important}.lc-node-detail h3{font-size:20px}.lc-footer-buttons button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.lc-node-art{transition:none}.lc-saved .lc-profile-portrait{box-shadow:none}}
@media(max-width:600px){.lc-node-detail{position:sticky;top:0;z-index:4;box-shadow:0 6px 12px #0a263be6}.lc-node-detail:focus{border-color:var(--lc-accent)}}
.lc-direct-badge{font-size:10px;font-weight:700;line-height:1.1;padding:3px 6px;border:1px solid #c3ad7c66;border-radius:5px;color:#e5c895;background:#1e3b44}.lc-node.is-dormant .lc-node-art{filter:saturate(.4);box-shadow:none}.lc-node-detail .lc-compatibility{margin:0 0 13px;padding:9px 10px;border:1px solid #c7ae7b66;border-radius:9px;background:#463f31;color:#ffe1ac;font-size:13px;line-height:1.4}.lc-node-detail .lc-compatibility{grid-column:1/-1}

/* Explicit panel scope wins the legacy paper dialog defaults. */
#signal-dialog.lc-panel{background:#102e3b;color:#edf4e9;font-family:Arial,"Segoe UI",sans-serif}#signal-dialog.lc-panel .lc-scroll{background:#102e3b;color:#edf4e9}#signal-dialog.lc-panel h1,#signal-dialog.lc-panel h2,#signal-dialog.lc-panel h3{color:#fff0d2}#signal-dialog.lc-contact-panel{background:#12313e;color:#eef3df;font-family:Arial,"Segoe UI",sans-serif}#signal-dialog.lc-contact-panel h1{color:#fff0d2}
/* Per-class paintings load only while their sheet is visible. */
.lc-panel[data-droid="service"] { --lc-sheet: url("assets/stormglass/service.webp"); --lc-fourth: url("assets/stormglass/service-fourth.webp"); }
.lc-panel[data-droid="scout"] { --lc-sheet: url("assets/stormglass/scout.webp"); --lc-fourth: url("assets/stormglass/scout-fourth.webp"); }
.lc-panel[data-droid="lumen"] { --lc-sheet: url("assets/stormglass/lumen.webp"); --lc-fourth: url("assets/stormglass/lumen-fourth.webp"); }
.lc-paint {
 display: block; position:absolute; inset:0; border-radius:inherit;
 background-image:var(--lc-sheet); background-size:300% 500%; background-repeat:no-repeat;
 box-shadow:inset 0 0 0 1px #eddbbc45,inset 0 -4px 12px #0710194a;
}
.lc-paint-fourth { background-image:var(--lc-fourth); background-size:100% 500%; }
.lc-node-art,.lc-node.is-capstone .lc-node-art {
 width:clamp(60px,7vw,84px);height:clamp(60px,7vw,84px);
 border-radius:12px; border-width:2px;
}
.lc-node.is-capstone .lc-node-art {border-radius:24% 7%; border-color:#c9995b}
.lc-node.is-locked .lc-paint {filter:saturate(.61) brightness(.82)}
.lc-node:hover .lc-node-art,.lc-node:focus-visible .lc-node-art {transform:translateY(-2px)}
.lc-node .lc-node-art>i {z-index:1}
.lc-node.is-inspected .lc-node-art {outline:2px solid #ffe6ad;outline-offset:3px}
.lc-detail-art {display:block;position:relative;width:min(100%,196px);height:auto;aspect-ratio:1;margin:0 auto 16px;border-radius:11px}
.lc-pair {grid-column:1/-1; margin:15px 0 0;padding:12px 0 0;border-top:1px solid #75aba94d}
.lc-pair small {display:block;color:#b1cbc4;font-size:12px}
#signal-dialog .lc-partner {padding:2px 0;color:var(--lc-accent);background:none;border:0;text-align:left;font-size:15px;font-weight:750;text-decoration:underline;text-underline-offset:3px;min-height:36px}
#signal-dialog .lc-pair p {font:400 14px/1.45 Arial,sans-serif;margin:0;color:#e3eee3}
.lc-saved .lc-node.is-selected .lc-paint {animation:lc-attune .65s ease-out}
@keyframes lc-attune {0%{filter:brightness(1.45)}100%{filter:brightness(1)}}
@media(max-width:600px) {
 .lc-node-detail {position:relative;top:auto;grid-template-columns:65px minmax(0,1fr) auto;}
 .lc-detail-art {width:62px;height:62px;margin:0;align-self:center;}
 .lc-pair {margin-top:6px;padding-top:7px}
 .lc-node-art,.lc-node.is-capstone .lc-node-art {width:clamp(54px,16vw,68px);height:clamp(54px,16vw,68px)}
 #signal-dialog .lc-partner {min-height:36px}
}
@media(max-height:540px) and (min-width:601px) {.lc-detail-art{width:72px;float:right;margin:0 0 6px 8px}.lc-node-description{clear:both}.lc-node-detail{position:relative}}
@media(prefers-reduced-motion:reduce) {.lc-saved .lc-node.is-selected .lc-paint{animation:none}.lc-node:hover .lc-node-art{transform:none}}
@media(min-width:601px) and (min-height:541px){
 .lc-node-detail {max-height:calc(100dvh - 330px);min-height:200px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#648b80 transparent;overscroll-behavior:contain}
 .lc-detail-art {width:min(100%,145px);margin-bottom:11px}
}
@media(min-width:801px) and (min-height:541px){
 #signal-dialog.lc-panel[open] {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;position:fixed}
 .lc-panel .lc-header{grid-row:1;grid-column:1;padding:14px 18px 14px 26px;min-height:80px;border:0;background:transparent}
 .lc-panel .lc-profile-portrait{width:55px;height:50px;border-radius:12px}.lc-panel .lc-profile-portrait svg{width:43px;height:43px}
 .lc-panel .lc-profile-portrait>b{bottom:-6px;font-size:11px}.lc-panel .lc-profile-heading h1{font-size:24px;margin:0}.lc-panel .lc-profile-heading>span{display:none}
 .lc-panel .lc-close{position:absolute;top:20px;right:18px}
 .lc-panel .lc-tabs{grid-row:1;grid-column:2;padding:12px 80px 12px 10px;background:transparent;border:0}
 .lc-panel .lc-tabs>span{display:none}.lc-panel .lc-scroll{grid-column:1/-1;grid-row:2;border-block:1px solid #92b8b239;padding:16px 26px}
 .lc-panel .lc-footer{grid-column:1/-1;grid-row:3;padding:10px 24px}
 .lc-panel .lc-tree-intro{margin-bottom:12px}.lc-panel .lc-tree-row{margin-bottom:13px}
 .lc-panel .lc-node-detail{max-height:calc(100dvh - 230px)}
}
.lc-stat-outcome{display:grid;gap:2px;padding:7px 0}.lc-stat-outcome small,.lc-stat-outcome span{font-size:11px;color:#b5cfc8}.lc-stat-outcome b{font-size:14px;color:var(--lc-accent)}

.lc-live-readout{display:flex;gap:12px;flex-wrap:wrap;align-items:start;margin:12px 0;color:#d6eae0}
.lc-live-readout div{display:grid;gap:2px}
.lc-live-readout dt{font-size:11px;font-weight:650;line-height:1.2;color:#a6c8bd}
.lc-live-readout dd{font-size:15px;font-weight:700;margin:0;line-height:1.2}
.lc-panel .lc-attribute-page{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.57fr) minmax(220px,.96fr);gap:12px 20px}
.lc-panel .lc-attribute-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 0 8px}
.lc-attribute-heading h2{font-size:clamp(22px,3vw,32px);line-height:1.12;margin:0;color:#fff4da}
.lc-panel .lc-attribute-heading p,.lc-panel .lc-part-copy p{font-size:15px;line-height:1.4;color:#cce0d9;margin:5px 0 0}
.lc-attribute-heading>strong{font-size:25px;color:#ffe2a1;white-space:nowrap;line-height:1}.lc-attribute-heading small{font-size:13px;color:#e1dfc3}
.lc-attribute-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start}
.lc-panel .lc-attribute{display:grid;grid-template-columns:1fr auto;grid-template-rows:minmax(0,1fr) auto;gap:5px 2px;position:relative;padding:7px 11px 10px;min-width:0;border:1px solid #59827d;border-radius:12px;background:linear-gradient(178deg,#041d26 40%,#193b44 100%);color:#f0eada;text-align:left;overflow:hidden;cursor:pointer;font-weight:750}
.lc-panel .lc-attribute img{grid-column:1/-1;display:block;width:100%;height:clamp(80px,12vh,136px);object-fit:contain;mix-blend-mode:lighten}
.lc-panel .lc-attribute span{align-self:center;font-size:clamp(13px,1.5vw,17px)}.lc-attribute b{color:#dddbc4;font-size:13px;align-self:center;font-variant-numeric:tabular-nums}
.lc-panel .lc-attribute[aria-pressed=true]{border-color:#efd192;box-shadow:inset 0 0 0 1px #e5c382;background:linear-gradient(170deg,#102b30,#294549)}.lc-attribute:focus-visible,.lc-part-step button:focus-visible{outline:3px solid #fff2ba;outline-offset:2px}
.lc-attribute-detail{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-width:0;border:1px solid #689188;border-radius:14px;overflow:hidden;background:linear-gradient(150deg,#082932,#183e45);padding:14px 19px 15px}
.lc-part-portrait{display:block;align-self:center;width:100%;height:clamp(62px,12vh,128px);object-fit:contain;mix-blend-mode:lighten}
.lc-part-copy h3{font-size:24px;line-height:1.1;color:#fff1cd;margin:7px 0 1px}
.lc-panel .lc-part-measure{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0;padding:9px 0;border-block:1px solid #86b0a544}.lc-part-measure dt{font:650 12px/1.25 system-ui;color:#c2dad5}.lc-part-measure dd{font:750 20px/1.2 system-ui;color:#fff1d4;margin:3px 0 0;font-variant-numeric:tabular-nums}
.lc-part-measure div:last-child dd,.lc-part-pending{color:#99e6c5}.lc-part-pending{display:block;line-height:1.2;font-size:12px}
.lc-part-points{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;margin-top:8px}.lc-part-points>span{font-size:12px;color:#c6dcd4}.lc-part-step{display:flex;align-items:center;gap:8px}.lc-part-step strong{min-width:18px;text-align:center;font-size:17px;color:#fff3d7}
.lc-panel .lc-part-step button{display:grid;place-content:center;font:700 20px/1 system-ui;min-height:44px;min-width:44px;background:#295351;color:#fff4cf;border:1px solid #98b5a1;border-radius:8px}.lc-panel .lc-part-step button:last-child{background:#b6e2c6;color:#0c383a}.lc-part-step button:disabled{opacity:.37}
.lc-panel .lc-tabs button{font-weight:800}.lc-panel .lc-tabs button[aria-pressed=false]{background:#1b424b;color:#e8f1df;border-color:#648681}
.lc-panel .lc-stage{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.lc-panel .lc-stage>strong{color:#ead29a;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.lc-panel .lc-stage button{flex:0 1 auto;min-height:35px;padding:5px 12px;background:#20494e;color:#ecf4e2;border:1px solid #6b8e87}
.lc-panel .lc-stage button:disabled{opacity:.55}
@media(max-width:800px){.lc-panel .lc-stage{justify-content:space-between;padding:7px 16px;min-height:32px}}
#circuits-character-open[data-allocate=yes]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}#circuits-character-open[data-allocate=yes] .lc-icon{width:15px;height:15px}#circuits-character-open[data-allocate=yes] .lc-hud-label{display:block;font:750 10px/1 system-ui}
@media(max-width:680px){.lc-panel .lc-attribute-page{display:flex;flex-direction:column;gap:9px}.lc-panel .lc-attribute-heading{padding:0}.lc-panel .lc-attribute-heading p{font-size:13px}.lc-attribute-heading>strong{font-size:19px}.lc-attribute-list{gap:6px}.lc-panel .lc-attribute{padding:4px 6px 5px;border-radius:8px}.lc-panel .lc-attribute img{height:clamp(47px,8vh,73px)}.lc-panel .lc-attribute span{font-size:12px}.lc-attribute b{font-size:12px}.lc-attribute-detail{display:grid;grid-template-columns:70px minmax(0,1fr);align-content:center;gap:3px 10px;padding:9px 11px}.lc-part-portrait{width:100%;height:66px;align-self:center}.lc-part-copy h3{margin:0;font-size:19px}.lc-panel .lc-part-copy p{font-size:13px;margin:3px 0}.lc-panel .lc-part-measure{margin:6px 0 2px;padding:5px 0}.lc-part-measure dt{font-size:11px}.lc-part-measure dd{font-size:16px}.lc-part-points{grid-column:1/-1;margin:0}.lc-panel .lc-tabs{gap:7px}.lc-panel .lc-tabs>span{display:none}.lc-panel .lc-tabs button{flex:1;justify-content:center}.lc-panel[data-tab=stats] .lc-scroll{padding:10px 13px}}
@media(max-height:630px) and (min-width:681px){.lc-panel .lc-attribute img{height:66px}.lc-panel .lc-part-portrait{height:48px}.lc-panel .lc-attribute-heading{padding:0}.lc-panel .lc-attribute-detail{padding:9px 15px}}



.lc-row-nodes::before{left:16.67%;right:16.67%}.lc-node{min-width:0}.lc-node .lc-node-name{overflow-wrap:break-word}@media(max-width:480px){.lc-row-nodes{gap:4px}.lc-node-art{width:min(17vw,66px);height:min(17vw,66px)}.lc-node-name{line-height:1.2}}

.lc-tree-back{display:none}
@media(max-width:600px){
 .lc-tree{order:0}.lc-node-detail{order:1}
 .lc-node-detail .lc-live-readout{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:3px 0 6px}
 .lc-node-detail .lc-live-readout div{align-content:start}
 .lc-node-detail .lc-node-description{margin-bottom:8px}
 #signal-dialog .lc-tree-back{display:block;grid-column:1/-1;min-height:36px;padding:4px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.25;color:#b0e1d0;background:transparent;border:0;text-decoration:underline}
}
