.ico .ico-t { fill: var(--ink); font-family: var(--f-display); }
.ico .ico-cap { fill: var(--ink-2); font-family: var(--f-display); font-weight: 600; }
.ico .ico-s { stroke: var(--ink); }
.ico .ico-f, .ico .ico-on { fill: var(--ink); }
.ico .ico-edge { stroke: var(--key-edge); stroke-width: 1.5; }
.ico .ico-grip { stroke: var(--key-grip); }
.ico .ico-arr { fill: var(--key-mark); }
.ico .ico-arr-on { fill: var(--ground); }
.ico .ico-standby { fill: var(--standby); }
.st-disc-hi { stop-color: var(--disc-hi); }
.st-disc-lo { stop-color: var(--disc-lo); }
.st-key-hi { stop-color: var(--key-hi); }
.st-key-lo { stop-color: var(--key-lo); }
.st-cap-lo { stop-color: var(--cap-lo); }
.st-cap-hi { stop-color: var(--cap-hi); }
.gl-triangle { stroke: var(--tri); }
.gl-circle { stroke: var(--cir); }
.gl-cross { stroke: var(--crs); }
.gl-square { stroke: var(--sqr); }
.mono .gl { stroke: var(--ink); }
.ico .glx { font-family: var(--f-display); }
.glx-a { fill: var(--xbox-a); }
.glx-b { fill: var(--xbox-b); }
.glx-x { fill: var(--xbox-x); }
.glx-y { fill: var(--xbox-y); }
.mono .glx { fill: var(--ink); }
.ico .glx-on { font-family: var(--f-display); fill: var(--ground); }
.mono .glx-dome { fill: none; }
.mono .glx-on { fill: var(--ink); }
.mono [data-challenge] .gl-triangle { stroke: var(--tri); }
.mono [data-challenge] .gl-circle { stroke: var(--cir); }
.mono [data-challenge] .gl-cross { stroke: var(--crs); }
.mono [data-challenge] .gl-square { stroke: var(--sqr); }
.mono [data-challenge] .glx-a { fill: var(--xbox-a); }
.mono [data-challenge] .glx-b { fill: var(--xbox-b); }
.mono [data-challenge] .glx-x { fill: var(--xbox-x); }
.mono [data-challenge] .glx-y { fill: var(--xbox-y); }
.mono [data-challenge] .glx-on { fill: var(--ground); }
.t-dg { width: min(100%, 440px); margin-inline: auto; }
.dg { display: block; width: 100%; height: auto; overflow: visible; }
.dg .dg-body { fill: var(--raised); stroke: var(--line-2); stroke-width: 2; }
.dg .dg-light { fill: none; stroke: var(--accent-fg); stroke-width: 2.5; stroke-linecap: round; opacity: .5; }
.dg .dg-lightbar { fill: color-mix(in srgb, var(--accent-fg) 30%, transparent); stroke: color-mix(in srgb, var(--accent-fg) 55%, transparent); stroke-width: 1; }
.dg .dg-grille { fill: var(--line-2); }
.dg .dg-seam { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-linecap: round; opacity: .8; }
.dg .dg-slot { fill: none; stroke: var(--line-2); stroke-width: 2.5; stroke-linecap: round; }
.dg .dg-btn { fill: var(--panel); stroke: var(--line-2); stroke-width: 1.2; }
.dg .dg-pad { fill: color-mix(in srgb, var(--ground) 45%, var(--raised)); stroke: var(--line-2); stroke-width: 1.5; }
.dg .dg-well { fill: var(--ground); stroke: var(--line-2); stroke-width: 1.5; }
.dg .dg-key, .dg .dg-trig { fill: url(#g-key) var(--key-lo); stroke: var(--key-edge); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dg .dg-arrow { fill: var(--key-mark); }
.dg .dg-name { fill: var(--ink); font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: .02em; paint-order: stroke; stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round; }
.dg .dg-halo { fill: none; stroke: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.dg .dg-c.on .dg-halo { fill: color-mix(in srgb, var(--accent) 24%, transparent); stroke: var(--accent-fg); }
.dg .dg-c.on .dg-key { fill: var(--ink); }
.dg .dg-c.on .dg-key ~ .dg-name { fill: var(--ground); stroke: var(--ink); }
.dg .dg-c.on .dg-arrow { fill: var(--ground); }
.dg .dg-x { display: none; fill: none; stroke: var(--bad); stroke-width: 3; stroke-linecap: round; }
.dg .dg-c.na { opacity: .35; }
.dg .dg-c.na .dg-x { display: inline; }
.dg .dg-depth { fill: var(--ring); opacity: .85; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.dg-art .dga-near { stop-color: var(--ink); stop-opacity: .17; }
.dg-art .dga-far { stop-color: var(--ink); stop-opacity: 0; }
.dg-art .dg-c.na { opacity: 1; }
.dg-art .dg-c.na .dga-p { opacity: .3; }
.dg-art .dg-hl, .dg-art .dg-hl-case, .dg-art .dga-gauge { display: none; fill: none; vector-effect: non-scaling-stroke; }
.dg-art .dg-c.on .dg-hl-case { display: inline; stroke: rgb(0 0 0 / .62); stroke-width: 6.5; }
.dg-art .dg-c.on .dg-hl { display: inline; fill: color-mix(in srgb, var(--accent-fg) 22%, transparent); stroke: var(--accent-fg); stroke-width: 3; }
.dg-art .dg-c.on .dga-gauge { display: inline; fill: rgb(0 0 0 / .5); stroke: var(--accent-fg); stroke-width: 2; }
.dg-art .dg-c.na .dga-gauge { display: inline; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 3 3; }
