body[data-game=freecell]{--accent:#f2c14e;--bg:#0f3d27;--card:#145032;--btn:#1d6a43;--line:#22704a;--line2:#2f8a5c}.fc{max-width:640px;padding:6px 0 max(12px, env(safe-area-inset-bottom));-webkit-user-select:none;user-select:none;flex-direction:column;gap:8px;margin:0 auto;display:flex;position:relative}.fc-top{align-items:center;gap:10px;min-height:40px;display:flex}.fc-title{white-space:nowrap;flex-direction:column;flex:auto;min-width:0;font-size:17px;font-weight:800;line-height:1.15;display:flex}.fc-title>*,.fc-title{text-overflow:ellipsis;overflow:hidden}.fc-title small{color:var(--muted);font-size:12px;font-weight:600}.fc-stat,.fc-clock{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:700}.fc-clock{text-align:right;min-width:60px}#fc-snd{display:contents}.fc-upper,.fc-cols{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;display:grid}.fc-slot{aspect-ratio:1/1.42;background:#0000002e;border-radius:7px;position:relative;box-shadow:inset 0 0 0 1.5px #ffffff29}.fc-slot.found{background:#ffffff0f}.fc-slot .fc-card{position:absolute;top:0;bottom:0;left:0;right:0}.fc-empty{color:#fff6;pointer-events:none;justify-content:center;align-items:center;font-size:10px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.fc-empty.suit{color:#ffffff38}.fc-empty.suit .fc-suit{width:42%;height:auto}.fc-empty.suit.red{color:#ff969659}.fc-col{min-height:var(--ch,60px);border-radius:7px;position:relative}.fc-col>.fc-empty{height:var(--ch,60px);border-radius:7px;top:0;bottom:auto;left:0;right:0;box-shadow:inset 0 0 0 1.5px #ffffff1f}.fc-col.can,.fc-slot.can{box-shadow:inset 0 0 0 2px var(--accent), 0 0 10px #f2c14e8c}.fc-col.can{background:#f2c14e14}.fc-card{height:var(--ch,60px);color:#1b1b1f;cursor:pointer;background:#fdfdf8;border-radius:7px;transition:top .12s ease-out,transform .12s ease-out;position:absolute;left:0;right:0;overflow:hidden;box-shadow:0 1px 2px #00000073,inset 0 0 0 1px #0000001f}.fc-slot .fc-card{height:auto}.fc-card.red{color:#d0212f}.fc-corner{letter-spacing:-.04em;align-items:baseline;gap:1px;font-size:clamp(12px,3.6vw,18px);font-weight:800;line-height:1;display:flex;position:absolute;top:2px;left:3px}.fc-suit{fill:currentColor;display:block}.fc-corner .fc-suit{width:.72em;height:.72em;margin-left:1px}.fc-pip{width:38%;height:auto;position:absolute;bottom:7%;right:8%}.fc-card.picked{box-shadow:0 0 0 2px var(--accent), 0 4px 10px #00000080;background:#fff3c4;transform:translateY(-2px)}.fc-msg{min-height:20px;color:var(--muted);text-align:center;font-size:13px}.fc-actions{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.fc-actions button{padding:10px 4px;font-size:14px}.fc-result{min-height:100%;position:relative}.fc-stats{grid-template-columns:repeat(4,1fr);gap:6px;margin:0;display:grid}.fc-stats div{background:var(--card);text-align:center;border-radius:10px;padding:6px 8px}.fc-stats dt{color:var(--muted);font-size:12px}.fc-stats dd{font-variant-numeric:tabular-nums;margin:0;font-size:16px;font-weight:800}.fc-best{color:var(--accent);margin:4px 0 0;font-weight:800}.fc-rivals{flex-wrap:wrap;gap:4px;display:flex}.fc-rivals:empty{display:none}.fc-rival{white-space:nowrap;background:linear-gradient(90deg, #f2c14e59 var(--p), #00000038 var(--p));border-radius:999px;padding:3px 8px;font-size:12px}.fc-rival b{font-weight:800}.fc-rival.me{box-shadow:inset 0 0 0 1.5px var(--accent)}.fc-rival.out{opacity:.55}.fc-clock.hurry{color:var(--bad)}.fc.done .fc-upper,.fc.done .fc-cols{opacity:.55;pointer-events:none}.fc-result .loser-card h1{word-break:keep-all;font-size:clamp(22px,6.4vw,32px)}.fc-fly{z-index:50;pointer-events:none;transform-origin:0 0;position:fixed}.fc-fly .fc-card{box-shadow:0 6px 14px #00000080}.fc-done{color:var(--good);font-weight:800}.fc-solved{text-align:center;color:var(--accent);margin:0;font-weight:700}.fc-solved small{color:var(--muted);font-size:12px;font-weight:600;display:block}.fc-item{filter:drop-shadow(0 1px 1px #00000059);font-size:clamp(10px,3.1vw,16px);line-height:1;position:absolute;top:2px;right:2px}.fc-item.used{opacity:.3;filter:grayscale()}.fc-card.back{background:repeating-linear-gradient(45deg,#3b4fa8 0 6px,#2c3c86 6px 12px);box-shadow:0 1px 2px #00000073,inset 0 0 0 2px #fdfdf8}.fc-card.hint{animation:.9s ease-in-out infinite fc-hint}.fc-col.hint-to,.fc-slot.hint-to{box-shadow:inset 0 0 0 2px #7cf0ff,0 0 12px #7cf0ffb3}@keyframes fc-hint{50%{box-shadow:0 0 0 3px #7cf0ff,0 0 14px #7cf0ffe6}}.fc-fx{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.fc-fx:empty{display:none}.fc-fx span{border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700}.fc-fx .bad{color:#ffb3ad;background:#ff6e6e2e}.fc-fx .good{color:#a6f4ff;background:#7cf0ff26}.fc-fog{z-index:40;pointer-events:none;--x:50%;--y:40%;background:radial-gradient(circle 70px at var(--x) var(--y), transparent 0 55%, #d0dadefb 100%);border-radius:12px;animation:.4s ease-out fc-fade;position:absolute;left:-4px;right:-4px}.fc-ice{z-index:41;pointer-events:none;color:#eaf7ff;text-shadow:0 2px 8px #003c7899;background:linear-gradient(160deg,#aadcff6b,#78b4f04d);border-radius:12px;place-items:center;font-size:44px;font-weight:900;animation:.25s ease-out fc-fade;display:grid;position:absolute;left:-4px;right:-4px;box-shadow:inset 0 0 0 3px #c8ebffcc}.fc-fog[hidden],.fc-ice[hidden]{display:none}@keyframes fc-fade{0%{opacity:0}}.fc-toast{z-index:50;pointer-events:none;justify-content:center;display:flex;position:absolute;top:46px;left:0;right:0}.fc-toast-in{text-align:center;color:#fff;background:#141e28eb;border-radius:14px;max-width:92%;padding:8px 14px;font-size:14px;font-weight:700;animation:.3s ease-out fc-pop;box-shadow:0 4px 16px #00000080}.fc-toast-in.me{background:#462878f2}.fc-toast-in.hit{background:#961e28f2}@keyframes fc-pop{0%{opacity:0;transform:translateY(-8px)scale(.92)}}
