:root{--ink:#304e43;--muted:#728273;--line:#dce1cd;--paper:#f8f4e9;--green:#3d6d51}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,sans-serif}main{max-width:1140px;margin:auto;padding:0 32px}header{display:flex;align-items:center;gap:26px;padding:24px 0;border-bottom:1px solid var(--line)}header a{color:var(--ink);text-decoration:none;letter-spacing:.18em;font-size:17px;font-weight:800}header>span{font-size:12px;color:var(--muted);flex:1}button{font:inherit;color:var(--ink);border:1px solid #cbd7c6;background:#fffdf5;border-radius:10px;padding:10px 15px;cursor:pointer;transition:background .15s,transform .15s}button:hover:enabled{background:#e9efdf;transform:translateY(-1px)}button:focus-visible,a:focus-visible{outline:3px solid #d39b4b;outline-offset:3px}button:disabled{opacity:.4;cursor:default}kbd{font:10px monospace;opacity:.5;padding-left:7px}.intro{display:flex;align-items:center;justify-content:space-between;padding:35px 0 28px;gap:20px}.intro h1{font:normal clamp(33px,4.2vw,53px)/1.1 Georgia,serif;letter-spacing:-.035em;margin:12px 0 15px}.intro p:not(.eyebrow){max-width:620px;color:var(--muted);margin:0}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;margin:0;color:var(--muted)}.pot,.token{background-image:url('blooms.webp');background-size:200% 200%;mix-blend-mode:multiply}.pot{width:180px;height:180px;background-position:100% 100%;flex-shrink:0;border-radius:50%}nav{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}nav button{min-width:40px;padding:7px 10px;border-radius:50%;font-size:12px}nav button.active{background:var(--ink);color:white}nav button.done:after{content:'✦';color:#bc8b35;font-size:10px;padding-left:3px}.bench{border:1px solid var(--line);border-radius:22px;background:#fffdf6;box-shadow:0 12px 40px #35513c09;padding:24px}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}h2{font:normal 27px Georgia;margin:4px 0}#count{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:6px 12px;white-space:nowrap}.workspace{display:grid;grid-template-columns:1.1fr 1fr;gap:28px}.workspace h3{font-size:10px;letter-spacing:.12em;font-weight:700;margin:0 0 14px}.workspace h3 small{display:block;font-size:11px;letter-spacing:0;font-weight:400;color:var(--muted);margin-top:4px}.ribbon{display:flex;gap:5px;align-items:center;padding:10px 8px;margin-bottom:9px;border:1px solid var(--line);border-radius:12px;background:#fbf8ee;min-height:76px}.ribbon.selected{border-color:#789f68;background:#eef3e4;box-shadow:0 0 0 1px #789f68}.ribbon.matched{border-color:#91b77c}.rowpick{padding:7px;width:36px;min-width:36px;height:37px;font-size:12px;border-radius:50%;margin-right:5px}.token{width:49px;height:49px;border-radius:50%;position:relative;flex-shrink:0}.token.t0{background-position:0 0}.token.t1{background-position:100% 0}.token.t2{background-position:0 100%}.token b{position:absolute;bottom:-3px;right:-1px;font-size:9px;line-height:17px;width:17px;text-align:center;border-radius:50%;background:#fffdf4;border:1px solid var(--line)}.token.tail{outline:1px dashed #63865b;outline-offset:3px}.ribbon .match{font-size:10px;margin-left:auto;color:#52764b}.target{background:#f5f2e8}.target .rowpick{background:transparent;border:0;cursor:default}.orders{background:#f3f3e8;padding:18px;border-radius:16px}.orders .token{width:43px;height:43px}.orders .ribbon{min-height:70px;background:#fcf9ef}.orders p,.legend{font-size:11px;color:var(--muted)}.legend{display:flex;flex-wrap:wrap;gap:6px 15px;margin-top:18px}#seams{display:flex;gap:7px;margin:5px 0 13px;flex-wrap:wrap}#seams button{font-size:11px;padding:8px 11px}#seams button.chosen{background:#e4edcf;border-color:#7b9b66}#cross{background:var(--green);color:white;font-size:13px;min-width:180px}.preview{font-size:11px;color:var(--muted);min-height:35px;margin-bottom:0}.message{margin-top:18px;background:#edf2e7;padding:13px 17px;border-radius:10px;font-size:13px;min-height:50px}.message.win{background:#e4edcf;color:#345b30}.tools{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.tools button{font-size:12px}#next{background:var(--green);color:white;margin-left:auto}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:34px 0}.guide h3{font-size:12px}.guide p{font-size:13px;color:var(--muted)}footer{border-top:1px solid var(--line);font-size:11px;color:var(--muted);padding:15px 0 25px}summary{cursor:pointer}@media(max-width:900px){.workspace{gap:18px}.token{width:42px;height:42px}.orders{padding:12px}.orders .token{width:35px;height:35px}.ribbon{gap:4px;padding:9px 6px}.rowpick{margin-right:2px}}@media(max-width:730px){main{padding:0 16px}header{gap:10px}header>span{display:none}header button{font-size:11px;margin-left:auto}.intro{padding-top:25px}.pot{width:105px;height:105px}.intro>div:first-child{flex:1}.intro h1{font-size:35px}.intro p:not(.eyebrow){font-size:13px}.workspace{grid-template-columns:1fr}.bench{padding:15px}.token{width:43px;height:43px}.orders .token{width:42px;height:42px}.ribbon{justify-content:flex-start}.top{align-items:flex-start}.top h2{font-size:24px}#count{font-size:10px;padding:5px 8px}.guide{grid-template-columns:1fr;gap:4px}}@media(max-width:420px){.pot{display:none}.token,.orders .token{width:38px;height:38px}.rowpick{width:30px;min-width:30px;padding:5px}.ribbon{gap:5px}.ribbon .match{font-size:9px}.workspace{gap:20px}.orders{padding:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
