@font-face {
  font-family: "Play"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../../assets/fonts/play-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Play"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../../assets/fonts/play-greek-700-normal.woff2") format("woff2");
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../../assets/fonts/manrope-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* παλέτα: παστέλ, καθαρά χρώματα */
:root {
  --ink: #1f2a3a;
  --paper: #fffdf6;
  --cream: #fff4dc;
  --sky: #9fd8f0;
  --sea: #3a9fd6;
  --sun: #ffd23f;
  --coral: #ff6f61;
  --mint: #7fd6b4;
  --lilac: #b8a4f0;
  --hole: #1a1028;
  --back: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; overflow: hidden; background: var(--sky); color: var(--ink); font-family: "Manrope", system-ui, sans-serif; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
#cv { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* λογότυπο: «O» = μια τρύπα με χρωματιστό χείλος */
.logo { font: 700 52px/1 "Play", sans-serif; color: var(--ink); letter-spacing: 1px; display: inline-flex; align-items: center; gap: 4px; text-shadow: 0 4px 0 rgba(31, 42, 58, .15); }
.logo .o { display: inline-block; width: 0.82em; height: 0.82em; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #000 0 45%, var(--hole) 62%, #3a2a5a 72%); box-shadow: 0 0 0 0.09em var(--sun), 0 0.12em 0 0.09em #c99a1a; margin-right: 0.12em; }

/* κουμπιά */
.btn { display: block; width: 100%; margin-top: 10px; padding: 12px 18px; border: 0; border-radius: 18px; background: #fff; color: var(--ink); font: 700 17px/1.15 "Play", sans-serif; cursor: pointer;
  box-shadow: 0 5px 0 rgba(31, 42, 58, .22); transition: transform .16s var(--back), box-shadow .16s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(31, 42, 58, .2); }
.btn.primary { background: linear-gradient(180deg, #ffe066, var(--sun)); }
.btn.ghost { background: rgba(255, 255, 255, .75); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.big { font-size: 21px; padding: 15px; }
.btn.mode { display: grid; text-align: left; grid-template-columns: 1fr auto; align-items: center; }
.btn.mode small { grid-column: 1; font: 600 13px "Manrope", sans-serif; opacity: .75; }
.btn.mode .best { grid-row: 1 / span 2; grid-column: 2; font: 700 15px "Play", sans-serif; color: #b07a00; }
.row { display: flex; gap: 8px; }
.ib { min-width: 42px; height: 42px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font: 700 16px "Play", sans-serif; cursor: pointer; box-shadow: 0 3px 0 rgba(31, 42, 58, .2); }

/* οθόνες */
.screen { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 16px; background: radial-gradient(ellipse at 50% 40%, rgba(255, 253, 246, .1), rgba(31, 42, 58, .35)); }
.screen.solid { background: linear-gradient(180deg, #bfe8f8, #9fd8f0 60%, #f2deb0); }
.box { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: 28px; padding: 20px 22px 22px; text-align: center;
  box-shadow: 0 14px 40px rgba(31, 42, 58, .28); animation: pop .45s var(--back) both; }
@keyframes pop { from { transform: scale(.7) translateY(24px); opacity: 0; } }
h2 { font: 700 26px/1.15 "Play", sans-serif; margin-bottom: 8px; }
.tag { font-weight: 700; margin: 6px 0 8px; }
.load-box { text-align: center; width: min(360px, 90vw); }
.load-box .bar { height: 14px; border-radius: 10px; background: rgba(255, 255, 255, .6); margin: 18px 0 10px; overflow: hidden; }
.load-box .bar b { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--sun), var(--coral)); transition: width .25s ease; }
.load-box p { font-weight: 700; }
.how-box { width: min(600px, 100%); text-align: left; }
.how-box h2 { text-align: center; }
#howBody p { margin: 8px 0; line-height: 1.45; }
.set-box { width: min(480px, 100%); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; font-weight: 700; text-align: left; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.seg button, .tog { border: 0; border-radius: 12px; padding: 8px 11px; background: #eef1f5; color: var(--ink); font: 700 13px "Manrope", sans-serif; cursor: pointer; }
.seg button.on, .tog.on { background: var(--sun); }

/* HUD */
#hud { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 8px; right: 8px; z-index: 5; display: flex; align-items: flex-start; gap: 10px; pointer-events: none; }
#hud > * { pointer-events: auto; }
.hud-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 420px; margin: 0 auto; }
.sizebar { width: 100%; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .92); border-radius: 14px; padding: 6px 10px; box-shadow: 0 3px 0 rgba(31, 42, 58, .15); }
.sizebar span { font: 700 13px "Play", sans-serif; white-space: nowrap; }
.sizebar i { flex: 1; height: 10px; border-radius: 6px; background: #e4e8ee; overflow: hidden; }
.sizebar b { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--mint), #36b37e); transition: width .25s ease; }
.stats { display: flex; gap: 8px; }
.stats span { background: rgba(31, 42, 58, .72); color: #fff; border-radius: 12px; padding: 3px 10px; font: 700 15px "Play", sans-serif; }
.timer.hot { background: var(--coral); animation: beat .5s ease infinite alternate; }
@keyframes beat { to { transform: scale(1.12); } }
.score { background: rgba(255, 255, 255, .92); border-radius: 14px; padding: 6px 12px; font: 700 18px "Play", sans-serif; min-width: 64px; text-align: right; box-shadow: 0 3px 0 rgba(31, 42, 58, .15); }

#tut { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); transform: translateX(-50%); width: min(560px, calc(100% - 24px)); z-index: 6;
  display: flex; gap: 10px; align-items: center; background: var(--paper); border-radius: 18px; padding: 10px 12px 10px 16px; box-shadow: 0 8px 24px rgba(31, 42, 58, .25); animation: pop .35s var(--back) both; }
#tut p { flex: 1; font-weight: 700; line-height: 1.35; }
#tut .skip { border: 0; background: #eef1f5; border-radius: 10px; width: 32px; height: 32px; font-weight: 800; cursor: pointer; color: var(--ink); }
#big { position: fixed; left: 50%; top: 30%; transform: translate(-50%, -50%); z-index: 6; pointer-events: none; font: 700 54px "Play", sans-serif; color: #fff; text-shadow: 0 4px 0 rgba(31, 42, 58, .45), 0 0 18px rgba(31, 42, 58, .35); white-space: nowrap; }
#big.go { animation: bigIn 1.1s var(--back) both; }
#big.go2 { animation: bigIn2 1.1s var(--back) both; }
@keyframes bigIn { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%, -70%) scale(1); opacity: 0; } }
@keyframes bigIn2 { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%, -70%) scale(1); opacity: 0; } }
#pops { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
#pops i { position: absolute; font: 700 18px "Play", sans-serif; font-style: normal; color: #fff; text-shadow: 0 2px 0 rgba(31, 42, 58, .5); animation: popUp .9s ease-out both; will-change: transform, opacity; }
#pops i.b { font-size: 24px; color: var(--sun); }
#pops i.t { color: #ffe08a; }
#pops i.c { font-size: 22px; color: #ff9fd0; animation-duration: 1.2s; }
@keyframes popUp { from { transform: translate(-50%, 0) scale(.6); opacity: 0; } 20% { opacity: 1; transform: translate(-50%, -12px) scale(1.1); } to { transform: translate(-50%, -54px) scale(1); opacity: 0; } }
#joy { position: fixed; z-index: 3; pointer-events: none; }
#joy .base, #joy .knob { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
#joy .base { width: 110px; height: 110px; background: rgba(255, 255, 255, .18); border: 3px solid rgba(255, 255, 255, .55); }
#joy .knob { width: 46px; height: 46px; background: rgba(255, 255, 255, .8); box-shadow: 0 3px 8px rgba(31, 42, 58, .3); }

/* αποτέλεσμα */
.result-box .stars { display: flex; justify-content: center; gap: 8px; margin: 4px 0; }
.result-box .stars i { font-style: normal; font-size: 52px; color: #d8dde5; transform: scale(.7); transition: transform .4s var(--back), color .2s; }
.result-box .stars i:nth-child(2) { font-size: 64px; transform: translateY(-8px) scale(.7); }
.result-box .stars i.on { color: var(--sun); transform: scale(1.1); text-shadow: 0 3px 0 #c99a1a; }
.result-box .stars i:nth-child(2).on { transform: translateY(-8px) scale(1.1); }
.rpct { font: 700 52px "Play", sans-serif; color: var(--coral); }
.rinfo { margin-top: 4px; opacity: .8; font-weight: 600; }
.newbest { display: inline-block; margin-top: 8px; background: var(--coral); color: #fff; border-radius: 999px; padding: 3px 12px; font-weight: 800; }


/* τίτλος: νομίσματα, μάχη */
.btn.mode.battle { background: linear-gradient(180deg, #ffd0c9, #ff9f8f); }
.btn.mode.battle .best { color: #8a2a1e; }
.title-box .row { align-items: center; }
.coins { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 9px 14px; border-radius: 16px; background: rgba(31, 42, 58, .08); font: 700 17px "Play", sans-serif; white-space: nowrap; }
.coins.nope, .coins b.nope { animation: nope .4s ease; }
@keyframes nope { 25% { transform: translateX(-5px); color: var(--coral); } 75% { transform: translateX(5px); color: var(--coral); } }
.earn { margin-top: 8px; font: 700 20px "Play", sans-serif; color: #b07a00; }
.earn:empty { display: none; }

/* κατάστημα */
.shop-box { width: min(620px, 100%); }
.shop-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 4px 0 10px; }
.shop-top .coins { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; max-height: min(52vh, 420px); overflow: auto; padding: 4px; }
.item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px 9px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 rgba(31, 42, 58, .15), inset 0 0 0 2px #eef1f5; transition: transform .14s var(--back); }
.item:hover { transform: translateY(-2px); }
.item canvas { width: 64px; height: 64px; }
.item b { font: 700 13px "Play", sans-serif; }
.item small { font: 700 12px "Manrope", sans-serif; color: #b07a00; }
.item.on { box-shadow: 0 3px 0 rgba(31, 42, 58, .15), inset 0 0 0 3px var(--sun); background: #fffbe6; }
.item.on small { color: #2f8a4e; }
.item.locked { opacity: .55; }

/* μάχη: ετικέτες, κατάταξη, ειδήσεις, επανεμφάνιση */
#labels { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.lbl { position: absolute; left: 0; top: 0; padding: 2px 9px; border-radius: 999px; background: rgba(31, 42, 58, .62); color: #fff; font: 700 13px "Play", sans-serif; white-space: nowrap; border: 2px solid var(--c, #fff); will-change: transform; }
.lbl.me { background: var(--sun); color: var(--ink); border-color: #fff; }
.lbl.lead::before { content: "👑 "; }
#lb { position: fixed; right: 8px; top: calc(env(safe-area-inset-top, 0px) + 56px); z-index: 5; display: flex; flex-direction: column; gap: 3px; pointer-events: none; min-width: 150px; }
#lb .row { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .88); border-radius: 10px; padding: 3px 8px; font: 700 13px "Manrope", sans-serif; box-shadow: 0 2px 0 rgba(31, 42, 58, .12); margin: 0; }
#lb .row.me { background: var(--sun); }
#lb .n { width: 14px; text-align: right; font-family: "Play", sans-serif; }
#lb i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(31, 42, 58, .15); }
#lb .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 92px; }
#lb b { font-family: "Play", sans-serif; }
#feed { position: fixed; left: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 5; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
#feed div { background: rgba(31, 42, 58, .72); color: #fff; border-radius: 10px; padding: 4px 10px; font: 700 13px "Manrope", sans-serif; animation: feedIn .3s var(--back) both, feedOut .6s ease 3.6s both; }
#feed b { font-family: "Play", sans-serif; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
#feed b.me { color: var(--sun); }
@keyframes feedIn { from { transform: translateX(-20px); opacity: 0; } }
@keyframes feedOut { to { opacity: 0; } }
#dead { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 7; text-align: center; pointer-events: none; background: rgba(31, 42, 58, .7); color: #fff; border-radius: 22px; padding: 14px 26px; animation: pop .35s var(--back) both; }
#dead p { font: 700 18px "Play", sans-serif; }
#dead b { display: block; font: 700 54px "Play", sans-serif; color: var(--sun); }
.stats .pct.rank { background: var(--coral); }

/* βάθρο */
.ped { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin: 10px 0 6px; min-height: 170px; }
.pl { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 31%; max-width: 128px; border-radius: 14px 14px 6px 6px; padding: 30px 4px 6px; background: linear-gradient(180deg, #fff, #eef1f5); box-shadow: 0 4px 0 rgba(31, 42, 58, .15); animation: rise .6s var(--back) both; }
.pl.p1 { height: 168px; background: linear-gradient(180deg, #fff3b0, var(--sun)); animation-delay: .35s; }
.pl.p2 { height: 138px; animation-delay: .15s; }
.pl.p3 { height: 116px; background: linear-gradient(180deg, #ffe2cc, #f3b38a); animation-delay: .5s; }
.pl i { position: absolute; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #000 0 48%, #1a1028 66%); box-shadow: 0 0 0 5px var(--c, #fff), 0 4px 0 5px rgba(31, 42, 58, .2); }
.pl b { font: 700 14px "Play", sans-serif; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl small { font-weight: 700; opacity: .75; }
.pl span { margin-top: auto; font: 700 30px "Play", sans-serif; opacity: .5; }
.pl.me { outline: 3px solid var(--coral); outline-offset: 2px; }
@keyframes rise { from { transform: translateY(40px) scaleY(.4); opacity: 0; } }
.rpct.small { font-size: 30px; margin-top: 4px; }


/* χάρτες και ημερήσια */
.btn.mapbtn { margin-top: 4px; padding: 8px 14px; font-size: 15px; }
.btn.mode.daily { background: linear-gradient(180deg, #d9f2ff, #9fd8f0); }
.btn.mode.daily .best { color: #1f5f86; }
.maps-box { width: min(600px, 100%); }
.mgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 6px 0 4px; }
.mapc { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 108px; padding: 12px 12px 10px; border: 0; border-radius: 18px; color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 4px 0 rgba(31, 42, 58, .18); transition: transform .14s var(--back); overflow: hidden; }
.mapc:hover { transform: translateY(-2px); }
.mapc b { font: 700 19px "Play", sans-serif; }
.mapc small { font: 600 12.5px/1.3 "Manrope", sans-serif; opacity: .8; }
.mapc .ms { margin-top: auto; font: 700 15px "Play", sans-serif; color: #b07a00; }
.mapc.on { box-shadow: 0 4px 0 rgba(31, 42, 58, .18), inset 0 0 0 3px var(--ink); }
.mapc.locked { filter: grayscale(.75); opacity: .75; }
.mapc.locked .ms { color: var(--ink); }
.mapc.nope { animation: nope .4s ease; }
.m-town { background: linear-gradient(160deg, #fff4dc, #f3d9a8); }
.m-athens { background: linear-gradient(160deg, #f6f2e8, #d8cf9a); }
.m-island { background: linear-gradient(160deg, #ffffff, #bfe8f8 55%, #3aa6d8); }
.m-island .ms { color: #0d4f7a; }
.m-village { background: linear-gradient(160deg, #eef6d8, #a4c77c); }
.unlock { display: inline-block; margin-top: 8px; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-weight: 800; }


/* online */
.btn.mode.online { background: linear-gradient(180deg, #e6dcff, #b8a4f0); }
.fld { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 10px; text-align: left; font: 700 13px "Manrope", sans-serif; }
.fld input { border: 2px solid #e4e8ee; border-radius: 14px; padding: 10px 12px; font: 700 17px "Play", sans-serif; color: var(--ink); background: #fff; user-select: text; -webkit-user-select: text; }
.fld input:focus { outline: none; border-color: var(--sun); }
#onCode { text-transform: uppercase; letter-spacing: 4px; }
.joinrow { display: flex; gap: 8px; align-items: flex-end; }
.joinrow .fld { flex: 1; min-width: 0; }
.joinrow .fld input { width: 100%; min-width: 0; }
.joinrow .btn { width: auto; padding: 12px 18px; }
.err { margin-top: 10px; color: #b3261e; font-weight: 800; }
.lobby-box { width: min(560px, 100%); }
.lobby-box h2 .code { display: inline-block; letter-spacing: 3px; background: var(--ink); color: var(--sun); border-radius: 10px; padding: 0 10px; }
.small { font-size: 13px; opacity: .8; margin: 4px 0; }
.linkrow { display: flex; gap: 6px; align-items: center; }
.linkrow input { flex: 1; min-width: 0; border: 2px solid #e4e8ee; border-radius: 12px; padding: 8px 10px; font: 600 13px "Manrope", sans-serif; color: var(--ink); background: #f7f8fa; user-select: all; }
.linkrow .btn { width: auto; margin-top: 0; padding: 8px 12px; font-size: 14px; }
.seats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 4px; }
.seat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 6px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 2px #eef1f5; }
.seat i { grid-row: 1 / span 2; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .55); }
.seat b { font: 700 14px "Play", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat small { font: 700 11.5px "Manrope", sans-serif; opacity: .7; }
.seat.me { box-shadow: inset 0 0 0 3px var(--sun); background: #fffbe6; }
.seat.bot { opacity: .6; }
.status { margin-top: 8px; font-weight: 800; }
.seg button:disabled { opacity: .55; cursor: default; }
.seg button.on:disabled { opacity: 1; }
#netBad { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 60px); transform: translateX(-50%); z-index: 20; background: var(--coral); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 800; pointer-events: none; }

@media (max-height: 460px) {
  .logo { font-size: 38px; }
  .box { padding: 12px 16px 14px; }
  .btn { padding: 9px 14px; font-size: 15px; margin-top: 7px; }
  .btn.big { font-size: 17px; padding: 11px; }
  #big { font-size: 40px; }
  .rpct { font-size: 40px; }
  .result-box .stars i { font-size: 40px; } .result-box .stars i:nth-child(2) { font-size: 50px; }
  #lb .row.extra { display: none; }
  .ped { min-height: 120px; } .pl.p1 { height: 120px; } .pl.p2 { height: 100px; } .pl.p3 { height: 86px; }
  .grid { max-height: 46vh; }
  .mapc { min-height: 84px; padding: 8px 10px; } .mapc small { display: none; }
  .btn.mapbtn { padding: 6px 12px; }
  /* πλάγιο κινητό: ο τίτλος σε δύο στήλες, χωρίς κύλιση */
  .title-box { width: min(720px, 100%); display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; align-content: start; }
  .title-box .logo, .title-box h1, .title-box .tag { grid-column: 1 / -1; justify-self: center; }
  .title-box .tag { margin: 2px 0 2px; }
  .title-box .btn.mode small { font-size: 11.5px; }
  /* πλάγιο κινητό: το lobby σε δύο στήλες (θέσεις αριστερά, επιλογές δεξιά) */
  .lobby-box { width: min(780px, 100%); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 14px; text-align: left; }
  .lobby-box .set-row { flex-wrap: wrap; gap: 4px 10px; }
  .lobby-box .seg { flex-wrap: wrap; }
  .lobby-box .row .btn { min-width: 0; padding-left: 8px; padding-right: 8px; }
  .lobby-box h2 { margin: 0 0 4px; font-size: 20px; }
  .lobby-box .seats { margin: 6px 0 0; gap: 4px; }
  .lobby-box .seat { padding: 3px 8px; }
  .lobby-box .seat small { font-size: 10.5px; }
  .lobby-box .set-row { margin: 6px 0; }
  .lobby-box .lb-b { display: flex; flex-direction: column; justify-content: center; }
  .fld { margin-top: 6px; }
  .fld input { padding: 7px 12px; }
  #online h2 { margin: 0; }
  #online .tag { margin: 2px 0 0; }
}
@media (max-width: 520px) {
  .score { font-size: 15px; min-width: 50px; padding: 6px 8px; }
  #lb { min-width: 0; top: calc(env(safe-area-inset-top, 0px) + 92px); }
  #lb .row.extra { display: none; }
  #lb .nm { max-width: 64px; }
  .seats { gap: 4px; }
  .seat { padding: 4px 7px; column-gap: 6px; }
  .seat b { font-size: 13px; }
  .seat small { font-size: 10.5px; }
  .lobby-box { padding: 14px 14px 16px; }
  .lobby-box h2 { margin: 0 0 2px; }
  .lobby-box .set-row { margin: 6px 0; flex-wrap: wrap; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .stats span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
