:root{font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif;line-height:1.5;color:#1a1a2e;background:#f0f4f8}*{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}.app{max-width:480px;margin:0 auto;padding:2rem 1rem}h1{font-size:1.75rem;margin:0 0 .25rem}.subtitle{color:#5a6a7a;margin:0 0 2rem;font-size:.9rem}.card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 2px 8px #00000014;margin-bottom:1rem}label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.35rem}input{width:100%;padding:.6rem .75rem;border:1px solid #ccd5df;border-radius:8px;font-size:1rem;margin-bottom:1rem}button{width:100%;padding:.75rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;background:#2563eb;color:#fff}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:#e2e8f0;color:#1a1a2e;margin-top:.5rem}.error{color:#dc2626;font-size:.9rem;margin-bottom:1rem}.room-code{font-size:2rem;font-weight:700;letter-spacing:.2em;text-align:center;margin:1rem 0}.player-list{list-style:none;padding:0;margin:0}.player-list li{padding:.5rem 0;border-bottom:1px solid #eef2f6}.status{font-size:.8rem;color:#64748b}.game-status{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;font-size:.85rem}.opponents{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-bottom:1rem}.opponent{background:#fff;border-radius:8px;padding:.5rem;font-size:.85rem;display:flex;flex-direction:column;gap:.25rem}.opponent.current{outline:2px solid #2563eb}.opponent.retired{opacity:.5}.hand{display:flex;flex-wrap:wrap;gap:.35rem}.card-chip{background:#e0e7ff;border-radius:6px;padding:.35rem .5rem;font-size:.8rem}.actions{background:#fff;border-radius:12px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 8px #00000014}.actions button{margin-bottom:.35rem}.option-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.option-btn{width:auto;min-width:4.5rem;padding:.55rem .75rem;margin-bottom:0;background:#e2e8f0;color:#1a1a2e;border:2px solid transparent;transition:border-color .15s,background .15s,box-shadow .15s}.option-btn.selected{background:#dbeafe;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb40}.option-btn.card-back{background:#1e3a5f;color:#fff;font-weight:700}.option-btn.card-back.selected{background:#2563eb;border-color:#93c5fd;box-shadow:0 0 0 3px #93c5fd73}.actions p{margin:0 0 .5rem;font-weight:600}.notice{background:#fef3c7;padding:.5rem .75rem;border-radius:8px;font-size:.85rem;margin-bottom:.75rem}.cpu-controls{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1rem}.cpu-controls button{margin-bottom:0}.cpu-tag{display:inline-block;margin-left:.35rem;padding:.05rem .35rem;background:#e2e8f0;border-radius:4px;font-size:.65rem;font-weight:600;vertical-align:middle}.badge{background:#fecaca;padding:.1rem .4rem;border-radius:4px;font-size:.75rem}.my-hand{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #00000014}
