.play-heatmap{position:relative;margin:30px 0 36px;padding:18px 24px;border:1px solid var(--line);background:var(--paper);color:var(--ink);min-width:0}.play-heatmap[hidden],.play-heatmap [hidden]{display:none}.heatmap-toolbar,.heatmap-body{width:100%;max-width:960px;margin-inline:auto}.heatmap-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:14px}.heatmap-year{margin-left:auto;flex:none;padding:6px 10px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);font-size:12px}.heatmap-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:4px}.heatmap-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.heatmap-chart{display:block;width:100%;min-width:836px;height:auto;overflow:visible}.heatmap-months,.heatmap-weekdays{fill:var(--muted);font-size:10px;font-family:inherit}.heatmap-cell{fill:#f7f3ed;stroke:#eee7dd;stroke-width:.7}.heatmap-legend i{display:block;width:11px;height:11px;border:1px solid #eee7dd;border-radius:2px;background:#f7f3ed}.heatmap-cell[data-level="1"]{fill:#f7d9bf;stroke:#edc9a9}.heatmap-legend i[data-level="1"]{background:#f7d9bf;border-color:#edc9a9}.heatmap-cell[data-level="2"]{fill:#efad7a;stroke:#e4a06c}.heatmap-legend i[data-level="2"]{background:#efad7a;border-color:#e4a06c}.heatmap-cell[data-level="3"]{fill:#e38045;stroke:#d8733b}.heatmap-legend i[data-level="3"]{background:#e38045;border-color:#d8733b}.heatmap-cell[data-level="4"]{fill:var(--accent);stroke:#c64d27}.heatmap-legend i[data-level="4"]{background:var(--accent);border-color:#c64d27}.heatmap-cell[data-day]:hover{stroke:var(--accent-ink);stroke-width:1.8}.heatmap-tooltip{position:absolute;z-index:2;max-width:calc(100% - 16px);padding:7px 10px;border-radius:4px;background:#4b2e23;color:#fff;font-size:12px;line-height:1.5;white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px #4b2e2326}.heatmap-legend{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:10px;color:var(--muted);font-size:10px}.heatmap-legend span{margin:0 3px}.heatmap-message{display:flex;justify-content:center;align-items:center;gap:10px;color:var(--muted);font-size:12px;line-height:1.8}.heatmap-message:not([hidden]){margin-top:12px}.heatmap-retry{border:0;padding:0;background:none;color:var(--accent-ink);font:inherit;text-decoration:underline;cursor:pointer}.heatmap-locked .heatmap-toolbar,.heatmap-locked .heatmap-body{filter:blur(3px);pointer-events:none;-webkit-user-select:none;user-select:none}.play-heatmap.heatmap-locked{min-height:240px}.heatmap-lock{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:linear-gradient(90deg,#fffdf840,#fffdf8e6 32% 68%,#fffdf840);text-align:center}.heatmap-lock-content{max-width:100%}.heatmap-lock h3{margin:0;color:var(--accent-ink);font-size:24px;font-weight:650;line-height:1.4;letter-spacing:.02em}.heatmap-lock p{margin:10px 0 18px;color:var(--muted);font-size:13px;line-height:1.6}.heatmap-learn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:38px;padding:8px 18px;border:1px solid var(--accent);border-radius:4px;background:var(--accent);color:#fff;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;transition:background .15s,border-color .15s}.heatmap-learn:hover{border-color:var(--accent-ink);background:var(--accent-ink);color:#fff}.heatmap-learn:focus-visible{outline:2px solid var(--accent-ink);outline-offset:4px}@media(max-width:680px){.heatmap-lock h3{font-size:20px}.heatmap-lock p{font-size:12px}}@media(max-width:680px){.play-heatmap{padding:14px 10px;margin-top:24px}.heatmap-toolbar{margin-bottom:10px}.heatmap-year{margin-left:auto;flex:none;padding:5px 8px;font-size:11px}.heatmap-legend{gap:3px;margin-top:8px}.heatmap-legend i{width:9px;height:9px}}.heatmap-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.heatmap-hint{color:var(--muted);font-size:11px;line-height:1.6}.heatmap-footer .heatmap-legend{flex:none;margin-top:0}.play-heatmap .heatmap-cell[data-day]{cursor:pointer}.play-heatmap .heatmap-cell[aria-pressed=true],.play-heatmap .heatmap-cell[data-day]:focus{stroke:var(--accent-ink,#713422);stroke-width:2;outline:none}.heatmap-day{display:flex;align-items:center;gap:26px;box-sizing:border-box;max-width:960px;height:72px;margin:16px auto 0;padding:14px 0;border-top:1px solid var(--line);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;white-space:nowrap;scrollbar-width:thin;scrollbar-color:#d4c9b8 transparent}.heatmap-day-date{color:var(--ink);font-size:13px;font-weight:600;line-height:1.6;white-space:nowrap}.heatmap-day-games{display:flex;align-items:center;flex:none;gap:16px;list-style:none;margin:0;padding:0}.heatmap-day-games:empty{display:none}.heatmap-day-game{display:flex;align-items:center;flex:none;gap:9px;color:#5f594e}.heatmap-game-art{position:relative;display:grid;place-items:center;flex:none;width:34px;height:36px;overflow:hidden;color:#928775;font-family:Songti SC,serif;font-size:20px}.heatmap-game-art img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:var(--paper)}.heatmap-game-info{min-width:0}.heatmap-game-info strong{display:block;font-size:11px;font-weight:400;line-height:1.6;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heatmap-game-time{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.5}.heatmap-day-status{flex:none;margin:0;color:var(--muted);font-size:12px;line-height:1.7}.heatmap-day-status:empty{display:none}.heatmap-day-more{flex:none;margin:0;padding:7px 12px;border:1px solid var(--line);border-radius:3px;background:transparent;color:var(--accent-ink,#a14728);font:inherit;font-size:12px;cursor:pointer}.heatmap-day-more:disabled{opacity:.55;cursor:wait}.heatmap-day-more:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:680px){.heatmap-hint{font-size:10px}.heatmap-day{gap:20px}.heatmap-day-date{font-size:12px}}.heatmap-day::-webkit-scrollbar{height:5px}.heatmap-day::-webkit-scrollbar-thumb{border-radius:3px;background:#d4c9b8}.heatmap-day:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
