*{box-sizing:border-box}body{margin:0;color:#2a2328;background:#fff;font:14px/1.5 -apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif}button{font:inherit;cursor:pointer;touch-action:manipulation;border:0;border-radius:8px;min-height:44px;background:#f3f4f6;color:#2a2328;padding:8px 14px}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #a77991;outline-offset:2px}[hidden]{display:none!important}.shell{max-width:440px;margin:auto;padding:6px 12px max(16px,env(safe-area-inset-bottom))}.toolbar{display:flex;align-items:center;gap:12px;min-height:44px}.toolbar button{margin-left:auto}.toolbar b{font-variant-numeric:tabular-nums}.goal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:13px}.goal progress{width:100%;height:7px;accent-color:#6f948b}.hint{font-size:12px;min-height:20px;margin:8px 0 0;text-align:center}.board{position:relative;width:100%;aspect-ratio:1.12;background:radial-gradient(ellipse at 50% 40%,#f9f4e9,#e7d8bb);border-radius:16px;overflow:hidden;margin:4px 0 8px;isolation:isolate}.cell{position:absolute;width:27%;height:36%;padding:0;background:transparent;border-radius:0;min-height:0}.cell:disabled{opacity:1}.cell svg,.hand svg{width:100%;height:100%;overflow:visible;display:block}.cell.empty{cursor:pointer}.cell.empty svg{filter:drop-shadow(0 2px 1px #917c5b30)}.cell.empty:active{filter:brightness(.95)}.cell.event svg{animation:pulse .28s ease-out}.hand{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hand button{padding:2px 8px;background:#f3f4f6;height:102px;border:2px solid transparent}.hand button[aria-pressed=true]{border-color:#7b6258;background:#fff8ec}.hand-label{display:flex;justify-content:space-between;font-size:12px;font-weight:600}.hand-label span{font-size:10px;font-weight:400;color:#6e626a}.actions{display:flex;align-items:center;gap:12px;margin-top:8px}.actions span{font-size:12px;color:#6e626a}.companion{display:flex;align-items:center;gap:8px;margin-top:10px;min-height:80px}.companion img{width:76px;height:76px;object-fit:contain;flex:none}.companion p{margin:3px 0 0;font-size:13px}.companion b{font-size:12px}.panel{text-align:center;padding:8px 0}.cover{width:min(100%,270px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}.panel h2{font-size:20px;margin:10px 0 4px}.panel p{margin:4px 0 8px}.panel-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.primary{background:#ede5df;font-weight:700;min-width:140px}.label{text-align:left;font-size:12px;font-weight:600}.motion{display:flex;align-items:center;gap:4px;min-height:44px;font-size:13px}.motion input{width:18px;height:18px;accent-color:#6e626a}.rules{margin-top:8px;font-size:12px}.rules summary{min-height:44px;padding-top:12px}.rules p{margin:6px 0}.save-note{color:#6e626a;font-size:11px;margin:4px 0}.panel #summary{font-weight:600}.panel.compact .cover{display:none}@keyframes pulse{50%{filter:brightness(1.25);transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}.reduced *{animation:none!important;transition:none!important}
.cell.match svg>path:nth-child(2){stroke:#7a9b87;stroke-width:3}
.cell{clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
