.cg{background:var(--bg);min-height:100dvh;color:var(--ink);flex-direction:column;display:flex;position:relative}.cg button{color:inherit}.cg-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.cg-eb{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;font-size:11px;font-weight:700;line-height:14px}.cg-loading{padding:24px var(--space-16);color:var(--muted);margin:0;font-weight:600}.cg-mk{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.cg-mk.hf{stroke-width:2.5px;stroke-linejoin:miter}.cg-mk .f{fill:currentColor}.cg .ok{background:var(--match);color:var(--charcoal)}.cg .pt{background:var(--partial);color:var(--charcoal)}.cg .no{background:var(--miss);color:var(--ink)}.cg .sh,.cg .ms{background:var(--surface);color:var(--ink);outline:2px solid var(--ink);outline-offset:-2px}.cg .hn{background:var(--c);color:var(--charcoal)}.cg-chip{background:var(--charcoal);color:var(--partial);padding:1px 5px}.cg-head{padding:8px var(--space-16) 12px;background:var(--c);color:var(--charcoal);grid-template:"back title title help"48px"blocks blocks blocks used"24px"hints hints hints hints"/44px minmax(0,1fr) auto 44px;align-items:center;column-gap:12px;display:grid}.cg-id,.cg-status,.cg-meter{display:contents}.cg-ib{box-sizing:border-box;background:var(--charcoal);width:44px;height:44px;color:var(--paper);cursor:pointer;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.cg .cg-ib{color:var(--paper)}.cg .cg-ib.o{color:var(--charcoal);border:2px solid var(--charcoal);background:0 0}.cg-head :focus-visible,.cg-res :focus-visible,.cg-hph :focus-visible{outline:3px solid var(--charcoal);outline-offset:2px}.cg-back{grid-area:back}.cg-draw{display:none}.cg-title{letter-spacing:.01em;white-space:nowrap;grid-area:title;margin:0;font-size:27px;font-weight:900}.cg-helpbtn{grid-area:help}.cg-blocks{grid-area:blocks;gap:4px;display:flex}.cg-blocks span{box-sizing:border-box;border:2px solid var(--charcoal);flex:1;height:10px}.cg-blocks .on{background:var(--charcoal)}.cg-used{grid-area:used;justify-self:end;font-size:20px;font-weight:800}.cg-hints{grid-area:hints;gap:8px;margin-top:10px;display:flex}.cg-hint{box-sizing:border-box;border:2px solid var(--charcoal);background:var(--charcoal);min-width:0;height:32px;font:inherit;letter-spacing:.04em;white-space:nowrap;cursor:pointer;flex:1 1 0;justify-content:center;align-items:center;gap:6px;padding:0 6px;font-size:15px;font-weight:800;display:flex}.cg .cg-hint{color:var(--c)}.cg-hint .mw-i{width:15px;height:15px}.cg .cg-hint.off{color:var(--charcoal);cursor:default;background:0 0}.cg-body{flex-direction:column;flex:1;display:flex}.cg-boardtitle{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.cg-kf{flex-direction:column;gap:2px;margin-top:2px;display:flex}.cg-kr{gap:2px;min-height:42px;display:flex}.cg-kl{box-sizing:border-box;width:108px;padding-left:var(--space-16);letter-spacing:.06em;color:var(--muted);flex:none;align-items:center;font-size:16px;font-weight:800;display:flex}.cg-kv{box-sizing:border-box;flex-wrap:wrap;flex:1;align-items:center;gap:2px 10px;min-width:0;padding:5px 12px;animation:.4s cubic-bezier(.2,.8,.2,1) both cg-wipe;display:flex;position:relative}.cg-kv.mk{padding-right:38px}.cg-kv b{letter-spacing:.01em;flex-wrap:wrap;align-items:center;gap:2px 6px;font-size:24px;font-weight:900;display:flex}.cg-kv small{flex:120px;min-width:0;font-size:11px;font-weight:600;line-height:13px}.cg .cg-kv.hn small,.cg .cg-kv.ms small{flex-basis:auto}.cg-kv.no small{color:var(--muted)}.cg-kv.ms small{text-align:right;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}.cg-kv .cg-mk,.cg-kv .mw-i{width:16px;height:16px;margin-top:-8px;position:absolute;top:50%;right:12px}.cg-kr:nth-child(2) .cg-kv{animation-delay:60ms}.cg-kr:nth-child(3) .cg-kv{animation-delay:.12s}.cg-kr:nth-child(4) .cg-kv{animation-delay:.18s}.cg-kr:nth-child(5) .cg-kv{animation-delay:.24s}.cg-kr:nth-child(6) .cg-kv{animation-delay:.3s}.cg-kr:nth-child(7) .cg-kv{animation-delay:.36s}.cg-play{flex-direction:column;display:flex}.cg-gsh{height:26px;padding:0 var(--space-16);justify-content:space-between;align-items:center;margin-top:6px;display:flex}.cg-list{margin:0;padding:0;list-style:none}.cg-gs{box-sizing:border-box;width:100%;min-height:44px;padding:4px var(--space-16);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;display:flex}.cg-gs:hover{background:var(--miss)}.cg-gs.on{background:var(--ink)}.cg .cg-gs.on{color:var(--bg)}.cg-gs:focus-visible{outline-offset:-3px}.cg-gs.on:focus-visible{outline-color:var(--bg);outline-offset:-5px}.cg-gs .n{width:18px;color:var(--muted);flex:none;font-size:16px;font-weight:700}.cg-gs.on .n{color:inherit}.cg-gs .w{letter-spacing:.01em;overflow-wrap:anywhere;flex:1;min-width:0;font-size:21px;font-weight:800;line-height:.95}.cg-sq{flex:none;gap:2px;display:flex}.cg-sq i{justify-content:center;align-items:center;width:18px;height:18px;display:flex}.cg-sq .cg-mk{width:11px;height:11px}.cg-gs .x{flex:none;justify-content:center;align-items:center;width:30px;height:24px;font-size:16px;font-weight:800;display:flex}.cg-list li.new .cg-gs{animation:.5s cubic-bezier(.2,.8,.2,1) both cg-slide}.cg-gx{padding:4px var(--space-16) 12px;animation:.3s cubic-bezier(.2,.8,.2,1) both cg-drop}.cg-g4{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:4px;display:grid}.cg-cl{box-sizing:border-box;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:44px;padding:5px 7px;display:flex}.cg-cl small{letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;justify-content:space-between;align-items:center;gap:4px;font-size:10px;font-weight:700;line-height:11px;display:flex}.cg-cl small .cg-mk{width:11px;height:11px}.cg-cl.no small,.cg-cl.sh small{color:var(--muted)}.cg-cl b{letter-spacing:.01em;flex-wrap:wrap;align-items:center;gap:2px 5px;font-size:16px;font-weight:800;display:flex}.cg-cl.s2{grid-column:span 2}.cg-cl.s4{grid-column:span 4}.cg-dock{z-index:3;padding:8px var(--space-16) calc(16px + env(safe-area-inset-bottom));background:var(--bg);margin-top:auto;position:sticky;bottom:0}.cg-inp{box-sizing:border-box;height:60px;padding-left:var(--space-16);background:var(--surface);border:2px solid var(--ink);align-items:center;display:flex}.cg-inp input{min-width:0;height:44px;color:var(--ink);font:inherit;background:0 0;border:none;outline:none;flex:1;padding:0;font-size:17px;font-weight:700}.cg-inp input::placeholder{color:var(--muted);opacity:1;font-weight:600}.cg-inp:focus-within{outline:3px solid var(--ink);outline-offset:2px}.cg-go{background:var(--c);cursor:pointer;border:none;flex:none;justify-content:center;align-items:center;width:56px;height:56px;padding:0;display:flex}.cg .cg-go{color:var(--charcoal)}.cg-go:focus-visible{outline:3px solid var(--charcoal);outline-offset:-5px}.cg-opts{left:var(--space-16);right:var(--space-16);background:var(--surface);border:2px solid var(--ink);margin:0;padding:0;list-style:none;position:absolute;bottom:100%}.cg-opt{box-sizing:border-box;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:4px 14px;font-size:15px;font-weight:700;display:flex}.cg-opt span{text-align:right;font-size:13px;font-weight:600}.cg-opt.on{background:var(--c);color:var(--charcoal)}.cg-opt.none{color:var(--muted);cursor:default;font-weight:600}.cg-res{z-index:3;margin-top:auto;animation:.5s cubic-bezier(.2,.8,.2,1) .5s both cg-rise;position:sticky;bottom:0}.cg-rs1{box-sizing:border-box;min-height:108px;padding:12px var(--space-16);background:var(--c);color:var(--charcoal);justify-content:space-between;align-items:center;gap:12px;display:flex}.cg-rs1.end{background:var(--ink);color:var(--bg)}.cg-rs1>div{flex-direction:column;gap:6px;min-width:0;display:flex}.cg-rs1 .big{overflow-wrap:anywhere;font-size:50px;font-weight:900;line-height:.85}.cg-rs1 .big.long{font-size:34px;line-height:.9}.cg-rs1 .sub{letter-spacing:.04em;align-items:center;gap:4px;font-size:17px;font-weight:700;display:flex}.cg-rs1 .sub .mw-i{width:14px;height:14px}.cg-rs1:not(.end) .sub .mw-i{fill:currentColor}.cg-share{background:var(--charcoal);letter-spacing:.03em;cursor:pointer;border:none;flex:none;min-width:104px;height:56px;padding:0 20px;font-size:24px;font-weight:800}.cg .cg-share{color:var(--paper)}.cg .end .cg-share{background:var(--c);color:var(--charcoal)}.cg .end .cg-share:focus-visible{outline-color:var(--bg)}.cg-rs2{box-sizing:border-box;min-height:62px;padding:8px var(--space-16);background:var(--surface);color:var(--ink);border-top:2px solid var(--ink);justify-content:space-between;align-items:center;gap:12px;display:flex}.cg-rs2>span{flex-direction:column;gap:3px;min-width:0;display:flex}.cg-rs2 .first{letter-spacing:.02em;font-size:22px;font-weight:800}.cg-rs2 .mw-i{stroke-width:2.5px}.cg-rs3{background:var(--bg);border-top:2px solid var(--ink);grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:58px;display:grid}.cg-rs3>*{box-sizing:border-box;padding:0 var(--space-16);justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.cg-rs3 .mw-d{align-items:center;gap:6px;font-size:24px;font-weight:800;display:flex}.cg-rs3 .mw-i{stroke-width:2.5px;width:18px;height:18px}.cg-nx{background:var(--c);color:var(--charcoal)}.cg-nx .cg-eb{color:inherit}.cg-rs2:focus-visible,.cg-nx:focus-visible{outline-offset:-4px}.cg-hp{z-index:20;background:var(--bg);flex-direction:column;animation:.4s cubic-bezier(.2,.8,.2,1) both cg-rise;display:flex;position:fixed;inset:0}.cg-hph{height:64px;padding:0 var(--space-16);background:var(--c);color:var(--charcoal);flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.cg-hph h2{letter-spacing:.01em;margin:0;font-size:30px;font-weight:900}.cg-hpb{flex-direction:column;flex:1;gap:16px;min-height:0;padding-top:18px;display:flex;overflow-y:auto}.cg-hpb p{padding:0 var(--space-16);margin:0;font-size:15px;font-weight:600;line-height:21px}.cg-hpb p.lead{font-size:18px;font-weight:700;line-height:24px}.cg-hpb p.quiet{color:var(--muted)}.cg-hpb .cg-eb{padding:0 var(--space-16) 6px}.cg-hk{flex-direction:column;gap:2px;display:flex}.cg-hr{box-sizing:border-box;min-height:46px;padding:6px var(--space-16);align-items:center;gap:12px;display:flex}.cg-hr>b{letter-spacing:.02em;flex:none;width:104px;font-size:22px;font-weight:800}.cg-hr>span{flex:1;min-width:0;font-size:13px;font-weight:600;line-height:17px}.cg-hr .cg-mk,.cg-hr .mw-i{width:16px;height:16px}.cg-pb{height:52px;margin:auto var(--space-16) calc(16px + env(safe-area-inset-bottom));padding:0 var(--space-16);background:var(--ink);letter-spacing:.04em;cursor:pointer;border:none;flex:none;justify-content:space-between;align-items:center;font-size:24px;font-weight:800;display:flex}.cg .cg-pb{color:var(--bg)}.cg-pb:focus-visible{outline-color:var(--bg);outline-offset:-6px}.cg-legend{display:none}@media (width>=900px){.cg{min-height:0}.cg-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 32px;padding:22px 32px;display:flex}.cg-id{align-items:center;gap:20px;min-width:0;display:flex}.cg-status{flex-direction:column;gap:10px;width:360px;max-width:100%;display:flex}.cg-meter{align-items:center;gap:12px;display:flex}.cg-back{display:none}.cg-draw{flex:none;width:84px;height:84px;display:block}.cg-draw .mw-dr{width:84px;height:84px}.cg-title{white-space:normal;font-size:clamp(48px,5.3vw,76px);line-height:.82}.cg-title span{font-size:.53em;font-weight:800}.cg-blocks{flex:1;gap:5px}.cg-used{font-size:26px}.cg-helpbtn{width:36px;height:36px}.cg-hints{margin-top:0}.cg-hint{flex:none;padding:0 10px;font-size:17px}.cg-body{flex-flow:wrap;flex:none;align-items:flex-start;gap:24px 40px;padding:24px 32px 28px}.cg-board,.cg-play{flex:440px;min-width:0}.cg-play{gap:14px}.cg-boardtitle{clip-path:none;width:auto;height:auto;margin-bottom:6px;position:static;overflow:visible}.cg-kr{min-height:60px}.cg-kl{width:150px;padding-left:0;font-size:20px}.cg-kv{gap:2px 16px;padding:8px 18px}.cg-kv.mk{padding-right:56px}.cg-kv b{font-size:32px}.cg-kv small{flex-basis:180px;font-size:13px;line-height:17px}.cg-kv .cg-mk,.cg-kv .mw-i{width:22px;height:22px;margin-top:-11px;right:18px}.cg-gsh{height:22px;margin-top:0;padding:0 10px}.cg-gs{gap:14px;min-height:52px;padding:4px 10px}.cg-gs .w{font-size:30px}.cg-gs .n{width:24px;font-size:18px}.cg-sq i{width:30px;height:30px}.cg-sq .cg-mk{width:15px;height:15px}.cg-gs .x{width:40px;height:30px;font-size:20px}.cg-gx{padding:4px 10px 12px}.cg-cl{min-height:50px;padding:6px 9px}.cg-cl small{font-size:11px}.cg-cl b{font-size:18px}.cg-dock{background:0 0;order:-1;margin:0;padding:0;position:relative;bottom:auto}.cg-opts{z-index:4;inset:66px 0 auto}.cg-res{border:2px solid var(--ink);margin:0;animation-name:cg-wipe;position:static}.cg-hp{border-left:2px solid var(--ink);width:480px;animation-name:cg-fromright;left:auto}.cg-pb{margin-bottom:16px}.cg-legend{flex-wrap:wrap;flex-basis:100%;gap:10px 22px;margin:0;padding:0;list-style:none;display:flex}.cg-legend li{color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.cg-legend i{flex:none;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;font-style:normal;font-weight:800;display:flex}}@keyframes cg-wipe{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}@keyframes cg-drop{0%{clip-path:inset(0 0 100%)}to{clip-path:inset(0)}}@keyframes cg-rise{0%{transform:translateY(110%)}to{transform:none}}@keyframes cg-slide{0%{transform:translate(-100%)}to{transform:none}}@keyframes cg-fromright{0%{transform:translate(100%)}to{transform:none}}@media (prefers-reduced-motion:reduce){.cg *{transition:none!important;animation:none!important}}
