
/* V0.276 game-first campaign + hint-preview layer */
.thermo-flows,.thermo-campaignnav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.thermo-flows{margin:10px 0 8px}.thermo-flows a,.thermo-campaignnav a{border:1px solid var(--line);border-radius:999px;padding:8px 12px;text-decoration:none;color:var(--ink);font-weight:900;background:var(--card)}.thermo-flows a.active{outline:2px solid currentColor;outline-offset:1px}.thermo-campaignnav{justify-content:center;margin:0 0 10px}.thermo-campaignnav strong{min-width:110px;text-align:center}
.thermo-cell.context-row,.thermo-cell.context-col{border-color:color-mix(in srgb,currentColor 42%,var(--line))}.thermo-cell.context-path{box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 55%,transparent)}.thermo-cell.cursor-cell{outline:3px solid currentColor;outline-offset:-3px}.thermo-cell.hint-preview{animation:thermoHintPulse 1s ease-in-out infinite alternate;outline:3px solid #f59e0b;outline-offset:-3px}@keyframes thermoHintPulse{to{filter:brightness(1.15)}}
.thermo-hint-preview{max-width:760px;margin:8px auto 0;border:1px solid color-mix(in srgb,#f59e0b 50%,var(--line));background:color-mix(in srgb,#f59e0b 9%,var(--card));border-radius:12px;padding:10px 12px;display:none}.thermo-hint-preview.open{display:block}.thermo-hint-preview strong{display:block;margin-bottom:3px}.thermo-hint-preview p{margin:0;color:var(--muted)}
@media(max-width:700px){.thermo-shell.full{min-width:0;width:100%}.thermo-flows{gap:6px}.thermo-flows a{flex:1 1 28%;text-align:center;padding:7px 8px}.thermo-toolbar .btn{flex:1 1 18%}.mobile-dock{display:none!important}}
@media(max-width:470px){.thermo-hero p{display:none}.thermo-hero{margin-bottom:6px}.thermo-flows{margin-top:4px}.thermo-levels{margin-top:4px}.thermo-gamecard{padding-top:8px}.thermo-marking{margin-top:2px;margin-bottom:5px}.thermo-toolbar{margin-top:5px}.thermo-progress{margin-top:7px}.thermo-hint-preview{font-size:.88rem}.thermo-campaignnav{font-size:.84rem}}

/* V0.375 daily-first two-track habit layer */
.thermo-daily-tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 8px}.thermo-daily-tracks a{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:13px;padding:10px 12px;text-decoration:none;color:var(--ink);background:var(--card)}.thermo-daily-tracks a strong{font-size:.95rem}.thermo-daily-tracks a small{color:var(--muted);font-weight:800}.thermo-daily-tracks a.active{outline:2px solid currentColor;outline-offset:1px}.thermo-daily-tracks a.done small{color:var(--ink)}
.thermo-daily-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 9px}.thermo-day-chip{display:grid;place-items:center;gap:2px;border:1px solid var(--line);border-radius:10px;padding:6px 3px;text-decoration:none;color:var(--ink);background:var(--soft);min-width:0}.thermo-day-chip span{font-size:.7rem;color:var(--muted);white-space:nowrap}.thermo-day-chip strong{font-size:.78rem}.thermo-day-chip.selected{outline:2px solid currentColor;outline-offset:1px;background:var(--card)}.thermo-day-chip.complete{opacity:.68}.thermo-complete{max-width:760px;margin:10px auto 0;border:1px solid var(--line);border-radius:14px;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--soft)}.thermo-complete[hidden]{display:none}.thermo-complete p{margin:3px 0 0;color:var(--muted);font-size:.88rem}.thermo-complete .btn{white-space:nowrap;text-decoration:none}.thermo-daynav{justify-content:center}.thermo-daynav a{padding:7px 10px}.thermo-game-top{align-items:flex-start}.thermo-more>summary{color:var(--muted)}
@media(max-width:700px){.thermo-daily-tracks a{padding:8px 10px}.thermo-daily-week{gap:4px}.thermo-day-chip{padding:5px 2px}.thermo-day-chip span{font-size:.64rem}.thermo-complete{align-items:flex-start}.thermo-complete .btn{padding-left:10px;padding-right:10px}}
@media(max-width:470px){.thermo-daily-tracks{gap:6px}.thermo-daily-tracks a{display:grid;gap:1px}.thermo-daily-tracks a small{font-size:.7rem}.thermo-daily-week{grid-template-columns:repeat(7,minmax(38px,1fr));overflow-x:auto;padding:2px 1px 4px}.thermo-daynav{gap:5px}.thermo-daynav a{font-size:.78rem;padding:6px 8px}.thermo-complete{display:grid}.thermo-complete .btn{width:100%;text-align:center}.thermo-marking button{padding:7px 9px}.thermo-toolbar .btn{flex:1 1 28%}}

.thermo-shell.fit .thermo-grid{grid-template-columns:repeat(var(--n),minmax(0,1fr))}
@media(max-width:700px){.thermo-scroll{overflow-x:hidden}.thermo-shell.fit .thermo-cell{min-width:0}}
