/* Ekka — Sadapanna. Night table, bright cards. */
@font-face { font-family: "Madimi One"; src: url("/assets/fonts/madimi-one-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --ink: #17142a;
  --purple: #6b4eff;
  --purple-deep: #2a1d6e;
  --yellow: #ffc736;
  --paper: #fffdf6;
  /* the four card colours */
  --red: #f23d4f;
  --amber: #ffc21a;
  --green: #1fba5e;
  --blue: #2f80ff;
  --active: var(--purple);
  --cw0: clamp(54px, min(19vw, 13vh), 104px);
  --cw: var(--cw0);
  --ch: calc(var(--cw) * 1.45);
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand: "Madimi One", "Poppins", sans-serif;
  --hand: "Caveat", cursive;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  color: #fff;
  background: #0d0a22;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }

#app {
  position: fixed; inset: 0;
  background:
    radial-gradient(80% 46% at 50% -6%, rgba(107,78,255,.42) 0%, transparent 72%),
    radial-gradient(60% 40% at 50% 108%, rgba(107,78,255,.2) 0%, transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.045) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(175deg, #1d1848 0%, #120e2e 46%, #080617 100%);
}
.screen { position: absolute; inset: 0; display: none; flex-direction: column; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
#app[data-screen="home"] #home,
#app[data-screen="lobby"] #lobby,
#app[data-screen="table"] #table { display: flex; animation: screenIn .35s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .12s, box-shadow .12s, filter .12s, opacity .2s;
}
.btn:active { transform: translateY(3px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-yellow { background: linear-gradient(180deg, #ffd964, var(--yellow)); color: var(--ink); box-shadow: 0 5px 0 #c98f00, 0 10px 24px rgba(0,0,0,.3); }
.btn-yellow:active { box-shadow: 0 2px 0 #c98f00; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #cfc8ee; }
.btn-light:active { box-shadow: 0 1px 0 #cfc8ee; }
.btn-ghost { background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.26); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.11); font-size: 16px; display: grid; place-items: center; flex: none; }
.icon-btn:active { transform: scale(.92); }

/* ---------- home ---------- */
#home { align-items: center; overflow-y: auto; overflow-x: hidden; padding-bottom: 28px; }
#home > *:not(.drift) { position: relative; z-index: 1; }
.drift { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.drift .card { position: absolute; top: 100%; left: var(--l); opacity: .14; will-change: transform; animation: drift var(--d) linear infinite; animation-delay: var(--dl); transform: scale(var(--s)); }
@keyframes drift { from { translate: 0 0; rotate: var(--r0); } to { translate: var(--dx) -135vh; rotate: var(--r1); } }
.home-back { align-self: flex-start; margin: 14px 16px 0; color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; font-weight: 600; }
.hero { text-align: center; margin-top: 10px; padding: 0 20px; }
.hero-cards { height: calc(var(--ch) * 1.05); position: relative; width: calc(var(--cw) * 3); margin: 6px auto 4px; }
.hero-cards .card { position: absolute; left: 50%; top: 0; margin-left: calc(var(--cw) / -2); transform-origin: 50% 120%; animation: heroFan .9s cubic-bezier(.2,.9,.3,1.2) both; }
.hero-cards .card:nth-child(1) { --r: -24deg; animation-delay: .05s; }
.hero-cards .card:nth-child(2) { --r: -8deg; animation-delay: .12s; }
.hero-cards .card:nth-child(3) { --r: 8deg; animation-delay: .19s; }
.hero-cards .card:nth-child(4) { --r: 24deg; animation-delay: .26s; }
@keyframes heroFan { from { transform: rotate(0) translateY(40px); opacity: 0; } to { transform: rotate(var(--r)); opacity: 1; } }
.logo { font-family: var(--brand); font-weight: 400; font-size: clamp(60px, 18vw, 92px); line-height: 1; letter-spacing: .01em; text-shadow: 0 3px 0 #cfc6ff, 0 8px 0 rgba(0,0,0,.35), 0 0 44px rgba(124,92,255,.75); margin-top: 6px; }
.logo-bang { color: var(--yellow); display: inline-block; transform: rotate(10deg); margin-left: 2px; }
.tag { font-family: var(--hand); font-size: 23px; color: #e6dfff; margin-top: 4px; line-height: 1.2; }
.panel { width: min(400px, calc(100% - 32px)); margin-top: 18px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); border: 1.5px solid rgba(255,255,255,.2); box-shadow: 0 18px 40px rgba(5,2,30,.5), inset 0 1px 0 rgba(255,255,255,.22); border-radius: 26px; padding: 18px; display: flex; flex-direction: column; gap: 12px;  }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #d9d1ff; }
.field input, .join-row input {
  height: 50px; border-radius: 16px; border: 2px solid transparent; padding: 0 16px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: 16px; outline: none; user-select: text; -webkit-user-select: text;
}
.field input:focus, .join-row input:focus { border-color: var(--yellow); }
.av-pick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 2px 5px; margin: -2px -4px 0; }
.av-pick::-webkit-scrollbar { display: none; }
.av-pick button { flex: none; width: 42px; height: 42px; border-radius: 50%; font-family: var(--emoji); font-size: 23px; line-height: 1; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: transform .15s, background .15s, box-shadow .15s; }
.av-pick button[aria-checked="true"] { background: #fff; box-shadow: 0 0 0 3px var(--yellow); transform: scale(1.08); }
.join-row { display: flex; gap: 10px; }
.join-row input { width: 44%; text-align: center; letter-spacing: .28em; text-transform: uppercase; font-family: var(--brand); font-size: 20px; padding: 0 6px 0 12px; }
.join-row .btn { flex: 1; }
.or { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.home-msg { min-height: 18px; font-size: 13px; text-align: center; color: var(--yellow); font-weight: 600; }
.home-msg:empty { display: none; }
.rules { width: min(400px, calc(100% - 32px)); margin-top: 14px; background: rgba(0,0,0,.24); border-radius: 20px; padding: 4px 18px; font-size: 14px; line-height: 1.55; color: #e9e4ff; }
.rules summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: #fff; list-style: none; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "+"; float: right; font-size: 20px; line-height: 1; }
.rules[open] summary::after { content: "–"; }
.rules-body { padding-bottom: 14px; }
.rules-body ul { padding-left: 18px; margin: 8px 0; }
.rules-body li { margin-bottom: 6px; }
.rules-body p { margin-top: 8px; }
.rules-body strong { color: var(--yellow); font-weight: 600; }
.rules-link { color: #fff; font-weight: 600; }
.fineprint { width: min(400px, calc(100% - 48px)); text-align: center; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.5); margin-top: 14px; }

/* ---------- bars ---------- */
.bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 4px; flex: none; }
.bar-title { font-family: var(--brand); font-size: 17px; letter-spacing: .05em; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .65; margin-left: 6px; text-transform: uppercase; }
.bar-spacer { flex: 1; }
.clock { font-family: var(--brand); font-size: 17px; letter-spacing: .04em; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); font-variant-numeric: tabular-nums; flex: none; }
.clock.low { background: var(--red); box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(242,61,79,.7); animation: pulse .9s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }

/* ---------- lobby ---------- */
.lobby-body { flex: 1; overflow-y: auto; padding: 8px 16px 16px; width: min(480px, 100%); margin: 0 auto; }
.code-card { display: flex; gap: 14px; align-items: center; background: #fff; color: var(--ink); border-radius: 26px; padding: 16px; box-shadow: 0 8px 0 rgba(0,0,0,.22); }
.code-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.code-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #7a7592; }
.code { font-family: var(--brand); font-size: clamp(40px, 13vw, 56px); letter-spacing: .08em; line-height: 1.1; color: var(--purple); user-select: text; -webkit-user-select: text; }
.code-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.code-actions .btn-light { background: var(--purple); color: #fff; box-shadow: 0 4px 0 #4a32c9; }
.code-actions .btn-ghost { background: #efeaff; color: var(--purple-deep); box-shadow: none; }
.qr { width: 116px; height: 116px; flex: none; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.qr svg, .qr img { width: 100%; height: 100%; display: block; }
.lobby-hint { font-size: 13px; color: #d9d1ff; margin: 12px 4px 0; line-height: 1.5; }
.lobby-hint b { color: #fff; font-weight: 600; }
.lobby-h { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 20px 4px 8px; color: #cfc6ff; }
.lobby-h span { opacity: .7; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 10px 11px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16); transition: transform .15s, background .2s, box-shadow .2s; min-width: 0; }
.mode b { font-family: var(--brand); font-weight: 400; font-size: 17px; letter-spacing: .02em; }
.mode small { font-size: 11px; line-height: 1.35; color: #cfc6ff; }
.mode-ic { font-family: var(--emoji); font-size: 22px; line-height: 1.1; }
.mode[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 3px var(--yellow), 0 6px 0 rgba(0,0,0,.25); transform: translateY(-2px); }
.mode[aria-checked="true"] small { color: #5c5871; }
.mode:disabled { cursor: default; }
.mode:disabled:not([aria-checked="true"]) { opacity: .45; }
.mode-note { font-size: 13px; line-height: 1.5; color: #d9d1ff; margin: 10px 4px 0; }
.mode-note b { color: #fff; font-weight: 600; }
.host-only { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: #e9e4ff; }
.chips { display: flex; background: rgba(0,0,0,.28); border-radius: 99px; padding: 3px; }
.chips button { min-width: 48px; padding: 6px 11px; border-radius: 99px; font-size: 13px; font-weight: 600; color: #cfc6ff; transition: background .15s, color .15s; }
.chips button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.plist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.plist li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.09); border-radius: 18px; padding: 8px 10px; animation: popIn .3s cubic-bezier(.2,.9,.3,1.3) both; }
.plist .pname { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist .ptag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.16); text-transform: uppercase; letter-spacing: .06em; }
.plist .ptag.you { background: var(--yellow); color: var(--ink); }
.plist .kick { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.28); font-size: 13px; }
.plist li.off { opacity: .5; }
@keyframes popIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--emoji); font-size: 22px; line-height: 1; flex: none; background: radial-gradient(circle at 30% 25%, #fff, #e8e2ff 70%); box-shadow: 0 0 0 2.5px rgba(255,255,255,.9), 0 3px 8px rgba(0,0,0,.35); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #e9e4ff; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { width: 46px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.2); position: relative; flex: none; transition: background .2s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked + .toggle-ui { background: var(--yellow); }
.toggle input:checked + .toggle-ui::after { transform: translateX(18px); }
.lobby-foot { flex: none; padding: 10px 16px 18px; width: min(480px, 100%); margin: 0 auto; display: flex; flex-direction: column; }
.lobby-wait { text-align: center; font-family: var(--hand); font-size: 22px; color: #e6dfff; }

/* ---------- cards ---------- */
/* --ch has to be re-derived wherever --cw is overridden (custom properties inherit their computed value) */
.card, .center, .piles, .pile, .deck, .ghost, .scores .left, .hero-cards, .hand-inner { --ch: calc(var(--cw) * 1.45); }
.card {
  --col: #2a2740; --lite: #4c4768; --deep: #100e1c; --gem: #07060d;
  width: var(--cw); height: var(--ch); flex: none;
  border-radius: calc(var(--cw) * .15);
  background:
    radial-gradient(120% 72% at 18% 0%, rgba(255,255,255,.4), transparent 56%),
    linear-gradient(165deg, var(--lite) 0%, var(--col) 44%, var(--deep) 100%);
  border: calc(var(--cw) * .055) solid #fff;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.35), 0 calc(var(--cw) * .05) calc(var(--cw) * .14) rgba(4,2,20,.55);
  overflow: hidden;
  font-family: var(--brand);
  color: #fff;
  --o: calc(var(--cw) * .034);
}
.card.c-r { --col: #f23d4f; --lite: #ff8478; --deep: #c8163b; --gem: #8c0d2a; }
.card.c-y { --col: #ffc21a; --lite: #ffe56e; --deep: #f69700; --gem: #c96800; }
.card.c-g { --col: #1fba5e; --lite: #74e693; --deep: #0b8a4b; --gem: #055d34; }
.card.c-b { --col: #2f80ff; --lite: #83baff; --deep: #1350d2; --gem: #0b3497; }
.card .page { /* the gem in the middle: lit on top, shaded below */
  position: absolute; left: 50%; top: 50%; width: 63%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 20%;
  background: radial-gradient(90% 90% at 22% 22%, color-mix(in srgb, var(--gem) 68%, #fff) 0%, var(--gem) 62%, color-mix(in srgb, var(--gem) 84%, #000) 100%);
  box-shadow: inset 0 0 0 calc(var(--cw) * .026) rgba(255,255,255,.5), 0 calc(var(--cw) * .03) calc(var(--cw) * .06) rgba(0,0,0,.28);
  display: grid; place-items: center;
}
.card .big {
  transform: rotate(-45deg);
  font-size: calc(var(--cw) * .72); line-height: 1; display: grid; place-items: center; color: #fff;
  -webkit-text-stroke: calc(var(--o) * 2) var(--gem); paint-order: stroke fill;
  text-shadow: 0 calc(var(--o) * 1.5) 0 rgba(0,0,0,.32);
}
.card .big.txt { font-size: calc(var(--cw) * .52); letter-spacing: -.02em; }
.card .big svg { width: calc(var(--cw) * .58); height: calc(var(--cw) * .58); overflow: visible; }
.card .ul { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .08em; }
.card .cn { position: absolute; font-size: calc(var(--cw) * .28); line-height: 1; display: grid; justify-items: center; gap: calc(var(--cw) * .03); -webkit-text-stroke: calc(var(--o) * 1.5) var(--gem); paint-order: stroke fill; }
.card .cn svg { width: calc(var(--cw) * .26); height: calc(var(--cw) * .26); overflow: visible; }
.card .cn svg .bk, .card .big svg .bk { stroke: var(--gem); }
.card .cn.tl { top: 5%; left: 7%; }
.card .cn.br { bottom: 5%; right: 7%; transform: rotate(180deg); }
.card .shape { width: calc(var(--cw) * .1); height: calc(var(--cw) * .1); background: #fff; box-shadow: 0 0 0 calc(var(--o) * .5) var(--gem); }
.card.c-r .shape { border-radius: 50%; }
.card.c-y .shape { clip-path: polygon(50% 0, 100% 100%, 0 100%); box-shadow: none; }
.card.c-g .shape { border-radius: 14%; }
.card.c-b .shape { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); box-shadow: none; }
.card.c-w .shape { display: none; }
.card.c-w .page {
  background: conic-gradient(from 0deg, #f23d4f 0 25%, #2f80ff 0 50%, #1fba5e 0 75%, #ffc21a 0);
  box-shadow: inset 0 0 0 calc(var(--cw) * .034) #fff, 0 0 calc(var(--cw) * .22) rgba(255,255,255,.28);
}
.card.c-w .big, .card.c-w .cn { -webkit-text-stroke-color: #100e1c; }
.card .page .wheel { display: contents; }
.card .big:has(.wheel) { font-size: calc(var(--cw) * .48); }
.card .cn .wheel {
  display: block; width: calc(var(--cw) * .17); aspect-ratio: 1; border-radius: 24%; transform: rotate(45deg); margin: calc(var(--cw) * .03);
  background: conic-gradient(#f23d4f 0 25%, #2f80ff 0 50%, #1fba5e 0 75%, #ffc21a 0);
  box-shadow: 0 0 0 calc(var(--cw) * .015) #fff;
}
.card.back {
  background:
    radial-gradient(120% 72% at 18% 0%, rgba(255,255,255,.2), transparent 56%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 1.6px) 0 0 / calc(var(--cw) * .12) calc(var(--cw) * .12),
    linear-gradient(162deg, #3b2f86 0%, #241a5e 50%, #130d38 100%);
}
.card.back .page { background: radial-gradient(90% 90% at 22% 22%, #a893ff 0%, #6b4eff 62%, #4a2dd0 100%); box-shadow: inset 0 0 0 calc(var(--cw) * .026) rgba(255,255,255,.55), 0 0 calc(var(--cw) * .24) rgba(124,92,255,.6); }
.card.back .big { font-size: calc(var(--cw) * .42); color: var(--yellow); -webkit-text-stroke-color: #2a1784; }

/* ---------- table ---------- */
#table { overflow: hidden; }
#table.quake .arena { animation: quake .38s; }
@keyframes quake { 15% { transform: translate(-7px, 3px) rotate(-.6deg); } 35% { transform: translate(6px, -4px) rotate(.5deg); } 55% { transform: translate(-4px, 2px); } 75% { transform: translate(3px, -1px); } }
.bar-table { padding-bottom: 0; position: relative; z-index: 5; }
.arena { flex: 1; min-height: 0; position: relative; }
.felt {
  position: absolute; inset: 40px 30px 24px;
  border-radius: min(170px, 44vw);
  border: 10px solid transparent;
  background:
    radial-gradient(85% 60% at 50% 40%, #2b3470 0%, #1a2050 55%, #0f1335 100%) padding-box,
    linear-gradient(165deg, #6a5fb8 0%, #3d3484 30%, #241d5c 65%, #15103c 100%) border-box;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5), 0 24px 46px rgba(0,0,0,.6);
  overflow: hidden;
}
.felt::after { /* weave + inner shadow */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.055) 1px, transparent 1.4px) 0 0 / 7px 7px;
  box-shadow: inset 0 10px 30px rgba(0,0,0,.55), inset 0 -4px 14px rgba(0,0,0,.3);
}
.glow { /* a strip of light round the rim, in the colour being played */
  position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  box-shadow: inset 0 0 0 3px var(--active), inset 0 0 34px 4px color-mix(in srgb, var(--active) 62%, transparent);
  transition: box-shadow .5s;
}
.emblem { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); font-family: var(--brand); font-size: min(46vw, 250px); line-height: 1; color: #fff; opacity: .028; pointer-events: none; }

.seats { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.seat { --as: 50px; position: absolute; left: var(--sx, 50%); top: var(--sy, 0); transform: translate(-50%, calc(var(--as) / -2)); display: flex; flex-direction: column; align-items: center; gap: 3px; width: 88px; transition: opacity .3s, left .4s, top .4s, filter .3s; }
.seats.compact .seat { --as: 40px; width: 68px; gap: 2px; }
.av-wrap { position: relative; width: var(--as); height: var(--as); transition: transform .25s; }
.seat .avatar, .me-chip .avatar { width: 100%; height: 100%; font-size: calc(var(--as) * .56); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.55); }
.tring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); opacity: 0; transition: opacity .2s; overflow: visible; }
.tring circle { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 46 124; }
.turn .av-wrap { transform: scale(1.12); }
.turn .avatar { box-shadow: 0 0 0 3px #fff, 0 0 24px 7px rgba(255,199,54,.6); }
.turn .tring { opacity: 1; animation: ringSpin 1s linear infinite; }
.turn.timed .tring { animation: none; }
@keyframes ringSpin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.seat .sname { font-size: 11.5px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 10px; border-radius: 99px; background: rgba(10,7,34,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); line-height: 1.5; margin-top: 3px; position: relative; z-index: 2; }
.seats.compact .seat .sname { font-size: 10.5px; padding: 1px 7px; }
.seat.turn .sname { background: var(--yellow); color: var(--ink); }
.seat.away { opacity: .5; }
.seat.out .av-wrap, .seat.out .sname { filter: grayscale(1) brightness(.55); }
.seat.out .fan { visibility: hidden; }
.seat.out::after { content: "OUT"; position: absolute; top: calc(var(--as) / 2 - 10px); font-family: var(--brand); font-size: 14px; letter-spacing: .08em; background: var(--red); color: #fff; padding: 1px 8px; border-radius: 6px; transform: rotate(-12deg); box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(0,0,0,.5); z-index: 4; }
/* the cards each player is holding, face down in front of them */
.fan { position: relative; height: 30px; display: flex; justify-content: center; align-items: flex-start; margin-top: 1px; padding-left: 9px; }
.fan i { width: 17px; height: 24px; border-radius: 4px; margin-left: -9px; flex: none; background: linear-gradient(160deg, #4a3aa8, #1d1450); border: 1.5px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.45); transform-origin: 50% 130%; transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 9deg)); }
.seats.compact .fan { height: 25px; padding-left: 8px; }
.seats.compact .fan i { width: 14px; height: 20px; margin-left: -8px; border-radius: 3.500px; }
.fan .count { position: absolute; left: 50%; top: 5px; transform: translateX(-50%); min-width: 22px; padding: 0 5px; height: 20px; border-radius: 99px; background: #fff; color: var(--ink); font-family: var(--brand); font-size: 13.500px; line-height: 20px; text-align: center; box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.4); z-index: 2; }
.seats.compact .fan .count { top: 3px; height: 18px; line-height: 18px; font-size: 12.500px; min-width: 20px; }
.fan .count.bump { animation: bump .3s; }
.fan .count.hot { background: var(--red); color: #fff; }
@keyframes bump { 40% { transform: translateX(-50%) scale(1.5); } }
.seat .flag { position: absolute; top: -13px; left: 50%; margin-left: -44px; font-family: var(--brand); font-size: 12px; background: var(--yellow); color: var(--ink); padding: 1px 8px; border-radius: 99px; transform: rotate(-10deg); box-shadow: 0 2px 0 rgba(0,0,0,.3); z-index: 3; animation: popIn .3s cubic-bezier(.2,.9,.3,1.5) both; }
.seat.zap .av-wrap { animation: zap .5s; }
@keyframes zap { 20% { transform: translateX(-6px) rotate(-10deg); } 45% { transform: translateX(6px) rotate(10deg); } 70% { transform: translateX(-3px) rotate(-4deg); } }

.center { position: absolute; inset: 40px 30px 24px; display: grid; place-items: center; z-index: 2; container-type: size; }
.ring { position: absolute; width: min(calc(var(--cw0) * 4.900), 94cqw, 94cqh); aspect-ratio: 1; color: var(--active); opacity: .5; animation: spin 14s linear infinite; pointer-events: none; transition: opacity .8s, color .5s; will-change: transform; }
.ring.ccw { animation-name: spinBack; }
.ring.ccw g { transform: scaleX(-1); transform-origin: 100px 100px; }
.ring.flash { opacity: 1; transition: opacity .1s; animation-duration: .7s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinBack { to { transform: rotate(-360deg); } }
.piles { --cw: calc(var(--cw0) * var(--ts, 1.12)); display: flex; gap: calc(var(--cw) * .34); align-items: center; position: relative; z-index: 1; }
.deck { width: var(--cw); height: var(--ch); position: relative; border-radius: calc(var(--cw) * .15); transition: transform .15s; }
.deck::before { content: ""; position: absolute; inset: 6px -4px -10px 2px; border-radius: inherit; box-shadow: 0 10px 20px 2px rgba(0,0,0,.5); }
.deck-stack { position: absolute; inset: 0; }
.deck-stack .card { position: absolute; inset: 0; box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.deck-stack .card:nth-child(1) { transform: translate(-7px, 7px); }
.deck-stack .card:nth-child(2) { transform: translate(-3.500px, 3.500px); }
.deck-hint { position: absolute; left: 50%; top: calc(100% + 15px); transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(10,7,34,.78); padding: 3px 11px; border-radius: 99px; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.deck.can .deck-hint { opacity: 1; }
.deck.can { cursor: pointer; }
.deck.can:active { transform: scale(.95); }
.deck.can .deck-stack .card:last-child { box-shadow: 0 0 0 2px rgba(255,255,255,.5), 0 0 18px rgba(255,255,255,.25); }
.deck.nudge .deck-stack { animation: nudge 1.1s ease-in-out infinite; }
.deck.nudge .deck-hint { background: var(--yellow); color: var(--ink); }
.deck.nudge .deck-stack .card:last-child { box-shadow: 0 0 0 3px var(--yellow), 0 0 22px rgba(255,199,54,.6); }
@keyframes nudge { 50% { transform: translateY(-8px) rotate(-3deg); } }
.deck-count { display: none; }
.pile { --cw: calc(var(--cw0) * var(--ts, 1.12) * 1.12); width: var(--cw); height: var(--ch); position: relative; }
.pile::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--active) 70%, transparent), transparent); opacity: .75; transition: background .5s; }
.pile::after { content: ""; position: absolute; inset: 6px 2px 0; border-radius: 12%; box-shadow: 0 12px 22px 4px rgba(0,0,0,.5); z-index: 0; }
.pile .card { position: absolute; inset: 0; z-index: 1; transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg)); }
.pile .card.tinted { border-color: var(--active); transition: border-color .35s; box-shadow: 0 0 26px 3px var(--active), 0 6px 14px rgba(0,0,0,.4); }
.pile .card.land { animation: land .34s cubic-bezier(.2,.8,.3,1.4); }
@keyframes land { 0% { scale: 1.2; } 100% { scale: 1; } }
#probe { position: absolute; width: var(--cw0); height: 0; visibility: hidden; pointer-events: none; }
.center { --cw: calc(var(--cw0) * var(--ts, 1.12)); }
.pending { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(calc(var(--cw) * -1.550), calc(var(--ch) * -.800)) rotate(-12deg); font-family: var(--brand); font-size: 28px; background: var(--red); padding: 1px 14px; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 4px 0 rgba(0,0,0,.35); animation: popIn .3s cubic-bezier(.2,.9,.3,1.5) both; }
.color-chip { position: absolute; top: calc(50% + var(--ch) * .570 + 16px); left: calc(50% + var(--cw) * .680); transform: translateX(-50%); display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(10,7,34,.78); padding: 3px 11px 3px 8px; border-radius: 99px; z-index: 2; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--active); transition: box-shadow .4s; }
.color-chip i { width: 12px; height: 12px; background: var(--active); display: block; transition: background .3s; }
.color-chip.k-r i { border-radius: 50%; }
.color-chip.k-y i { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.color-chip.k-g i { border-radius: 2px; }
.color-chip.k-b i { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.status { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); z-index: 4; font-family: var(--brand); font-size: 16px; line-height: 1; white-space: nowrap; padding: 9px 18px; border-radius: 99px; background: #0f0b30; color: #e9e4ff; box-shadow: 0 0 0 2px rgba(255,255,255,.2), 0 6px 16px rgba(0,0,0,.5); max-width: 94%; overflow: hidden; transition: background .25s, color .25s; }
.status.empty { display: none; }
.status span { position: relative; z-index: 1; display: block; overflow: hidden; text-overflow: ellipsis; }
.status .tbar { position: absolute; inset: 0; transform-origin: 0 50%; background: rgba(0,0,0,.14); transform: scaleX(0); }
.status.mine { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 4px 0 #c98f00, 0 0 26px rgba(255,199,54,.55); }
.status.hurry { background: var(--red); color: #fff; box-shadow: 0 0 0 2px #fff, 0 4px 0 #a3142c, 0 0 26px rgba(242,61,79,.6); animation: pulseX .5s ease-in-out infinite; }
@keyframes pulseX { 50% { transform: translateX(-50%) scale(1.07); } }

.me { flex: none; display: flex; flex-direction: column; position: relative; z-index: 4; background: linear-gradient(to top, rgba(4,2,18,.85) 0%, rgba(4,2,18,.4) 62%, transparent 100%); }
.me-row { display: flex; align-items: center; gap: 8px; padding: 2px 12px 0; min-height: 50px; margin: 0 auto -16px; width: min(100%, 640px); position: relative; z-index: 100; pointer-events: none; }
.me-row .actions > * { pointer-events: auto; }
.me-row .actions { pointer-events: none; }
.me-chip { --as: 40px; position: relative; width: 40px; height: 40px; flex: none; }
.me-chip .me-count { position: absolute; right: -8px; bottom: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--ink); box-shadow: 0 0 0 2px #fff; font-family: var(--brand); font-size: 12.500px; line-height: 20px; text-align: center; }
.me-chip.turn .avatar { box-shadow: 0 0 0 3px var(--yellow), 0 0 20px 5px rgba(255,199,54,.6); }
.me-chip.out .avatar { filter: grayscale(1) brightness(.6); }
.actions { flex: 1; display: flex; gap: 10px; justify-content: center; align-items: center; min-width: 0; }
.react-btn { font-family: var(--emoji); font-size: 21px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.react-bar { position: absolute; right: 8px; top: calc(env(safe-area-inset-top) + 56px); z-index: 120; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: popIn .2s cubic-bezier(.2,.9,.3,1.4) both; transform-origin: 100% 0; }
.react-bar button { width: 46px; height: 46px; border-radius: 50%; font-family: var(--emoji); font-size: 27px; line-height: 1; display: grid; place-items: center; transition: transform .1s, background .1s; }
.react-bar button:active { transform: scale(1.3); background: #f1edff; }
.btn-ekka { font-family: var(--brand); font-weight: 400; font-size: 22px; min-height: 46px; padding: 0 28px; background: linear-gradient(180deg, #ffe07a, var(--yellow)); color: var(--ink); box-shadow: 0 0 0 3px #fff, 0 6px 0 #c98f00; transform: rotate(-3deg); }
.btn-ekka.urgent { animation: urgent .5s ease-in-out infinite; }
@keyframes urgent { 50% { transform: rotate(3deg) scale(1.12); box-shadow: 0 0 0 3px #fff, 0 6px 0 #c98f00, 0 0 0 11px rgba(255,199,54,.3); } }
.btn-catch { font-family: var(--brand); font-weight: 400; font-size: 20px; min-height: 46px; background: linear-gradient(180deg, #ff7a80, var(--red)); color: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 0 #a3142c; animation: urgent .5s ease-in-out infinite; white-space: nowrap; }
.hand { overflow: visible; padding: 0 10px; flex: none; touch-action: none; }
.hand-inner { position: relative; height: calc(var(--ch) + 62px + var(--rowlift, 0px)); margin: 0 auto; transition: height .3s; }
.hand .card {
  position: absolute; left: 0; top: 40px;
  transform: translate(var(--x, 0px), calc(var(--y, 0px) + var(--lift, 0px))) rotate(var(--r, 0deg)) scale(var(--sc, 1));
  transition: transform .22s cubic-bezier(.2,.8,.3,1.15), opacity .2s;
  transform-origin: 50% 100%;
  touch-action: none;
}
.hand.myturn .card:not(.ok)::after { content: ""; position: absolute; inset: calc(var(--cw) * -.06); background: rgba(6,4,24,.2); pointer-events: none; }
.hand .card.ok { --lift: -26px; cursor: grab; box-shadow: 0 0 0 2.500px #fff, 0 0 20px 3px rgba(255,255,255,.5), 0 14px 22px rgba(0,0,0,.5); }
.hand .card.peek { --lift: -40px; --sc: 1.12; z-index: 90 !important; filter: none !important; }
.hand .card.drag { transition: none; z-index: 200 !important; filter: none !important; cursor: grabbing; --sc: 1.1; transform: translate(calc(var(--x, 0px) + var(--gx, 0px)), calc(var(--y, 0px) + var(--gy, 0px))) rotate(var(--gr, 0deg)) scale(var(--sc)); box-shadow: 0 0 0 2.500px #fff, 0 26px 34px rgba(0,0,0,.55); }
.hand .card.drag.over { box-shadow: 0 0 0 3px var(--yellow), 0 0 26px 4px rgba(255,199,54,.7), 0 26px 34px rgba(0,0,0,.55); }
.hand .card.fresh { animation: fresh .5s ease-out; }
@keyframes fresh { 0% { scale: 1.08; } }
.hand .card.shake { animation: shake .3s; }
@keyframes shake { 25% { margin-left: -5px; } 75% { margin-left: 5px; } }
.hand .card.hidden { opacity: 0; transition: none; }
@media (hover: hover) { .hand .card.ok:hover { --lift: -34px; } }
.pile.drop::before { opacity: 1; inset: -30%; }

/* ---------- fx layer ---------- */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.ghost { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); perspective: 700px; will-change: transform; }
.flip { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; }
.flip > .card { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip > .card.rev { transform: rotateY(180deg); }
.burst { position: absolute; left: 0; top: 0; font-family: var(--brand); font-size: clamp(30px, 10vw, 62px); white-space: nowrap; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.burst.small { font-size: clamp(18px, 5.500vw, 28px); -webkit-text-stroke: 1.200px var(--ink); text-shadow: 0 3px 0 var(--ink); }
.burst.huge { font-size: clamp(44px, 15vw, 96px); }
.burst.red { color: #ff8f96; }
.burst.white { color: #fff; }
.confetti { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; }
.wave { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--wc, #fff); opacity: .5; }
.react-pop { position: absolute; left: 0; top: 0; font-family: var(--emoji); font-size: 44px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(10, 7, 34, .88);  display: grid; place-items: center; padding: 20px; animation: fadeIn .2s both; }
@keyframes fadeIn { from { opacity: 0; } }
.pick-box { text-align: center; animation: popIn .3s cubic-bezier(.2,.9,.3,1.3) both; }
.pick-title { font-family: var(--brand); font-size: 28px; margin-bottom: 16px; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 auto 18px; width: min(72vw, 280px); aspect-ratio: 1; transform: rotate(45deg) scale(.82); border-radius: 22%; overflow: hidden; background: #fff; padding: 6px; box-shadow: 0 0 0 5px #fff, 0 16px 40px rgba(0,0,0,.5); }
.pick { display: grid; place-items: center; transition: transform .12s, filter .12s; border-radius: 12px; }
.pick:nth-child(1) { border-top-left-radius: 20%; } .pick:nth-child(2) { border-top-right-radius: 20%; }
.pick:nth-child(3) { border-bottom-left-radius: 20%; } .pick:nth-child(4) { border-bottom-right-radius: 20%; }
.pick:active { transform: scale(.94); filter: brightness(1.15); }
.pick i { width: 30%; aspect-ratio: 1; background: rgba(255,255,255,.95); display: block; transform: rotate(-45deg); }
.pc-r { background: linear-gradient(135deg, #ff8478, var(--red)); } .pc-r i { border-radius: 50%; }
.pc-y { background: linear-gradient(135deg, #ffe56e, var(--amber)); } .pc-y i { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pc-g { background: linear-gradient(135deg, #74e693, var(--green)); } .pc-g i { border-radius: 12%; }
.pc-b { background: linear-gradient(135deg, #83baff, var(--blue)); } .pc-b i { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.over-box { width: min(430px, 100%); background: #fff; color: var(--ink); border-radius: 30px; padding: 22px 16px 18px; text-align: center; box-shadow: 0 10px 0 rgba(0,0,0,.3); animation: popIn .4s cubic-bezier(.2,.9,.3,1.3) both; max-height: 94vh; overflow-y: auto; }
.over-box.small { width: min(360px, 100%); padding: 24px 20px 20px; }
.over-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8b86a3; }
.over-title { font-family: var(--brand); font-weight: 400; font-size: 34px; line-height: 1.1; margin: 4px 0; color: var(--purple); }
.over-sub { font-family: var(--hand); font-size: 22px; color: #5c5871; line-height: 1.2; }
.scores { list-style: none; margin: 14px 0 4px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.scores li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; padding: 8px 12px 8px 8px; border-radius: 18px; background: #f5f2ff; }
.scores li.win { background: linear-gradient(180deg, #fff3c4, #ffe38a); box-shadow: inset 0 0 0 2px var(--yellow); }
.scores .avatar { width: 38px; height: 38px; font-size: 21px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.2); background: #fff; }
.scores .who { min-width: 0; }
.scores .nm { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.scores .nm em { font-style: normal; font-weight: 400; color: #8b86a3; }
.scores .left { --cw: 21px; display: flex; align-items: center; margin-top: 3px; min-height: 31px; padding-left: 9px; font-size: 12px; color: #6f6a88; }
.scores .left .card { margin-left: -8px; border-width: 1.500px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.scores .left .more { margin-left: 5px; font-weight: 600; }
.scores .left .note { margin-left: -9px; }
.scores .tot { text-align: right; font-family: var(--brand); font-size: 22px; line-height: 1; color: var(--ink); }
.scores .tot small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; color: #8b86a3; margin-top: 3px; }
.scores li.win .tot small { color: #9a6a00; }
.over-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; align-items: stretch; }
.over-box .btn-ghost { background: #f1edff; color: var(--purple-deep); box-shadow: none; }
.over-box .lobby-wait { color: #5c5871; }

#toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 58px); transform: translate(-50%, -20px); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 99px; z-index: 80; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: 90vw; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#netStatus { position: fixed; left: 50%; bottom: 40%; transform: translateX(-50%); z-index: 70; background: var(--red); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 99px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }

@media (min-width: 720px) {
  .felt, .center { inset: 44px max(60px, calc(50% - 440px)) 28px; }
  .felt { border-radius: 230px; }
  .seat { --as: 56px; width: 100px; }
  .seat .sname { font-size: 13px; }
  .modes { gap: 10px; }
  .mode small { font-size: 12px; }
}
@media (max-width: 360px) {
  .mode { padding: 10px 8px; }
  .mode b { font-size: 15px; }
  .mode small { font-size: 10.500px; }
}
@media (max-height: 640px) {
  :root { --ts: 1; }
  .felt, .center { top: 34px; bottom: 20px; }
  .me-row { min-height: 44px; }
  .hand-inner { height: calc(var(--ch) + 50px + var(--rowlift, 0px)); }
  .hand .card { top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .ring, .deck.nudge .deck-stack, .drift .card, .clock.low, .status.hurry { animation: none; }
  #table.quake .arena { animation: none; }
}

/* arrived by invite link / QR: joining leads, everything else steps back */
#home.joining .join-row { flex-direction: column; }
#home.joining .join-row input { width: 100%; }
#home.joining .join-row .btn { min-height: 58px; font-size: 18px; }
#home.joining .or { order: 2; }
#home.joining #btnCreate { order: 3; min-height: 44px; font-size: 14px; }
#home.joining #btnSolo { order: 4; min-height: 44px; font-size: 14px; }
#home.joining .home-msg { order: 1; }
