/* Midnight / mint: local, dependency-free presentation over the existing tools. */
:root{color-scheme:dark;--ink:#e9eef5;--muted:#a4b3c8;--accent:#6ce5c3;--line:#29364a;--paper:#0b111c;--blue:#15312f;--amber:#342919;--red:#ffafb5;--green:#90e0bd;--panel:#111c2b;--raised:#172438;--focus:#9df8df;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Microsoft JhengHei",sans-serif;letter-spacing:-.01em}
body{background:radial-gradient(ellipse at 90% 0%,#17303455,transparent 40%),var(--paper);min-height:100vh;-webkit-font-smoothing:antialiased}
::selection{background:#6ce5c344;color:#fff}a{color:var(--accent)}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button,input,select,textarea,summary{outline-offset:4px}
header{background:#0b111cf2;border-bottom:1px solid #253144}.header-inner{max-width:1400px;padding:17px 30px}.brand{display:flex;align-items:center;gap:12px;color:#f1f5fa;font-size:15px;letter-spacing:.055em}.brand-mark{width:38px;height:38px;flex-shrink:0}.brand .brand-copy{font-size:inherit;font-weight:800;color:inherit;margin:0;letter-spacing:inherit}.brand .brand-copy small{display:block;color:var(--muted);font-size:9px;letter-spacing:.2em;font-weight:550;margin-top:4px}.language{color:var(--muted);font-size:12px}.language select{min-width:132px;background:#131e2b;border-color:#2d3a4c;border-radius:10px}
main{max-width:1400px;padding:30px 30px 20px}.workspace{grid-template-columns:224px minmax(0,1fr);gap:30px}.intro{position:relative;isolation:isolate;max-width:none;margin:0 0 28px 254px;padding:9px 160px 9px 0;min-height:117px}.intro:after{content:"";position:absolute;z-index:-1;right:5px;top:-17px;width:148px;height:148px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#7aeed0 0 3px,transparent 4px 26px,#4eab943b 27px 28px,transparent 29px 50px,#4eab9426 51px 52px,transparent 53px 70px,#4eab941a 71px 72px,transparent 73px),conic-gradient(from 15deg,transparent 280deg,#6ce5c31c 359deg,transparent 360deg);box-shadow:0 0 70px #6ce5c309;pointer-events:none}.intro .eyebrow{font-size:10px;letter-spacing:.2em;margin-bottom:12px}.intro h1{font-size:clamp(30px,3.2vw,43px);font-weight:720;letter-spacing:-.045em;line-height:1.1;margin:0 0 12px}.intro p:last-child{font-size:14px;line-height:1.6;max-width:620px;color:var(--muted)}
aside{top:22px}nav#tools{gap:5px;padding:9px;border:1px solid #253145;border-radius:18px;background:linear-gradient(155deg,#142033,#101824);box-shadow:0 16px 40px #0000001a}nav button{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:12px 10px;border-radius:11px;font-size:13px;color:#d4deeb;border-color:transparent;background:transparent}nav button small{font-size:10px;line-height:1.6;margin-top:3px;color:#9dabbe}nav button[aria-current=page]{background:linear-gradient(110deg,#1a3c38,#15312f);border-color:#35685a;color:#91f2d6;box-shadow:inset 2px 0 #7ae8c9}nav button[aria-current=page] small{color:#c0d9d0}.nav-icon{display:grid;place-items:center;width:32px;height:34px;color:#93a6bc}.ui-icon{width:22px;height:22px;display:block}.nav-copy{min-width:0}nav button[aria-current=page] .nav-icon{color:var(--accent)}#local-note{display:flex;align-items:center;gap:8px;padding:6px 10px;line-height:1.5;font-size:11px;color:#94a9bf}#local-note .ui-icon{width:15px;height:15px;flex-shrink:0}
#tool{padding:0;background:transparent;border:0;border-radius:0;min-width:0;min-height:450px}.tool-header{padding:23px 25px;background:linear-gradient(115deg,#182737,#152231 65%,#142d2e);border:1px solid #314253;border-radius:18px;margin-bottom:20px;position:relative;overflow:hidden}.tool-header:after{content:"";position:absolute;right:-54px;top:-70px;width:165px;height:165px;border:1px solid #6ce5c31c;border-radius:50%;pointer-events:none}.tool-header h2{font-size:25px;font-weight:700;letter-spacing:-.035em;color:#f4f7fb}.tool-header p{font-size:14px;line-height:1.65;color:#b0bfd1;max-width:650px}.tool-header .number{border-color:#426457;background:#15332d;color:#a2efd5;border-radius:8px;font-size:10px;letter-spacing:.1em;padding:7px 9px;position:relative;z-index:1}
button{min-height:44px;border:1px solid #35445b;border-radius:10px;background:#19263a;color:#e1eaf5;font-size:13px;font-weight:620;padding:10px 15px;box-shadow:0 2px 2px #0000000a}button:hover:not(:disabled){border-color:#638a88;background:#203735;color:#e8fff6}button.primary{background:#6ce5c3;border-color:#6ce5c3;color:#0c2422;box-shadow:0 4px 18px #6ce5c318;font-weight:750}button.primary:hover:not(:disabled){background:#9aefd6;border-color:#9aefd6;color:#0b2420}button:disabled{opacity:.48}button.quiet{color:#bdcece;background:transparent;border-color:#35454e}button.danger{color:#ffafb5}input,select,textarea{background:#0e1826;color:#eaf0f8;border:1px solid #3b4c63;border-radius:10px;padding:11px 13px;box-shadow:inset 0 1px 3px #00000018;font-size:14px;min-height:46px}input::placeholder,textarea::placeholder{color:#95a5ba;opacity:1;font-weight:400}input:hover,select:hover,textarea:hover{border-color:#63758a}input[type=checkbox]{accent-color:#6ce5c3}label.field{font-size:12px;font-weight:650;letter-spacing:.005em;color:#c2d0df}label.field small{font-size:12px;color:#a4b3c8}.fields{gap:18px;margin:20px 0}.fields.three{gap:14px}#tool>form{background:#111c2b;border:1px solid #29384d;border-radius:18px;padding:24px}.actions{gap:9px;margin:16px 0}.pill-row{gap:7px;margin:14px 0}.pill-row button{border-radius:9px;font-size:12px;padding:9px 14px;min-height:44px;background:#142031;border-color:#344157;color:#b7c6d8}.pill-row button[aria-pressed=true]{background:#203e36;border-color:#5a9d85;color:#a0f1d7;box-shadow:inset 0 1px #82f3cd12}.pill-row[role=group]{width:fit-content;max-width:100%;padding:4px;background:#101b2b;border:1px solid #2b3a51;border-radius:13px}.pill-row[role=group] button{border-color:transparent;background:transparent}.pill-row[role=group] button[aria-pressed=true]{background:#233e38;border-color:#4a7967;color:#a5f8dc}
details{border-color:#2d3b4f;padding:14px 0}summary{color:#c7d6e5;font-size:13px;font-weight:600;list-style:none;display:flex;align-items:center;gap:9px;min-height:44px}summary::-webkit-details-marker{display:none}summary:before{content:"";width:7px;height:7px;border-right:1.7px solid #93aabb;border-bottom:1.7px solid #93aabb;transform:rotate(-45deg);flex-shrink:0;margin-right:3px}details[open]>summary:before{transform:rotate(45deg)}details[open]>summary{margin-bottom:12px}summary:hover{color:#b0f6df}details details{margin-left:0}.table-wrap{border-color:#334359;border-radius:12px;background:#111d2c}th{background:#19273a;color:#d6e5ef;font-size:12px}th,td{padding:12px 14px;border-color:#2c3b50}td{color:#c0cfe0}tbody tr:hover{background:#1b2b3b}.notice{color:#f0d39d;background:#32291c;border:1px solid #5c4b2f;border-radius:11px;padding:12px 15px}.error{color:#ffbec2;background:#3b2029;border:1px solid #6e3b48;border-radius:11px}.empty{color:#a4b3c8}.empty-start{background:#17332d;border:1px solid #326357;border-radius:14px}.empty-start h3{color:#b6f1dc}.tag{background:#132333;border-color:#384c60;color:#bdcedd;border-radius:6px;font-size:10px;padding:4px 7px}.comparison{background:#152232;border-color:#33445b;border-radius:14px;padding:18px}.upload{border-color:#446376;background:#13202e;border-radius:14px}.allocation{border-color:#2c3b50}.allocation .row h3{color:#e0eaf4}.allocation p,.buffs h4{color:#a4b3c8}
.result{background:linear-gradient(120deg,#16372f,#142c2c);border:1px solid #386852;border-radius:16px;padding:24px;margin:22px 0}.result .eyebrow{color:#92e8c8}.result .lead{color:#baf6df;font-size:34px;font-weight:750}.metric{border-color:#33495c;padding-top:13px}.metric strong{font-size:23px;color:#f0f5fb;font-weight:680;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.metric span{font-size:11px;color:#a8b8cb;line-height:1.5}.metrics{gap:16px}.bar{height:7px;background:#293e49}.bar span{background:linear-gradient(90deg,#62d4b6,#aae8b3)}.eyebrow{color:#7bdcbe}.stepper button{background:#1a2b3b;color:#b8ead9;border-color:#42635b}.stepper output{color:#ecf5fc}.check{color:#c3d0df}.appearance{border-color:#2d3c50}.buffs ul{color:#c5d2e0}
#public-connection{border:1px solid #2e4055;border-radius:12px;background:#131f2e;padding:2px 15px;margin:14px 0 8px}#public-connection>summary{font-size:12px;color:#d1dde9;padding:10px 0}#public-connection[open]{padding-bottom:14px}#public-connection[open]>summary{margin-bottom:4px}.public-shortcuts{gap:7px;margin:10px 0 15px}.public-shortcuts a{font-size:11px;color:#b4dcd2;text-decoration:none;border:1px solid #31494e;border-radius:8px;padding:0 11px;min-height:36px;background:#14252c}.public-shortcuts a:hover{border-color:#75b9a4;color:#c0ffe8}.intelligence-grid{gap:16px}.intelligence-card{background:linear-gradient(135deg,#1a2a3d,#132030 70%);border:1px solid #34465d;border-radius:18px;padding:22px;box-shadow:0 10px 26px #00000014;position:relative}.intelligence-card:before{content:"";position:absolute;left:22px;right:22px;top:0;height:1px;background:linear-gradient(90deg,transparent,#72c4ad88,transparent)}.intelligence-card h3{font-size:20px;font-weight:700;letter-spacing:-.025em}.intelligence-card .metric strong{font-size:26px}.intelligence-card .metric:last-child strong{color:#b8eddb}.freshness{background:#203c32;color:#a4e8bf;border:1px solid #345849;font-size:10px;padding:4px 8px;white-space:nowrap}.freshness.aging{background:#3b301e;border-color:#715a34;color:#edce95}.freshness.old,.freshness.unknown{background:#3d2730;border-color:#704251;color:#f5b4bf}.activity-strip{height:7px;background:#2e3d50;margin-top:20px}.activity-strip .active,.activity-key .active{background:#72d3b0}.activity-strip .older,.activity-key .older{background:#92acc9}.activity-strip .unknown,.activity-key .unknown{background:#dfb46f}.activity-key{color:#b0bfd0;gap:8px;font-size:10px}.insight-facts dt{color:#a9bbcd}.insight-facts dd{color:#e0edf5}.change-counts span{background:#172b37;border-color:#3b515d;color:#c2d7df}.intelligence-card .actions button{padding:9px 11px;font-size:11px}.intelligence-card summary{font-size:12px}
.player-grid{gap:14px;margin-top:16px}.player-grid .player-card{background:linear-gradient(125deg,#1a2a3d,#131f2e 70%);border:1px solid #34465d;border-radius:17px;padding:18px;box-shadow:0 10px 24px #00000012;overflow:hidden}.player-card-head{display:flex;align-items:center;gap:12px;margin-bottom:13px}.player-card-head>div{min-width:0}.player-card-head h3{font-size:16px;margin:0 0 5px;line-height:1.4;color:#edf4fb;letter-spacing:-.015em}.player-card-head p{font-size:10px;line-height:1.5;color:#a3b6cb;margin:0;overflow-wrap:anywhere}.player-avatar{width:42px;height:44px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(140deg,#37524e,#1d3633);border:1px solid #537169;color:#c8f8e3;font-size:19px;font-weight:650}.player-identity{color:#b0c4d4;font-size:11px;line-height:1.6;margin:9px 0 14px}.player-identity span:first-child{color:#a2dcca}.player-card .actions{gap:7px;margin:13px 0}.player-card .actions button{font-size:11px;padding:9px 11px;min-height:40px}.player-card>p strong{font-size:22px;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.player-card>p{color:#aebfd2;font-size:12px}.player-card>p strong{color:#e9f4fb}.player-card details{margin-top:14px}.player-card summary{font-size:12px;color:#b6cddd}.observed-profile{background:linear-gradient(125deg,#19382f,#142634);border-color:#436b58;border-radius:16px}.observed-profile .eyebrow{color:#9ce5c8}.alliance-list button{background:#172b38;border-color:#3d5563;color:#e0f0ec}.alliance-list small{color:#adbdcb}.intelligence-toolbar{gap:12px}.intelligence-toolbar label{font-size:12px}.result-toolbar .progress{font-size:11px;color:#a8b9cd}.result-toolbar button{padding:7px 11px;min-height:36px;font-size:11px}#ins-player-options>summary{font-size:12px;color:#9cdcca}#ins-player-options{border-bottom:1px solid #293d4c;padding-bottom:4px}#ins-status{color:#c1efdf;background:#203a32;border:1px solid #3e6854;border-radius:11px}#public-workspace,#public-global,#public-uid-panel{margin-top:16px;border:1px solid #2e4056;border-radius:13px;padding:4px 16px;background:#111d2b}#public-workspace[open],#public-global[open],#public-uid-panel[open]{padding-bottom:18px}.saved-row>button:first-child{background:#182b38;border-color:#3c5364}.saved-row small{color:#a6bdd0}.public-timeline li{border-color:#3e796b}.public-timeline li:before{background:#8de2c5}.public-timeline small{color:#a6b8cc}.trend-bars{border-color:#39525e}.trend-bars span{background:linear-gradient(#a4eccf,#4f9d89)}.status:not(:empty){background:#25483e;color:#e6fff5;border:1px solid #669b84;box-shadow:0 10px 30px #0005;border-radius:12px}footer{border-color:#273a4d;color:#94a8bd;font-size:11px;margin-top:30px}footer a{color:#aacdc4}.skip{background:#6ce5c3;color:#0d2520;border-radius:8px}
@media(prefers-reduced-motion:no-preference){button,a,input,select,summary{transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}button.primary:hover:not(:disabled){box-shadow:0 5px 24px #6ce5c32b}}
@media(min-width:641px) and (max-width:1000px){.workspace{grid-template-columns:192px minmax(0,1fr);gap:20px}.intro{margin-left:212px;padding-right:110px}.intro:after{width:100px;height:100px;background:radial-gradient(circle,#7aeed0 0 3px,transparent 4px 25px,#4eab943b 26px 27px,transparent 28px 47px,#4eab9426 48px 49px,transparent 50px)}.tool-header{padding:20px}nav button{grid-template-columns:27px minmax(0,1fr);padding:11px 7px;gap:7px}}
@media(max-width:640px){.header-inner{padding:12px 16px;gap:10px}.brand{gap:9px;font-size:13px}.brand-mark{width:32px;height:32px}.brand .brand-copy small{font-size:8px}.language select{min-width:116px;min-height:42px;font-size:12px}.language>span{display:none}main{padding:12px 14px 16px}.workspace{display:block}.intro{display:none}aside{top:0;background:#0b111cf5;padding:7px 0 11px;margin-bottom:10px;backdrop-filter:blur(12px);z-index:10}.mobile-picker{gap:5px;font-size:10px;color:#99b0c6;letter-spacing:.04em}.mobile-picker select{font-size:13px;min-height:43px;background:#162537;border-color:#3b5265}.tool-header{padding:17px 18px;border-radius:15px;margin-bottom:14px;gap:10px}.tool-header h2{font-size:22px;line-height:1.18;max-width:100%}.tool-header p{font-size:12px;line-height:1.6;margin-top:7px}.tool-header .number{font-size:9px;padding:5px 6px}#tool{padding:0;min-height:420px}.pill-row{margin:11px 0;gap:6px}.pill-row button{padding:8px 11px;font-size:11px}.pill-row[role=group]{padding:3px;gap:2px}.pill-row[role=group] button{padding:8px 10px;font-size:11px}#tool>form{padding:17px;border-radius:15px}.fields{gap:16px}.result{padding:19px}.result .lead{font-size:29px}.metric strong{font-size:21px}.metric span{font-size:10px}#public-connection{margin:12px 0 7px;padding:1px 12px}#public-connection>summary{font-size:11px}.public-shortcuts{margin:7px 0 12px;gap:6px}.public-shortcuts a{font-size:10px;min-height:34px;padding:0 10px}.intelligence-card{padding:18px;border-radius:15px}.intelligence-card h3{font-size:19px}.intelligence-card .metric strong{font-size:24px}.player-grid{gap:12px;margin-top:12px}.player-grid .player-card{padding:17px;border-radius:15px}.player-avatar{width:40px;height:42px}.player-card-head h3{font-size:16px}.result-toolbar{margin:6px 0}.result-toolbar .progress{font-size:10px}.small{font-size:11px}#public-workspace,#public-global,#public-uid-panel{padding:3px 13px}.intelligence-toolbar{gap:10px}.intelligence-toolbar label{min-width:min(100%,140px)}.observed-profile{padding:15px}.alliance-list button{flex-direction:column;align-items:start}.freshness{font-size:9px}footer{margin-top:24px;font-size:10px;gap:10px}#ins-player-options>summary{min-height:42px}}
@media(forced-colors:active){body,.tool-header,.player-grid .player-card,.intelligence-card,.result,nav#tools{background:Canvas}.intro:after{display:none}.player-avatar{border:1px solid CanvasText}button[aria-pressed=true],nav button[aria-current=page]{border:2px solid Highlight}:focus-visible{outline:3px solid Highlight}}
/* Keep compact visual styling without shrinking touch targets. */
.player-card .actions button,.result-toolbar button,.public-shortcuts a{min-height:44px}.player-card>p strong{margin-right:4px}nav button small{font-size:11px}input,select,textarea{border-color:#58718a}
@media(max-width:640px){#local-note{display:none}.language select,.mobile-picker select{min-height:44px}.public-shortcuts a,.player-card .actions button,.result-toolbar button{min-height:44px}}
/* Original generated atmosphere: decorative, local, with fixed layout and a dark fallback. */
.intro{padding:30px 38% 28px 28px;min-height:190px;margin-bottom:22px;border:1px solid #30484d;border-radius:20px;background:#0b111c;overflow:hidden;display:flex;flex-direction:column;justify-content:center;box-shadow:0 18px 45px #00000018}
.intro:after{inset:0;width:auto;height:auto;border-radius:0;box-shadow:none;background:linear-gradient(90deg,#0b111cf5 0%,#0b111cc9 40%,#0b111c10 70%),url('assets/command-islands-v1.webp') right top/auto 240px no-repeat;z-index:-1}
.intro h1{font-size:clamp(29px,3vw,41px);text-wrap:balance}.intro p:last-child{max-width:500px;margin-bottom:0;color:#b5c6d6;text-wrap:pretty}.intro .eyebrow{color:#8bf2d3}
@media(min-width:1001px){.tool-header{padding:18px 24px}}
@media(min-width:641px) and (max-width:1000px){.intro{padding:24px 24% 24px 22px;min-height:175px}.intro:after{background:linear-gradient(90deg,#0b111cf5,#0b111cc9 55%,#0b111c33),url('assets/command-islands-mobile-v1.webp') right center/cover no-repeat}.intro h1{font-size:30px}}
@media(max-width:640px){.intro{display:none}.tool-header{isolation:isolate;background:#101e2a;border-color:#365451}.tool-header:after{inset:0;z-index:-1;width:auto;height:auto;border:0;border-radius:0;background:linear-gradient(90deg,#101e2af5,#101e2ad9 52%,#101e2a80),url('assets/command-islands-mobile-v1.webp') right center/cover no-repeat}.tool-header p{color:#c1d0dd}}
@media(forced-colors:active){.intro{background:Canvas;border-color:CanvasText}.intro:after,.tool-header:after{display:none}}
/* Keep help optional and anchor destinations clear of the mobile tool picker. */
.data-guide{margin-top:18px;border:1px solid #31475a;border-radius:14px;padding:4px 16px;background:#111d2b}.data-guide[open]{padding-bottom:18px}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 26px}.guide-grid section{min-width:0}.guide-grid h3{font-size:15px;line-height:1.5;color:#dcf4eb}.guide-grid p{line-height:1.7;color:#b6c7d8}.guide-grid button{font-size:12px}.search-recovery{padding:18px;margin:12px 0}.search-recovery h3{font-size:17px;margin-top:0}.search-recovery p{max-width:660px;line-height:1.65}.search-recovery .actions{margin-bottom:0}.comparison-entry{margin:10px 0}.comparison-entry button{font-size:12px}.loaded-history{padding:14px 0}.loaded-history .public-timeline{margin-bottom:16px}#public-comparison{margin:10px 0 18px}#public-uid-panel,#public-global,#public-workspace,#public-provenance,#public-data-guide,#public-connection,#public-results{scroll-margin-top:20px}
@media(max-width:640px){.guide-grid{grid-template-columns:1fr;gap:15px}.data-guide{padding:3px 13px}.public-shortcuts{gap:5px}.public-shortcuts a{padding:0 8px;font-size:10px}.comparison-entry{margin:8px 0}#public-uid-panel,#public-global,#public-workspace,#public-provenance,#public-data-guide,#public-connection,#public-results,#tool{scroll-margin-top:100px}}
/* Compact presentation: retain touch targets and expose detail on demand. */
main{padding-top:22px}.intro{min-height:132px;padding:21px 38% 21px 24px;margin-bottom:20px;border-radius:17px}.intro:after{background-size:auto,auto 190px;background-position:0 0,right top}.intro h1{font-size:clamp(28px,2.6vw,35px);margin-bottom:8px}.intro .eyebrow{font-size:9px;margin-bottom:9px}.intro p:last-child{font-size:12px;line-height:1.5}.tool-header{padding:16px 20px;margin-bottom:16px}.tool-header h2{display:flex;align-items:center;gap:10px;font-size:23px;line-height:1.3}.tool-header h2 .ui-icon{width:24px;height:24px;flex:none;color:var(--accent)}.tool-header p{margin-top:7px;font-size:13px}.tool-header .number{display:none}#tool>form{padding:20px}.fields{margin:16px 0;gap:14px}.result{padding:20px;margin:18px 0}.result .lead{font-size:32px}
.public-shortcuts a,.pill-row[role=group] button,.player-actions button,#ins-compact{display:inline-flex;align-items:center;justify-content:center;gap:7px}.public-shortcuts .ui-icon,.player-actions .ui-icon,#ins-compact .ui-icon{width:16px;height:16px;flex:none}.pill-row[role=group] .ui-icon{width:17px;height:17px;flex:none}.public-shortcuts{gap:7px}.public-shortcuts a{font-size:11px;padding:0 10px}.pill-row[role=group]{margin:12px 0}.result-toolbar{gap:10px;flex-wrap:wrap}.result-toolbar .progress{flex:1;margin:0}#ins-compact{order:2;flex:none}#ins-clear-filters{order:3}#ins-compact[aria-pressed=true]{color:#acf2db;border-color:#5a9d85;background:#203e36}.player-grid .player-card{padding:16px;border-radius:14px}.player-card-head{margin-bottom:9px}.player-card-head h3{margin-bottom:3px}.player-identity{margin:6px 0}.player-card .player-power{margin:10px 0}.player-card .player-actions{margin:10px 0;gap:6px}.player-card .player-actions button{padding:8px 10px}.player-card details{padding:5px 0 0;margin-top:10px}.player-card .player-power strong{font-size:23px}.player-card .tag{line-height:1.4}.player-grid{gap:12px}.compact-players{grid-template-columns:1fr}.compact-players .player-card{padding:12px 15px}.compact-players .player-avatar{width:34px;height:36px;border-radius:10px;font-size:16px}.compact-players .player-card-head h3{font-size:15px}.compact-players .player-card-head{gap:10px}.compact-players .player-card details{margin-top:5px;padding-top:2px}
.guide-grid{gap:8px 12px;align-items:start}.guide-question{margin:0;border:1px solid #2e4554;border-radius:10px;padding:0 12px;background:#132232}.guide-question>summary{min-height:52px;font-size:13px;gap:10px;line-height:1.45}.guide-question>summary:before{order:3;margin-left:auto}.guide-question .ui-icon{width:20px;height:20px;flex:none;color:#83dfc2}.guide-question[open]>summary{margin-bottom:0}.guide-question>div{padding:0 0 13px}.guide-question p{font-size:12px;margin:5px 0 12px;line-height:1.7}.guide-question button{width:100%}.guide-question summary span{flex:1}.data-guide[open]{padding-bottom:14px}#public-comparison{margin:8px 0 12px;padding:4px 0}.comparison-entry{margin:8px 0}
@media(min-width:641px){.history-header{background:transparent;border:0;padding:0 2px 8px;margin-bottom:6px;box-shadow:none}.history-header:after,.history-header p{display:none}.history-header h2{font-size:20px}.history-header h2 .ui-icon{width:21px;height:21px}}
@media(min-width:900px){.compact-players .player-card{display:grid;grid-template-columns:minmax(185px,1.2fr) minmax(150px,.7fr) auto;grid-template-areas:'identity power actions' 'alliance activity actions' 'detail detail detail';column-gap:18px;row-gap:2px;align-items:center}.compact-players .player-card-head{grid-area:identity;margin:0}.compact-players .player-identity{grid-area:alliance;margin:0;padding-left:44px}.compact-players .player-power{grid-area:power;margin:0}.compact-players .player-actions{grid-area:actions;margin:0;flex-wrap:wrap;max-width:250px}.compact-players .player-card>.tag{grid-area:activity;justify-self:start}.compact-players .player-card>details{grid-area:detail}.compact-players .player-power strong{font-size:20px}}
@media(max-width:640px){main{padding-top:10px}.tool-header{padding:13px 15px;margin-bottom:12px}.tool-header h2{font-size:20px;gap:8px}.tool-header h2 .ui-icon{width:20px;height:20px}.tool-header p{font-size:11px;line-height:1.5}.public-shortcuts{gap:5px}.public-shortcuts a{font-size:10px;padding:0 8px;gap:5px}.public-shortcuts .ui-icon{width:14px;height:14px}.pill-row[role=group]{display:flex;width:100%;gap:2px}.pill-row[role=group] button{flex:1;gap:5px;padding:8px 5px;font-size:11px}.pill-row[role=group] .ui-icon{width:15px;height:15px}.result-toolbar{gap:6px}.result-toolbar .progress{font-size:10px}#ins-compact{font-size:10px;padding:7px 8px}#tool>form{padding:16px}.result{padding:17px}.player-grid .player-card{padding:14px}.player-card .player-power strong{font-size:22px}.compact-players .player-card{padding:11px 13px}.compact-players .player-identity{margin:4px 0}.compact-players .player-power{margin:6px 0}.compact-players .player-actions{margin:7px 0}.guide-grid{gap:7px}.guide-question>summary{font-size:12px;min-height:52px}.guide-question{padding:0 10px}}
.public-controls{margin:12px 0}.public-controls #public-progress:empty{display:none}.public-overview{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;color:#aabed0;font-size:11px;margin:14px 0}.public-overview strong{color:#e5f6f0;font-weight:700;font-variant-numeric:tabular-nums}.public-overview small{font-size:10px;margin-left:auto;color:#a4b3c8}.public-overview>span:not(:first-child){padding-left:12px;border-left:1px solid #3b5362}
@media(min-width:1100px){.public-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px}.public-controls #public-connection{margin:0}.public-controls .public-shortcuts{margin:0;min-height:50px;align-items:center}.public-controls #public-connection[open],.public-controls #public-progress,.public-controls>.error{grid-column:1/-1}.public-controls #public-connection:not([open])>summary{white-space:normal}}
@media(max-width:640px){.public-controls{margin:10px 0}.public-overview{gap:6px 10px;margin:12px 0;font-size:10px}.public-overview small{flex-basis:100%;margin-left:0;line-height:1.5}.public-overview>span:not(:first-child){padding-left:10px}}
/* Essential answers first: selection, results, and optional resources are distinct surfaces. */
.public-controls{padding:12px 14px;border:1px solid #344a5b;border-radius:14px;background:#142131;margin:16px 0 22px}
.public-controls #public-connection{border:0;background:transparent;padding:0;box-shadow:none}
.public-controls .public-shortcuts{margin-bottom:0}.public-controls #public-connection>summary{font-size:13px}
.public-main{background:#0e1926;border:1px solid #293e50;border-radius:18px;padding:20px;min-width:0}
.public-main:empty{display:none}.public-main .public-overview{margin:0 0 14px}.public-main>.pill-row[role=group]{padding:4px;background:#09131e;border:1px solid #2b4052;border-radius:12px;margin:0 0 22px;display:flex;gap:5px}
.public-main>.pill-row[role=group] button{flex:1;border-color:transparent;background:transparent;border-radius:8px}
.public-main>.pill-row[role=group] button[aria-pressed=true]{background:#224438;border-color:#4e8d78;color:#b5ffe6;box-shadow:0 2px 7px #0003}
.public-main>.field,.public-main>.intelligence-toolbar{margin-bottom:16px}.public-main #public-results{margin-top:18px}
.public-main .appearance{background:#142233;border:1px solid #385165;box-shadow:none}
.public-resources{position:static;top:auto;margin:28px 0 0;padding-top:18px;border-top:1px solid #344757;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;align-items:start;min-width:0}
.public-resources .resource-heading{grid-column:1/-1;font-size:12px;letter-spacing:.04em;color:#b5c7d5;font-weight:600;margin:0 0 4px}
.public-resources>details{margin:0!important;padding:0 12px!important;border:1px solid #2b3f50;border-radius:10px;background:#101b28;min-width:0;box-shadow:none}
.public-resources>details>summary{font-size:12px;min-height:48px}.public-resources>details[open]{grid-column:1/-1;padding-bottom:16px!important}.public-resources>p{grid-column:1/-1;font-size:11px;margin:5px 0}
.section-caption{font-size:12px;color:#b5c7d5;margin:0 0 16px}.trend-card{padding:20px}.trend-card h3{font-size:21px}.trend-card .metrics{max-width:640px;margin:18px 0 12px}.trend-card .metrics .metric{background:transparent;border:0;padding:0 20px 0 0;box-shadow:none}.trend-card .metric strong{font-size:30px}.trend-card .metric+.metric{border-left:1px solid #3f5968;padding-left:24px}.trend-card .notice{font-size:13px;line-height:1.6;padding:12px 14px}.trend-card>details{margin-bottom:0}.trend-card>details>summary{font-size:13px}
#tool>form{border-color:#364c5f;background:#142131;border-radius:16px;margin-bottom:24px}
.result{border-color:#44745f;border-left:3px solid #6ce5c3;background:linear-gradient(120deg,#172e2a,#13232a);border-radius:14px}.result .eyebrow{color:#a1ead4}.result .lead{font-size:36px;line-height:1.25;margin:12px 0}.result .metrics:has(>.metric:only-child){grid-template-columns:1fr}
.answer-details{background:#101b28;border:1px solid #304654;border-radius:12px;padding:0 16px;margin:12px 0 24px}.answer-details>summary{min-height:50px;font-size:13px}.answer-details[open]{padding-bottom:16px}.answer-details .metrics{margin:12px 0}.answer-details .metric strong{font-size:23px}.answer-details .table-wrap{margin:14px 0 0}.answer-details .metric{min-width:0}.answer-details .metric span{font-size:12px;line-height:1.5}
#appearance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}#appearance-list>.appearance{margin:0;height:100%;border-color:#385165;padding:18px}#appearance-list h3{line-height:1.4}#more-appearance,#public-more{display:block;margin:18px auto 4px}
@media(max-width:900px){#appearance-list{grid-template-columns:1fr}.public-resources{grid-template-columns:1fr}}
@media(max-width:640px){.public-controls{padding:8px 10px;margin:12px 0 16px;border-radius:12px}.public-main{padding:12px;border-radius:14px}.public-main>.pill-row[role=group]{margin-bottom:16px;gap:1px;padding:3px}.public-main>.pill-row[role=group] button{font-size:11px;padding:8px 3px;gap:4px}.public-main .public-overview{margin-bottom:12px}.public-main #public-results{margin-top:12px}.public-resources{margin-top:22px;gap:7px}.trend-card{padding:15px!important}.trend-card h3{font-size:19px}.trend-card .metrics{gap:10px}.trend-card .metric strong{font-size:26px}.trend-card .metrics .metric{padding-right:6px}.trend-card .metric+.metric{padding-left:12px}.trend-card .notice{font-size:12px}.result .lead{font-size:32px}.answer-details{padding:0 12px}.answer-details .metrics{grid-template-columns:1fr}.answer-details .metric strong{font-size:22px}#appearance-list>.appearance{padding:15px}.public-main .player-card .player-power strong{font-size:20px}}
@media(forced-colors:active){.public-controls,.public-main,.public-resources>details,.answer-details,.result,.public-main .appearance{background:Canvas;border-color:CanvasText}.public-main>.pill-row[role=group] button[aria-pressed=true]{border-color:Highlight;background:Canvas;color:Highlight}}

.trend-card{border-radius:14px}.public-main>.pill-row[role=group]{width:100%}#history-content{padding:18px;border:1px solid #30495b;border-radius:16px;background:#0e1926;margin:18px 0 24px}#history-content>.appearance{padding:18px;border:1px solid #385165;border-radius:12px;background:#142233;margin:12px 0}#history-content>.appearance>details{margin-bottom:0}@media(max-width:640px){#history-content{padding:12px}#history-content>.appearance{padding:14px}}
/* Player-journey audit: shorten repeated framing and make decisions easy to scan. */
@media(min-width:641px){main{padding-top:16px}.intro{min-height:92px;padding:16px 35% 16px 22px;margin-bottom:18px}.intro .eyebrow{margin-bottom:7px}.intro h1{font-size:30px;margin:0}.intro #intro{display:none}.intro:after{background-size:auto,auto 145px}.history-header{display:none}}
.talent-route{font-size:11px!important;color:#a5b9cb!important;margin:6px 0!important}.talent-effect{color:#d9ece8!important;font-size:14px;line-height:1.55}.allocation>.small.muted{font-size:12px;max-width:680px}.allocation>[data-path]{margin-top:12px}.allocation .notice{padding:8px 10px;margin:8px 0 0;font-size:12px}.allocation:focus{outline:3px solid var(--focus);outline-offset:3px}.scope-tag{display:inline-block;background:#342919;color:#f0d39d;border:1px solid #665438;border-radius:6px;padding:5px 8px;font-size:11px;margin:10px 0 0;line-height:1.5}.refill-answer{display:flex;flex-direction:column;gap:7px;background:#172e2a;border-left:3px solid #6ce5c3;border-radius:10px;padding:16px;margin:16px 0}.refill-answer strong{font-size:26px;color:#adf3dc}.refill-answer span{font-size:13px;color:#bfd6d1}#vit-refill-panel{border:1px solid #344d5e;border-radius:12px;padding:0 16px;background:#142131}#vit-refill-panel>summary{min-height:52px}#vit-refill-form{padding-bottom:8px}.value-context{border-top:1px solid #3a5c52;padding-top:14px;margin:16px 0 0;font-size:13px;line-height:1.7}.value-context button{margin-top:8px}.allocation .row>div:first-child{min-width:0}#refine-form>h3{padding:10px 0 8px;border-bottom:1px solid #385063;margin:20px 0 10px}#refine-form>.fields{margin:12px 0}#refine-form .field small{font-size:11px}.appearance:focus{outline:3px solid var(--focus);outline-offset:3px}
@media(max-width:640px){#refine-form{padding:13px}#refine-form>.fields{gap:10px;margin:10px 0}#refine-form>h3{font-size:15px;margin-top:16px;padding-top:0}#tool>.notice{font-size:12px;line-height:1.55;padding:10px 12px}.talent-effect{font-size:13px}.allocation .row{gap:12px}.allocation .stepper{gap:5px}#vit-refill-panel{padding:0 12px}}
/* A player history should reach its timeline quickly. */
.observed-profile{padding:16px 18px;margin:14px 0}.observed-profile .eyebrow{font-size:10px;margin:0 0 8px}.observed-profile h3{font-size:21px;margin:0 0 6px}.observed-profile>p:not(.eyebrow){margin:6px 0;line-height:1.5}.observed-profile>details{margin:9px 0}.observed-profile>details>summary{min-height:44px;padding:8px 0}.observed-profile>button{margin-top:0}#public-uid-history>p.small{margin:8px 0;font-size:12px}#public-uid-history .public-timeline{margin-top:10px}.essential-comparison>h3{font-size:17px;margin:0 0 10px}.essential-comparison>p{font-size:12px;line-height:1.6}.essential-comparison .table-wrap{margin:10px 0}.essential-comparison{margin:14px 0 20px}
#public-comparison.essential-comparison{padding:16px 18px;margin:16px 0 20px}@media(max-width:640px){#public-comparison.essential-comparison{padding:12px}}
/* Match configured appearance effects rather than repeating full cards. */
.appearance-effect-comparison{padding:16px;border-color:#3d605c}.appearance-effect-comparison>.row h3{font-size:18px;margin:0}.compare-modes{margin:14px 0}.compare-modes button[aria-pressed=true]{background:#244a3e;color:#b4f5de;border-color:#528e78}.appearance-effect-table table{min-width:540px;width:100%;table-layout:fixed}.appearance-effect-table th,.appearance-effect-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;padding:12px}.appearance-effect-table th:first-child{width:28%}.compare-item-name{display:block;font-size:13px;line-height:1.5;color:#ecf7f4}.compare-level,.compare-caveat,.compare-effect-context{display:block;margin-top:5px;font-size:10px;font-weight:400;line-height:1.5;color:#adc5d4}.appearance-effect-table th button{margin-top:9px;padding:7px 10px;font-size:11px;min-height:44px}.compare-value{font-weight:650;color:#a9f0d5;font-variant-numeric:tabular-nums}.compare-missing{font-size:12px;color:#acbac9}.compare-legend{margin-bottom:5px}.compare-source-details{margin-bottom:0}.compare-source-details>div{border-top:1px solid #314959;padding-top:8px}.compare-source-details p{overflow-wrap:anywhere}.appearance-effect-table .scope-tag{display:block;font-size:10px;font-weight:400;margin-top:8px;padding:4px 6px}.saved-items>h3{font-size:15px;margin:16px 0 8px}
@media(max-width:640px){.appearance-effect-comparison{padding:12px}.appearance-effect-table th,.appearance-effect-table td{padding:10px}.appearance-effect-table table{min-width:500px}.compare-source-details p{font-size:11px}}

/* Separate purchase offers keep their inputs and answers easy to scan. */
.pack-modes{display:flex;gap:6px;margin:0 0 18px;padding:4px;background:#080f1c;border:1px solid var(--line);border-radius:12px;width:fit-content}
.pack-modes button{border:0;background:transparent;color:var(--muted);min-height:44px}
.pack-modes button[aria-pressed="true"]{background:#24394b;color:#e5fff7;box-shadow:inset 0 0 0 1px #4b776d}
.offer-row{min-width:0;border:1px solid var(--line);border-radius:12px;margin:14px 0;padding:12px 16px}
.offer-row legend{padding:0 8px;font-weight:700;color:#9ed8c8}.offer-row .fields{margin-bottom:0}
#offer-tool .field{display:flex;flex-direction:column;gap:8px;min-width:0}#offer-tool .field label{font-size:13px;font-weight:600;color:var(--muted)}
.offer-results{display:grid;gap:10px;margin:12px 0}.offer-results .appearance{margin:0}.offer-results .metrics{margin-bottom:0}
@media(max-width:640px){.pack-modes{width:100%}.pack-modes button{flex:1}.offer-row{padding:10px 12px}}
.appearance-effect-comparison[data-compare-count="1"] .appearance-effect-table table{min-width:0}
.compare-scroll-hint{display:none}
@media(max-width:640px){.compare-scroll-hint{display:block;color:var(--muted);font-size:12px;margin:8px 0}}

/* One shared column and spacing system for roster headings, rows and details. */
#public-results.thin-players{display:block;border:1px solid #314454;border-radius:14px;background:#101d2a;overflow:hidden;box-shadow:0 12px 32px #00000018,inset 0 1px #ffffff05}
.player-row,.player-list-head{--roster-gutter:18px;--roster-gap:20px;--roster-columns:minmax(100px,1.2fr) minmax(90px,1fr) 152px 24px}
.player-row.with-server,.player-list-head.with-server{--roster-columns:minmax(100px,1.2fr) minmax(90px,1fr) 152px 64px 24px}
.thin-players .player-card,#history-content>.private-player-card{padding:0!important;overflow:hidden;box-shadow:none}
.thin-players .player-card{margin:0!important;border:0;border-radius:0;background:transparent}
.thin-players .player-card+.player-card{border-top:1px solid #243746}
.thin-players .player-card:nth-of-type(even){background:#ffffff02}
.thin-players .player-card>details,#history-content .private-player-card>details{padding:0;margin:0;border:0}
.player-row>summary,.player-list-head{display:grid;grid-template-columns:var(--roster-columns);column-gap:var(--roster-gap);align-items:baseline;align-content:center;padding:12px var(--roster-gutter);min-height:58px;line-height:20px;font-size:13px}
.player-list-head{min-height:38px;padding-block:8px;background:#0b1622;border-bottom:1px solid #304453;color:#8fa8bb;font-size:9px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;line-height:20px}
.player-list-head>span:nth-child(n+3){text-align:right}
.player-row>summary{position:relative;transition:background-color .16s ease}
.player-row>summary:before{display:none}.player-row>summary::-webkit-details-marker{display:none}
.player-row>summary:after{content:'';grid-column:-2;align-self:center;justify-self:end;box-sizing:border-box;width:24px;height:24px;border:1px solid #ffffff09;border-radius:50%;background-color:#ffffff04;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m6 4 4 4-4 4' fill='none' stroke='%23aecaba' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;transform-origin:center;transition:transform .16s ease,background-color .16s ease}
.player-row>summary:hover{background:#192d3b}.player-row>summary:hover:after{background-color:#25443f;border-color:#45675b}
.player-row>summary:focus-visible{outline:2px solid #93dfc3;outline-offset:-3px;border-radius:8px}
.player-row[open]>summary{background:linear-gradient(100deg,#203d3b,#172c36 80%);border-bottom:1px solid #34564f;box-shadow:inset 3px 0 #82d7bb;margin-bottom:0}
.player-row[open]>summary:after{transform:rotate(90deg);border-color:#4c7365;background-color:#29473e}
.player-row-name,.player-row-alliance{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-row-name{font-weight:600;letter-spacing:.005em;color:#e7eff6}.player-row[open]>summary .player-row-name{color:#e0fff3}
.player-row-alliance{font-size:12px;font-weight:400;color:#a7bdce}
.player-row-power{display:flex;justify-content:flex-end;align-items:baseline;gap:5px;min-width:0;text-align:right;font-variant-numeric:tabular-nums}
.player-row-power strong{font-size:14px;line-height:20px;font-weight:600;letter-spacing:.015em;color:#c1e9dc;overflow-wrap:anywhere;min-width:0}
.player-row-power small{display:inline;font-size:8px;font-weight:400;line-height:20px;color:#8faaba;letter-spacing:.04em;margin:0;flex-shrink:0}
.player-row-server{text-align:right;font-size:11px;font-weight:400;line-height:20px;color:#a8bccb;font-variant-numeric:tabular-nums}
.player-row-body{padding:20px var(--roster-gutter) 16px;background:linear-gradient(120deg,#142735,#101e2b);border-bottom:1px solid #315044;box-shadow:inset 3px 0 #568a76;overflow-wrap:anywhere}
.player-row-body>.row{gap:10px;align-items:center}.player-row-body h3{font-size:19px;letter-spacing:-.02em;margin:0}.player-row-body>.row h3{margin:0}
.player-row-body>.row .tag{font-size:10px;background:#ffffff06;border:1px solid #42596a;color:#c0d0dc;padding:4px 8px;border-radius:6px;line-height:16px}
.player-row-body .insight-facts{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:20px;padding:14px 0;border-top:1px solid #2b3f4f;border-bottom:1px solid #2b3f4f;margin:16px 0 10px}
.player-row-body .insight-facts>div{display:block;min-width:0;border:0;padding:0;background:none}.player-row-body .insight-facts dt{font-size:10px;line-height:16px;color:#8fa9bc;margin-bottom:5px}.player-row-body .insight-facts dd{font-size:13px;line-height:20px;color:#d8e6f0;margin:0;text-align:left;overflow-wrap:anywhere}
.player-row-body .actions{padding-top:6px;margin:14px 0;gap:8px}.player-row-body .actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;background:#172d3a;border-color:#3b5567;padding:9px 14px;line-height:20px}
.player-row-body .actions .ui-icon{width:16px;height:16px;flex-shrink:0}.player-row-body .actions button[data-open-player]{background:#2b5147;border-color:#578877;color:#ddfff1}.player-row-body .actions button:hover{filter:brightness(1.13)}
.player-row-body>.small{margin:9px 0;color:#91aabb;font-size:11px;line-height:1.65}.player-row-body .history{margin-bottom:0}
#history-content>.private-player-card{margin:0 0 6px!important;border:1px solid #314454;border-radius:12px;background:#132131}
@media(max-width:640px){
 #public-results.thin-players{border-radius:12px}.player-list-head{display:none}
 .player-row{--roster-gutter:12px;--roster-gap:10px}
 .player-row>summary,.player-row.with-server>summary{grid-template-columns:minmax(0,1fr) 112px 24px;grid-template-areas:'name power toggle' 'alliance server toggle';column-gap:var(--roster-gap);row-gap:2px;padding:12px var(--roster-gutter);min-height:66px}
 .player-row-name{grid-area:name;font-size:13px;line-height:20px}.player-row-alliance{grid-area:alliance;font-size:10px;line-height:16px}
 .player-row-power{grid-area:power;gap:4px}.player-row-power strong{font-size:12px;line-height:20px}.player-row-power small{display:inline}
 .player-row-server{grid-area:server;font-size:10px;line-height:16px}.player-row>summary:after{grid-area:toggle;align-self:center}
 .player-row-body{padding:16px var(--roster-gutter) 12px}.player-row-body>.row{align-items:flex-start}.player-row-body h3{font-size:18px;line-height:24px}
 .player-row-body .insight-facts{grid-template-columns:1fr 1fr;gap:12px}.player-row-body .insight-facts>div:first-child{grid-column:1/-1}
 .player-row-body .actions button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.player-row>summary,.player-row>summary:after{transition:none}}
@media(forced-colors:active){#public-results.thin-players,.player-list-head,.player-row-body,.player-row[open]>summary{background:Canvas;border-color:CanvasText;box-shadow:none}.player-row>summary:after{content:'›';display:grid;place-items:center;background:none;border-color:ButtonText;color:ButtonText}.player-row>summary,.player-row-name,.player-row-power strong{color:CanvasText}}

@media(min-width:641px){.thin-players .player-row-power small{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}}

/* Scanning cues add hierarchy without adding profile fields. */
.thin-players .player-row-name{font-size:14px;font-weight:650;color:#eff5fa}
.thin-players .player-row-alliance{display:flex;align-items:baseline;gap:7px;min-width:0}
.roster-alliance-tag{display:inline-block;flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#1c343c;border:1px solid #34525a;border-radius:5px;padding:0 5px;font-size:10px;line-height:18px;font-weight:650;letter-spacing:.015em;color:#c0ddd8}
.roster-alliance-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#a8bdcd}
.thin-players .player-card:nth-of-type(even){background:#ffffff05}
.player-row summary mark{background:#b6d7ad;color:#122b24;border-radius:2px;padding:0 1px;box-decoration-break:clone}
.result-toolbar:has(.roster-sort){display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:12px 0 0}
.result-toolbar .roster-sort{margin-left:auto;display:block;max-width:100%;min-width:0}
.roster-sort select{font-size:11px;line-height:18px;min-height:40px;width:190px;max-width:100%;padding:8px 30px 8px 10px;border-color:#344b5e;border-radius:8px;background-color:#112230;color:#c9dce6}
@media(max-width:640px){.thin-players .player-row-name{font-size:13px}.thin-players .player-row-alliance{gap:5px}.roster-alliance-tag{font-size:9px;line-height:14px;padding:0 4px}.roster-alliance-name{font-size:10px}.roster-sort select{width:156px;font-size:10px;min-height:44px;padding-left:8px}.result-toolbar:has(.roster-sort){gap:5px 8px}.result-toolbar .progress{flex:1;min-width:90px}.result-toolbar #ins-clear-filters{order:2}}
@media(forced-colors:active){.roster-alliance-tag{background:Canvas;color:CanvasText;border-color:CanvasText}.player-row summary mark{background:Highlight;color:HighlightText}}

/* Unified tool surfaces: essential controls, answer, then optional detail. */
main{max-width:1300px;padding-top:24px}.workspace{grid-template-columns:202px minmax(0,1fr);gap:26px}
.intro{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);border:0!important;display:block!important}.intro:after{display:none}
nav#tools{padding:7px;border-radius:14px;background:#101c2a;box-shadow:none;gap:3px}nav button{grid-template-columns:28px minmax(0,1fr);gap:9px;min-height:52px;padding:10px 9px;font-size:12px;border-radius:8px}.nav-copy small{display:none}.nav-icon{width:28px;height:28px}.nav-icon .ui-icon{width:19px;height:19px}
.tool-header,.history-header{display:flex!important;align-items:center;min-height:90px;padding:0 2px 20px;margin:0 0 20px;background:none!important;border:0!important;border-bottom:1px solid #2b3d4c!important;border-radius:0;overflow:visible;isolation:auto;box-shadow:none}
.tool-header:after{display:none!important}.tool-header h2{font-size:26px;line-height:1.2;letter-spacing:-.03em;display:flex;align-items:center;gap:12px;margin:0 0 8px}.tool-header h2 .ui-icon{width:38px;height:38px;flex-shrink:0;padding:9px;color:#a9ead6;background:#1d3936;border:1px solid #365b51;border-radius:11px}.tool-header p,.history-header p{display:block!important;font-size:12px;line-height:1.6;max-width:570px;margin:0;color:#a6bccb}.tool-header .number{display:none}
.tool-illustration{width:104px;height:104px;object-fit:contain;flex-shrink:0;margin:-12px 8px -8px 24px;filter:drop-shadow(0 5px 18px #66e4bd12)}
#tool>form{border-radius:14px;padding:22px;background:#101c2a;border-color:#2d4051;box-shadow:none}
#tool>form.calculator-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:22px 26px}
.calculator-inputs,.calculator-answer,.calculator-options{min-width:0}.calculator-inputs>.fields:first-child{margin-top:0}.calculator-inputs>.fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.calculator-inputs>.fields:has(#seconds)>label:first-child{grid-column:1/-1}
.calculator-inputs>button.primary{width:100%;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px}.calculator-inputs>h3{font-size:14px;margin-top:20px}.calculator-inputs>h3:first-child{margin-top:0}.calculator-inputs .small{font-size:11px}
.calculator-answer{padding:0;align-self:start}.calculator-answer .result{margin:0;background:linear-gradient(135deg,#203e36,#172f32);border:1px solid #42695b;border-radius:12px;padding:22px}.calculator-answer .result .eyebrow{font-size:9px;line-height:1.5;letter-spacing:.09em;color:#b7d6c7}.calculator-answer .result .lead{font-size:34px;line-height:1.15;margin:9px 0 12px}.calculator-answer .result p{font-size:12px;line-height:1.6}.calculator-answer .metrics{gap:12px;margin-top:18px}.calculator-answer .metric strong{font-size:23px}.calculator-answer .metric span{font-size:10px}.calculator-answer .answer-details{margin:12px 0 0;border-radius:9px;padding:0 12px;background:#0d1723}
.calculator-answer .notice{font-size:12px;margin-top:12px}.calculator-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;border-top:1px solid #2b4051;padding-top:4px}.calculator-options>details{border:0;padding:6px 0;min-width:0}.calculator-options>details[open]{grid-column:1/-1}.calculator-options>details>summary{font-size:12px}.calculator-options>.actions{grid-column:1/-1;margin:8px 0 0}.calculator-options .actions button,#tool>.actions button{background:transparent;border-color:#34495c;color:#abc8cf;font-size:11px}
#vit-refill-panel,#tool>.tool-extras,#tool>.catalogue-options{border:1px solid #2c4050;border-radius:10px;padding:0 14px;margin:14px 0;background:#101b28}#vit-refill-panel[open],#tool>.tool-extras[open],#tool>.catalogue-options[open]{padding-bottom:14px}#tool>.tool-extras summary .ui-icon{width:16px;height:16px}#tool>.source, #tool>details{font-size:12px}
#talent-list .allocation{padding:16px;margin:10px 0;border:1px solid #304454;border-radius:12px;background:#101d2a}#talent-list h3{font-size:15px}#talent-list .talent-route{font-size:10px;margin:4px 0 7px;color:#98b2c3}#talent-list .talent-effect{font-size:12px;margin:7px 0}#talent-list .tag{font-size:10px}#talent-list .allocation>button[data-path]{margin-top:10px;min-height:40px;font-size:11px}#talent-list .allocation>details{padding-bottom:0;margin-top:10px}#talent-list .allocation>details>summary{font-size:11px}.stepper{gap:6px}.stepper output{font-size:12px;min-width:34px}.stepper button{width:36px;min-width:36px;min-height:36px;padding:3px;font-size:18px}
#appearance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#appearance-list>.appearance{margin:0;padding:16px;border:1px solid #304555;border-radius:12px;background:#101d2a;min-width:0}.appearance-head h3{font-size:15px;line-height:1.35}.appearance-head .check{font-size:10px;flex-shrink:0}.appearance-head .tag{font-size:9px}.buff-preview{margin:12px 0 5px}.buff-preview p{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:baseline;gap:8px;margin:5px 0;font-size:11px;line-height:1.55}.buff-preview p>span{font-size:10px;color:#91b5be}.buff-preview strong{font-weight:500;color:#d2e4e5;overflow-wrap:anywhere}.buff-preview small{font-size:10px;color:#9fd7bc}#appearance-list .appearance>details{padding-bottom:0;margin-top:9px}#appearance-list .appearance>details>summary{font-size:11px}.scope-tag{font-size:10px;margin:8px 0}.catalogue-options summary{font-size:11px}
.appearance-effect-comparison{padding:14px;margin:14px 0;border:1px solid #416357;background:#12252b;border-radius:12px}.compare-selected-items{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.compare-selected-chip{display:flex;align-items:center;gap:8px;flex:1 1 180px;min-width:0;padding:8px 10px;border:1px solid #355b54;border-radius:8px;background:#1b3435}.compare-selected-chip>div{min-width:0;flex:1}.compare-selected-chip .compare-item-name{font-size:12px}.compare-selected-chip button{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;font-size:18px;background:transparent;border:0}.compare-selected-chip .scope-tag,.compare-selected-chip .compare-caveat{font-size:9px;margin:3px 0}.compare-selected-chip .compare-level{font-size:9px;margin-top:2px}.compare-scope{font-size:10px;line-height:1.5;margin:8px 0;color:#aecac7}.compare-buffs-details{padding:0!important;border:0!important}.compare-open-action{color:#b6f2db;font-size:12px;border-top:1px solid #31564e;margin-top:8px;padding-top:12px}.appearance-effect-comparison>.row h3{font-size:15px}.appearance-effect-comparison>.row button{font-size:10px;min-height:36px}
.offer-comparison table{min-width:350px;table-layout:fixed}.offer-comparison th:first-child{width:31%}.offer-comparison td:not(:first-child),.offer-comparison th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.offer-comparison td,.offer-comparison th{padding:10px;font-size:11px;overflow-wrap:anywhere}.offer-comparison .offer-best{background:#1c3933}.offer-comparison .offer-best td:first-child{color:#b4f0d6;font-weight:650}.offer-row{margin:10px 0}.offer-row .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-row legend{font-size:12px}.offer-comparison .tag{font-size:9px}
.public-search-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:end;margin:12px 0}.public-search-toolbar>.field{margin:0}.public-search-toolbar>.roster-sort{margin:0}.public-search-toolbar>details{grid-column:1/-1;margin:0!important;padding:0!important}.public-search-toolbar>details>summary{font-size:11px;min-height:38px}.public-result-line{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.public-result-line .progress{font-size:10px}.public-result-line button{font-size:10px;min-height:36px}.public-main{padding:18px}.public-overview{font-size:10px}.server-action-card{padding:16px!important}.server-action-card h3{font-size:18px}.change-row{border:1px solid #304757;border-radius:10px;padding:0;margin:8px 0;background:#12212f;overflow:hidden}.change-row>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:14px;font-size:12px}.change-row>summary:before{display:none}.change-route{font-weight:600;overflow-wrap:anywhere}.change-kind{font-size:9px;color:#add8c7}.change-date{font-size:10px;color:#9eb5c7}.change-row-body{padding:0 14px 14px;font-size:12px}.change-row[open]>summary{background:#1a3037;margin-bottom:12px}
@media(max-width:1100px){#tool>form.calculator-layout{grid-template-columns:1fr}.calculator-options{grid-template-columns:1fr 1fr}#appearance-list{grid-template-columns:1fr}.workspace{grid-template-columns:180px minmax(0,1fr);gap:20px}}
@media(max-width:640px){main{padding:12px 14px 16px}.workspace{display:block}.tool-header,.history-header{min-height:0;padding:4px 0 16px;margin-bottom:16px;gap:8px}.tool-header h2{font-size:22px;gap:9px;margin-bottom:7px}.tool-header h2 .ui-icon{width:32px;height:32px;padding:7px;border-radius:9px}.tool-header p{font-size:11px;line-height:1.55}.tool-illustration{width:70px;height:80px;margin:-4px 0 0 4px}#tool[data-tool=vit] .tool-header h2{font-size:20px}#tool>form.calculator-layout{padding:16px;gap:18px}.calculator-options{grid-template-columns:1fr;gap:0}.calculator-inputs>.fields{gap:14px 10px}.calculator-answer .result{padding:18px}.calculator-answer .result .lead{font-size:30px}.calculator-options>details{padding:3px 0}.calculator-options>.actions{margin-top:6px}.public-main{padding:12px}.public-search-toolbar{grid-template-columns:1fr;gap:8px}.public-search-toolbar>.roster-sort{grid-column:1;justify-self:end}.public-search-toolbar>details{grid-column:1;grid-row:2;max-width:calc(100% - 166px);align-self:center}.public-search-toolbar>.roster-sort{grid-row:2}.public-search-toolbar>details[open]{grid-column:1/-1;grid-row:3;max-width:none}.public-search-toolbar>details[open]~.roster-sort{grid-row:2}.compare-selected-items{gap:6px}.compare-selected-chip{flex-basis:100%;padding:7px 9px}.compare-selected-chip button{width:44px;min-width:44px;height:44px;min-height:44px}.compare-selected-chip .compare-item-name{font-size:12px}.appearance-effect-comparison{padding:12px}.compare-selected-items{margin:8px 0}.buff-preview p{grid-template-columns:48px minmax(0,1fr) auto}.offer-comparison td,.offer-comparison th{font-size:10px;padding:9px 7px}#talent-list .allocation{padding:13px}.stepper button{width:40px;min-width:40px;min-height:44px}.stepper{gap:4px}.allocation>.row{align-items:start}.change-row>summary{grid-template-columns:1fr;padding:12px}.change-date{font-size:9px}#tool>.filters>label{min-width:0}.filters{gap:10px}}
@media(forced-colors:active){.tool-illustration{display:none}.calculator-answer .result,.compare-selected-chip,#appearance-list>.appearance,#talent-list .allocation,.change-row{background:Canvas;color:CanvasText;border-color:CanvasText}.tool-header h2 .ui-icon{background:Canvas;color:CanvasText}}
.stepper button{width:44px;min-width:44px;min-height:44px}
.buff-unknown{display:block;color:#e0c696;font-size:10px;margin:3px 0 8px}
.public-controls:has(#public-navigation){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;align-items:start;padding:4px 14px}
.public-controls #public-navigation{padding:0;margin:0;border:0;min-width:0}.public-controls #public-navigation>summary{font-size:11px;min-height:44px;padding:10px 0;white-space:nowrap}.public-controls #public-connection{padding:0;margin:0;border:0;background:none}.public-controls #public-connection>summary{min-height:44px}
.public-controls:has(#public-connection[open]) #public-connection,.public-controls:has(#public-navigation[open]) #public-navigation{grid-column:1/-1}.public-controls #public-navigation[open]{padding-bottom:10px}.public-controls .public-shortcuts{margin:4px 0 0;gap:6px}
@media(max-width:640px){.public-controls:has(#public-navigation){padding:4px 10px;gap:0 10px}.public-controls #public-connection>summary{font-size:10px}.public-controls #public-navigation>summary{font-size:10px}.public-controls #public-navigation .public-shortcuts a{min-height:44px}}
.answer-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:210px;padding:24px;text-align:center;border:1px dashed #3c5564;border-radius:12px;background:#11222c}.answer-placeholder>.ui-icon{width:36px;height:36px;color:#87b7aa;margin-bottom:14px}.answer-placeholder h3{font-size:15px;margin:0 0 8px}.answer-placeholder p{font-size:12px;color:#a7bdcc;max-width:230px;margin:0}
@media(max-width:640px){.appearance-effect-comparison>.row button,.public-result-line button{min-height:44px}}
.calculator-inputs>.fields:has([id^="slot-type-"]),.calculator-inputs>.fields:has(#donor-type){grid-template-columns:minmax(0,1.7fr) minmax(80px,1fr)}
@media(max-width:640px){#refine-form .calculator-inputs select{font-size:12px;padding-inline:10px}}

.public-main .appearance.change-card{padding:0!important;margin:0;border:0;background:none;box-shadow:none}
.change-card .change-row{margin:0 0 6px}
.change-row>summary{position:relative;padding-right:40px;cursor:pointer}.change-row>summary:after{content:'⌄';position:absolute;right:15px;top:15px;color:#a8dccc;font-size:17px;line-height:18px;transition:transform .15s}.change-row[open]>summary:after{transform:rotate(180deg)}
@media(min-width:1101px){.offer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.offer-list .offer-row{margin:0;min-width:0}}
@media(prefers-reduced-motion:reduce){.change-row>summary:after{transition:none}}

/* Restrained hierarchy: position and grouping carry emphasis, not oversized type. */
:root{--tool-title-size:20px;--answer-size:22px;--supporting-value-size:16px}
#tool .tool-header h2{font-size:var(--tool-title-size);font-weight:650;letter-spacing:-.015em;gap:10px;margin-bottom:7px}
#tool .tool-header h2 .ui-icon{width:30px;height:30px;padding:7px;border-radius:8px}
#tool .tool-header{min-height:72px;padding-bottom:16px;margin-bottom:18px}
#tool .tool-illustration{width:76px;height:76px;margin:-6px 8px -6px 24px}
#tool .result{background:#142a2b;border:1px solid #34534e;border-inline-start:3px solid #69d8b9;border-radius:10px;padding:18px}
#tool .result .eyebrow{font-size:11px;font-weight:500;letter-spacing:0;text-transform:none;color:#b2cec8;margin:0 0 8px}
#tool .result .lead{font-size:var(--answer-size);font-weight:650;line-height:1.4;letter-spacing:-.015em;font-variant-numeric:tabular-nums;margin:6px 0 10px;color:#d6f4e9}
#tool .result p:not(.lead):not(.eyebrow){line-height:1.6}
#tool .result .metrics{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid #34504c;padding-top:10px;margin-top:14px}
#tool .result .metric{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:16px;padding:5px 0;background:none;border:0;box-shadow:none}
#tool .result .metric strong{grid-column:2;grid-row:1;text-align:right;font-size:var(--supporting-value-size);font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums;color:#d5e8e3}
#tool .result .metric span{grid-column:1;grid-row:1;font-size:12px;line-height:1.5;color:#acc3c2}
#tool .answer-details .metric strong,#tool .intelligence-card .metric strong,#tool .trend-card .metric strong{font-size:var(--supporting-value-size);font-weight:600;font-variant-numeric:tabular-nums}
#tool .trend-card h3,#tool .observed-profile h3,#tool .player-row-body h3{font-size:16px;line-height:1.5}
#tool .refill-answer strong{font-size:18px;font-weight:600;line-height:1.5}
@media(max-width:640px){
 #tool .tool-header h2{font-size:19px}
 #tool .tool-header{min-height:0;margin-bottom:16px}
 #tool .tool-illustration{width:60px;height:60px;margin:0 0 0 8px}
 #tool .result{padding:16px}
 #tool .result .lead{font-size:20px}
}
@media(forced-colors:active){#tool .result{background:Canvas;border-color:CanvasText}#tool .result .lead,#tool .result .eyebrow,#tool .result .metric strong,#tool .result .metric span{color:CanvasText}}

/* Titan reference tables: browse first, custom inputs when needed. */
.titan-switch{display:flex;gap:4px;padding:4px;border:1px solid #2d4351;border-radius:9px;width:fit-content;max-width:100%;margin:0 0 18px;background:#0c1823}.titan-switch button{background:transparent;border-color:transparent;font-size:12px;min-height:44px;padding:8px 14px}.titan-switch button[aria-pressed=true]{background:#203d38;border-color:#477c6a;color:#c1f1df}
#tool>.titan-custom[hidden],#titan-reference[hidden]{display:none!important}
.titan-reference{padding:20px;border:1px solid #2d4351;background:#101e2b;border-radius:12px}.reference-heading h3{font-size:15px;margin:0 0 6px}.reference-heading p{font-size:12px;color:#aec1ca;margin:0 0 18px}.reference-controls{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.reference-controls .field{flex:1;min-width:130px;max-width:300px;font-size:12px}.reference-controls select{font-size:13px;min-height:44px}.reference-scope{font-size:11px;color:#abc3ca;margin:14px 0 10px}.titan-reference .table-wrap{margin:10px 0 14px;border-color:#304957}.titan-reference table{min-width:0;width:100%;table-layout:fixed}.titan-reference th,.titan-reference td{font-size:12px;padding:12px 14px;line-height:1.5;overflow-wrap:anywhere}.titan-reference thead th{font-size:11px;color:#a8bdc9;background:#152633;font-weight:500}.titan-reference tbody th{font-weight:500;text-align:left}.titan-reference tr>:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.titan-reference tr>:first-child{width:46%}.titan-reference tbody tr:nth-child(even){background:#ffffff03}.reference-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;text-align:left;padding:5px 0;background:none;border:0;color:#d1e4e9;font-size:12px}.reference-choice span:last-child{color:#7dccb6}.reference-choice:hover span:first-child{text-decoration:underline;text-underline-offset:3px}.reference-choice:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.titan-reference-notes{padding:3px 0;border-top:1px solid #2d4250;margin-top:14px}.titan-reference-notes summary{font-size:12px;min-height:44px}.titan-reference-notes p{font-size:12px;line-height:1.65;color:#b6c9d1}.titan-reference .small{font-size:11px;line-height:1.65}.reference-section{border-top:1px solid #2d4250;margin-top:22px;padding-top:20px}.refine-rule-table tr>:first-child{width:30%}.refine-rule-table tr>:not(:first-child){text-align:left}.reference-risk{color:#e4c699}.titan-reference>.notice{font-size:12px;line-height:1.6;margin-bottom:16px}.titan-reference>button{font-size:12px;min-height:44px}
@media(max-width:640px){.titan-reference{padding:14px}.titan-switch{width:100%}.titan-switch button{flex:1;font-size:11px;padding:8px}.titan-reference th,.titan-reference td{font-size:11px;padding:9px 8px}.titan-reference thead th{font-size:10px}.reference-choice{font-size:11px}.reference-controls{gap:10px}.reference-controls select{font-size:12px}.titan-reference-notes table{min-width:400px}.refine-rule-table tr>:first-child{width:34%}}
@media(forced-colors:active){.titan-reference,.titan-switch,.titan-switch button[aria-pressed=true]{background:Canvas;color:CanvasText;border-color:CanvasText}.reference-risk,.reference-choice,.reference-choice span:last-child{color:CanvasText}}
.titan-reference th,.titan-reference td{vertical-align:middle}#craft-reference-table tbody th{padding-block:2px}.reference-section-title{font-size:15px;margin:0 0 14px}.refine-reference-grid>section{min-width:0}.refine-reference-grid .reference-section{border:0;margin:0;padding:0}.refine-reference-grid .reference-controls{margin:14px 0}.reference-credit{margin-bottom:0}
@media(min-width:1101px){.refine-reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.refine-reference-grid>section+section{padding-left:24px;border-left:1px solid #2d4250}.refine-reference-grid tr>:first-child{width:34%}.refine-reference-grid th,.refine-reference-grid td{padding-inline:10px}}
@media(max-width:1100px){.refine-reference-grid>section+section{border-top:1px solid #2d4250;margin-top:20px;padding-top:20px}}
