:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#10152a;color:#fff9ee}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 40% 0,#303b66,#10152a 72%);padding:clamp(.75rem,4vw,2rem)}
main{max-width:42rem;margin:auto;border:1px solid #d8bc8a;border-radius:1.5rem;padding:clamp(1rem,5vw,2.25rem);background:linear-gradient(#11193240,#111932ed 55%,#10172f),url('/garden.webp') center 27%/cover;box-shadow:0 1rem 4rem #04071588}
header{min-height:13rem;display:flex;flex-direction:column;justify-content:flex-end}
header p{margin:.3rem 0;color:#f4e3c5;text-shadow:0 1px 5px black}
h1{font-family:Georgia,serif;font-size:clamp(2rem,8vw,3.2rem);margin:.1rem 0;text-shadow:0 2px 8px black}
#status{background:#101931e8;border:1px solid #9baacc66;padding:.75rem;border-radius:.65rem;line-height:1.5}
form{margin-top:1rem}label{display:block;font-weight:650;margin-bottom:.45rem}
.line{display:flex;gap:.65rem;align-items:stretch}
input,textarea,button{font:inherit;border-radius:.65rem;padding:.65rem .8rem;min-height:44px}
input,textarea{min-width:0;flex:1;background:#fff8eb;color:#151d35;border:1px solid #c5a9a6}
textarea{resize:vertical}button{background:#edced9;color:#251333;border:0;font-weight:700;cursor:pointer}
button:disabled{opacity:.68;cursor:wait}:focus-visible{outline:3px solid #ffd480;outline-offset:2px}
#messages{display:grid;gap:.6rem;max-height:42dvh;overflow:auto;overscroll-behavior:contain}
.bubble{line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;background:#253153;border-radius:.85rem;margin:0;padding:.75rem .95rem;justify-self:start;max-width:95%}
.bubble.user{background:#fce7e8;color:#271c35;justify-self:end}
small{display:block;color:#e9dfcf;margin-top:.7rem;line-height:1.5}

#join,.review-panel{border-radius:.85rem;background:#121b35ee;padding:1rem}
#join>.check-line{display:flex;align-items:flex-start;gap:.65rem;margin:0;line-height:1.55;cursor:pointer}
.check-line input,.rating-choices input{flex:none;min-height:0;width:1.15rem;height:1.15rem;padding:0;margin:.22rem 0 0;accent-color:#efc5d6}
.hint{font-size:.91rem;line-height:1.55;color:#e9dfcf;margin:.4rem 0 .85rem}
#nickname-field{margin:.75rem 0 1rem}#nickname{width:100%}
#room,#review{margin-top:1.15rem}
.review-panel h2{font-size:1.16rem;margin:0}.review-panel #identity{overflow-wrap:anywhere;margin:.55rem 0 .25rem}
.review-panel fieldset{margin:0 0 .9rem;border:0;padding:0}.review-panel legend{font-weight:650}
.rating-choices,.review-actions{display:flex;flex-wrap:wrap;gap:.45rem .65rem}
.rating-choices{margin-top:.35rem}
.rating-choices label{display:flex;align-items:center;gap:.4rem;min-height:44px;margin:0;font-weight:500;cursor:pointer}
.rating-choices input{margin:0}
#feedback{width:100%}#finish,#withdraw-actions{margin-top:.8rem}
.quiet{background:transparent;border:1px solid #969fba;color:#eee7df;font-weight:500}
#notice,#review-status,#confirm-withdraw p{line-height:1.55;overflow-wrap:anywhere}#review-status:empty{display:none}
footer{margin-top:1.2rem;text-align:right}footer a{color:#e4d8c1;font-size:.9rem;text-underline-offset:.2em}
