:root{--paper:#f5f0e5;--green:#315442;--muted:#859177;--line:#d4dcc8;--accent:#77956a;color-scheme:light}*{box-sizing:border-box}body{margin:0;color:var(--green);background:var(--paper);font:14px/1.5 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,a,select{touch-action:manipulation}button,select{font:inherit;color:inherit;background:#faf8ef;border:1px solid #cbd5bf;border-radius:8px;min-height:39px;padding:8px 12px}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:hover:not(:disabled){background:#e7ecdb}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #ad8b4b;outline-offset:3px}a{color:inherit;text-decoration:none}header{max-width:1280px;margin:auto;padding:23px 34px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font:30px Georgia,serif;letter-spacing:-.7px}.brand span{color:#8c9c72;font-size:32px;margin-right:7px}.masthead{font-size:8px;letter-spacing:2px;color:#8d997d}header>div{display:flex;gap:10px}header button{border:0;background:transparent;font-size:11px}main{max-width:1280px;margin:auto;padding:0 34px}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:32px 0 28px}.eyebrow{font-size:8px;letter-spacing:2px;font-weight:600;color:#849371;margin:0 0 10px}h1{font:46px/1.07 Georgia,serif;letter-spacing:-1px;margin:0}h1 em{font-weight:400;color:#a98665}h2{font:26px/1.2 Georgia,serif;letter-spacing:-.4px;margin:0}.intro>p{font-size:12px;line-height:1.9;color:#7c8a71}.rules{padding:23px 27px;background:#e6ecdb;border-radius:16px;margin:0 0 23px;line-height:1.8;max-width:980px}.rules p{font-size:12px}.setup{padding:23px;border:1px solid var(--line);border-radius:14px;display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;background:#faf8ef;margin-bottom:22px}.setup h2{font-size:23px}.setup .eyebrow{font-size:7px}.setup label{font-size:9px;color:#7d8c6d;display:flex;flex-direction:column;gap:6px}.setup select{font-size:11px;max-width:170px}.setup button{font-size:11px}.primary{background:var(--green);border-color:var(--green);color:#faf5e4}.primary:hover:not(:disabled){background:#50714e}.scores{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:21px}.scoreCard{border:1px solid #d0d9c2;border-radius:11px;display:flex;gap:13px;align-items:center;padding:12px 16px;background:#faf8ef}.scoreCard.active{background:#e6ecd8;border-color:#8fa67a}.scoreCard img{width:37px;height:37px;border-radius:8px;object-fit:cover}.scoreName{font:17px Georgia,serif;display:block}.scoreSub{font-size:8px;letter-spacing:.6px;color:#879677;display:block;margin-top:4px}.scoreArea{font:28px Georgia,serif;margin-left:auto;text-align:right;line-height:1}.scoreArea small{display:block;font:7px system-ui;letter-spacing:1px;color:#8a9778;margin-top:4px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:24px;align-items:start}.boardPanel{background:#faf8ef;border:1px solid #d4dcc7;border-radius:20px;overflow:hidden}.boardHeading{display:flex;justify-content:space-between;align-items:center;padding:23px 26px 0}.boardHeading .eyebrow{font-size:7px;margin-bottom:8px}.pill{font-size:8px;letter-spacing:1px;padding:7px 10px;border-radius:20px;background:#e6ecd8;color:#6a8157;white-space:nowrap}.canvasWrap{padding:5px 12px 0}canvas{display:block;width:100%;max-width:560px;margin:auto;height:auto;aspect-ratio:1;touch-action:manipulation;cursor:crosshair;outline-offset:-5px}.boardFoot{border-top:1px solid #e0e3d4;margin:0 24px;padding:15px 0 21px}.boardFoot p{min-height:35px;font-size:12px;line-height:1.6;margin:0 0 13px;color:#718468}.boardFoot>div{display:flex;justify-content:space-between;align-items:center}.boardFoot span{font-size:9px;color:#96a185}.boardFoot button{font-size:10px;min-height:32px;padding:6px 10px}.trayPanel{border:1px solid #d4dcc7;background:#faf8ef;border-radius:18px;padding:24px 22px}.trayHeading h2{font-size:24px}.trayHeading>p:not(.eyebrow){font-size:11px;color:#8c967e;margin:10px 0 18px;line-height:1.7}.chosen{padding:13px 9px;background:#eef0e3;border-radius:9px;display:flex;align-items:center;gap:14px;min-height:100px}.chosen>div:last-child{display:flex;flex-direction:column;gap:3px;flex:1}.chosen strong{font:20px Georgia,serif}.chosen span{font-size:10px;color:#788b68}.chosen small{font-size:9px;line-height:1.5;color:#7a8c6b}.shapeGrid{display:grid;gap:2px;width:max-content;align-self:center}.shapeCell{width:13px;height:13px;border-radius:2px;background-size:cover;background-position:center}.shapeCell.empty{background:transparent}.chosen .shapeCell{width:14px;height:14px}#chosenShape{min-width:82px;display:grid;place-items:center}.transform{display:flex;gap:8px;margin-top:12px}.transform button{flex:1;font-size:11px;background:transparent;display:flex;align-items:center;justify-content:space-between}kbd{font:8px system-ui;border:1px solid #d2dbc3;border-radius:4px;padding:1px 4px;color:#7f8e70}.aimControls{display:flex;gap:6px;align-items:center;margin-top:10px}.aimControls>button:not(#hint){width:34px;padding:4px;min-height:34px}.aimControls>div{display:flex;flex-direction:column;gap:3px}.aimControls>div>button{width:34px;padding:2px;min-height:25px;height:25px;font-size:11px}.aimControls #hint{font-size:10px;flex:1;min-height:53px;padding:8px;display:flex;justify-content:space-between;align-items:center}.aimControls #hint span{font-size:18px;color:#b49c60}.place{width:100%;margin-top:11px;font-size:12px;display:flex;justify-content:space-between}.trayLabel{display:flex;justify-content:space-between;margin:23px 0 12px;font-size:8px;letter-spacing:1px;color:#839272}.trayLabel small{font-size:9px;letter-spacing:0}.pieces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.piece{padding:7px 4px;min-height:71px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:7px;background:#f8f7eb;border-color:#e0e3d1;border-radius:7px}.piece .shapeCell{width:10px;height:10px;border-radius:2px}.piece span.pieceName{font-size:8px;color:#839171;line-height:1.1}.piece.selected{border-color:#849c6e;background:#e8eddc;box-shadow:0 0 0 1px #849c6e}.piece.unplayable{opacity:.35}.smallprint{font-size:10px;line-height:1.8;color:#8b977d;margin:18px 0 0}.result{margin:0 24px 20px;padding:20px;border-radius:12px;background:#e6ebd6}.result h2{font-size:25px}.result p:last-child{font-size:12px;color:#7a8969;line-height:1.7;margin:12px 0 0}.keepsakes{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:32px 0 24px;padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:25px}.keepsakes h2{font-size:25px}.keepsakes p:last-child{font-size:11px;color:#8a967b;margin-bottom:0}.tileGallery{display:flex;gap:15px}.tileGallery img{width:67px;height:67px;border-radius:10px;box-shadow:0 3px 5px #4c563d15}.tileGallery img:nth-child(even){transform:rotate(5deg)}.tileGallery img:nth-child(odd){transform:rotate(-4deg)}footer{display:flex;justify-content:space-between;font-size:10px;color:#8e977e;margin-bottom:27px;gap:20px}footer a{text-decoration:underline;text-underline-offset:3px}[hidden]{display:none!important}@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) 305px;gap:18px}.trayPanel{padding:22px 17px}.pieces{gap:6px}.shapeCell{width:12px;height:12px}.chosen .shapeCell{width:12px;height:12px}.masthead{display:none}.intro h1{font-size:42px}.boardHeading{padding:22px 21px 0}.canvasWrap{padding:5px 4px 0}.setup{gap:13px}.setup>div{width:100%}}@media(max-width:850px){main{padding:0 24px}header{padding:20px 24px}.layout{grid-template-columns:1fr}.trayPanel{padding:23px}.pieces{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.piece{min-height:68px}.piece .shapeCell{width:8px;height:8px}.chosen{justify-content:flex-start}.chosen>div:last-child{max-width:270px}.transform{max-width:400px}.aimControls{max-width:400px}.place{max-width:400px}.keepsakes{gap:15px}.keepsakes h2{font-size:23px}.tileGallery{gap:10px}.tileGallery img{width:52px;height:52px}}@media(max-width:600px){header{padding:17px 17px;gap:10px}.brand{font-size:24px}.brand span{font-size:27px;margin-right:2px}header>div{gap:2px}header button{font-size:9px;padding:5px;min-height:32px}main{padding:0 14px}.intro{display:block;padding:27px 4px 21px}.intro h1{font-size:40px}.intro>p{font-size:11px;margin-top:17px}.scores{gap:7px;margin-bottom:15px}.scoreCard{padding:10px 11px;gap:9px}.scoreCard img{width:30px;height:30px;border-radius:6px}.scoreName{font-size:15px}.scoreSub{font-size:7px;max-width:83px}.scoreArea{font-size:24px}.scoreArea small{font-size:6px}.boardPanel{border-radius:15px}.boardHeading{padding:20px 18px 0}.boardHeading h2{font-size:24px}.boardHeading .eyebrow{font-size:6px;letter-spacing:1.3px}.pill{font-size:7px;padding:5px 8px}.canvasWrap{padding:5px 0 0}.boardFoot{margin:0 18px;padding:11px 0 18px}.boardFoot p{font-size:11px;min-height:37px}.boardFoot button{font-size:9px}.boardFoot span{font-size:8px}.trayPanel{padding:22px 20px}.pieces{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.piece .shapeCell{width:10px;height:10px}.piece{min-height:74px}.trayHeading h2{font-size:25px}.chosen .shapeCell{width:15px;height:15px}.rules{padding:22px}.rules p{font-size:11px}.setup{padding:20px;gap:12px}.setup label{width:calc(50% - 6px)}.setup select{width:100%;font-size:10px;padding:7px;max-width:100%}.setup button{width:100%}.keepsakes{display:block;margin-top:25px;padding:24px 6px}.keepsakes h2{font-size:24px}.tileGallery{margin-top:23px;gap:15px}.tileGallery img{width:52px;height:52px}footer{display:block;font-size:9px;line-height:2;margin:0 4px 23px}footer span{display:block}.result{margin:0 18px 16px;padding:17px}.result h2{font-size:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
