:root{font-family:Inter,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25322f;background:#f8f7f4}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}.site{height:74px;border-bottom:1px solid #e7e7e2;display:flex;align-items:center;justify-content:space-between;padding:0 max(5.8vw,24px)}.brand{font-size:24px;font-weight:800;letter-spacing:-.07em}.brand span,h1 span{color:#1c756c}.back{font-size:13px;font-weight:700;border:1px solid #b5d1ca;border-radius:6px;padding:12px 17px;color:#11665e}.back:hover{background:#ecf5f1}main{max-width:1150px;margin:auto;padding:56px 28px 100px}.intro{display:flex;justify-content:space-between;align-items:end;gap:24px;padding-bottom:42px;border-bottom:1px solid #e6e7e1}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.19em;color:#0e7268;margin:0 0 16px}h1,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.06em}h1{font-size:clamp(72px,9vw,116px);line-height:.9;margin:0 0 18px}h2{font-size:34px;line-height:1.1;margin:0 0 19px}.lede{font-size:17px;color:#687d84;margin:0}.scorecards{display:flex;gap:10px}.scorecards>div{background:#eef2ef;min-width:94px;text-align:center;border-radius:8px;padding:13px 17px}.scorecards small{display:block;color:#687977;font-size:10px;font-weight:800;letter-spacing:.12em}.scorecards strong{display:block;color:#185d56;font-size:24px;margin-top:4px}.game{display:grid;grid-template-columns:minmax(0,630px) minmax(240px,1fr);gap:54px;padding-top:42px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:43px;margin-bottom:18px}.toolbar p{font-size:13px;color:#60747b;margin:0}.toolbar button{background:#146f65;color:white;border:0;border-radius:5px;padding:11px 16px;font-weight:700;white-space:nowrap}.toolbar button:hover{background:#0e5a53}.board{background:#b8c6c0;border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:12px;aspect-ratio:1;touch-action:none;outline:none}.board:focus-visible{box-shadow:0 0 0 3px #156f66}.tile{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;border-radius:6px;background:#d9e2dd;color:#264039;font-size:clamp(24px,4.5vw,48px);font-weight:800;letter-spacing:-.055em}.tile[data-value="2"]{background:#f7f4ed}.tile[data-value="4"]{background:#f2eada}.tile[data-value="8"]{background:#e9d0a5}.tile[data-value="16"]{background:#dfb891}.tile[data-value="32"]{background:#d8a481}.tile[data-value="64"]{background:#cb906e}.tile[data-value="128"]{background:#a8c9b8}.tile[data-value="256"]{background:#84b5a3}.tile[data-value="512"]{background:#5c9d8d;color:white}.tile[data-value="1024"]{background:#347f73;color:white;font-size:clamp(22px,4vw,42px)}.tile[data-value="2048"],.tile[data-value="4096"],.tile[data-value="8192"]{background:#156d65;color:white;font-size:clamp(22px,4vw,42px)}aside{border-left:1px solid #e5e7e1;padding:5px 0 0 42px}aside p:not(.eyebrow){font-size:15px;line-height:1.75;color:#61747a}.hint{border-top:1px solid #e2e5df;margin-top:30px;padding-top:24px;color:#60747b;line-height:1.7;font-size:14px}.hint strong{color:#23564e}.controls{display:flex;align-items:center;flex-direction:column;gap:5px;margin-top:22px}.controls div{display:flex;gap:5px}.controls button{width:49px;height:42px;border:1px solid #d4ded8;background:#fff;border-radius:5px;font-size:23px;color:#17675e}.controls button:hover{background:#e9f2ed}footer{border-top:1px solid #e7e7e2;text-align:center;padding:26px;color:#798a89;font-size:12px}@media(max-width:760px){.site{height:62px}.back{padding:9px 11px;font-size:11px}main{padding:35px 19px 60px}.intro{display:block;padding-bottom:30px}h1{font-size:76px}.lede{font-size:15px;line-height:1.5}.scorecards{margin-top:26px}.scorecards>div{flex:1}.game{display:block;padding-top:27px}.toolbar p{max-width:190px}.toolbar button{font-size:12px;padding:10px}.board{padding:8px;gap:8px}.tile{font-size:clamp(25px,8vw,42px)}aside{border-left:0;border-top:1px solid #e5e7e1;margin-top:36px;padding:30px 0 0}footer{padding:22px 18px}}
