*{box-sizing:border-box}body{margin:0;background:#f5eddc;color:#243b36;font:16px/1.5 system-ui}main{max-width:1100px;margin:auto;padding:clamp(15px,4vw,50px)}header,.layout,#scores,#sticks{display:flex;gap:16px}header{align-items:end;justify-content:space-between;border-bottom:1px solid #857d64;margin-bottom:22px;padding-bottom:14px}h1,h2{font-family:Georgia,serif;line-height:1.05;margin:.15em 0}h1{font-size:clamp(32px,5vw,64px)}h2{font-size:36px}small{letter-spacing:.18em;font-weight:bold;color:#94482f}header span{font-size:13px}.painting{flex:1.35;position:relative;min-width:0;align-self:start;aspect-ratio:1;overflow:hidden;border:6px solid #544937;border-radius:9px;background:#e2d4ac}.painting img,#board{position:absolute;width:100%;height:100%;object-fit:cover}#board{background:#f3e5ba30}#board line{stroke:#503f34;stroke-width:4;paint-order:stroke}#board text{font: bold 14px system-ui;text-anchor:middle;dominant-baseline:central}.panel{flex:1;background:#fff9eb;border:1px solid #cec3a9;border-radius:10px;padding:clamp(16px,3vw,34px)}#scores{font-size:13px;font-weight:700;border-bottom:1px solid #cbbfa4;padding-bottom:14px;margin-bottom:20px}#sticks{margin:20px 0 10px;gap:8px}.stick{height:60px;width:17px;border-radius:10px;background:linear-gradient(90deg,#765336,#c99c61,#846039);border:1px solid #785634;transform:rotate(8deg)}.flat{background:repeating-linear-gradient(0deg,#e7c996 0 13px,#9f4d33 14px 16px)}button{background:#224b42;color:white;border:0;border-radius:5px;padding:11px 15px;font:600 15px system-ui;cursor:pointer}button:hover{background:#326256}#actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}#log{min-height:2.8em;color:#79452f}summary{cursor:pointer;font-weight:bold}details p{font-size:14px}@media(max-width:700px){.layout{display:block}.panel{margin-top:12px}header{align-items:start}header span{max-width:80px}}
