*{box-sizing:border-box}body{margin:0;background:#fff;color:#2a2328;font:14px -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif}main{max-width:500px;margin:auto;padding:6px 16px 16px}button{font:inherit;color:inherit;border:0;border-radius:8px;background:#f3f4f6;min-height:44px;padding:10px 12px;touch-action:manipulation}button:active{transform:scale(.98)}[hidden]{display:none!important}.companion{display:flex;align-items:center;gap:10px;margin-bottom:6px}.companion img{width:72px;height:72px;object-fit:contain;flex-shrink:0}.companion strong{font-size:12px}.companion p{margin:4px 0;line-height:1.5}.panel{border:1px solid #e4e4e6;border-radius:12px;padding:12px}h2{font-size:18px;margin:0 0 10px}p{line-height:1.6}.note{font-size:11px;color:#6e626a;margin:8px 0}.status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.status button{font-size:12px}.rules{background:#eef0f3;border-radius:8px;padding:12px}.rules>strong{font-size:12px}.rules ol{list-style:none;margin:8px 0;padding:0;font-size:17px;line-height:1.8}.rules p{margin:4px 0 0;font-size:12px}.envelope{height:164px;margin:16px 4px;border:2px solid #d6d2d5;border-radius:8px;display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fff}.address{color:#6e626a;font-size:16px;line-height:2}.address span{font-size:12px}.stamp{height:112px;width:100px;border:2px dashed #d0c9cd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.stamp strong{font-size:13px}.symbol{width:44px;height:44px;display:block}.circle{border-radius:50%}.triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}.square{border-radius:2px}.rose{background:#b55368}.blue{background:#426d9b}.gold{background:#a47c21}#posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#posts button{height:100px;border:2px solid #d9d7da;position:relative;padding-top:20px}#posts button:before{content:'';position:absolute;top:12px;left:20%;width:60%;height:5px;border-radius:3px;background:#6e626a}#posts b{display:block;font-size:24px}#posts span{display:block;font-size:12px}#posts .correct{border:3px solid #49623b}#posts .wrong{border:3px dashed #a94446}#posts button:disabled{opacity:1;color:inherit}#feedback{min-height:26px;font-weight:600;margin:12px 0}#start,#retry,#resume,#next{width:100%;font-weight:600}@media(prefers-reduced-motion:reduce){button:active{transform:none}}

@media(max-height:740px){.companion img{width:56px;height:56px}.envelope{height:132px;margin:12px 0;padding:12px}.stamp{height:102px}.rules{padding:10px}#posts button{height:88px}}
