:root{font-family:ui-rounded,system-ui,sans-serif;color:#222;background:#f4efe3}*{box-sizing:border-box;user-select:none;-webkit-user-select:none}body{margin:0;background:#f4efe3;min-width:320px}.shell{width:min(100%,430px);min-height:100dvh;margin:auto;padding:64px 10px 24px}.head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.head strong{font-size:18px}.head span{font-size:14px;color:#625d52}.goal-card{margin:7px 0 2px;padding:7px 8px;border:2px solid #222;border-radius:5px;background:#fffaf0;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px}.goal-faces{display:flex;gap:4px}.face{font-style:normal;font-size:9px;font-weight:800;text-align:center}.face::before{content:'';display:block;width:18px;height:18px;margin:auto;border:1px solid #222;border-radius:50%;background:#aaa}.face.kai::before{background:#3b6fb6}.face.mei::before{background:#d9604c}.face.jo::before{background:#2f8f6f}.face.bo::before{background:#8b6a4e}#goal{margin:7px 0 2px;font-weight:700}#new-rule{min-height:21px;margin:0 0 7px;color:#625d52;font-size:14px}.board-shell{border:2px solid #222;background:#f4efe3}.floor-topline{height:50px;display:flex;justify-content:flex-end;align-items:center;padding:4px 6px;border-bottom:2px solid #222;background:#eadfca}canvas{width:100%;height:auto;display:block;touch-action:manipulation}#habit-card{max-width:150px;min-height:38px;padding:5px 7px;border:2px solid #222;border-radius:5px;background:#f4efe3;font-size:12px;line-height:1.15;display:flex;gap:5px;align-items:center}#habit-icon{font-size:18px}#message{min-height:20px;margin:8px 0;color:#a33b2f;font-weight:800}.controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.controls button,button{min-height:44px;border:2px solid #222;border-radius:5px;background:#f4efe3;color:#222;font:inherit;font-weight:700;padding:7px 12px}.primary-button{background:#2f8f6f;color:#fff}#result-screen{margin:12px 0;padding:14px;border:2px solid #222;background:#f4efe3;text-align:center}#result-title{margin:0;font-weight:900;font-size:22px}#result-copy{margin:5px 0 10px}.pl-topbar__inner{background:#f4efe3!important;border-bottom:2px solid #222}.pl-topbar__actions button{border:0}.pl-howto-layer{z-index:10}.pl-howto-card{border:2px solid #222!important;background:#f4efe3!important}.pl-howto-pictures canvas{border:2px solid #222}#map-screen h1{margin:5px 0}#map-screen>p{margin-top:0}.dance-card{height:86px;display:flex;flex-direction:column;justify-content:center;gap:9px;text-align:left;font-size:16px;color:#e0a21b}.dance-card small{color:#222}.dance-card:nth-child(2n){color:#2f8f6f}#card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}@media(max-height:620px){.shell{padding-top:58px;padding-bottom:8px}#new-rule{display:none}}@media(max-width:340px){.shell{padding-left:4px;padding-right:4px}.controls button{padding:6px 9px}.head strong{font-size:16px}.goal-card{font-size:11px}#habit-card{max-width:126px;font-size:11px}}
