.loop-link-page .loop-link-card{width:fit-content;max-width:100%}.loop-link-page .seg button{min-height:44px}.loop-link-frame{border-radius:12px;width:min(100vw - 72px,560px);max-width:100%;overflow:hidden}.loop-link-board{background:var(--paper);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:12px;width:100%;height:auto;display:block}.loop-link-surface{fill:#0000;pointer-events:all;cursor:crosshair}.loop-link-grid-line{stroke:var(--puzzle-line);stroke-width:1px;vector-effect:non-scaling-stroke;pointer-events:none}.loop-link-grid-line--strong{stroke:var(--puzzle-line-strong)}.loop-link-point{fill:color-mix(in oklch, var(--paper-ink) 22%, var(--paper));pointer-events:none}.loop-link-edge{cursor:pointer;outline:none}.loop-link-edge-focus{fill:none;stroke:var(--amber-deep);stroke-width:7px;stroke-dasharray:2 7;stroke-linecap:round;opacity:0;pointer-events:none;vector-effect:non-scaling-stroke}.loop-link-edge.is-hover .loop-link-edge-focus{opacity:.4}.loop-link-edge:focus-visible .loop-link-edge-focus{opacity:1;stroke-width:8px}.loop-link-edge-line{fill:none;stroke:var(--paper-ink);stroke-width:5px;stroke-linecap:round;opacity:0;pointer-events:none;vector-effect:non-scaling-stroke}.loop-link-edge.is-line .loop-link-edge-line{opacity:1}.loop-link-edge.is-hinted .loop-link-edge-line{stroke:var(--amber-deep);opacity:1}.loop-link-edge-cross{opacity:0;pointer-events:none}.loop-link-edge-cross line{stroke:color-mix(in oklch, var(--paper-ink) 58%, var(--paper));stroke-width:2.4px;stroke-linecap:round;vector-effect:non-scaling-stroke}.loop-link-edge.is-cross .loop-link-edge-cross,.loop-link-edge.is-cross.is-hinted .loop-link-edge-cross{opacity:1}.loop-link-edge.is-cross.is-hinted .loop-link-edge-cross line,.loop-link-board.is-solved .loop-link-edge.is-line .loop-link-edge-line{stroke:var(--amber-deep)}.loop-link-clue{pointer-events:none}.loop-link-clue-ring{fill:none;stroke:var(--amber-deep);stroke-width:2.2px;opacity:0;vector-effect:non-scaling-stroke}.loop-link-clue.is-satisfied .loop-link-clue-ring{opacity:1}.loop-link-clue-number{fill:var(--paper-ink);font-family:var(--mono);font-variant-numeric:tabular-nums;text-anchor:middle;dominant-baseline:central;pointer-events:none;font-size:40px;font-weight:600}.loop-link-clue.is-satisfied .loop-link-clue-number{fill:var(--amber-deep)}.loop-link-clue.is-over .loop-link-clue-ring{stroke:var(--danger);stroke-dasharray:4 4;opacity:1}.loop-link-clue.is-over .loop-link-clue-number{fill:var(--danger)}.loop-link-error-point{fill:none;stroke:var(--danger);stroke-width:2px;stroke-dasharray:4 5;opacity:0;vector-effect:non-scaling-stroke;pointer-events:none}.loop-link-error-point.is-open{opacity:.75}.loop-link-error-point.is-branch{fill:color-mix(in oklch, var(--danger) 18%, transparent);stroke-width:2.6px;opacity:1}.loop-link-card #loop-link-state{color:var(--paper-muted)}.loop-link-card #loop-link-state.has-errors{color:color-mix(in oklch, var(--danger) 80%, var(--paper-ink))}.loop-link-page .board-hint{max-width:560px}.loop-link-page .win-dialog[open]{animation:none}@media (width<=640px){.loop-link-page .loop-link-card{padding:6px}.loop-link-frame{width:min(100vw - 56px,560px)}}@media (width<=360px){.loop-link-page .game-screen .board-hint{display:none}}@media (width<=380px){.loop-link-frame{width:calc(100vw - 64px)}}@media (width<=640px) and (height<=620px){.loop-link-page .game-screen .play-rail{gap:4px;padding:4px 0 6px}.loop-link-page .game-screen .play-cluster{flex-wrap:wrap;gap:6px}.loop-link-page .game-screen .game-label{width:100%;min-height:0;margin:0;font-size:10px;display:flex}.loop-link-page .game-screen .game-label span{letter-spacing:.04em;white-space:nowrap;font-size:9px}.loop-link-page .game-screen .play-cluster .btn-primary{flex:auto;min-width:0;padding-inline:10px}.loop-link-page .game-screen .play-cluster .mode-button{flex:0 auto;min-height:44px;padding-inline:10px}.loop-link-page .game-screen .play-cluster .seg{flex:none}.loop-link-page .game-screen .play-cluster .seg button{min-width:44px;min-height:44px;padding-inline:8px}.loop-link-page .game-screen .play-status{gap:5px;padding-top:2px;font-size:9px}.loop-link-page .game-screen .board-stage{padding-bottom:0}.loop-link-page .game-screen .board-card{border-radius:14px;padding:6px}.loop-link-page .game-screen .board-card__top,.loop-link-page .game-screen .board-hint{display:none}.loop-link-page .recovery-dock{gap:6px;padding:4px 0 2px}}@media (orientation:landscape) and (width<=1100px) and (height<=560px){.loop-link-page .site-header{display:none}.loop-link-page .game-screen{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) 196px;column-gap:12px;display:grid}.loop-link-page .game-screen .board-stage{grid-area:1/1/span 2;min-height:0;padding:0}.loop-link-page .game-screen .play-rail{flex-direction:column;grid-area:1/2;align-self:start;align-items:stretch;gap:6px;padding:6px 0}.loop-link-page .game-screen .play-cluster{flex-direction:column;align-items:stretch;gap:6px;width:100%}.loop-link-page .game-screen .game-label{width:auto;margin:0}.loop-link-page .game-screen .play-cluster .btn-primary,.loop-link-page .game-screen .play-cluster .mode-button{width:100%;min-width:0}.loop-link-page .game-screen .play-cluster .seg{grid-template-columns:repeat(2,1fr);display:grid}.loop-link-page .game-screen .play-status{flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding-top:0;font-size:10px}.loop-link-page .game-screen .play-status .sep{display:none}.loop-link-page .game-screen .recovery-dock{flex-wrap:wrap;grid-area:2/2;gap:4px;padding:4px 0}.loop-link-page .game-screen .recovery-dock .btn{flex:45%;min-height:44px}.loop-link-page .game-screen .board-hint{display:none}.loop-link-page .loop-link-card{width:auto;max-width:100%;padding:8px}.loop-link-page .loop-link-card .board-card__top{padding-bottom:4px}.loop-link-page .loop-link-frame{width:min(100svh - 120px,360px)}}.loop-link-page #loop-link-mode-sheet .sheet__close{width:44px;height:44px}@media (width<=640px){.loop-link-page .game-screen .game-label span{white-space:nowrap}.loop-link-page .game-screen .play-cluster .mode-button{padding-inline:8px;font-size:10px}}
