/* A short, readable phone setup. Scoped so the other phone games keep their layout. */
body.phone:has(.joinform) { background: radial-gradient(ellipse at 50% 0, #30215d, #100d25 65%); }
.join-device { max-width: 150px; text-align: right; color: #d2cae8; font-size: .85rem; line-height: 1.35; }
.phone main:has(.joinform) { max-width: 480px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.joinform { padding: 26px; gap: 22px; background: #211a3b; border-color: #494060; box-shadow: 0 16px 48px #08061866; }
.join-eyebrow { color: #ffd580; font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.join-heading h1 { font-size: 2rem; line-height: 1.15; margin: 6px 0 10px; }
.join-heading p, .join-next, .join-help { margin: 0; color: #d7d1e5; font-size: .95rem; line-height: 1.5; }
.join-label { display: grid; gap: 3px; margin-bottom: 9px; font-size: 1rem; font-weight: 900; }
.join-label span { color: #c4bbd7; font-size: .8rem; font-weight: 600; }
.joinform input[type=text] { background: #130f27; border-color: #716381; border-radius: 12px; min-height: 56px; font-size: 1.1rem; }
.joinform #code { text-transform: uppercase; letter-spacing: .28em; font: 600 1.8rem Fredoka, sans-serif; text-align: center; }
.joinform input:focus-visible, .joinform button:focus-visible, .joinform summary:focus-visible { outline: 3px solid #ffd580; outline-offset: 3px; }
.joinform input[aria-invalid=true] { border-color: #ffb4bd; }
.join-avatar { border-top: 1px solid #494060; border-bottom: 1px solid #494060; padding: 12px 0; }
.join-avatar summary { cursor: pointer; font-weight: 800; line-height: 28px; min-height: 44px; padding: 8px 0; }
.join-avatar summary small { color: #c4bbd7; font-size: .75rem; font-weight: 600; }
.join-avatar #chosenFace { font-size: 1.35rem; vertical-align: middle; margin-right: 4px; }
.join-avatar .emojis { margin-top: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.join-avatar .emojis button { min-height: 44px; }
.joinform .btn.big { border-radius: 12px; min-height: 56px; font-size: 1.2rem; background: #ffd580; color: #211332; box-shadow: none; }
.joinform .notice { width: 100%; margin: 0; text-align: left; background: #412236; border-color: #a85972; color: #fff; font-size: .95rem; }
.join-next { text-align: center; font-size: .85rem; }
.join-help { padding: 20px 12px 0; text-align: center; font-size: .85rem; }
.join-help a { text-underline-offset: 3px; }
@media (max-width: 380px) { .joinform { padding: 20px; gap: 18px; } .join-avatar summary small { display: none; } }
