.a36-page .a36-demo{min-width:0;margin:20px 0 48px;scroll-margin-top:100px}.a36-page .a36-demo h2{margin:12px 0 18px;font-size:clamp(1.65rem,3vw,2.45rem);line-height:1.15}.a36-page .a36-demo p{color:#b8c9d4;line-height:1.7}.a36-page .a36-demo button,.a36-page .a36-demo input,.a36-page .a36-demo select{touch-action:manipulation}:is(.a36-page .a36-demo button:focus-visible,.a36-page .a36-demo input:focus-visible,.a36-page .a36-demo select:focus-visible,.a36-page .a36-demo svg:focus-visible){outline-offset:4px;outline:3px solid #ffbc8d}.a36-copy{min-width:0}.a36-control-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:18px;margin:24px 0;display:grid}.a36-control-grid>label:not(.a36-check),.a36-range{color:#e5efef;gap:9px;min-width:0;display:grid}.a36-control-grid select{color:#eef6f4;width:100%;min-width:0;min-height:46px;font:inherit;background:#101f2a;border:1px solid #5e7889;border-radius:8px;padding:9px 12px}.a36-check{color:#e5efef;align-items:center;gap:10px;min-height:46px;line-height:1.5;display:flex}.a36-check input{accent-color:#8de1ce;flex:none;width:22px;height:22px}.a36-dice-figure{background:#0b1520;border:1px solid #36515f;border-radius:14px;grid-template-columns:130px repeat(2,minmax(0,1fr));align-items:center;gap:18px;margin:26px 0;padding:22px;display:grid}.a36-dice-figure>div{gap:5px;min-width:0;display:grid}.a36-dice-figure small,.a36-dice-figure span{color:#a9bdcb}.a36-dice-figure strong{color:#8de1ce;font-variant-numeric:tabular-nums;font-size:clamp(1.35rem,4vw,2.25rem)}.a36-die{background:#eef7f8;border-radius:18px;grid-template-columns:repeat(3,1fr);gap:8px;width:112px;height:112px;padding:16px;display:grid}.a36-die i{background:0 0;border-radius:50%}.a36-die i[data-visible=true]{background:#142633}.a36-chart-key{color:#b8c9d4;flex-wrap:wrap;gap:20px;margin:18px 0 10px;font-size:.85rem;display:flex}.a36-chart-key span{align-items:center;gap:7px;display:flex}.a36-chart-key i{width:26px;height:8px;display:inline-block}.a36-chart-key i[data-kind=theory]{background:#8de1ce}.a36-chart-key i[data-kind=sample]{background:#ff8077}.a36-dice-chart{background:#0b1520;border:1px solid #36515f;border-radius:12px;gap:6px;padding:16px;display:grid}.a36-dice-row{color:#c5d3dc;font-variant-numeric:tabular-nums;grid-template-columns:32px minmax(0,1fr) 94px;align-items:center;gap:10px;min-width:0;font-size:.8rem;display:grid}.a36-dice-row>span:last-child{text-align:right}.a36-dice-bars{gap:3px;min-width:0;display:grid;position:relative}.a36-dice-bars i{border-radius:0 3px 3px 0;min-width:1px;height:7px;display:block}.a36-dice-bars i[data-kind=theory]{background:#8de1ce}.a36-dice-bars i[data-kind=sample]{background:#ff8077}.a36-match-board{background:#0b1520;border:1px solid #526e7b;border-radius:14px;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;width:min(100%,430px);margin:26px auto;padding:11px;display:grid}.a36-match-board button{aspect-ratio:1;min-width:0;font:inherit;cursor:pointer;background:#172c38;border:2px solid #0000;border-radius:9px;place-items:center;padding:0;font-size:clamp(1rem,4vw,1.8rem);display:grid}.a36-match-board button[data-tile="1"]{color:#8de1ce}.a36-match-board button[data-tile="2"]{color:#ff8077}.a36-match-board button[data-tile="3"]{color:#f2c879}.a36-match-board button[data-tile="4"]{color:#cbb7ff}.a36-match-board button[data-tile="5"]{color:#87c8ff}.a36-match-board button[data-selected=true]{background:#354453;border-color:#fff1c7}.a36-match-board button:disabled{opacity:1;cursor:default}.a36-cascade-panel,.a36-statistics{background:#101d2a;border:1px solid #36515f;border-radius:12px;margin:22px 0;padding:18px}.a36-cascade-panel ol{color:#d5e2e9;gap:8px;padding-left:24px;line-height:1.5;display:grid}.a36-statistics h3{margin-top:0}.a36-stat-bars{gap:9px;margin:20px 0;display:grid}.a36-stat-bars>div{grid-template-columns:88px minmax(0,1fr) 38px;align-items:center;gap:10px;font-size:.82rem;display:grid}.a36-stat-bars i{background:#8de1ce;border-radius:0 4px 4px 0;min-width:2px;height:12px;display:block}.a36-stat-bars strong{text-align:right;font-variant-numeric:tabular-nums}.a36-angle-readout{color:#b8c9d4;flex-wrap:wrap;align-items:baseline;gap:10px 18px;margin:20px 0 12px;display:flex}.a36-angle-readout output{color:#8de1ce;font-variant-numeric:tabular-nums;font-size:2.5rem;font-weight:750}.a36-bounce-room{touch-action:none;cursor:crosshair;background:#0b1520;border:2px solid #668894;border-radius:12px;width:100%;height:auto;display:block}.a36-room-surface{fill:#0b1520}.a36-room-grid{stroke:#243746;stroke-width:1px;stroke-dasharray:4 8}.a36-bounce-path{fill:none;stroke:#8de1ce;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.a36-bounce-hit{fill:#ff8077;stroke:#0b1520;stroke-width:2px}.a36-bounce-start{fill:#f2c879;stroke:#0b1520;stroke-width:3px}.a36-bounce-room text{fill:#f2c879;letter-spacing:1px;font:700 14px Helvetica,Arial,sans-serif}.a36-range{margin:22px 0}.a36-range input{accent-color:#8de1ce;width:100%}.a36-mirror-figure{background:#0b1520;border:1px solid #36515f;border-radius:12px;margin:22px 0;padding:14px}.a36-mirror-figure svg{width:100%;max-height:480px;display:block}.a36-mirror-room{fill:#142633;stroke:#547280;stroke-width:2px}.a36-original-room{fill:#193b3a;stroke:#8de1ce}.a36-unfolded-path{fill:none;stroke:#8de1ce;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.a36-mirror-figure figcaption{color:#b8c9d4;margin-top:10px;font-size:.85rem;line-height:1.6}.a36-untangle-score{color:#b8c9d4;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin:22px 0 12px;display:flex}.a36-untangle-score strong{color:#8de1ce;font-variant-numeric:tabular-nums;font-size:3rem}.a36-untangle-board{aspect-ratio:5/3;touch-action:none;background:#0b1520;border:1px solid #526e7b;border-radius:14px;width:100%;position:relative;overflow:hidden}.a36-untangle-board svg{width:100%;height:100%;position:absolute;inset:0}.a36-untangle-board line{stroke:#8de1ce;stroke-width:3px}.a36-untangle-board line[data-crossing=true]{stroke:#ff8077}.a36-untangle-node{color:#142633;cursor:grab;touch-action:none;background:#f2c879;border:3px solid #0b1520;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;font:750 1rem Helvetica,Arial,sans-serif;display:grid;position:absolute;transform:translate(-50%,-50%)}.a36-untangle-node[aria-pressed=true]{background:#cbb7ff;box-shadow:0 0 0 3px #eef7f8}.a36-untangle-node:active{cursor:grabbing}.a36-page .article-sources li{overflow-wrap:anywhere;margin-bottom:10px;line-height:1.65}@media (max-width:600px){.a36-control-grid{grid-template-columns:minmax(0,1fr);gap:8px}.a36-dice-figure{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:16px}.a36-dice-figure>div:last-child{grid-column:1/-1}.a36-die{border-radius:13px;gap:5px;width:84px;height:84px;padding:12px}.a36-dice-chart{padding:10px 8px}.a36-dice-row{grid-template-columns:27px minmax(0,1fr) 80px;gap:6px;font-size:.7rem}.a36-match-board{gap:4px;padding:7px}.a36-match-board button{border-radius:6px}.a36-untangle-node{border-width:2px;width:36px;height:36px;font-size:.85rem}}@media (prefers-reduced-motion:reduce){.a36-page *,.a36-page :before,.a36-page :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
