:root{font-family:Inter,ui-rounded,system-ui,sans-serif;color:#102a43;background:linear-gradient(160deg,#e8f8ff,#f7fcff 55%,#d7f0ff);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}main{width:min(100% - 32px,520px);margin:0 auto;padding:42px 0}header{text-align:center;margin-bottom:28px}header h1{margin:4px 0;font-size:clamp(2.3rem,10vw,4rem);letter-spacing:-.06em}header p{margin:0;color:#486581}.drop{display:block;font-size:2.5rem}.card{padding:24px;border:1px solid rgb(255 255 255 / 80%);border-radius:28px;background:#ffffffe0;box-shadow:0 20px 60px #102a431f;text-align:center}.home{padding:42px 24px}.home p{margin-top:0;font-size:1.1rem;line-height:1.5}.create-form{display:grid;gap:9px;margin:22px 0 14px;text-align:left}.create-form label{font-weight:700}button{width:100%;border:0;border-radius:16px;padding:15px 20px;color:#fff;background:#087fca;font-weight:800;cursor:pointer;box-shadow:0 8px 18px #087fca40}button:hover{background:#066faa}button:disabled{cursor:not-allowed;opacity:.45}.game-code{margin:0 0 20px;color:#627d98}.game-code strong{color:#102a43;letter-spacing:.12em}.purpose{margin:-8px 0 20px;font-size:1.2rem;font-weight:800}.role{display:inline-block;margin:-8px 0 20px;padding:6px 11px;border-radius:999px;color:#066faa;background:#e2f4ff;font-size:.85rem;font-weight:800}.join-form{display:grid;gap:9px;margin-bottom:22px;text-align:left}.join-form label{font-weight:700}input{width:100%;border:2px solid #c9e4f5;border-radius:14px;padding:13px;outline:none}input:focus{border-color:#087fca}.invite{display:grid;justify-content:center;gap:6px;color:#627d98}.invite img{width:180px;max-width:100%;border-radius:12px}.participants{margin:25px 0}.participants h2{font-size:1rem;color:#486581}.participants ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}.participants li{padding:12px;border-radius:14px;background:#eef8fe;font-weight:700}.draw{background:#f05d5e;box-shadow:0 8px 18px #f05d5e40;font-size:1.1rem}.draw:hover{background:#d94b4c}.result{display:grid;gap:7px;padding:18px;border-radius:18px;background:#fff2df}.result strong{font-size:1.8rem;color:#d9572b}.waiting{font-size:1.4rem;font-weight:800}.airport-result{margin-top:14px;padding:16px 10px;border-radius:16px;background:#15191d;box-shadow:inset 0 0 0 1px #30363c,0 8px 20px #102a432e;overflow:hidden}.airport-label{display:block;margin-bottom:10px;color:#8d969e;font-size:.7rem;font-weight:800;letter-spacing:.18em}.split-flap{display:flex;justify-content:center;gap:3px;min-height:48px;perspective:500px}.flap{position:relative;display:grid;place-items:center;flex:0 1 34px;min-width:17px;height:50px;border-radius:4px;color:#f4f0dc;background:linear-gradient(to bottom,#30353a 0 48%,#101316 49% 52%,#292e32 53% 100%);box-shadow:0 0 0 1px #050607,inset 0 1px #ffffff14;font-family:Arial Narrow,Courier New,monospace;font-size:clamp(.85rem,5vw,1.65rem);font-weight:800;overflow:hidden}.flap:after{content:"";position:absolute;inset:50% 0 auto;height:1px;background:#050607;box-shadow:0 1px #ffffff0f}.flap-face{display:grid;place-items:center;width:100%;height:100%;animation:flap-in .12s linear both}.winner-board{margin:6px 0 0;background:#15191d}.winner-board .flap{color:#ffd166}.winner-board.spinning .flap{color:#f4f0dc}.winner-board .flap-face{animation-duration:.18s}.draw-result{text-align:center}@keyframes flap-in{0%{opacity:.35;transform:rotateX(-80deg)}55%{transform:rotateX(12deg)}to{opacity:1;transform:rotateX(0)}}.replay{margin-top:14px;background:#087fca}.new-game{margin-top:14px;color:#087fca;background:transparent;box-shadow:inset 0 0 0 2px #9cd5f5}.new-game:hover{color:#fff;background:#087fca}.error{color:#b42318;font-weight:700}@media(max-width:420px){main{width:min(100% - 20px,520px);padding-top:24px}.card{padding:19px;border-radius:22px}.split-flap{gap:2px}.flap{min-width:14px;height:42px}}
