body:has(.fair-game){margin:0;background:#fcf7ed}.fair-game{--ink:#3a5447;--muted:#647063;--green:#3c6d55;max-width:960px;margin:auto;padding:22px 20px 38px;color:var(--ink);font-family:system-ui,'Segoe UI','Microsoft JhengHei',sans-serif}.fair-game *{box-sizing:border-box}.fair-game [hidden]{display:none!important}.fair-game button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.fair-game button:disabled{opacity:.45;cursor:default}.fair-game :is(button,a,summary):focus-visible,.fs-board:focus-visible{outline:3px solid #257791;outline-offset:3px}.fair-skip{position:fixed;top:-100px;z-index:1000;background:white;padding:12px}.fair-skip:focus{top:8px}.fs-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;margin-bottom:18px}.fs-top a{color:var(--ink);text-underline-offset:4px}.fs-top b{font-size:17px}.fs-eyebrow{font-size:10px;letter-spacing:.09em;color:var(--muted);margin:0 0 8px}.fs-heading h1{font-size:clamp(30px,4vw,40px);line-height:1.18;letter-spacing:-.025em;margin:0 0 18px}.fs-home{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center}.fs-home>img{width:100%;height:auto;border:1px solid #d9c9ad;border-radius:28px;background:#f5ecda;box-shadow:0 5px #e7ddc7}.fs-opening{line-height:1.9;font-size:16px;margin:0 0 24px}.fs-primary{display:flex;justify-content:center;align-items:center;width:100%;min-height:52px;padding:10px 14px;border:1px solid #2a523e;border-bottom:4px solid #2a523e;border-radius:15px;background:#3c6d55;color:#fffbed!important;font-size:17px!important;font-weight:650!important}.fs-primary:hover{background:#4a7a62}.fs-note{font-size:12px;line-height:1.7;text-align:center;color:var(--muted);margin:13px 0 0}.fs-level{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.fs-level ol{display:flex;gap:8px;margin:0;padding:0;list-style:none}.fs-level li{width:28px;height:28px;display:grid;place-items:center;font-size:13px;border:1px solid #aab79d;border-radius:50%;background:#fffdf5}.fs-level li[aria-current]{background:#3c6d55;color:#fffbed;box-shadow:0 0 0 3px #e5ecd9}.fs-level li.is-done{background:#e5ecd9}.fs-level>span{font-size:13px;font-variant-numeric:tabular-nums}#fs-title{font-size:23px;margin:0 0 16px;line-height:1.25}.fs-workspace{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:30px;align-items:center}.fs-left{min-width:0}.fs-goal{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 8px 5px;font-size:15px}.fs-goal>span{font-size:12px}.fs-instruction{font-size:12px;text-align:center;color:var(--muted);line-height:1.4;min-height:17px;margin:0 0 6px}.fs-board{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair;-webkit-tap-highlight-color:transparent;border-radius:25px;overflow:hidden}.fs-board>svg{display:block;width:100%;height:auto}.fs-board.is-ended{cursor:default}.fs-portions{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:12px 6px 0;padding:0;min-height:29px}.fs-portions li{display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;white-space:nowrap}.fs-portions li b{display:grid;place-items:center;min-width:21px;height:21px;border-radius:50%;background:var(--piece);color:white;font-size:11px}.fs-explain h3{font-size:25px;line-height:1.3;margin:0 0 13px}.fs-explain>p:last-child{font-size:14px;line-height:1.75;margin:0 0 23px}.fs-tools{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;margin-top:16px}.fs-tools button{min-height:46px;background:#fffdf5;border:1px solid #aab69c;border-bottom:3px solid #aab69c;border-radius:12px;padding:7px 4px;font-size:12px}.fs-tools button:hover:not(:disabled){background:#e9eedd}.fs-tools button[aria-pressed=true]{background:#e0ead5;border-color:#618468}.fs-feedback{font-size:13px;line-height:1.6;min-height:43px;margin:12px 0 0;color:#536c57}.fs-fair-note{font-size:11px;line-height:1.7;color:var(--muted);margin:7px 0 0}.fs-end{margin:12px 0 0}.fs-score{font-size:37px;font-weight:650;color:#876629;margin:0 0 4px}.fs-end h3{font-size:24px;line-height:1.3;margin:0 0 10px}.fs-end>p:last-of-type{font-size:13px;line-height:1.7;margin:0 0 16px}.fs-paused{position:fixed;inset:0;z-index:300;background:#2f44365e;backdrop-filter:blur(3px);display:grid;place-items:center;padding:22px}.fs-paused>div{background:#fcf7ed;border:1px solid #afb89b;border-radius:24px;padding:26px;max-width:370px;box-shadow:0 10px 40px #263c3533;text-align:center}.fs-paused h2{font-size:26px;margin:0 0 14px}.fs-paused p{font-size:14px;line-height:1.75;margin:0 0 23px}.fs-results{max-width:430px;text-align:center;margin:32px auto}.fs-results h2{font-size:31px;line-height:1.3;margin:10px 0 18px}.fs-total{font-size:23px;color:var(--green);margin:20px 0}.fs-total b{font-size:70px;line-height:1}.fs-results ol{list-style:none;margin:25px 0 17px;padding:0;border-top:1px solid #c3cbb5}.fs-results li{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #c3cbb5;font-size:14px}.fs-results li b{color:#8a6728}.fs-results>p:last-of-type{font-size:14px}.fs-rules{border-top:1px solid #cbd0bb;margin-top:28px;padding-top:15px;color:var(--muted);font-size:13px;line-height:1.75}.fs-rules summary{min-height:34px;cursor:pointer;color:var(--ink)}.fs-rules p{max-width:750px}#slice-app:not([data-phase=home]) .fs-heading{display:none}#slice-app:is([data-phase=complete],[data-phase=failed]) .fs-explain{display:none}
@media(prefers-reduced-motion:no-preference){.fs-primary,.fs-tools button{transition:background-color .12s}.fs-end{animation:fs-arrive .18s ease-out}@keyframes fs-arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:680px){.fair-game{max-width:460px;padding:14px 12px 28px}.fs-top{font-size:12px;margin-bottom:12px}.fs-heading h1{font-size:31px;margin-bottom:14px}.fs-home{display:block;text-align:center}.fs-home>img{max-height:245px;object-fit:contain;border-radius:23px}.fs-opening{font-size:14px;line-height:1.8;margin:18px 0 16px}.fs-primary{min-height:48px;font-size:16px!important}.fs-note{font-size:11px}.fs-workspace{display:block}.fs-left,.fs-side{max-width:366px;margin:auto}.fs-explain{display:none}.fs-level{margin-bottom:8px}.fs-level li{width:26px;height:26px}#fs-title{font-size:17px;margin-bottom:13px}.fs-goal{font-size:14px;margin:0 4px 5px}.fs-goal>span{font-size:11px}.fs-instruction{font-size:11px;min-height:16px;margin-bottom:2px}.fs-board{border-radius:20px}.fs-portions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;margin:8px 4px 0;min-height:24px}.fs-portions li{justify-content:flex-start;font-size:12px}.fs-portions li b{height:21px;min-width:21px}.fs-tools{margin-top:13px}.fs-tools button{min-height:44px;font-size:12px}.fs-feedback{font-size:12px;min-height:38px;text-align:center;margin-top:10px}.fs-fair-note{text-align:center;font-size:10px}.fs-end{text-align:center;margin-top:13px}.fs-end h3{font-size:23px;margin-bottom:8px}.fs-end>p:last-of-type{font-size:12px;line-height:1.5;margin-bottom:13px}.fs-score{font-size:32px}.fs-rules{margin-top:20px;padding-top:13px}.fs-results h2{font-size:27px}#slice-app:is([data-phase=complete],[data-phase=failed]) .fs-instruction{display:none}#slice-app:is([data-phase=complete],[data-phase=failed]) .fs-fair-note{display:none}}
@media(max-width:680px) and (max-height:720px){.fs-top{margin-bottom:9px}.fs-heading h1{font-size:28px}.fs-home>img{max-height:185px}.fs-opening{font-size:12px;margin:14px 0}.fs-note{margin-top:9px}.fs-level{margin-bottom:6px}.fs-level li{width:24px;height:24px}.fs-level>span{font-size:12px}#fs-title{font-size:16px;margin-bottom:9px}.fs-left,.fs-side{max-width:300px}.fs-board{max-width:275px;margin:auto}.fs-goal{font-size:13px}.fs-goal>span{font-size:10px}.fs-instruction{font-size:10px;margin-bottom:0}.fs-portions{margin-top:5px;gap:5px 8px}.fs-portions li{font-size:11px}.fs-portions li b{height:19px;min-width:19px;font-size:10px}.fs-tools{margin-top:10px}.fs-feedback{font-size:11px;min-height:34px;margin-top:8px}.fs-primary{min-height:46px}.fs-end{margin-top:8px}.fs-score{font-size:27px}.fs-end h3{font-size:19px;margin-bottom:5px}.fs-end>p:last-of-type{font-size:11px;margin-bottom:9px}.fs-end .fs-primary{min-height:44px}}
