.tp-game{--tp-ink: #292524;--tp-paper: #fff;--tp-board: #f0ede7;--tp-track: #d4cec3;--tp-muted: #625b53;--tp-accent: #864f2c;color:var(--tp-ink);scrollbar-width:none}.tp-game::-webkit-scrollbar{display:none}.dark .tp-game{--tp-ink: #f5f1e9;--tp-paper: #242321;--tp-board: #302e2a;--tp-track: #645d52;--tp-muted: #c6beb2;--tp-accent: #efbd80}.tp-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:28px}.tp-game button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:650;border-radius:10px;padding:10px 14px;background:var(--tp-paper);color:var(--tp-ink);border:1px solid var(--tp-track)}.tp-game button:enabled:hover{border-color:var(--tp-accent);background:var(--tp-board)}.tp-game button:disabled{opacity:.45;cursor:not-allowed}.tp-levels button{min-height:72px;justify-content:flex-start;gap:11px;border-radius:12px;padding:10px 12px;text-align:left}.tp-levels button[aria-current]{border-color:var(--tp-accent);box-shadow:inset 0 0 0 1px var(--tp-accent)}.tp-level-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:var(--tp-board);color:var(--tp-muted);font-size:12px;font-variant-numeric:tabular-nums}.tp-levels button[aria-current] .tp-level-number{background:var(--tp-accent);color:#fff}.tp-level-copy{display:flex;min-width:0;flex-direction:column}.tp-level-copy strong{font-size:13px;white-space:nowrap}.tp-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;align-items:start}.tp-level-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.tp-level-title h2{font-size:20px;line-height:1.25;font-weight:750;letter-spacing:-.02em}.tp-level-title>span{color:var(--tp-muted);font-size:12px}.tp-stats{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--tp-muted);padding:14px 0 4px}.tp-stats strong{color:var(--tp-ink);font-size:15px;font-variant-numeric:tabular-nums}.tp-board{display:block;width:100%;height:auto;overflow:visible}.tp-board-base{fill:var(--tp-board)}.tp-coordinates{fill:var(--tp-muted);font-size:11px}.tp-hole{fill:var(--tp-track)}.tp-rail{stroke:var(--tp-track);stroke-width:12}.tp-tile{fill:var(--tp-paper);stroke:var(--tp-track);stroke-width:1.5}.tp-component{fill:#f3dfbf;stroke:#a16a30}.dark .tp-component{fill:#604125;stroke:#c99a5f}.tp-selected{stroke:var(--tp-ink);stroke-width:3}.tp-changed{fill:#d8ebdd;stroke:#34704d}.dark .tp-changed{fill:#284c36;stroke:#83bc96}.tp-fan{stroke-dasharray:4 3}.tp-goal{fill:#34704d;stroke:#34704d}.tp-goal+text{fill:#fff}.tp-start{fill:#e2d7c7}.dark .tp-start{fill:#504639}.tp-direction{font-size:22px;font-weight:700;fill:var(--tp-ink)}.tp-part-id{font-size:11px;font-weight:700;fill:var(--tp-ink)}.tp-fan-state{font-size:11px;font-weight:800;fill:var(--tp-ink)}.tp-change-dot{fill:#34704d;stroke:var(--tp-paper);stroke-width:1.5}.dark .tp-change-dot{fill:#83bc96}.tp-selectable{cursor:pointer}.tp-jump-preview{fill:none;stroke:var(--tp-accent);color:var(--tp-accent);stroke-width:1.7;stroke-dasharray:4 3;pointer-events:none}.tp-trace{fill:none;stroke:#b56828;stroke-width:4;stroke-linejoin:round;stroke-linecap:round;opacity:.7;pointer-events:none}.dark .tp-trace{stroke:#edbe7f}.tp-ball{fill:var(--tp-ink);stroke:var(--tp-paper);stroke-width:3}.tp-ball-arrow{fill:var(--tp-paper);font-size:14px;font-weight:700}.tp-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;font-size:11px;color:var(--tp-muted)}.tp-legend span{display:inline-flex;align-items:center;gap:5px}.tp-legend-dot{width:7px;height:7px;border-radius:50%;background:#34704d}.tp-task{font-size:16px;line-height:1.5;margin-bottom:20px}.tp-parts,.tp-settings{min-width:0}.tp-game legend{font-size:13px;font-weight:700;margin-bottom:8px}.tp-parts>div{display:flex;gap:8px}.tp-parts button{flex:1;flex-wrap:wrap;gap:4px 7px;padding:9px}.tp-parts button span{font-size:12px;font-weight:400}.tp-parts button small{width:100%;color:var(--tp-accent);font-size:10px}.tp-game button[aria-pressed=true]{border-color:var(--tp-accent);box-shadow:inset 0 0 0 1px var(--tp-accent)}.tp-settings{margin-top:22px}.tp-settings legend span{font-weight:400;color:var(--tp-muted)}.tp-settings p{font-size:12px;line-height:1.6;color:var(--tp-muted);margin-bottom:10px}.tp-settings>div{display:flex;gap:8px}.tp-settings button{flex:1;display:grid;grid-template-columns:auto auto;gap:0 8px;padding:8px 12px}.tp-settings button b{grid-row:span 2;align-self:center;font-size:22px}.tp-settings button small{font-weight:400;font-size:10px;text-align:left;color:var(--tp-muted)}.tp-notice{min-height:44px;font-size:12px;line-height:1.5;margin:16px 0 8px;color:var(--tp-muted)}.tp-actions{display:flex;flex-direction:column;gap:8px}.tp-game .tp-primary{background:#864f2c;color:#fff;border-color:#864f2c;width:100%}.tp-game .tp-primary:enabled:hover{background:#6d3f23;color:#fff}.tp-primary span{font-size:11px;font-weight:400;margin-left:auto}.tp-secondary-actions{display:flex;flex-wrap:wrap;gap:8px}.tp-secondary-actions button{flex:1;padding:8px;font-size:12px}.tp-repeat{font-size:11px;color:var(--tp-muted)}.tp-hints{border-top:1px solid var(--tp-track);margin-top:18px;padding-top:12px}.tp-game .tp-hints>button{border:0;background:transparent;padding-left:0}.tp-hint-tabs{display:inline-flex;gap:6px;margin-left:8px}.tp-hint-tabs button{padding:8px}.tp-hints p{font-size:13px;line-height:1.6;padding-bottom:10px}.tp-session-note{color:var(--tp-muted);font-size:11px;line-height:1.6;margin-top:10px}.tp-result{border-top:2px solid var(--tp-accent);margin:0 0 18px;padding-top:12px}.tp-result h3{font-size:20px;font-weight:750;line-height:1.3}.tp-result p{margin-top:8px;font-size:12px;line-height:1.6}.tp-result-success h3{color:#34704d}.dark .tp-result-success h3{color:#a0d8af}.tp-copy-text{width:100%;min-height:140px;margin-top:12px;padding:12px;border:1px solid var(--tp-track);border-radius:8px;background:var(--tp-paper);font-size:13px}.tp-text-board{margin-top:28px;border-block:1px solid var(--tp-track);padding:14px 0;color:var(--tp-muted);font-size:12px;line-height:1.7}.tp-text-board summary{min-height:32px;cursor:pointer;font-weight:600}.tp-text-board p{margin-top:10px}.tp-challenge-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--tp-track)}.tp-challenge-identity{min-width:0}.tp-dayline{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.tp-dayline h2{font-size:clamp(26px,3vw,34px);font-weight:800;letter-spacing:-.03em;line-height:1}.tp-dayline time,.tp-dayline>span{color:var(--tp-muted);font-size:13px}.tp-mode-nav{display:grid;grid-template-columns:repeat(2,minmax(84px,1fr));gap:2px;min-width:180px;padding:2px;border:1px solid var(--tp-track);border-radius:10px;background:var(--tp-board)}.tp-mode-nav a{min-height:38px;display:flex;align-items:center;justify-content:center;border-radius:7px;color:var(--tp-muted);font-size:12px;font-weight:650;line-height:1.2}.tp-mode-nav a[aria-current]{background:var(--tp-paper);color:var(--tp-accent);box-shadow:0 1px 3px #2925241a}.tp-mode-nav a:not([aria-current]){opacity:.7}.tp-mode-nav a[aria-disabled=true]{opacity:.5;cursor:not-allowed}.tp-levels-heading strong{font-size:15px;font-variant-numeric:tabular-nums}.tp-levels-heading{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}.tp-levels-heading>span{color:var(--tp-muted);font-size:12px}.tp-rollover,.tp-storage-message{font-size:13px;line-height:1.6;margin:12px 0 20px}.tp-rollover a,.tp-next-reset a{text-decoration:underline;text-underline-offset:4px}.tp-game .tp-action-link{flex:1;display:flex;align-items:center;justify-content:center;font-size:12px;min-height:48px;padding:8px;text-decoration:underline}.tp-parts>div{flex-wrap:wrap}.tp-parts button{min-width:88px}.tp-daily-result{margin-top:32px;border-top:1px solid var(--tp-track);padding-top:20px}.tp-summary-line{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:var(--tp-muted);font-size:12px;line-height:1.65}.tp-summary-line span+span{position:relative}.tp-summary-line span+span:before{content:"·";position:absolute;left:-11px;color:var(--tp-track)}.tp-daily-result ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.tp-daily-result li{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--tp-track);padding-top:12px;font-size:13px}.tp-daily-result li span,.tp-daily-result li small{color:var(--tp-muted);font-size:12px}.tp-next-reset{color:var(--tp-muted);padding-top:12px}.tp-archive-intro{max-width:60ch;line-height:1.7;margin:22px 0}.tp-archive-list{border-top:1px solid var(--tp-track)}.tp-archive-list li{border-bottom:1px solid var(--tp-track)}.tp-archive-list a{min-height:92px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0}.tp-archive-list a:hover{color:var(--tp-accent)}.tp-archive-list a>span{display:flex;flex-direction:column;gap:6px}.tp-archive-list a>span:last-child{font-size:12px;text-align:right;color:var(--tp-muted)}.tp-archive-list time{font-size:18px;font-weight:700}.tp-archive-list small{color:var(--tp-muted);font-size:12px}.tp-empty{padding:36px 0;border-block:1px solid var(--tp-track)}.tp-empty h2{font-size:24px;font-weight:750}.tp-empty p{margin:14px 0 20px;line-height:1.7}.tp-empty a{text-decoration:underline}.tp-share{--tp-track: #d4cec3;--tp-paper: #fff}.dark .tp-share{--tp-track: #645d52;--tp-paper: #242321}.tp-share-image{display:block;width:100%;height:auto;border-radius:12px}.tp-share-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.65 system-ui,sans-serif;margin:18px 0}.tp-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tp-share-actions :is(button,a){display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px;font-size:13px;font-weight:650;border:1px solid var(--tp-track);border-radius:10px}.tp-share-actions svg{flex-shrink:0}.tp-share-actions :is(button,a):hover{background:#f0ede7;color:#292524}.dark .tp-share-actions :is(button,a):hover{background:#302e2a;color:#f5f1e9}.tp-share-actions .tp-primary{background:#864f2c;color:#fff;border-color:#864f2c}.tp-share-message{font-size:13px;line-height:1.65;min-height:24px;margin-top:14px}.tp-share .tp-copy-text{color:inherit}@media (max-width: 639px){.tp-challenge-header{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:20px;padding-bottom:16px}.tp-mode-nav{width:100%;min-width:0}.tp-mode-nav a{min-height:42px}.tp-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.tp-machine{width:100%;max-width:440px;margin-inline:auto}.tp-controls{width:100%}.tp-levels{gap:7px;margin-bottom:24px}.tp-levels button{min-height:68px;gap:7px;padding:8px}.tp-level-number{width:26px;height:26px;flex-basis:26px;font-size:11px}.tp-level-copy strong{font-size:11px}.tp-level-copy small{font-size:10px}.tp-level-title h2{font-size:19px}.tp-task{margin-bottom:16px;font-size:14px}.tp-summary-line{gap:14px}.tp-share-actions{grid-template-columns:minmax(0,1fr)}}@media (max-width: 359px){.tp-level-copy strong{font-size:0}.tp-level-copy strong:after{content:"Machine";font-size:10px}}
