:root{font-synthesis:none;text-rendering:optimizelegibility}*{margin:0}body{min-width:320px}:root{--rose:#e8607d;--rose-dark:#d6486c;--bg-1:#ffe3ec;--bg-2:#e9e4ff;--bg-3:#fff4e6;--ink:#3a2c33;--muted:#9a8a92;--card:#ffffffd9;--border:#d6486c2e}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:var(--ink);background:linear-gradient(135deg, var(--bg-1), var(--bg-2) 55%, var(--bg-3));-webkit-font-smoothing:antialiased;background-attachment:fixed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button{cursor:pointer;font-family:inherit}input,textarea,select{color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:12px;outline:none;width:100%;padding:12px 14px;font-family:inherit;font-size:1rem;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:var(--rose);box-shadow:0 0 0 3px #e8607d26}label{color:var(--rose-dark);margin:14px 0 6px;font-size:.85rem;font-weight:600;display:block}button.primary{color:#fff;background:linear-gradient(135deg, var(--rose), var(--rose-dark));border:none;border-radius:14px;width:100%;margin-top:18px;padding:14px;font-size:1rem;font-weight:700;transition:transform .1s,opacity .15s;box-shadow:0 8px 20px #d6486c4d}button.primary:hover{transform:translateY(-1px)}button.primary:disabled{opacity:.6;cursor:default}button.ghost{border:1px solid var(--border);color:var(--rose-dark);background:0 0;border-radius:12px;padding:8px 16px;font-weight:600}button.ghost.small{padding:4px 12px;font-size:.8rem}button.link{color:var(--muted);background:0 0;border:none;padding:0 0 0 10px;font-size:.8rem;text-decoration:underline}.error{color:#c0392b;background:#fdecea;border-radius:10px;margin-top:12px;padding:10px 12px;font-size:.85rem}.notice{border:1px dashed var(--border);background:#ffffffb3;border-radius:12px;padding:12px 14px;font-size:.9rem}.notice.inline{margin-top:14px}.auth-wrap,.room-wrap{justify-content:center;align-items:flex-start;min-height:100vh;padding:40px 18px;display:flex}.auth-card{background:var(--card);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border);text-align:center;border-radius:24px;width:100%;max-width:380px;margin-top:6vh;padding:36px 30px;box-shadow:0 20px 50px #783c5a26}.auth-card .emoji{color:var(--rose);font-size:2.4rem}.auth-card h1{margin:8px 0 4px;font-size:1.8rem}.subtitle{color:var(--muted);margin:0 0 10px}.switch{color:var(--muted);margin-top:16px;font-size:.85rem}.switch button{color:var(--rose-dark);background:0 0;border:none;padding:0;font-weight:700;text-decoration:underline}.room-wrap{align-items:stretch}.room-wrap>*{width:100%;max-width:620px}.room-header{justify-content:space-between;align-items:flex-start;margin-bottom:18px;display:flex}.room-header h2{color:var(--rose-dark);margin:0;font-size:1.8rem}.room-sub{color:var(--muted);margin:4px 0 0}.shuffle-card,.panel{background:var(--card);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:20px;margin-bottom:18px;padding:22px;box-shadow:0 10px 30px #783c5a14}.shuffle-card h3,.panel h3{color:var(--rose-dark);margin:0 0 14px;font-size:1.1rem}.shuffle-controls{gap:10px;display:flex}.shuffle-controls select{flex:1;width:auto}.shuffle-controls button{white-space:nowrap;width:auto;margin-top:0;padding-left:22px;padding-right:22px}.question-display{border:1px solid var(--border);text-align:center;background:linear-gradient(135deg,#fff,#fff0f4);border-radius:16px;margin-top:16px;padding:22px;font-size:1.25rem;line-height:1.5}.question-display p{margin:0 0 8px}.question-meta{color:var(--muted);margin-bottom:14px;font-size:.8rem;line-height:1.4}.question-category{font-weight:600}.question-actions{align-items:stretch;gap:10px;display:flex}.question-actions .ghost{flex:none;align-self:center}.question-actions .primary{flex:1;margin-top:0}.add-form textarea{resize:vertical}.add-form .row{flex-wrap:wrap;gap:10px;display:flex}.add-form .row select,.add-form .row input{flex:1;min-width:130px;margin:0}.add-form .row .author{min-width:120px}.muted{color:var(--muted)}.q-group{margin-bottom:16px}.q-group-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.tag{color:var(--rose-dark);background:#e8607d1f;border-radius:999px;padding:4px 12px;font-size:.8rem;font-weight:700;display:inline-block}.muted-tag{color:var(--muted);background:#9a8a9226}.q-group ul{margin:0;padding:0;list-style:none}.q-group li{border:1px solid var(--border);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:10px 12px;font-size:.95rem;display:flex}.settings-form label{margin-top:0}.settings-msg{color:var(--rose-dark);margin-left:12px;font-size:.85rem;font-weight:600}@media (width<=800px){.room-wrap{flex-direction:column}}@media (width<=640px){.auth-wrap,.room-wrap{padding:16px 12px}.shuffle-card,.panel{padding:18px}.auth-card{border-radius:20px;margin-top:2vh;padding:26px 18px}.room-header{flex-direction:column;align-items:stretch;gap:12px}.room-header button.ghost{align-self:flex-start}.shuffle-controls{flex-direction:column}.shuffle-controls button{width:100%}.add-form .row{flex-direction:column}.add-form .row select,.add-form .row input{flex:auto;width:100%;min-width:0}.question-display{padding:18px;font-size:1.1rem}.q-group li{flex-direction:column;align-items:flex-start;gap:6px}.q-group li button.link{padding-left:0}.settings-msg{margin-top:10px;margin-left:0;display:block}}@media (width<=360px){.auth-card h1{font-size:1.5rem}.room-header h2{font-size:1.4rem}}
