.lounge-board{margin:32px 0;padding:clamp(20px,4vw,38px);border:1px solid #68564b;border-radius:24px;background:radial-gradient(ellipse at 90% 0,#4d293337,transparent 65%),#141619}.lounge-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.lounge-board h2{font-size:clamp(28px,5vw,44px);margin:8px 0}.lounge-board p{color:#c1b8b0;line-height:1.6}.lounge-stats{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0}.lounge-stats strong{font-size:26px;display:block;color:#f2d2b5}.lounge-stats small{display:block;color:#b4b3b6}.lounge-links{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.lounge-link{border:1px solid #4d4343;border-radius:16px;padding:18px 10px;text-align:left;background:#1c1b21;color:#f6eae1;cursor:pointer;font:inherit;min-height:95px;text-decoration:none}.lounge-link span{font-size:26px;display:block;margin-bottom:9px}.lounge-link:hover,.lounge-link:focus-visible{border-color:#ffd8a4;background:#2c2329}.lounge-small{font-size:12px!important;color:#b4afb5!important}.lounge-board details{margin-top:20px}.lounge-board summary{cursor:pointer;color:#e6c9ad;padding:12px 0}.lounge-leaders{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lounge-leaders li{padding:6px 0}.lounge-memo{border-left:2px solid #d6b082;padding:2px 18px;margin-top:20px;white-space:pre-wrap}.lounge-memo h3{margin:8px 0}.lounge-memo p{margin:4px 0}
.lounge-dialog{color:#f2e9e3;background:#141317;border:1px solid #65535b;border-radius:24px;width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;overflow:hidden;box-shadow:0 30px 100px #0009}.lounge-dialog::backdrop{background:#08090dd9;backdrop-filter:blur(8px)}.lounge-dialog[open]{display:flex;flex-direction:column}.lounge-dialog header{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #39323b;flex-shrink:0}.lounge-dialog h2{font-size:24px;margin:0}.lounge-body{padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0;line-height:1.6}.lounge-body h3{font-size:24px;line-height:1.4}.lounge-dialog button,.lounge-dialog input,.lounge-dialog select,.lounge-dialog textarea{font:inherit}.lounge-dialog button{background:#302630;color:#ffeedb;border:1px solid #6a5364;padding:12px 18px;min-height:44px;border-radius:12px;cursor:pointer}.lounge-dialog button:disabled{opacity:.5;cursor:wait}.lounge-dialog button:focus-visible,.lounge-dialog a:focus-visible,.lounge-dialog input:focus-visible,.lounge-dialog textarea:focus-visible,.lounge-link:focus-visible{outline:3px solid #d8eeaf;outline-offset:3px}.lounge-dialog a{color:#e6c9ad}.lounge-dialog .lounge-primary{background:#f0c7a0;color:#271923;border-color:#f0c7a0;font-weight:700}.lounge-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.lounge-dialog label{display:block;margin:14px 0 6px}.lounge-dialog input:not([type=checkbox]),.lounge-dialog textarea,.lounge-dialog select{width:100%;border:1px solid #68515f;background:#0e1014;color:#fff;border-radius:10px;padding:12px;box-sizing:border-box}.lounge-dialog textarea{min-height:150px;resize:vertical}.lounge-dialog .check-label{display:flex;gap:12px;align-items:start;font-size:14px}.lounge-dialog input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#ddad98;margin-top:3px}.lounge-note{border:1px solid #64523a;background:#e6b1690b;padding:16px;border-radius:12px}.lounge-error{color:#ffc4bd;white-space:pre-wrap}.lounge-status{color:#d4edb8;white-space:pre-wrap}.lounge-choice{display:block;width:100%;text-align:left;margin:10px 0}.lounge-progress{height:6px;border-radius:8px;background:#302632;overflow:hidden}.lounge-progress span{display:block;height:100%;background:#deb28e;transition:width .25s}.lounge-result{padding:18px;border-radius:16px;background:#282132;border:1px solid #715c74}.lounge-result h3{margin:0}.lounge-score{font-size:60px;color:#f3c99e;font-weight:750}.lounge-mini{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;border-top:1px solid #3e333e;background:#1c191f;flex-shrink:0}.lounge-mini span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.lounge-mini button{padding:7px 14px;white-space:nowrap}.confession-art{text-align:center;font-size:60px;background:radial-gradient(ellipse,#a2475b35,transparent 65%);padding:12px}.dice-stage{display:flex;gap:20px;justify-content:center;padding:30px}.dice-face{display:grid;place-items:center;width:80px;height:80px;font-size:64px;background:#ffe8d4;color:#352333;border-radius:18px;box-shadow:0 10px 25px #0006}.dice-stage.rolling .dice-face{animation:lounge-roll .18s ease-in-out 6 alternate}.wheel-stage{width:min(330px,100%);margin:24px auto;position:relative}.wheel-stage:before{content:'▼';color:#fff0c9;font-size:30px;position:absolute;z-index:1;top:-22px;left:calc(50% - 15px);filter:drop-shadow(0 3px 2px #000)}.wheel-stage canvas{display:block;width:100%;height:auto;transition:transform 3.4s cubic-bezier(.12,.7,.12,1)}@keyframes lounge-roll{to{transform:rotate(16deg) translateY(-8px)}}
@media(max-width:650px){.lounge-links{grid-template-columns:repeat(2,1fr)}.lounge-link:last-child{grid-column:1/-1;min-height:auto}.lounge-link:last-child span{display:inline;margin-right:12px}.lounge-leaders{grid-template-columns:1fr}.lounge-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.lounge-body{padding:20px}.lounge-dialog header{padding:14px 20px}.lounge-head{display:block}.lounge-stats{gap:18px}.lounge-mini{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.dice-stage.rolling .dice-face{animation:none}.wheel-stage canvas,.lounge-progress span{transition:none}}
