:root{color-scheme:dark;--bg:#101720;--panel:#19232f;--text:#e5edf3;--muted:#a5b8ca;--line:#344a5d;--gold:#eec770;--cyan:#80cec5;--purple:#bea4ed;--blue:#91bff3;font:16px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer;padding:7px 10px;border-radius:5px}button:hover{background:#ffffff0b;color:#fff}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible,#viewport:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:var(--cyan);text-underline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-60px;background:var(--gold);color:#101720;z-index:100;padding:10px}.skip:focus{top:4px}header{height:78px;padding:17px 30px;display:flex;align-items:center;gap:12px;position:relative;z-index:20;background:linear-gradient(var(--bg) 75%,#101720e0)}.brand{font-size:24px;font-weight:600;letter-spacing:-.65px;margin-right:auto;padding:0;text-align:left;white-space:nowrap}.brand:hover{background:none}.brand i{font:italic 29px Georgia,serif;color:var(--gold)}.search-wrap{width:250px;position:relative}input{border:1px solid #485a6b;border-radius:5px;background:#16222d;color:var(--text);width:100%;padding:9px 13px;font-size:14px}input::placeholder{color:#a3b4c2}#filter-button{font-size:14px;color:var(--muted)}#help-button{font-size:19px;color:var(--muted);width:35px}#filters{position:absolute;top:69px;right:61px;z-index:25;background:#1c2936;border:1px solid #476075;border-radius:7px;padding:18px;width:286px;box-shadow:0 12px 40px #0007}#filters label{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px;font-size:14px;color:#b8c9d8}select{font:14px system-ui,sans-serif;max-width:190px;padding:6px;background:#243746;border:1px solid #486174;border-radius:4px;color:var(--text)}.filter-actions{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;font-size:14px}.filter-actions button:first-child{color:var(--cyan)}#map-shell{position:relative;height:calc(100dvh - 78px);min-height:570px;overflow:hidden;background:radial-gradient(ellipse at 46% 39%,#192a37 0,#111a24 59%,#101720 94%)}.hint{position:absolute;top:4px;left:30px;font-size:14px;color:#adc0d0;z-index:2;pointer-events:none}#viewport{position:absolute;inset:27px 0 70px;overflow:hidden;touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}#lines,#map-nodes,#map-labels{position:absolute;inset:0;width:100%;height:100%;overflow:visible}#lines{z-index:1}#map-nodes{z-index:2;pointer-events:none}#map-labels{z-index:0;pointer-events:none}.region{position:absolute;text-transform:uppercase;font-size:11px;letter-spacing:2.5px;color:#728b9f;white-space:nowrap;transform:translate(-50%,-50%)}.game-node{position:absolute;width:126px;height:82px;padding:0;transform:translate(-50%,-50%);pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;border-radius:0;transition:opacity .18s;isolation:isolate}.game-node:hover,.game-node:focus-visible{background:none}.game-node .preview{width:35px;height:35px;display:block;filter:drop-shadow(0 3px 5px #0006);transition:transform .18s;flex-shrink:0}.game-node .preview svg{display:block;width:100%;height:100%}.game-node:hover .preview,.game-node:focus-visible .preview{transform:scale(1.16)}.game-node .name{font-size:14px;line-height:1.22;font-weight:500;max-width:124px;letter-spacing:-.12px;text-shadow:0 2px 3px #101720,0 -2px 3px #101720,2px 0 3px #101720,-2px 0 3px #101720;position:relative;padding:0 3px}.game-node.has-variants .name:after{content:'·';font-size:21px;line-height:10px;color:var(--gold);vertical-align:middle;margin-left:4px}.game-node.dim{opacity:.16}.game-node.related .name{color:#fff}.game-node.selected .preview{filter:drop-shadow(0 0 9px #eec77066)}.game-node.selected .name{color:var(--gold)}.game-node.selected:before{content:'';position:absolute;top:-7px;width:49px;height:49px;border:1px solid var(--gold);border-radius:50%;opacity:.85}.proof-node{width:83px;height:45px;justify-content:center;gap:3px}.proof-node .proof-dot{width:7px;height:7px;border-radius:50%;background:#889eaf;box-shadow:0 0 0 3px #889eaf12}.proof-node .name{font-size:10px;font-weight:400;color:#859baa;max-width:83px}.proof-node.related .name,.proof-node.selected .name{font-size:12px;color:#deebf3}.proof-node.selected:before{width:18px;height:18px;top:3px}.edge{cursor:pointer;outline:0}.edge .stroke{fill:none;stroke:#659faaa0;stroke-width:1.1;opacity:.3}.edge .hit{fill:none;stroke:transparent;stroke-width:15;pointer-events:stroke}.edge.change .stroke{stroke:var(--gold);stroke-dasharray:5 6}.edge.restriction .stroke{stroke:var(--purple);stroke-dasharray:2 5}.edge.related .stroke{opacity:1;stroke-width:1.8;stroke:#80cec5}.edge.related.change .stroke{stroke:var(--gold)}.edge.related.restriction .stroke{stroke:var(--purple)}.edge.selected .stroke,.edge:hover .stroke,.edge:focus .stroke{opacity:1;stroke-width:3;stroke:#d8efed}.edge.selected.change .stroke,.edge:hover.change .stroke{stroke:var(--gold)}.edge.selected.restriction .stroke{stroke:var(--purple)}.edge.dim{opacity:.13}.edge-label{font-size:11px;fill:#c7d7e4;paint-order:stroke;stroke:#131e29;stroke-width:5px;pointer-events:none}.map-footer{position:absolute;left:25px;right:25px;bottom:31px;display:flex;justify-content:space-between;gap:12px;align-items:center;pointer-events:none;z-index:4}.legend,.camera{pointer-events:auto}.legend{display:flex;gap:18px;font-size:11px;color:#9fb4c5;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:7px}.legend b{display:inline-block;width:22px;border-top:1px solid var(--cyan)}.legend .dashed{border-color:var(--gold);border-top-style:dashed}.legend .dotted{border-color:var(--purple);border-top-style:dotted}.camera{display:flex;gap:3px}.camera button{padding:5px 8px;color:#b9cad7;font-size:14px}.map-meta{position:absolute;left:26px;right:28px;bottom:12px;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#748c9f;z-index:4}.map-meta button{font:inherit;color:#9bb1c3;padding:0}.map-meta button:hover{color:#fff}#detail{position:fixed;top:91px;right:21px;bottom:78px;width:355px;z-index:15;background:#19232ff8;border:1px solid #41576a;border-radius:9px;box-shadow:0 15px 55px #050b1266;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#466078 transparent;padding:0 23px 25px;backdrop-filter:blur(10px)}.detail-controls{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#19232ffa;z-index:1;padding:9px 0;margin:0 -5px 3px}.detail-controls #back{font-size:12px;color:#abc0d2}.detail-controls #close-detail{font-size:26px;line-height:1;padding:3px 7px}.detail-controls #back:disabled{visibility:hidden}#detail h1{font-size:27px;line-height:1.12;letter-spacing:-.6px;margin:8px 0 14px;font-weight:550}#detail h2{font-size:15px;font-weight:650;margin:23px 0 9px}#detail p{font-size:14px;line-height:1.6;color:#b9ccd9;margin:14px 0}.overline{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:var(--gold)}.result{font-size:12px;color:var(--cyan);font-weight:600}.result.NP{color:var(--gold)}.result.PSPACE{color:var(--purple)}.result.EXPTIME{color:#f4ac9d}.exact-question{font-size:16px!important;color:#e3eef4!important;line-height:1.5!important}.version-choice{margin:17px 0 13px}.version-choice label{font-size:11px;color:#8fa8bb;display:block;margin-bottom:6px}.version-choice select{width:100%;max-width:none;font-size:13px}.trail{margin-top:18px}.trail button{display:block;width:100%;text-align:left;font-size:14px;line-height:1.45;padding:9px 0;border-radius:0;color:#c7dfec;border-bottom:1px solid #344b5d}.trail button:hover{background:none;color:var(--gold)}.trail small{display:block;font-size:11px;color:#8fa8b9;margin-top:3px}.trail .change small{color:#c8ad73}.trail .restriction small{color:#af99c9}details{margin:19px 0 0;border-top:1px solid #354959;padding-top:12px}summary{font-size:13px;color:#b7ccd9;cursor:pointer;line-height:1.5}dl{font-size:13px;line-height:1.6}dt{color:#91b4c7;font-weight:550;margin-top:12px}dd{margin:3px 0 0;color:#bcd0dd}.caveat{border-left:2px solid #987e4c;padding-left:11px;font-size:13px!important;color:#cfbe98!important}.source{font-size:12px;line-height:1.55;margin:12px 0;color:#a6bccb}.source a{display:block;color:var(--cyan)}.source-note{font-size:11px!important;color:#869faf!important}.edge-ends{display:flex;align-items:center;gap:8px;margin:18px 0}.edge-ends button{font-size:13px;color:var(--cyan);padding:5px 0;max-width:46%;text-align:left}.edge-ends span{color:#8ea6b6}.schematic{margin:17px 0;background:#121d28;padding:12px;border-radius:5px}.schematic svg{width:100%;height:auto;display:block}.schematic figcaption{font-size:11px;line-height:1.5;color:#92abbd;margin-top:9px}.schematic button{font-size:12px;color:var(--cyan);margin-top:8px}.steps{padding-left:20px;font-size:13px;line-height:1.6;color:#c1d3df}.steps li{padding-left:2px;margin:10px 0}.small-note{font-size:12px!important;color:#8eaabc!important}#tooltip{position:fixed;z-index:50;max-width:280px;pointer-events:none;background:#243647;border:1px solid #4d687d;border-radius:5px;padding:9px 12px;font-size:12px;line-height:1.5;color:#d3e1eb;box-shadow:0 5px 20px #0007}#search-results{position:absolute;top:43px;right:0;width:350px;max-width:92vw;max-height:70vh;overflow-y:auto;background:#1c2b39;border:1px solid #50677a;border-radius:6px;padding:7px;box-shadow:0 9px 35px #0008;z-index:40}#search-results button{display:block;width:100%;text-align:left;padding:9px 10px;font-size:14px}#search-results small{display:block;color:#95adbf;font-size:11px;margin-top:3px}#search-results p{padding:10px;font-size:14px;color:var(--muted)}#list{position:absolute;inset:32px 22px 75px;overflow:auto;z-index:5;background:#101c27;columns:3 250px;column-gap:35px;padding:16px 20px}#list button{display:flex;gap:14px;align-items:center;text-align:left;break-inside:avoid;width:100%;padding:12px 0;border-bottom:1px solid #243b4b;border-radius:0;font-size:15px}#list svg{width:35px;height:35px;flex-shrink:0}#list small{font-size:12px;display:block;color:#879fb2;margin-top:3px}#empty{position:absolute;inset:50% 20px auto;text-align:center;color:#bdceda;font-size:16px;z-index:5}#empty button{color:var(--gold);text-decoration:underline}dialog{background:#192630;color:var(--text);border:1px solid #526e82;border-radius:9px;max-width:720px;width:calc(100% - 30px);max-height:88dvh;padding:25px 30px}dialog::backdrop{background:#060d16a8;backdrop-filter:blur(3px)}#close-guide{float:right;font-size:25px;padding:0 6px}dialog h2{font-size:27px;margin:8px 0 20px;line-height:1.25;font-weight:550}dialog h3{font-size:17px;margin:25px 0 10px}dialog p,dialog li{font-size:15px;color:#c0d0dc;line-height:1.65}dialog table{width:100%;font-size:13px;border-collapse:collapse}dialog th,dialog td{padding:10px 8px;border-bottom:1px solid #3c5364;vertical-align:top;text-align:left}dialog th{color:#9cc3d3;font-weight:550;width:27%}.no-script{position:fixed;top:120px;left:25px;right:25px;background:#1f3342;border:1px solid var(--gold);padding:30px;z-index:99}
@media(max-width:900px){header{padding:15px 18px;gap:7px}.brand{font-size:20px}.search-wrap{width:210px}.hint{left:22px;font-size:13px}#detail{right:14px;width:330px;top:85px}.legend{gap:10px}.map-meta{left:20px;right:20px}}
@media(max-width:600px){header{height:115px;padding:13px 15px;flex-wrap:wrap;align-content:center;gap:10px 7px}.brand{width:calc(100% - 86px);font-size:22px;order:0}#help-button{order:1;margin-left:auto;width:26px}#filter-button{order:3;font-size:13px;padding:7px}.search-wrap{order:2;flex:1;width:auto}input{font-size:14px;padding:8px 11px}#map-shell{height:calc(100dvh - 115px);min-height:475px}.hint{left:17px;right:10px;font-size:12px;top:3px}#viewport{inset:25px 0 74px}.map-footer{left:14px;right:14px;bottom:35px;align-items:flex-end}.legend{max-width:265px;font-size:10px;gap:5px 10px}.legend b{width:17px}.map-meta{left:15px;right:15px;font-size:9px;bottom:13px;align-items:flex-end}.map-meta>span:last-child{max-width:150px;text-align:right}.camera{gap:0}.camera button{font-size:12px;padding:5px 7px}#filters{top:110px;right:13px;max-width:calc(100vw - 26px)}#detail{top:auto;left:9px;right:9px;bottom:9px;width:auto;max-height:57dvh;min-height:120px;padding:0 19px 23px;border-radius:12px;box-shadow:0 -10px 45px #0005}#detail h1{font-size:25px;margin-top:2px}#detail p{font-size:14px}.detail-controls{padding:6px 0}.game-node{width:125px}.game-node .name{font-size:14px;max-width:123px}.game-node .preview{width:34px;height:34px}.proof-node{width:76px}.proof-node .name{font-size:10px;max-width:76px}#list{inset:30px 10px 80px;padding:10px 17px;columns:1}dialog{padding:20px}dialog h2{font-size:24px}dialog table{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}


/* Version 4: dark, aligned groups and directly readable result profiles. */
:root{--bg:#0c121b;--panel:#151f2c;--text:#dce6ef;--muted:#9fb1c3;--gold:#e2b775;--cyan:#8cbace;--purple:#bca6ec;color-scheme:dark}
header{height:72px;background:#0c121b;padding:12px 24px;border-bottom:1px solid #263241;gap:12px}
.brand{font-size:22px}.brand i{color:#8cbace}.view-switch{display:flex;border:1px solid #344354;border-radius:5px;padding:2px;gap:1px;flex-shrink:0}.view-switch button{font-size:13px;padding:5px 9px;color:#9db1c6}.view-switch button[aria-pressed=true]{background:#263547;color:#edf5fc}
#map-shell{height:calc(100dvh - 72px);min-height:560px;background:#0c121b}.hint{top:8px;left:25px;color:#899cad;font-size:12px}#viewport{inset:33px 0 65px}
#map-nodes{z-index:2}#map-labels{z-index:0}.region{font-size:12px;letter-spacing:1.5px;color:#a4b8ca;font-weight:600;white-space:nowrap;padding:0 6px 8px;border-bottom:1px solid #344153;text-transform:none}
.game-node{width:36px;height:34px;padding:0;gap:0;border-radius:0;transition:opacity .12s;isolation:auto}
.game-node>.preview{width:33px;height:33px;filter:none}.game-node:hover>.preview{transform:scale(1.06)}
.node-copy{position:absolute;top:37px;left:50%;transform:translateX(-50%);width:108px;text-align:center;pointer-events:auto;line-height:1.15;text-shadow:0 0 3px #0c121b,0 0 6px #0c121b,0 1px 3px #0c121b}
.game-node .name{position:static;display:block;max-width:none;font-size:12px;font-weight:550;line-height:1.14;letter-spacing:0;padding:0;color:#dbe5ef;opacity:1;background:none}
.profile{display:flex;justify-content:center;gap:0 3px;flex-wrap:wrap;font-size:10px;line-height:1.25;margin-top:4px;font-weight:500;letter-spacing:0}
.profile span{white-space:nowrap}.profile i{font-style:normal;color:#73899b;font-weight:400}.class-P{color:#72d6bd}.class-NP{color:#f3c279}.class-PSPACE{color:#bca6ec}.class-EXPTIME{color:#f18c98}.class-CONP{color:#eba1cb}.class-OTHER{color:#b5c9de}.class-SOURCE{color:#8ea4b8}
.proof-node{width:18px;height:18px;justify-content:center}.proof-node .proof-dot{width:7px;height:7px;border-radius:1px;transform:rotate(45deg);background:#94abc1;box-shadow:none}.proof-node .node-copy{top:20px;width:108px}.proof-node .name{font-size:10.5px;color:#b1c3d3;font-weight:400;line-height:1.12;opacity:1}.proof-node .profile{font-size:9px;margin-top:3px}
.game-node.has-variants .name:after{font-size:17px;line-height:8px;margin-left:3px;color:#d3b274}
.game-node.selected:before{width:42px;height:42px;top:-5px;left:-3px;border:1.5px solid #d7bd85;background:#c1a66309}.proof-node.selected:before{width:24px;height:24px;top:-3px;left:-3px}.game-node.selected .name{color:#f3daa4}.game-node.related .name{color:#eef4fa}.game-node.dim{opacity:1}.game-node.dim>.preview,.game-node.dim>.proof-dot{opacity:.4}.game-node.dim .name{color:#8296a8}.game-node.dim .profile{opacity:.65}
.edge .stroke{stroke:#8cbace;stroke-width:1.6;opacity:.66;stroke-linecap:round;fill:none;pointer-events:none}.edge .hit{stroke-width:11;stroke:transparent;fill:none;pointer-events:stroke}.edge.related .stroke{stroke:#a7d1e0;stroke-width:1.9;opacity:.95}.edge.direct .stroke{stroke-width:2.25;opacity:1}.edge.change .stroke,.edge.related.change .stroke{stroke:#e2b775;stroke-dasharray:6 5}.edge.restriction .stroke,.edge.related.restriction .stroke{stroke:#bca6ec;stroke-dasharray:1 5;stroke-width:2}.edge.selected .stroke,.edge:hover .stroke,.edge:focus .stroke{stroke-width:2.4;opacity:1}.edge.dim{opacity:.2}
.map-footer{left:24px;right:24px;bottom:29px}.legend{font-size:10px;gap:16px}.legend b{border-top-width:1.6px}.map-meta{bottom:9px;font-size:10px}.map-meta>span:last-child{max-width:none}.camera button{font-size:13px}
#detail{top:84px;bottom:67px;background:#151f2cfa;border-color:#344658;box-shadow:0 14px 40px #0005}.detail-controls{background:#151f2cfa}.result.P{color:#72d6bd}.result.NP{color:#f3c279}.result.PSPACE{color:#bca6ec}.result.EXPTIME{color:#f18c98}.result.CONP{color:#eba1cb}.result.OTHER{color:#b5c9de}.steps{color:#c1d3df}
.nearby{margin:17px 0 20px;padding-left:11px;border-left:1px solid #678a9f}.nearby p{font-size:12px!important;margin:0 0 4px!important;color:#91aabe!important}.nearby>div{display:flex;flex-wrap:wrap;gap:0 10px}.nearby button{padding:3px 0;font-size:12px;color:#aed1e2;text-decoration:underline;text-underline-offset:3px}.nearby #focus-connections{margin-top:7px;display:block;text-decoration:none;font-weight:600}
#list .profile{justify-content:flex-start;font-size:11px}.schematic{background:#101a24}
#scene3d{position:absolute;inset:0;z-index:0;width:100%;height:100%}#scene3d canvas{display:block;width:100%;height:100%;touch-action:none}
.spatial #map-labels{z-index:1}.spatial .region{color:#879aae;font-size:12px;border:0;letter-spacing:1px;text-shadow:0 0 8px #0c121b;background:#0c121b88;border-radius:3px;padding:3px 6px}
.spatial .game-node{width:22px;height:22px}.spatial .game-node>.preview,.spatial .game-node>.proof-dot{display:none}.spatial .node-copy{top:-8px;left:19px;transform:none;width:131px;text-align:left;line-height:1.15}.spatial .profile{justify-content:flex-start;font-size:10px}.spatial .name{font-size:11px}.spatial .proof-node .node-copy{top:-9px;left:15px;width:120px}.spatial .proof-node .name{font-size:10px}.spatial .proof-node .profile{font-size:9px}.spatial .game-node.selected:before{display:none}
#status{position:fixed;z-index:30;bottom:78px;left:24px;max-width:340px;padding:12px 16px;border:1px solid #5b7590;border-radius:5px;background:#192738;font-size:13px;color:#d9e7f3}
.overview .game-node .node-copy{width:100px}.overview .game-node .name{font-size:11px}.overview .profile{font-size:9px}.overview .proof-node .name{font-size:10px}.overview .proof-node .profile{font-size:8.5px}
@media(max-width:900px){header{padding:12px 16px;gap:8px}.brand{font-size:20px}.search-wrap{width:185px}.view-switch button{padding:5px 7px}#detail{width:330px}}
@media(max-width:600px){header{height:116px;padding:12px 14px;gap:8px}.brand{width:auto;flex:1;font-size:20px;order:0}.view-switch{order:1}#help-button{order:2;margin:0}.search-wrap{order:3;flex:1;width:auto}#filter-button{order:4}#map-shell{height:calc(100dvh - 116px);min-height:470px}.hint{left:15px;right:12px;font-size:11px}#viewport{inset:33px 0 72px}#detail{top:auto;bottom:8px;left:8px;right:8px;width:auto;max-height:57dvh}#filters{top:111px}.map-footer{left:14px;right:14px;bottom:34px}.legend{font-size:9px;gap:5px 10px}.map-meta{left:15px;right:15px;font-size:9px;bottom:10px}.map-meta>span:last-child{max-width:165px}.game-node .node-copy{width:125px}.game-node .name{font-size:12px}.profile{font-size:10px}.proof-node .name{font-size:10.5px}.proof-node .profile{font-size:9px}#status{left:12px;right:12px;max-width:none;bottom:76px}}

/* Center labels on the spatial markers. During orbit, suppress collisions only. */
.spatial .node-copy,.spatial .proof-node .node-copy{top:25px;left:50%;transform:translateX(-50%);width:116px;text-align:center}
.spatial .profile{justify-content:center}.spatial .label-quiet .node-copy{opacity:0;pointer-events:none}
.spatial .label-quiet:hover,.spatial .label-quiet:focus-visible{z-index:200!important}
.spatial .label-quiet:hover .node-copy,.spatial .label-quiet:focus-visible .node-copy{opacity:1;pointer-events:auto;background:#0c121be8;border-radius:3px}

/* Map controls stay anchored independently of the camera. */
#map-tools{position:absolute;top:10px;left:16px;z-index:12}
#filter-button{font-size:14px;color:#dce6ef;background:#16212eea;border:1px solid #3c4c5f;padding:7px 11px}
#filter-count{font-size:12px;color:#b7c9d9;margin-left:3px}
#filters{position:absolute;top:43px;left:0;right:auto;width:254px;max-height:calc(100dvh - 205px);overflow:auto;padding:16px;background:#141f2efa;border-color:#3c5065}
#filters fieldset{border:0;border-bottom:1px solid #314052;padding:0 0 12px;margin:0 0 12px;min-width:0}
#filters legend{font-size:14px;font-weight:650;color:#e3edf5;margin-bottom:7px;padding:0}
#filters label{display:flex;justify-content:flex-start;gap:9px;margin:0;padding:4px 0;font-size:13px;color:#becddb;line-height:1.3;cursor:pointer}
#filters input[type=checkbox]{width:15px;height:15px;flex:0 0 15px;padding:0;margin:0;accent-color:#91c5d4}
#filters .filter-note{font-size:12px;line-height:1.4;color:#91a7ba;margin:4px 0 12px}
.filter-actions{border:0;padding:0;font-size:12px}.hint{left:126px;top:18px;font-size:12px}
.region{font-size:16px;font-weight:600;letter-spacing:.15px;color:#c6d6e5;border-bottom:1px solid #41556b;padding:0 8px 9px}
.spatial .region{font-size:15px;color:#b1c5d7;letter-spacing:.1px}
.brand{font-size:24px;letter-spacing:-.55px}#detail h1{font-size:28px;letter-spacing:-.5px;font-weight:600}#detail h2{font-size:16px;letter-spacing:0}
.game-node.filter-muted .preview,.game-node.filter-muted .proof-dot{filter:grayscale(1);opacity:.28}
.game-node.filter-muted .name{color:#65778a}.game-node.filter-muted .profile{opacity:.42;filter:grayscale(1)}.profile .result-muted{color:#687b8e;opacity:.6}
.game-node.filter-muted:hover .name,.game-node.filter-muted:focus-visible .name{color:#dce6ef}.edge.filter-muted{pointer-events:none;opacity:.12}.edge.filter-muted .stroke{stroke:#8395a5;opacity:.5}
.spatial #lines{display:none!important;pointer-events:none!important}
@media(max-width:600px){.hint{left:116px;top:18px;right:12px;font-size:10px}#map-tools{left:12px}#filters{top:41px;max-height:calc(100dvh - 260px);width:248px}.region{font-size:15px}.brand{font-size:21px}}

.variant-links button{display:block;width:100%;padding:10px 0;text-align:left;border-radius:0;border-bottom:1px solid #304254;font-size:13px;line-height:1.35;color:#d0dfeb}.variant-links small{display:block;color:#98b5c9;font-size:12px;margin-top:4px}.more-variants summary{color:#c2d7e7}.open-result{color:#e2b775}.variant-connection{font-size:13px!important}.variant-connection button{display:block;text-align:left;color:#91c5d4;padding:6px 0;font-size:13px}.family-return{color:#9acbd8;font-size:13px;margin-top:16px;padding-left:0}

/* Compact labels leave room for the expanded fixed map. */
.spatial .node-copy,.spatial .proof-node .node-copy{width:96px}.spatial .profile{font-size:9px}#focus-selection{font-size:12px;color:#a9c9d9;margin-left:auto;margin-right:12px}.overview .preview{width:30px;height:30px}.overview .game-node .node-copy{top:34px}

/* A map gesture never selects page text. Explanations remain copyable. */
#viewport,#viewport *,#variant-surface,#variant-surface *,#map-return{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}#viewport{touch-action:none}#detail,#guide{user-select:text;-webkit-user-select:text}.class-OPEN,.result.OPEN{color:#d4b98d}
/* Reuse the small SVG previews as camera-facing overlays. Orbit only moves them. */
.spatial .game-node:not(.proof-node){width:30px;height:30px}.spatial .game-node>.preview{display:block;width:30px;height:30px;pointer-events:none;background:#0c121bd9;border-radius:4px}.spatial .game-node>.proof-dot{display:none}.spatial .game-node:not(.proof-node) .node-copy{top:31px}.spatial .game-node.selected>.preview{outline:1.5px solid #e2b775;outline-offset:2px}.profile span{white-space:normal}
