/* «گەشتا جیهانێ / World Trip» — the companion app.
 * The look of the printed game: the sea paper of the board, the colours of the four continents, the six pawns.
 * The turn is a boarding pass; the squares of the pawns are a departure board. */

/* ---- fonts (inside the app, so it works without internet). Latin letters from Nunito, Kurdish from Vazirmatn / Noto Kufi */
@font-face { font-family: 'WT Text'; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'WT Text'; font-weight: 400; font-display: swap; src: url(fonts/vazirmatn-arabic-400.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'WT Text'; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-800.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'WT Text'; font-weight: 700; font-display: swap; src: url(fonts/vazirmatn-arabic-700.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'WT Display'; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-900.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'WT Display'; font-weight: 800; font-display: swap; src: url(fonts/noto-kufi-arabic-800.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }

:root {
  /* the screen and its safe edges: the phone's own, or, when the phone lies sideways, the upright game's (app.js applyTurn) */
  --sa-t: env(safe-area-inset-top, 0px); --sa-r: env(safe-area-inset-right, 0px); --sa-b: env(safe-area-inset-bottom, 0px); --sa-l: env(safe-area-inset-left, 0px);
  --app-w: 100vw; --app-h: 100vh;
  --sea: #EAF4FB;          /* the sea of the printed board */
  --paper: #FFFFFF;
  --ink: #1F2A3A;
  --slate: #3E4A5A;
  --mute: #6B7787;
  --line: #CFE2F7;
  --line-2: #B9D2EC;
  --gold: #F4B400;
  --gold-pale: #FFF4D1;
  --true: #16A05A; --true-dark: #0C6E3D;
  --false: #D7263D; --false-dark: #9B1426;
  --am: #18A26E; --am-pale: #EAF7F1;
  --eu: #2F7FD6; --eu-dark: #1B5598; --eu-pale: #EDF4FC;
  --af: #F29A0B; --af-dark: #9A5E00; --af-pale: #FEF6E4;
  --as: #D8528F; --as-pale: #FDF0F6;
  --grid: rgba(47, 127, 214, .075);
  --f-text: 'WT Text', system-ui, sans-serif;
  --f-display: 'WT Display', 'WT Text', system-ui, sans-serif;
  --r: 1.1rem;
  color-scheme: light;
}
@supports (height: 100dvh) { :root { --app-h: 100dvh; } }

* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (min-width: 700px) { html { font-size: 19px; } }
html, body { height: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--f-text); font-weight: 400; line-height: 1.45;
  background-color: var(--sea);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem; background-attachment: fixed;
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; overflow-x: clip;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
[dir=rtl] body, body[dir=rtl] { line-height: 1.7; }
input, textarea { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
[data-do] { cursor: pointer; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: manipulation; }
button:focus { outline: none; }
button:focus-visible, [role=button]:focus-visible, input:focus-visible { outline: 3px solid var(--eu); outline-offset: 2px; }
svg { display: block; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[dir=rtl] .flip { transform: scaleX(-1); }

/* ---- the frame: a slim bar at the top, the screen, the departure board at the bottom */
#app { min-height: var(--app-h); display: flex; flex-direction: column; max-width: 34rem; margin: 0 auto; }
.bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: .5rem;
  padding: calc(var(--sa-t) + .4rem) .75rem .4rem;
  background: linear-gradient(var(--sea) 70%, rgba(234, 244, 251, 0));
}
.bar .grow { flex: 1; min-width: 0; display: flex; justify-content: center; }
.ico {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .75); color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--line);
}
.ico svg { width: 1.35rem; height: 1.35rem; }
.ico.txt { width: auto; border-radius: 999px; padding: 0 .9rem 0 .75rem; gap: .35rem; display: flex; align-items: center; font-weight: 700; font-size: .92rem; }
[dir=rtl] .ico.txt { padding: 0 .75rem 0 .9rem; }
.ico[disabled] { opacity: .3; cursor: default; }
.ico:active:not([disabled]) { transform: scale(.94); }
.level-stars { display: flex; gap: .15rem; color: var(--gold); }
.ico-space { width: 2.6rem; height: 2.6rem; flex: none; }
.bar-title { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .btn.save {
  width: auto; min-height: 2.6rem; padding: .3rem 1rem; font-size: 1.02rem; border-radius: 999px; gap: .35rem; flex: none;
  background: var(--true); box-shadow: 0 .18rem 0 var(--true-dark);
}
.bar .btn.save:active { box-shadow: 0 .05rem 0 var(--true-dark); }
.bar .btn.save svg { width: 1.2rem; height: 1.2rem; }
.level-stars svg { width: 1.05rem; height: 1.05rem; }

main#screen { flex: 1; padding: .25rem 1rem 1.25rem; }
.stack > * + * { margin-top: .9rem; }

/* ---- type */
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; margin: 0; line-height: 1.25; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 { line-height: 1.55; }
p { margin: 0; }
.hint { color: var(--mute); font-size: .95rem; }
.big-note { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
b, strong { font-weight: 700; }
.name-ink { font-weight: 700; }

/* ---- buttons: firm, like pieces of the game */
.btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; min-height: 3.6rem;
  padding: .7rem 1.2rem; border: 0; border-radius: var(--r); text-align: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1.25;
  background: var(--ink); color: #fff; box-shadow: 0 .22rem 0 #0B121C;
  transition: transform .06s ease, box-shadow .06s ease;
}
.btn:active:not([disabled]) { transform: translateY(.16rem); box-shadow: 0 .06rem 0 #0B121C; }
.btn[disabled] { opacity: .35; cursor: default; }
.btn svg { width: 1.5rem; height: 1.5rem; flex: none; }
.btn.light { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2), 0 .22rem 0 var(--line-2); }
.btn.light:active:not([disabled]) { box-shadow: inset 0 0 0 2px var(--line-2), 0 .06rem 0 var(--line-2); }
.btn.true { background: var(--true); box-shadow: 0 .22rem 0 var(--true-dark); }
.btn.false { background: var(--false); box-shadow: 0 .22rem 0 var(--false-dark); }
.btn.joker { background: var(--af); color: var(--ink); box-shadow: 0 .22rem 0 var(--af-dark); }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 0 .22rem 0 #B78700; }
.btn.small { min-height: 2.8rem; font-size: 1rem; padding: .45rem 1rem; width: auto; }
.btn.huge { min-height: 4.6rem; font-size: 1.6rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.row2 .btn { padding-left: .6rem; padding-right: .6rem; }
.link {
  border: 0; background: none; padding: .55rem .4rem; color: var(--eu-dark); font-weight: 700; font-size: .98rem;
  text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px;
}
.center { text-align: center; }
.mt { margin-top: 1rem; } .mt2 { margin-top: 1.6rem; }

/* ---- pawns and faces */
.av {
  --s: 3rem; width: var(--s); height: var(--s); border-radius: 50%; flex: none; position: relative;
  display: grid; place-items: center; background: var(--pc); color: var(--po);
}
.av > svg { width: 64%; height: 64%; }
.av.white { box-shadow: inset 0 0 0 2px #C3CEDB; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--pc); }
.av.white img { box-shadow: 0 0 0 3px #C3CEDB; }
.av .badge {
  position: absolute; bottom: -.15rem; inset-inline-end: -.25rem; width: 46%; height: 46%; border-radius: 50%;
  background: var(--pc); color: var(--po); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.av .badge svg { width: 68%; height: 68%; }
.av .first {
  position: absolute; top: -.25rem; inset-inline-start: -.25rem; width: 42%; height: 42%; border-radius: 50%;
  background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.av .first svg { width: 66%; height: 66%; }

/* ---- the first screen */
.hello { min-height: calc(var(--app-h) - 7rem); display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding-bottom: 2rem; }
.emblem { width: 9.5rem; height: 8.2rem; margin: 0 auto; }
.emblem .orbit { transform-origin: 14px 13px; animation: orbit 2.4s cubic-bezier(.5, 0, .3, 1) .2s 1 both; }
@keyframes orbit { from { transform: rotate(-360deg); } to { transform: rotate(0); } }
.titles { text-align: center; }
.titles .ku { font-family: var(--f-display); font-weight: 800; font-size: 2.5rem; line-height: 1.5; }
.titles .en { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; color: var(--eu-dark); letter-spacing: .01em; }
.langs { display: grid; gap: .8rem; }
.langs .btn { min-height: 4.2rem; font-size: 1.55rem; }
.choose { text-align: center; color: var(--mute); font-size: 1rem; }

/* ---- iPhone: put the game on the home screen */
.guide { display: grid; gap: .8rem; }
.gstep { display: grid; grid-template-columns: 2.2rem 1fr 4.4rem; align-items: center; gap: .8rem; background: var(--paper); border-radius: var(--r); padding: .75rem .9rem; }
.gstep .n { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--eu); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; }
.gstep .pic { width: 4.4rem; height: 3.2rem; }
.gstep p { font-weight: 700; }

/* ---- saved players */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr)); gap: .75rem; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center;
  background: var(--paper); border-radius: var(--r); padding: .95rem .45rem .7rem; border-bottom: .2rem solid var(--line-2);
  cursor: pointer; transition: transform .08s ease;
}
.tile:active { transform: scale(.97); }
.tile .av { --s: 3.6rem; }
.tile .nm { font-weight: 700; font-size: 1rem; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .rk { font-size: .78rem; color: var(--mute); line-height: 1.2; }
.tile.on { background: var(--gold-pale); border-bottom-color: var(--gold); box-shadow: inset 0 0 0 2.5px var(--gold); }
.tile .order {
  position: absolute; top: .4rem; inset-inline-start: .4rem; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1rem;
}
.tile .order.empty { background: transparent; box-shadow: inset 0 0 0 2px #B6CBE0; }
.grid.want .tile:not(.add):not(.on) { animation: nudge .5s ease 1; box-shadow: inset 0 0 0 2.5px var(--gold); }
.btn.off { background: #8D99A8; box-shadow: 0 .22rem 0 #6B7787; }
.tile .pg {
  position: absolute; top: .25rem; inset-inline-end: .25rem; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%;
  background: transparent; color: var(--eu-dark); display: grid; place-items: center;
}
.tile .pg svg { width: 1.25rem; height: 1.25rem; }
.tile.add { background: transparent; border: 2px dashed #9DB9D6; border-bottom-width: 2px; color: var(--eu-dark); justify-content: center; min-height: 8.2rem; }
.tile.add .plus { width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.tile.add .plus svg { width: 1.6rem; height: 1.6rem; }
.dock { position: sticky; bottom: 0; padding: .8rem 0 calc(.8rem + var(--sa-b)); background: linear-gradient(rgba(234, 244, 251, 0), var(--sea) 35%); margin-top: .6rem; }
.empty { background: var(--paper); border-radius: var(--r); padding: 1.1rem; text-align: center; color: var(--slate); }

/* the circle of seats */
.circle { position: relative; width: min(19rem, calc(var(--app-w) * .86)); height: min(19rem, calc(var(--app-w) * .86)); margin: .4rem auto; }
.circle svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .15rem; width: 6rem; text-align: center; }
.seat .av { --s: 3.3rem; }
.seat .nm { font-weight: 700; font-size: .92rem; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(234, 244, 251, .85); border-radius: .4rem; padding: 0 .3rem; }
.seat .no { position: absolute; top: -.2rem; inset-inline-end: .9rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--gold); font-family: var(--f-display); font-weight: 800; font-size: .82rem; display: grid; place-items: center; }
.circle .mid { position: absolute; inset: 30%; display: grid; place-items: center; text-align: center; color: var(--mute); font-size: .85rem; }

/* choosing pawns and tunes */
.pawns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.pawnbtn {
  border: 0; background: var(--paper); border-radius: var(--r); padding: .8rem .3rem .65rem; display: flex; flex-direction: column;
  align-items: center; gap: .35rem; border-bottom: .2rem solid var(--line-2);
}
.pawnbtn .av { --s: 3.4rem; }
.pawnbtn .nm { font-weight: 700; font-size: .95rem; }
.pawnbtn .who { font-size: .74rem; color: var(--mute); line-height: 1.2; min-height: 1em; }
.pawnbtn.on { background: var(--gold-pale); box-shadow: inset 0 0 0 2.5px var(--gold); border-bottom-color: var(--gold); }
.pawnbtn[disabled] { opacity: .3; }
.tunes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tunebtn {
  border: 0; background: var(--paper); border-radius: var(--r); padding: .55rem .4rem .45rem; display: flex; flex-direction: column;
  align-items: center; gap: .2rem; border-bottom: .2rem solid var(--line-2); color: var(--eu);
}
.tunebtn svg { width: 100%; height: 2.4rem; }
.tunebtn .who { font-size: .72rem; color: var(--mute); line-height: 1.2; min-height: 1em; }
.tunebtn.on { background: var(--eu); color: #fff; border-bottom-color: var(--eu-dark); }
.tunebtn.on .who { color: rgba(255, 255, 255, .85); }
.tunebtn.playing svg { animation: bob .25s ease-in-out 4 alternate; }
@keyframes bob { to { transform: translateY(-.15rem); } }
.tunebtn[disabled] { opacity: .3; }

/* ---- the wizard of a new player */
.wiz-top { display: flex; align-items: center; gap: .6rem; }
.dots { display: flex; gap: .3rem; margin-inline-start: auto; }
.dots i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--line-2); }
.dots i.on { background: var(--eu); width: 1.2rem; border-radius: 999px; }
.field {
  width: 100%; border: 0; border-radius: var(--r); background: var(--paper); padding: .9rem 1rem; font-family: var(--f-display);
  font-weight: 800; font-size: 1.6rem; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2); text-align: center;
}
.field:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--eu); }
.err { color: var(--false); font-weight: 700; min-height: 1.4em; text-align: center; }
.choices { display: grid; gap: .7rem; }
.choice {
  display: flex; align-items: center; gap: .85rem; border: 0; background: var(--paper); border-radius: var(--r);
  padding: .8rem 1rem; text-align: start; border-bottom: .2rem solid var(--line-2); font-weight: 700; font-size: 1.08rem; width: 100%;
}
.choice .ic { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--eu-pale); color: var(--eu); display: grid; place-items: center; flex: none; }
.choice .ic svg { width: 1.4rem; height: 1.4rem; }
.choice .sub { display: block; font-weight: 400; font-size: .88rem; color: var(--mute); }
.choice.on { background: var(--gold-pale); box-shadow: inset 0 0 0 2.5px var(--gold); border-bottom-color: var(--gold); }
.choice .grow { flex: 1; }
.sexes { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.sexes .choice { flex-direction: column; justify-content: center; text-align: center; padding: 1.2rem .6rem; font-size: 1.3rem; }
.sexes .choice .ic { width: 3.6rem; height: 3.6rem; }
.sexes .choice .ic svg { width: 2rem; height: 2rem; }
.photo-pick { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.photo-pick .av { --s: 7rem; }
.photo-btns { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }

/* ---- a player on one page */
.form { display: grid; gap: 1.35rem; padding-bottom: 2.5rem; }
.f-top { display: grid; gap: .9rem; background: var(--paper); border-radius: var(--r); padding: 1rem; box-shadow: 0 .15rem 0 var(--line-2); }
.f-lab { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; margin-bottom: .35rem; }
.f-name .field { background: var(--sea); }
.f-name .err { min-height: 0; margin-top: .35rem; }
.field.want { box-shadow: inset 0 0 0 2.5px var(--false); }
.f-sec h3 { margin-bottom: .55rem; }
.f-sec > .hint { margin: -.3rem 0 .65rem; }
.f-sec .err { margin-top: .5rem; }
.f-manage { display: grid; gap: .65rem; border-top: 2px dashed var(--line-2); padding-top: 1.2rem; }
.vopt .vtools { display: grid; gap: .6rem; padding: .7rem .25rem .2rem; }
.btn.rec { background: var(--false); box-shadow: 0 .22rem 0 var(--false-dark); }
.btn.rec.light { background: var(--paper); color: var(--false-dark); box-shadow: inset 0 0 0 2px var(--line-2), 0 .22rem 0 var(--line-2); }
.rec-now { color: var(--false-dark); font-weight: 700; }
.vtools .btn.small { width: 100%; }
.voice-tools { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.recbar { height: .5rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.recbar i { display: block; height: 100%; width: 0; background: var(--false); }
.ok-chip { display: inline-flex; align-items: center; gap: .3rem; color: var(--true-dark); font-weight: 700; }
.ok-chip svg { width: 1.1rem; height: 1.1rem; }
/* «دەنگێ ناڤی» (version 2.1): every voice of the phone with its ▶, and the words it reads */
.nv { display: grid; gap: .55rem; background: var(--eu-pale); border-radius: var(--r); padding: .8rem .75rem .9rem; }
.nv h4 { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; margin: 0; }
.nv .hint { margin: -.25rem 0 .1rem; font-size: .9rem; }
.nvlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.nvchip {
  display: flex; align-items: center; gap: .5rem; border: 0; background: var(--paper); border-radius: .9rem; padding: .55rem .6rem;
  text-align: start; box-shadow: 0 .15rem 0 var(--line-2); min-height: 3.3rem; position: relative; color: var(--ink); min-width: 0;
}
.nvchip .pl { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--eu); color: #fff; display: grid; place-items: center; flex: none; }
.nvchip .pl svg { width: 1rem; height: 1rem; }
.nvchip .nvt { display: grid; min-width: 0; line-height: 1.2; }
.nvchip .nvt b { font-weight: 800; font-size: 1rem; }
.nvchip .nvt small { color: var(--mute); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvchip.on { background: var(--gold-pale); box-shadow: inset 0 0 0 2.5px var(--gold), 0 .15rem 0 var(--gold); }
.nvchip.on .pl { background: var(--gold); color: var(--ink); }
.nvchip .ck { position: absolute; inset-inline-end: .4rem; top: .3rem; color: var(--true-dark); line-height: 0; }
.nvchip .ck svg { width: 1rem; height: 1rem; }
.nv-lab { font-weight: 700; font-size: .95rem; margin-top: .35rem; }
.nvsp { display: flex; gap: .5rem; align-items: stretch; }
.nvsp .field { font-size: 1.3rem; padding: .6rem .8rem; background: var(--paper); flex: 1; min-width: 0; }
.nvsp .field:disabled { opacity: .5; }
.vtools .nvsp .btn.small { width: 3.4rem; flex: none; padding: 0; justify-content: center; }
.vtools .nv .nv-back { justify-self: center; width: auto; }
.nv-none { text-align: center; }

/* the year wheel and the waiting-time wheel */
.wheel-wrap { position: relative; height: 9rem; }
.wheel-wrap .band { position: absolute; inset-inline: 0; top: 3rem; height: 3rem; border-radius: .9rem; background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--eu); }
.wheel {
  position: absolute; inset: 0; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
}
.wheel::-webkit-scrollbar { display: none; }
.wheel .pad { height: 3rem; }
.wheel .it {
  height: 3rem; display: grid; place-items: center; scroll-snap-align: center; font-family: var(--f-display); font-weight: 800;
  font-size: 1.45rem; color: #8A97A8; cursor: pointer; white-space: nowrap; overflow: hidden;
}
.wait-wheel .wheel .it { font-size: 1.1rem; }
.wheel .it.on { color: var(--ink); }

/* ---- difficulty and the table */
.levels { display: grid; gap: .8rem; }
.level {
  display: grid; grid-template-columns: 4.4rem 1fr; gap: .9rem; align-items: center; border: 0; text-align: start; width: 100%;
  background: var(--paper); border-radius: var(--r); padding: .8rem 1rem; border-bottom: .2rem solid var(--line-2);
}
.level .card-pic { width: 4.4rem; height: 5.6rem; }
.level h2 { font-size: 1.4rem; }
.level .sub { color: var(--slate); font-size: .95rem; }
.level .book { color: var(--eu-dark); font-size: .88rem; font-weight: 700; }
.level:active { transform: scale(.985); }
.setup-pic { background: var(--paper); border-radius: var(--r); padding: .6rem; }
.setup-pic svg { width: 100%; height: auto; }
.chip-note { display: inline-flex; align-items: center; gap: .4rem; background: var(--gold-pale); color: var(--ink); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .92rem; }
.chip-note svg { width: 3.4rem; height: .95rem; flex: none; }
.setup-text { font-size: 1.15rem; font-weight: 700; text-align: center; padding: 0 .3rem; }

/* ---- the boarding pass of the turn */
.ticket { background: var(--paper); border-radius: 1.35rem; position: relative; overflow: hidden; box-shadow: 0 .15rem 0 var(--line-2); }
.ticket-head { background: var(--pc); color: var(--po); padding: 1rem 1.1rem 1.15rem; display: flex; align-items: center; gap: .9rem; }
.ticket-head.white { background: #EEF2F7; }
.ticket-head .av { --s: 4.3rem; background: rgba(255, 255, 255, .18); }
.ticket-head .av.white, .ticket-head.white .av { background: #fff; }
.ticket-head .who { flex: 1; min-width: 0; }
.ticket-head .nm { font-family: var(--f-display); font-weight: 800; font-size: 2.15rem; line-height: 1.2; overflow-wrap: anywhere; }
[dir=rtl] .ticket-head .nm { line-height: 1.45; }
.ticket-head .verb { font-weight: 700; font-size: 1.12rem; opacity: .95; }
.ticket-head .say { flex: none; width: 2.7rem; height: 2.7rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: inherit; display: grid; place-items: center; }
.ticket-head.white .say, .ticket-head.yellow .say { background: rgba(31, 42, 58, .1); }
.ticket-head .say svg { width: 1.35rem; height: 1.35rem; }
.tear { position: relative; height: 0; margin: 0 1.1rem; border-top: 2px dashed var(--line-2); }
.tear::before, .tear::after { content: ''; position: absolute; top: -.8rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sea); }
.tear::before { left: -1.9rem; } .tear::after { right: -1.9rem; }
.steps { list-style: none; margin: 0; padding: 1rem 1.1rem 1.15rem; display: grid; gap: .6rem; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; align-items: center; font-size: 1.02rem; line-height: 1.4; }
.steps .n { width: 2rem; height: 2rem; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; }
.steps .n.dark { color: var(--ink); }
.ticket.mini .ticket-head { padding: .7rem 1rem; }
.ticket.mini .ticket-head .av { --s: 3rem; }
.ticket.mini .ticket-head .nm { font-size: 1.55rem; }

/* ---- the count before «reveal your card!» */
.count { position: relative; width: min(15rem, calc(var(--app-w) * .7)); height: min(15rem, calc(var(--app-w) * .7)); margin: .6rem auto 0; display: grid; place-items: center; }
.count svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.count .num { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 800; font-size: 5.6rem; line-height: 1; }
.count .num.go { font-size: 2rem; color: var(--false); text-align: center; padding: 0 1.2rem; line-height: 1.35; }
.reveal-now { display: flex; justify-content: center; }
.go-banner { background: var(--false); color: #fff; border-radius: var(--r); padding: .8rem 1rem; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; }

/* ---- «Done»: the topic and who was wrong */
.panel { background: var(--paper); border-radius: 1.3rem; padding: 1rem; }
.panel h3 { margin-bottom: .6rem; }
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.topic {
  border: 0; background: var(--eu-pale); border-radius: .95rem; padding: .6rem .15rem .45rem; display: flex; flex-direction: column;
  align-items: center; gap: .3rem; color: var(--eu); min-width: 0;
}
.topic svg { width: 1.9rem; height: 1.9rem; }
.topic span { font-weight: 700; font-size: .72rem; line-height: 1.2; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.topic.on { background: var(--eu); color: #fff; box-shadow: 0 .15rem 0 var(--eu-dark); }
.topic.on span { color: #fff; }
.topics.want .topic { animation: nudge .5s ease 1; }
@keyframes nudge { 25% { transform: translateY(-.25rem); } 50% { transform: none; } 75% { transform: translateY(-.12rem); } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; border: 0; border-radius: 999px; background: var(--eu-pale);
  padding: .3rem .85rem .3rem .3rem; font-weight: 700; font-size: 1.02rem; max-width: 100%;
}
[dir=rtl] .chip { padding: .3rem .3rem .3rem .85rem; }
.chip .av { --s: 2.1rem; }
.chip .x { width: 1.1rem; height: 1.1rem; display: none; }
.chip.wrong { background: var(--false); color: #fff; }
.chip.wrong .x { display: block; }
.status { margin-top: .6rem; color: var(--true-dark); font-weight: 700; min-height: 1.5em; }
.status.bad { color: var(--false-dark); }

/* ---- the pawns move: the moves after «Done» */
.moves { display: grid; gap: .45rem; }
.move { display: flex; align-items: center; gap: .65rem; background: var(--paper); border-radius: 1rem; padding: .45rem .7rem .45rem .5rem; }
[dir=rtl] .move { padding: .45rem .5rem .45rem .7rem; }
.move .av { --s: 2.4rem; }
.move .nm { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move .delta { font-weight: 700; color: var(--true-dark); font-size: .95rem; }
.move .to { display: flex; align-items: center; gap: .35rem; }
.move .arrow { width: 1.1rem; height: 1.1rem; color: var(--mute); }
.move.trav { box-shadow: inset 0 0 0 2.5px var(--gold); }
.move.stay { background: rgba(255, 255, 255, .55); }
.move.stay .nm { color: var(--mute); }
.flap {
  position: relative; min-width: 2.7rem; padding: .22rem .45rem; border-radius: .4rem; background: var(--ink); color: #fff; text-align: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; line-height: 1.25;
}
.flap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.flap.flip { animation: flip .5s ease 1; }
.tag100 { position: absolute; top: -.72rem; left: 50%; transform: translateX(-50%); z-index: 1; padding: 0 .28rem; border-radius: .35rem; background: var(--gold); color: var(--ink); font-size: .6rem; font-weight: 700; line-height: 1.45; white-space: nowrap; }
@keyframes flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); } 55% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }
.p100 { display: inline-block; margin-inline-start: .2rem; padding: 0 .3rem; border-radius: .35rem; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 700; line-height: 1.5; vertical-align: middle; }
.stay-w { color: var(--mute); font-size: .9rem; font-weight: 700; }

.drawbox h3 { margin-bottom: .7rem; }
.draws { display: grid; gap: .65rem; }
.draws .row2 .btn { min-height: 3.6rem; font-size: 1.1rem; }
.waiting { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .3rem; color: var(--slate); font-weight: 700; }
.jk { display: inline-flex; align-items: center; justify-content: center; gap: .15rem; min-width: 2.5rem; height: 2rem; padding: 0 .45rem; border-radius: .45rem; background: var(--af); color: var(--ink); font-weight: 700; font-size: .95rem; }
.jk svg { width: 1.2rem; height: 1.2rem; }

/* ---- celebrations and notes */
.cele { display: flex; align-items: center; gap: .8rem; background: var(--gold); color: var(--ink); border-radius: var(--r); padding: .85rem 1rem; }
.cele svg { width: 2.2rem; height: 2.2rem; flex: none; }
.cele p { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.35; }
.note { display: flex; align-items: center; gap: .6rem; background: var(--paper); border-radius: 1rem; padding: .6rem .8rem; border-inline-start: .35rem solid var(--nc, var(--eu)); font-weight: 700; }
.note .av { --s: 2.2rem; }
.note svg.ic { width: 1.5rem; height: 1.5rem; flex: none; color: var(--nc, var(--eu)); }
.note .grow { flex: 1; }
.lastround { display: flex; align-items: center; gap: .5rem; background: var(--gold-pale); border-radius: 1rem; padding: .55rem .85rem; font-weight: 700; color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }
.lastround svg { width: 1.3rem; height: 1.3rem; color: var(--af-dark); flex: none; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 40; }
.confetti i { position: absolute; top: -1rem; width: .5rem; height: .9rem; border-radius: .1rem; animation: fall var(--d, 2.4s) cubic-bezier(.25, .6, .4, 1) var(--w, 0s) 1 forwards; }
@keyframes fall { to { transform: translate(var(--x, 0), calc(var(--app-h) * 1.05)) rotate(var(--r, 540deg)); } }

/* ---- flag square */
.flagcard { text-align: center; }
.flagcard .bigflag { width: 5rem; height: 5rem; margin: .2rem auto .6rem; border-radius: 50%; background: var(--eu-pale); color: var(--eu); display: grid; place-items: center; }
.flagcard .bigflag svg { width: 2.8rem; height: 2.8rem; }
.flagcard p { font-size: 1.08rem; }
.flagcard .who-line { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: .5rem 0; }

/* ---- the end */
.trophy { display: block; width: 5.4rem; height: 5.4rem; margin: 0 auto .3rem; color: var(--gold); }
.trophy svg { width: 100%; height: 100%; }
.winner { text-align: center; }
.winner h1 { font-size: 2rem; }
.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: .45rem; margin-top: .6rem; }
.pod { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; cursor: pointer; }
.pod .av { --s: 3.6rem; }
.pod .nm { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .block { width: 100%; border-radius: .9rem .9rem 0 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.pod.p1 .block { height: 6.4rem; background: var(--gold); }
.pod.p2 .block { height: 4.8rem; background: #DDE6EF; }
.pod.p3 .block { height: 3.6rem; background: #F1D2B5; }
.pod .pts { font-size: .82rem; color: var(--mute); }
.others { display: grid; gap: .4rem; }
.titlesbox { display: grid; gap: .5rem; }
.titlerow { display: flex; align-items: center; gap: .7rem; background: var(--paper); border-radius: 1rem; padding: .55rem .8rem; }
.titlerow .medal { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.titlerow .medal svg { width: 1.3rem; height: 1.3rem; }
.titlerow .grow { flex: 1; min-width: 0; }
.titlerow .t { font-size: .85rem; color: var(--mute); }
.titlerow .w { font-weight: 700; }

/* ---- the departure board: where every pawn is */
.board {
  position: sticky; bottom: 0; z-index: 4; background: var(--ink); color: #fff; display: flex; justify-content: center; gap: .3rem;
  padding: .5rem .4rem calc(.5rem + var(--sa-b)); border-radius: 1.1rem 1.1rem 0 0;
}
.cell { flex: 1 1 0; min-width: 0; max-width: 5.6rem; display: flex; flex-direction: column; align-items: center; gap: .22rem; padding: .3rem .15rem .25rem; border-radius: .75rem; }
.cell .av { --s: 1.75rem; }
.cell .av { box-shadow: 0 0 0 2px rgba(255, 255, 255, .28); }
.cell .flap { background: #2C3B54; font-size: 1.12rem; min-width: 2.4rem; padding: .16rem .3rem; }
.cell .nm { font-size: .72rem; font-weight: 700; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .82; }
.cell.now { background: rgba(255, 255, 255, .1); box-shadow: inset 0 -.2rem 0 var(--gold); }
.flap small { display: block; font-size: .55rem; line-height: 2.05; font-weight: 800; letter-spacing: .02em; }
.cell.now .nm { color: var(--gold); opacity: 1; }

/* ---- sheets: ⚙, ?, a player's page, codes */
.scrim { position: fixed; inset: 0; z-index: 36; background: rgba(31, 42, 58, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.scrim.mid { align-items: center; padding: 1rem; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 34rem; max-height: calc(var(--app-h) * .92); overflow-y: auto; overscroll-behavior: contain; background: var(--sea);
  border-radius: 1.4rem 1.4rem 0 0; padding: 0 1rem calc(1.2rem + var(--sa-b)); animation: rise .2s ease;
}
@keyframes rise { from { transform: translateY(2rem); opacity: .4; } }
.scrim.still, .scrim.still .sheet { animation: none; }     /* drawn again, not opened again: nothing moves */
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: .6rem; padding: .9rem 0 .7rem; background: var(--sea); }
.sheet-head h2 { flex: 1; }
.group { background: var(--paper); border-radius: var(--r); padding: .3rem .95rem; margin-bottom: .75rem; }
.line { display: flex; align-items: center; gap: .8rem; min-height: 3.3rem; padding: .35rem 0; }
.line + .line { border-top: 1.5px solid var(--eu-pale); }
.line .lab { flex: 1; font-weight: 700; }
.line .lab small { display: block; font-weight: 400; color: var(--mute); font-size: .82rem; line-height: 1.35; }
.line .go { color: var(--mute); width: 1.2rem; height: 1.2rem; }
button.line { width: 100%; border: 0; background: none; text-align: start; }
.line > svg { width: 1.45rem; height: 1.45rem; flex: none; color: var(--eu); }
.line.danger > svg { color: var(--false); }
label.line { cursor: pointer; }
input.sw { flex: none; margin: 0; cursor: pointer; }
input.sw.native { accent-color: var(--true); transform: scale(1.12); }
input.sw:not(.native) {
  -webkit-appearance: none; appearance: none; position: relative; width: 3.2rem; height: 1.9rem; border-radius: 999px;
  background: #C3D0DE; transition: background .2s ease;
}
input.sw:not(.native)::before {
  content: ''; position: absolute; top: .2rem; left: .2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(31, 42, 58, .35); transition: transform .2s ease;
}
input.sw:not(.native):checked { background: var(--true); }
input.sw:not(.native):checked::before { transform: translateX(1.3rem); }
.seg { display: inline-flex; background: #DCE8F4; border-radius: 999px; padding: .2rem; flex: none; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: .38rem .9rem; font-weight: 700; font-size: .95rem; color: var(--slate); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(31, 42, 58, .2); }
.wait-wheel { width: 10.5rem; flex: none; }
.danger { color: var(--false-dark); }
.ver { text-align: center; color: var(--mute); font-size: .8rem; margin-top: .4rem; }
.modal { background: var(--paper); border-radius: 1.3rem; padding: 1.2rem; width: 100%; max-width: 25rem; animation: rise .18s ease; }
.modal p { font-size: 1.08rem; font-weight: 700; }
.modal .order-list { margin-top: .7rem; display: grid; gap: .35rem; }
.qrbox { background: #fff; border-radius: var(--r); padding: .9rem; display: grid; place-items: center; }
.scanbox { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: #0B121C; }
.scanbox video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanframe { position: absolute; inset: 12%; border-radius: 1rem; border: 3px solid rgba(255, 255, 255, .92); box-shadow: 0 0 0 100vmax rgba(11, 18, 28, .38); }
.qrbox svg { width: 100%; height: auto; image-rendering: pixelated; }
textarea.code {
  width: 100%; min-height: 7rem; border: 0; border-radius: var(--r); padding: .8rem; font: 400 16px/1.4 ui-monospace, Menlo, monospace;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-2); direction: ltr; resize: vertical; color: var(--ink);
}
.toast {
  position: fixed; left: 50%; top: calc(var(--sa-t) + 3.7rem); transform: translateX(-50%); z-index: 50; max-width: calc(var(--app-w) * .9);
  background: var(--ink); color: #fff; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; text-align: center; animation: rise .2s ease;
}
.warnbar { background: var(--false); color: #fff; font-weight: 700; padding: .55rem 1rem; text-align: center; font-size: .92rem; }
.warnbar.update { background: var(--eu); display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.warnbar .btn.small { min-height: 2.3rem; font-size: .9rem; padding: .3rem .8rem; }
@media (max-width: 359px) {
  .draws .row2 .btn { font-size: .95rem; gap: .3rem; padding-left: .4rem; padding-right: .4rem; }
  .draws .row2 .btn svg:first-child { display: none; }
  main#screen { padding-left: .75rem; padding-right: .75rem; }
}

/* help */
.acc { background: var(--paper); border-radius: 1rem; margin-bottom: .5rem; overflow: hidden; }
.acc > button { width: 100%; border: 0; background: none; display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; text-align: start; font-weight: 700; }
.acc > button .grow { flex: 1; }
.acc > button svg { width: 1.1rem; height: 1.1rem; color: var(--mute); transition: transform .15s ease; }
.acc.open > button svg { transform: rotate(90deg); }
[dir=rtl] .acc.open > button svg { transform: scaleX(-1) rotate(90deg); }
.acc .ans { padding: 0 .9rem .9rem; color: var(--slate); }
.nowbox { display: flex; gap: .8rem; align-items: center; background: var(--paper); border-radius: var(--r); padding: .9rem; margin-bottom: 1rem; }
.nowbox .ic { width: 3rem; height: 3rem; border-radius: 50%; background: var(--eu); color: #fff; display: grid; place-items: center; flex: none; }
.nowbox .ic svg { width: 1.6rem; height: 1.6rem; }
.nowbox p { font-weight: 700; }
.qa { background: var(--paper); border-radius: var(--r); padding: 1rem; }
.qa p { font-weight: 700; font-size: 1.05rem; margin-bottom: .8rem; }
.qa .ans { font-weight: 400; }
.sec-title { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; margin: 1.1rem 0 .55rem; color: var(--slate); }

/* ---- a player's page */
.page-head { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding-top: .3rem; }
.page-head .av { --s: 6.5rem; }
.page-head h1 { font-size: 2rem; }
.stamp-row { display: flex; align-items: center; gap: 1rem; background: var(--paper); border-radius: var(--r); padding: .9rem 1rem; }
.stamp {
  --rc: var(--eu); width: 6.6rem; height: 6.6rem; border-radius: 50%; flex: none; display: grid; place-items: center; text-align: center;
  color: var(--rc); border: .2rem solid var(--rc); box-shadow: inset 0 0 0 .3rem #fff, inset 0 0 0 .42rem var(--rc);
  transform: rotate(-9deg); font-family: var(--f-display); font-weight: 800; font-size: .98rem; line-height: 1.2; padding: .6rem;
}
.stamp small { display: block; font-size: .65rem; font-weight: 800; opacity: .8; }
.progress { flex: 1; min-width: 0; }
.progress .meter { margin: .5rem 0 .35rem; }
.meter { height: .7rem; border-radius: 999px; background: #DCE8F4; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--mc, var(--eu)); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.num-box { background: var(--paper); border-radius: 1rem; padding: .65rem .4rem; text-align: center; }
.num-box b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1.3; }
.num-box span { font-size: .8rem; color: var(--mute); }
.spark { background: var(--paper); border-radius: var(--r); padding: .8rem; }
.spark svg { width: 100%; height: 6.5rem; }
.bars { background: var(--paper); border-radius: var(--r); padding: .6rem .9rem; display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: 1.6rem 1fr 3rem; align-items: center; gap: .6rem; }
.bar-row svg { width: 1.4rem; height: 1.4rem; color: var(--eu); }
.bar-row .lab { font-weight: 700; font-size: .95rem; }
.bar-row .pct { text-align: end; font-weight: 700; font-family: var(--f-display); }
.bar-row .meter { grid-column: 2 / 3; margin-top: .15rem; }
.bar-row .stack2 { min-width: 0; }
.page-actions { display: grid; gap: .55rem; margin-top: 1rem; }

/* lists of rows never get wider than the screen, whatever the length of a name */
.moves, .others, .titlesbox, .choices, .levels, .guide, .draws, .bars, .page-actions, .order-list, .langs { grid-template-columns: minmax(0, 1fr); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .confetti { display: none; }
}
[dir=rtl] input.sw:not(.native)::before { left: auto; right: .2rem; }
[dir=rtl] input.sw:not(.native):checked::before { transform: translateX(-1.3rem); }

/* =====================================================================================================================
 * Version 2 (Kawar, 11 Oct 2026): the phone lies in the middle of the table.
 * Every player has a card at the edge, turned towards him; a disk in the middle turns to the traveller.
 * ===================================================================================================================== */
.safe-probe { position: fixed; left: 0; top: 0; width: 0; height: 0; visibility: hidden; pointer-events: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
body.tmode { overflow: hidden; overscroll-behavior: none; }
body.tmode #app { min-height: 0; }
body.tmode .bar { display: none; }
body.tmode main#screen { padding: 0; }
body.tmode #warn { position: fixed; left: 50%; top: calc(var(--sa-t) + 3.6rem); transform: translateX(-50%); z-index: 45; width: min(calc(var(--app-w) * .92), 26rem); border-radius: 1rem; overflow: hidden; }
.table { position: fixed; inset: 0; overflow: hidden; touch-action: manipulation; }
@keyframes wtGlow { 0%, 100% { box-shadow: 0 0 0 4px rgba(244, 180, 0, .30), 0 10px 22px rgba(31, 42, 58, .16); } 50% { box-shadow: 0 0 0 9px rgba(244, 180, 0, .16), 0 10px 22px rgba(31, 42, 58, .16); } }
@keyframes wtBeat { 0% { transform: scale(1); } 12% { transform: scale(1.07); } 24% { transform: scale(.985); } 36% { transform: scale(1.045); } 52%, 100% { transform: scale(1); } }
@keyframes wtRipple { 0% { box-shadow: 0 0 0 0 rgba(244, 180, 0, .55), 0 12px 26px rgba(31, 42, 58, .28); } 70% { box-shadow: 0 0 0 calc(var(--D, 246px) * .1) rgba(244, 180, 0, 0), 0 12px 26px rgba(31, 42, 58, .28); } 100% { box-shadow: 0 0 0 0 rgba(244, 180, 0, 0), 0 12px 26px rgba(31, 42, 58, .28); } }
@keyframes wtTick { 0% { transform: scale(1.3); opacity: .55; } 100% { transform: scale(1); opacity: 1; } }
@keyframes wtFlash { 0% { background-color: #F4B400; } 100% { background-color: #FFF4D1; } }
@keyframes wtNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes wtGlowSq { 0%, 100% { box-shadow: 0 0 0 3px rgba(244, 180, 0, .75), 0 0 14px rgba(244, 180, 0, .65); } 50% { box-shadow: 0 0 0 6px rgba(244, 180, 0, .3), 0 0 22px rgba(244, 180, 0, .85); } }
@keyframes wtPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(47, 127, 214, .35), 0 6px 14px rgba(31, 42, 58, .08); } 50% { box-shadow: 0 0 0 9px rgba(47, 127, 214, .12), 0 6px 14px rgba(31, 42, 58, .08); } }
@keyframes wtShake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
@keyframes wtStamp { 0% { transform: scale(1.8); opacity: 0; } 60% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1); } }
@keyframes wtIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.9); } }

/* ---- the card of each player at the edge */
.seat-chip {
  position: absolute; left: 0; top: 0; z-index: 3; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 0 8px;
  border-radius: 18px; border: 2px solid #CFE2F7; background: #fff; box-shadow: 0 6px 14px rgba(31, 42, 58, .08);
  transition: transform .45s ease, background-color .45s ease, border-color .45s ease, opacity .35s ease; cursor: pointer;
}
.seat-chip .av { --s: 40px; }
.seat-chip .av .first { width: 46%; height: 46%; }
.seat-chip .cs-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.seat-chip .cs-nm { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[dir=rtl] .seat-chip .cs-nm { line-height: 1.5; }
.seat-chip .cs-hint { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--eu-dark); white-space: nowrap; overflow: hidden; }
.seat-chip .cs-hint > span { overflow: hidden; text-overflow: ellipsis; }
.seat-chip .tfm { width: 12px; height: 17px; flex: none; }
.seat-chip .deal { font-family: var(--f-display); font-weight: 800; font-size: 13px; color: var(--ink); background: #EEF3F8; border-radius: 5px; padding: 0 5px; }
.seat-chip.trav { background: var(--gold-pale); border-color: var(--gold); animation: wtGlow 1.6s ease-in-out infinite; }
.seat-chip.trav .cs-hint { color: var(--af-dark); }
.seat-chip.hide { border-color: var(--false); }
.seat-chip.hide .cs-hint { color: var(--false); animation: wtNudge .9s ease-in-out infinite; }
.seat-chip.moved .cs-hint { color: var(--ink); }
.seat-chip.chooser { border-color: var(--eu); animation: wtPulse 1.6s ease-in-out infinite; }
.seat-chip.cand { border-color: var(--gold); animation: wtGlow 1.4s ease-in-out infinite; }
.seat-chip.here { border-color: var(--gold); animation: wtGlow 1.4s ease-in-out infinite; }
.seat-chip.gone { opacity: 0; pointer-events: none; }
.seat-chip .medal { position: absolute; top: -9px; inset-inline-start: 34px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 12px; background: #DDE6EF; color: var(--ink); box-shadow: 0 0 0 2px #fff; }
.seat-chip .medal.m1 { background: var(--gold); } .seat-chip .medal.m2 { background: #C9D3DE; } .seat-chip .medal.m3 { background: #E9B98C; }
.sqb {
  flex: none; position: relative; min-width: 40px; height: 40px; padding: 0 4px; box-sizing: border-box; border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: var(--sb, #FCE6B4); color: var(--sf, #9A5E00); box-shadow: inset 0 0 0 2px rgba(31, 42, 58, .1);
  font-family: var(--f-display); font-weight: 800; line-height: 1;
}
.sqb b { font-size: 18px; font-weight: 800; }
.sqb svg { width: 11px; height: 11px; margin-bottom: 1px; }
.sqb.start small { font-size: 9px; letter-spacing: .02em; line-height: 1.1; text-align: center; }
.sqb.pts { background: var(--ink); color: #fff; }
.sqb .p100 { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); margin: 0; padding: 0 4px; border-radius: 5px; font-size: 9.5px; font-style: normal; line-height: 1.5; white-space: nowrap; box-shadow: 0 0 0 1.5px #fff; }
.sqb.glow { animation: wtGlowSq 1.4s ease-in-out infinite; }
.table.sm .seat-chip { gap: 6px; padding: 0 6px; border-radius: 15px; }
.table.sm .seat-chip .av { --s: 34px; }
.table.sm .seat-chip .cs-nm { font-size: 18px; }
.table.sm .seat-chip .cs-hint { font-size: 12px; }
.table.sm .sqb { min-width: 34px; height: 34px; } .table.sm .sqb b { font-size: 16px; }

/* ---- the round buttons in the corners: «Undo», ⚙, ?, and the stars of the level (version 2.1: a layer of their own, above
 * everything on the table, so a touch on them always reaches them) */
.t-corners { position: fixed; inset: 0; z-index: 33; pointer-events: none; }
body:not(.tmode) .t-corners { display: none; }
.t-corners .t-corner { pointer-events: auto; }
.t-corners .c-stars { pointer-events: none; }
.c-undo .left3 { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 19px; height: 19px; padding: 0 4px; box-sizing: border-box; border-radius: 10px;
  background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 11px; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.c-undo.spent { opacity: .45; }
.c-undo.spent .left3 { background: var(--false); }
.c-undo.shake { animation: wtShake .45s ease 1; }
.t-corner { position: absolute; z-index: 6; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; padding: 0;
  background: rgba(255, 255, 255, .88); color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 10px rgba(31, 42, 58, .08); }
.t-corner svg { width: 22px; height: 22px; }
.t-corner[disabled] { opacity: .32; }
.t-corner:active:not([disabled]) { transform: scale(.92); }
.c-undo { top: calc(var(--sa-t) + 8px); inset-inline-start: calc(var(--sa-l) + 8px); }
.c-set { top: calc(var(--sa-t) + 8px); inset-inline-end: calc(var(--sa-r) + 8px); }
.c-help { bottom: calc(var(--sa-b) + 8px); inset-inline-end: calc(var(--sa-r) + 8px); }
.c-track { bottom: calc(var(--sa-b) + 60px); inset-inline-end: calc(var(--sa-r) + 8px); color: var(--eu-dark); }
.c-track[hidden] { display: none; }
.c-stars { bottom: calc(var(--sa-b) + 8px); inset-inline-start: calc(var(--sa-l) + 8px); background: transparent; box-shadow: none; pointer-events: none; }
.t-stars { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--gold); }
.t-stars svg { width: 13px; height: 13px; }

/* ---- the disk in the middle, turned to the traveller */
.t-ring { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; transition: opacity .4s ease; }
.t-disk {
  position: absolute; z-index: 2; box-sizing: border-box; border-radius: 50%; border: 6px solid var(--ink); background: #fff;
  box-shadow: 0 18px 40px rgba(31, 42, 58, .18); transition: transform 1.15s cubic-bezier(.25, .9, .3, 1.12), opacity .35s ease, background-color .4s ease;
  opacity: 0; pointer-events: none;
}
.t-disk.on { opacity: 1; pointer-events: auto; }
.t-disk.reveal { background: var(--gold-pale); animation: wtFlash .7s ease-out 1; }
.t-ptr { position: absolute; left: 50%; bottom: -24px; margin-left: -15px; width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 19px solid var(--gold); }
.t-disk-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--D) * .03);
  transition: transform 1.15s cubic-bezier(.25, .9, .3, 1.12); text-align: center; }
.dk-nm { font-family: var(--f-display); font-weight: 800; font-size: calc(var(--D) * .078); line-height: 1.3; color: var(--slate); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
/* after 100 (version 2.2): «End the game» at the start of every turn, a small gold button above the name */
.dk-end { display: flex; align-items: center; gap: 5px; max-width: none; flex: none; border: 0; border-radius: 999px; padding: 3px 11px 3px 9px; margin-bottom: calc(var(--D) * -.012);
  background: var(--gold); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: calc(var(--D) * .05); line-height: 1.45;
  box-shadow: 0 3px 0 #B98500; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.dk-end svg { width: 14px; height: 14px; flex: none; }
.dk-end span { overflow: hidden; text-overflow: ellipsis; }
.dk-end:active { transform: translateY(2px); box-shadow: 0 1px 0 #B98500; }
.dk-end { position: relative; }
.dk-end::after { content: ''; position: absolute; inset: -9px -8px -4px; }      /* a bigger place to touch than it looks */
.dk-again { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: calc(var(--D) * .05); color: var(--af-dark); }
.dk-again svg { width: 15px; height: 15px; }
.heart {
  width: calc(var(--D) * .634); height: calc(var(--D) * .634); border: 0; border-radius: 50%; padding: 0; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  animation: wtBeat 1.15s ease-in-out infinite, wtRipple 1.15s ease-out infinite; -webkit-tap-highlight-color: transparent;
}
.heart svg { width: calc(var(--D) * .14); height: calc(var(--D) * .14); color: var(--gold); }
.heart span { font-family: var(--f-display); font-weight: 800; font-size: calc(var(--D) * .094); line-height: 1.3; max-width: 88%; }
.heart:active { transform: scale(.95); }
.dk-ring { position: absolute; inset: calc(var(--D) * -.11); width: calc(100% + var(--D) * .22); height: calc(100% + var(--D) * .22); pointer-events: none; overflow: visible; }
.dk-num { font-family: var(--f-display); font-weight: 800; font-size: calc(var(--D) * .42); line-height: 1; color: var(--ink); text-decoration-thickness: 6px; text-underline-offset: 10px; }
.dk-num.last { color: var(--false); }
.dk-num.u69 { text-decoration: underline; }
.dk-num.tick { animation: wtTick .5s ease-out 1; }
.dk-now { font-size: calc(var(--D) * .052); padding: 2px 6px; }
.dk-reveal { border: 0; background: transparent; padding: 0; width: 88%; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); }
.dk-reveal .tfb { width: calc(var(--D) * .18); height: calc(var(--D) * .25); }
.dk-reveal span { font-family: var(--f-display); font-weight: 800; font-size: calc(var(--D) * .1); line-height: 1.35; }

/* ---- the panels in the middle */
.t-stage { position: absolute; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.t-stage.on { pointer-events: auto; opacity: 1; }
.t-rot { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.t-rot::-webkit-scrollbar { display: none; }
.pn { width: 100%; max-height: 100%; box-sizing: border-box; background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 14px; box-shadow: 0 14px 34px rgba(31, 42, 58, .14); overflow-y: auto; scrollbar-width: none; animation: rise .25s ease; }
.pn::-webkit-scrollbar { display: none; }
.pn > * + * { margin-top: 12px; }
.pn h2 { font-size: 1.3rem; }
.pn.up .levels .level { padding: .65rem .8rem; grid-template-columns: 3.6rem 1fr; }
.pn.up .levels .level .card-pic { width: 3.6rem; height: 4.6rem; }
.pn .setup-pic { padding: .3rem; background: var(--sea); }
.pn .setup-text { font-size: 1.05rem; }
.pn .wiz-top h2 { flex: 1; }
.table.sm .pn { padding: 10px; border-radius: 18px; } .table.sm .pn h2 { font-size: 1.12rem; }

/* draw a card: the pile counted, the jokers that are left (Kawar, 11 Oct 2026) */
.dp-head { display: flex; align-items: center; gap: 10px; }
.dp-head h2 { flex: 1; min-width: 0; }
.pile { flex: none; display: flex; align-items: center; gap: 6px; background: var(--eu-pale); border-radius: 12px; padding: 4px 10px 4px 6px; }
.pile svg { width: 26px; height: 30px; }
.pile b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; color: var(--eu-dark); }
.pile.low { background: #FDE8EB; } .pile.low b { color: var(--false); }
.dp-aside { margin-top: 6px !important; }
.dp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dbtn { position: relative; border: 0; border-radius: 18px; padding: 10px 8px 9px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1.25; transition: transform .06s ease; }
.dbtn .cp { width: 40px; height: 48px; }
.dbtn .lab { display: flex; align-items: center; gap: 4px; }
.dbtn .jv { width: 18px; height: 18px; }
.dbtn.country { grid-column: 1 / -1; background: var(--ink); color: #fff; box-shadow: 0 .22rem 0 #0B121C; flex-direction: row; justify-content: center; gap: 14px; padding: 14px; font-size: 1.35rem; }
.dbtn.country .cp { width: 48px; height: 58px; }
.dbtn.joker { background: var(--af); color: var(--ink); box-shadow: 0 .22rem 0 var(--af-dark); }
.dbtn:active { transform: translateY(.14rem); }
.dbtn .left { font-family: var(--f-text); font-weight: 700; font-size: .82rem; background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 0 9px; line-height: 1.6; }
.dbtn.out { background: #C9D2DC; color: #6B7787; box-shadow: 0 .22rem 0 #A9B4C1; }
.dbtn.out .left { background: transparent; }
.dbtn.shake { animation: wtShake .45s ease 1; }
.t-rot.land .dp { max-width: 640px; }
.t-rot.land .dp-btns { grid-template-columns: 1.4fr 1fr 1fr; }
.t-rot.land .dbtn.country { grid-column: auto; flex-direction: column; }
.waiting { margin-top: 4px !important; }
/* the pile is empty: shuffle */
.rp { text-align: center; }
.rp-pic svg { width: 150px; height: 82px; margin: 0 auto; }
.rp-pic svg g { animation: wtNudge .8s ease-in-out infinite; }
.rp p { color: var(--slate); font-weight: 700; }
/* a flag square */
.fp-top { display: flex; align-items: center; gap: 12px; }
.fp .bigflag { flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--eu-pale); color: var(--eu); display: grid; place-items: center; }
.fp .bigflag svg { width: 2rem; height: 2rem; }
.fp-who { font-weight: 700; }
.fp-how { color: var(--slate); }
/* the end */
.op .winner h1 { font-size: 1.6rem; }
.op .trophy { width: 4.4rem; height: 4.4rem; }

/* ---- «Who was wrong?» (Kawar, 11 Oct 2026): big names, flown in from where the players sit */
.t-ww { position: absolute; z-index: 4; display: none; }
.t-ww.on { display: block; }
.ww { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 10px 6px 4px; box-sizing: border-box; }
.ww-side { display: contents; }
.ww-head { text-align: center; order: 1; }
.ww-head h1 { font-size: 1.85rem; }
.ww-head p { font-size: 1.05rem; font-weight: 700; color: var(--slate); }
.ww-topic { order: 2; text-align: center; }
.ww-topic p { font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.ww .topics { display: flex; justify-content: center; gap: 8px; }
.ww .topic { width: 60px; flex: none; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 2px #CFE2F7; padding: 6px 0 4px; }
.ww .topic svg { width: 26px; height: 26px; }
.ww .topic span { font-size: 12px; }
.ww .topic.on { background: var(--ink); color: #fff; box-shadow: none; }
.ww-cards { order: 3; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(64px, 112px); gap: 12px; align-content: center; overflow-y: auto; scrollbar-width: none; padding: 2px; }
.ww-cards::-webkit-scrollbar { display: none; }
.ww-done { order: 4; flex: none; min-height: 3.9rem !important; font-size: 1.35rem !important; }
.wwc-slot { perspective: 900px; min-height: 0; }
.wwc { position: relative; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3, .8, .3, 1.15); }
.wwc.wrong { transform: rotateY(180deg); }
.wwc .face { position: absolute; inset: 0; box-sizing: border-box; border-radius: 24px; display: flex; align-items: center; gap: 14px; padding: 0 16px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.wwc .front { background: #fff; border: 3px solid #CFE2F7; box-shadow: 0 10px 24px rgba(31, 42, 58, .12); }
.wwc .back { background: var(--false); color: #fff; transform: rotateY(180deg); box-shadow: 0 10px 24px rgba(215, 38, 61, .35); }
.wwc .av { --s: 58px; }
.wwc .back .av { box-shadow: 0 0 0 3px #fff; }
.wwc .nm { flex: 1; min-width: 0; text-align: start; font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wwc .ok { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--true); color: var(--true); display: grid; place-items: center; box-sizing: border-box; }
.wwc .ok svg { width: 24px; height: 24px; }
.wwc .no { flex: none; display: flex; flex-direction: column; align-items: center; }
.wwc .no svg { width: 36px; height: 36px; }
.wwc .no small { font-family: var(--f-display); font-weight: 800; font-size: 14px; line-height: 1.2; }
.wwc.wrong .no { animation: wtStamp .5s ease-out .2s both; }
.ww-cards.n4, .ww-cards.n5 { grid-auto-rows: minmax(60px, 96px); }
.ww-cards.n4 .nm, .ww-cards.n5 .nm { font-size: 30px; }
/* the traveller on a side of the table: two columns */
.ww.land { display: grid; grid-template-columns: minmax(220px, .9fr) 1.4fr; grid-template-rows: minmax(0, 1fr); gap: 14px; padding: 6px 8px 6px; }
.ww.land .ww-side { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 0; }
.ww.land .ww-head h1 { font-size: 1.55rem; }
.ww.land .ww-head p { font-size: .95rem; }
.ww.land .topics { flex-wrap: wrap; gap: 6px; }
.ww.land .topic { width: 54px; }
.ww.land .ww-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(56px, 92px); gap: 10px; }
.ww.land .ww-cards.n1, .ww.land .ww-cards.n2 { grid-template-columns: minmax(0, 1fr); }
.ww.land .wwc .nm { font-size: 26px; }
.ww.land .wwc .av { --s: 46px; }
.ww.land .wwc .face { padding: 0 12px; gap: 10px; border-radius: 20px; }
.table.sm .ww-head h1 { font-size: 1.5rem; } .table.sm .wwc .nm { font-size: 26px; } .table.sm .wwc .av { --s: 46px; }
.table.sm .ww .topic { width: 52px; } .table.sm .ww .topics { gap: 5px; }

/* ---- a big message in the middle: 100 reached, a tie, everyone fooled */
.t-banner { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.t-banner .bn { position: absolute; left: 50%; top: 50%; max-width: calc(min(var(--app-w), var(--app-h)) * .8); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: #fff; border-radius: 26px; padding: 18px 22px; box-shadow: 0 0 0 4px var(--gold), 0 24px 50px rgba(31, 42, 58, .3); opacity: 0; transition: opacity .3s ease; }
.t-banner.on { pointer-events: auto; }
.t-banner.on .bn { opacity: 1; animation: wtIn .35s cubic-bezier(.2, .9, .25, 1.15); }
.t-banner .bn svg { width: 52px; height: 52px; color: var(--gold); }
.t-banner .bn p { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1.4; }
.t-banner .bn p.sm { font-family: var(--f-text); font-weight: 700; font-size: 1rem; line-height: 1.5; opacity: .85; max-width: 22rem; }

/* ---- the board in 3D (board3d.js): the whole screen, turned to the traveller; a touch skips to the end */
.b3 { position: fixed; inset: 0; z-index: 30; background: #C7D6E5; opacity: 0; transition: opacity .35s ease; overflow: hidden; }
.b3.on { opacity: 1; }
.b3:not(.on) { pointer-events: none; }
.b3-rot { position: absolute; left: 50%; top: 50%; overflow: hidden; }
.b3-canvas { position: absolute; left: 0; top: 0; display: block; }
.b3-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.b3-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 5px; padding: 1px 8px 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 2px var(--pc), 0 4px 10px rgba(31, 42, 58, .25); font-family: var(--f-display); font-weight: 800; font-size: 13px; line-height: 1.6; color: var(--ink); white-space: nowrap; will-change: transform; }
[dir=rtl] .b3-label { padding: 1px 6px 1px 8px; }
.b3-label .sq { display: none; position: relative; min-width: 26px; padding: 0 6px; border-radius: 7px; font-size: 15px; line-height: 1.45; text-align: center; }
.b3-label .sq[data-plus]::after { content: attr(data-plus); position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink); border-radius: 5px; padding: 0 3px; font-size: 9px; line-height: 1.5; }
.b3-label.final .sq { display: inline-block; }
.b3-label.focus { font-size: 18px; padding: 2px 10px 2px 8px; }
.b3-label.focus .sq { font-size: 21px; }
.b3-label.pop { animation: wtNudge .5s ease-in-out 2; }
.b3-toast { position: absolute; left: 50%; top: 16px; transform: translate(-50%, -30px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 18px; font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.45; white-space: nowrap; box-shadow: 0 10px 22px rgba(31, 42, 58, .25); }
.b3-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* «the game's route» (version 2.1): the board above, the order of the players below; one touch closes */
.b3-stage { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.b3-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
body.touring #corners { display: none; }
.tr-rank { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 14px 14px calc(var(--sa-b) + 10px);
  box-shadow: 0 -10px 30px rgba(31, 42, 58, .14); }
.tr-rank h2 { font-size: 1.15rem; text-align: center; margin: 0 0 10px; }
.tr-rank ol { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 6px; max-width: 640px; }
.tr-rank ol.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-rank li { display: flex; align-items: center; gap: 7px; background: var(--paper); border-radius: 14px; padding: 5px 8px; min-width: 0; }
.tr-rank li.first { background: var(--gold-pale); box-shadow: inset 0 0 0 2px var(--gold); }
.tr-pl { width: 20px; flex: none; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--mute); }
.tr-rank li.first .tr-pl { color: #B98500; }
.tr-rank .av { --s: 32px; flex: none; }
.tr-rank .nm { flex: 1; min-width: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-sq { position: relative; flex: none; min-width: 34px; padding: 2px 7px; border-radius: 9px; font-family: var(--f-display); font-weight: 800; text-align: center; font-size: 1.05rem; line-height: 1.5; }
.tr-sq i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink); border-radius: 5px; padding: 0 3px; font-size: 9px; font-style: normal; line-height: 1.5; }
.tr-sq.start { background: var(--line); color: var(--ink); font-size: .85rem; }
.tr-close { text-align: center; color: var(--mute); font-size: .85rem; margin: 9px 0 0; }

/* help: the four steps of a trip */
.hsteps { background: var(--paper); border-radius: var(--r); margin-bottom: .4rem; }
/* ⚙: the sounds */
.line.snd .lab { font-weight: 700; }
.line .lab.big { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; }
.line.dim, .group.dim { opacity: .45; }
.ico.mini { width: 2.2rem; height: 2.2rem; flex: none; }
.ico.mini svg { width: 1rem; height: 1rem; }
.line.col { flex-direction: column; align-items: stretch; gap: .45rem; padding: .65rem 0; }
.pick4, .pickm { display: grid; gap: .4rem; }
.pick4 { grid-template-columns: repeat(2, 1fr); }
.pickm { grid-template-columns: repeat(3, 1fr); }
.pick4 button, .pickm button { border: 0; border-radius: .8rem; background: #EEF3F8; padding: .55rem .25rem; font-weight: 700; font-size: .9rem; line-height: 1.35; color: var(--slate); min-width: 0; }
.pick4 button.on, .pickm button.on { background: var(--eu); color: #fff; box-shadow: 0 .15rem 0 var(--eu-dark); }
.mgrp + .mgrp { margin-top: .55rem; }
.mg-h { display: block; margin: 0 0 .3rem; font-size: .8rem; font-weight: 700; color: var(--mute); }
@media (max-width: 359px) { .pickm { grid-template-columns: repeat(2, 1fr); } }
.table.fresh .seat-chip, .table.fresh .t-disk, .table.fresh .t-disk-in, .table.fresh .t-stage, .table.fresh .t-ring { transition: none !important; }
.dk-num { pointer-events: none; margin-bottom: calc(var(--D) * -.02); }
.dk-now { position: relative; z-index: 1; }
.dp-head { flex-wrap: wrap; }
.dp-head .waiting { order: 3; flex-basis: 100%; margin: 0 !important; display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--slate); }
.t-rot.land .dp { padding: 10px 12px; }
.t-rot.land .dp > * + * { margin-top: 8px; }
.t-rot.land .dp-head { flex-wrap: nowrap; }
.t-rot.land .dp-head .waiting { order: 0; flex-basis: auto; }
.t-rot.land .dp-aside { display: none; }
.t-rot.land .dbtn { padding: 8px 6px; }
.t-rot.land .dbtn .cp { width: 34px; height: 40px; }
.t-rot.land .dbtn.country { padding: 8px; font-size: 1.2rem; gap: 6px; }
.t-rot.land .dbtn.country .cp { width: 40px; height: 48px; }
.ww-cards { grid-auto-rows: var(--rowh, 96px) !important; }
.ww.land { grid-template-columns: var(--side, 220px) minmax(0, 1fr) !important; }
.ww.land .ww-cards { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)) !important; }
.ww.tight .wwc .nm { font-size: 24px !important; }
.ww.tight .wwc .av { --s: 38px !important; }
.ww.tight .wwc .face { border-radius: 16px; gap: 8px; padding: 0 10px; }
.ww.tight .wwc .ok { width: 34px; height: 34px; } .ww.tight .wwc .no svg { width: 26px; height: 26px; } .ww.tight .wwc .no small { font-size: 12px; }
.ww.land .topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; }
.table.wide .seat-chip[data-side=l], .table.wide .seat-chip[data-side=r] { opacity: .3; }
.table.wide .t-stage { z-index: 5; }
/* the round buttons are in the corners of the screen: the panel keeps away from them */
.ww.land { padding-inline: 48px !important; }
.ww:not(.land) .ww-head { padding-inline: 50px; }
.ww.land .ww-head h1 { font-size: clamp(1.2rem, calc(min(var(--app-w), var(--app-h)) * .054), 1.55rem); }

/* ---- the phone lies sideways: the whole game is turned back upright by a quarter (version 2.1, app.js applyTurn) */
html.turned { height: 100%; overflow: hidden; }
html.turned body { position: fixed; left: 50%; top: 50%; width: var(--app-w); height: var(--app-h); margin: 0; overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch; transform: translate(-50%, -50%) rotate(var(--turn, 0deg)); transform-origin: 50% 50%; }

/* ---- achievements and certificates (version 2.1) */
.ach-open { margin: 1.6rem auto 0; display: flex; align-items: center; gap: .6rem; border: 0; border-radius: 999px; padding: .55rem 1rem .55rem 1.1rem;
  background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line), 0 .25rem .8rem rgba(31, 42, 58, .08); font-weight: 700; }
.ach-open svg { width: 1.5rem; height: 1.5rem; color: var(--gold); flex: none; }
.ach-open > span { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.ach-open small { font-weight: 400; font-size: .75rem; color: var(--mute); }
.ach-list { display: grid; gap: .6rem; padding-bottom: .4rem; }
.ach-row { display: flex; align-items: center; gap: .8rem; width: 100%; border: 0; border-radius: var(--r); padding: .7rem .85rem; background: var(--paper);
  box-shadow: 0 .2rem .6rem rgba(31, 42, 58, .06); text-align: start; color: var(--ink); }
.ach-row .av { --s: 52px; flex: none; }
.ach-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.ach-mid b { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ach-mid small { color: var(--mute); font-size: .8rem; }
.ach-dots { display: flex; gap: 3px; }
.ach-dots i { width: 14px; height: 6px; border-radius: 3px; background: #DCE6F0; }
.ach-dots i.on { background: var(--gold); }
.ring { --rs: 64px; flex: none; width: var(--rs); height: var(--rs); border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), #E3ECF5 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: calc(var(--rs) * .1); border-radius: 50%; background: var(--paper); }
.ring b { position: relative; font-family: var(--f-display); font-weight: 800; font-size: calc(var(--rs) * .27); color: var(--ink); }
.ach-head { display: flex; align-items: center; gap: 1rem; margin-top: .8rem; padding: .9rem; border-radius: var(--r); background: var(--paper); }
.ach-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.ach-txt b { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; }
.ach-txt span { color: var(--slate); font-size: .92rem; line-height: 1.4; }
.ach-txt .btn { margin-top: .2rem; }
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.cert-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; border: 0; border-radius: .9rem; padding: .6rem .4rem;
  background: #EEF3F8; color: var(--mute); text-align: center; min-width: 0; }
.cert-tile b { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; line-height: 1.3; }
.cert-tile span { font-size: .78rem; font-weight: 700; line-height: 1.35; }
.cert-tile small { font-size: .72rem; }
.cert-tile.on { background: var(--gold-pale); color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }
.cert-tile.on b { color: #9A6F00; }
.cert-tile.on::after { content: ''; position: absolute; top: .4rem; inset-inline-end: .45rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); }
.sheet.tall { max-height: calc(var(--app-h) * .97); }
.cert-view { padding-bottom: .4rem; }
.cert-img { display: block; width: 100%; height: auto; border-radius: .6rem; box-shadow: 0 .3rem 1rem rgba(31, 42, 58, .18); background: #fff;
  -webkit-touch-callout: default; user-select: auto; }
.cert-wait { display: grid; place-items: center; gap: .8rem; padding: 3rem 0; color: var(--slate); }
.spin { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: .3rem solid #DCE6F0; border-top-color: var(--eu); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.newcerts { display: grid; gap: .4rem; margin: .2rem 0 .6rem; }
.newcert { display: flex; align-items: center; gap: .5rem; border: 0; border-radius: .9rem; padding: .5rem .8rem; background: var(--gold-pale); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--gold); font-weight: 700; text-align: start; }
.newcert svg { width: 1.6rem; height: 1.6rem; color: #C98F00; flex: none; }

/* ---- «دەستکاریا نڤیسینێن کوردی» (version 2.1): every Kurdish word of the app, changed in ⚙ */
.tx-tools { position: sticky; top: 0; z-index: 2; background: var(--sea); padding: .6rem 0 .7rem; display: grid; gap: .5rem; box-shadow: 0 6px 8px -8px rgba(31, 42, 58, .35); }
.tx-tools .field { font-size: 1.05rem; padding: .6rem .9rem; font-weight: 700; text-align: start; background: var(--paper); }
.tx-tools .row2 .btn { width: 100%; font-size: 1rem; line-height: 1.2; }
.tx-count { text-align: center; color: var(--mute); font-weight: 700; margin: 0; font-size: .92rem; }
.tx-list { display: grid; gap: .6rem; margin-top: .6rem; }
.tx-item { background: var(--paper); border-radius: 14px; padding: .6rem .7rem .7rem; box-shadow: inset 0 0 0 1.5px var(--line); }
.tx-item.ch { background: var(--gold-pale); box-shadow: inset 0 0 0 2px var(--gold); }
.tx-item[hidden], .tx-none[hidden] { display: none; }
.tx-en { margin: 0 0 .35rem; color: var(--mute); font-size: .86rem; line-height: 1.35; }
.tx-ku {
  display: block; width: 100%; box-sizing: border-box; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2);
  padding: .5rem .6rem; font: inherit; font-size: 1.06rem; line-height: 1.55; resize: none; color: var(--ink);
}
.tx-ku:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--eu); }
.tx-ku.bad { box-shadow: inset 0 0 0 2.5px var(--false); }
.tx-msg { margin: .3rem 0 0; color: var(--false-dark); font-size: .86rem; font-weight: 700; }
.tx-msg:empty { display: none; }
.tx-was { display: flex; align-items: center; gap: .5rem; margin-top: .45rem; font-size: .84rem; color: var(--mute); }
.tx-was span { flex: 1; min-width: 0; }
.tx-was .btn { flex: none; width: auto; }

/* ---- the pictures of getting the table ready, as small scenes in 3D (version 2.2, scenes.js) */
.sc3 { position: relative; width: 100%; padding-top: calc(var(--H) / var(--W) * 100%); overflow: hidden; }
.sc3-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--k, 1)); perspective: 640px; perspective-origin: 50% 8%; }
.sc3-w { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(var(--tilt, 56deg)); }
.sc-order .sc3-w { top: 52%; }
.sc-level .sc3-w { top: 60%; }
.sc-it { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.sc-card { width: var(--w); height: calc(var(--w) * 85 / 60); margin: calc(var(--w) * -85 / 120) 0 0 calc(var(--w) / -2); }
.sc-card i { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 9% / 6.4%; overflow: hidden;
  box-shadow: 0 0 0 .6px rgba(31, 42, 58, .28); background: #fff; }
.sc-card .s-bk { transform: rotateY(180deg); background: #2F6DB5; }
.sc-card i svg { display: block; width: 100%; height: 100%; }
.sc-slab .s-fc { background: #E9EEF4; }
.sc-starrow { position: absolute; left: 0; right: 0; top: 2px; display: flex; justify-content: center; gap: 1px; pointer-events: none; direction: ltr; }
.sc-starrow .s-star { display: block; width: 16px; height: 16px; }
.sc-starrow .s-star svg { display: block; width: 100%; height: 100%; }
.sc-starrow .s-star.on svg { filter: drop-shadow(0 0 2.5px rgba(244, 180, 0, .95)); }
.sc-table { width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); }
.sc-table i { position: absolute; inset: 0; border-radius: 50%; }
.sc-table .s-edge { background: #B38A5C; transform: translateZ(-7px); box-shadow: 0 0 0 1px rgba(31, 42, 58, .15); }
.sc-table .s-top { background: radial-gradient(circle at 42% 38%, #F1DDBE 0, #E4C79C 58%, #D6B585 100%); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }
.sc-mat { width: var(--mw); height: var(--mh); margin: calc(var(--mh) / -2) 0 0 calc(var(--mw) / -2); border-radius: 14px;
  background: radial-gradient(circle at 45% 40%, #F1DDBE 0, #E2C599 70%, #D3B07F 100%); box-shadow: 0 0 0 1px rgba(31, 42, 58, .12), inset 0 0 0 3px rgba(255, 255, 255, .3); }
.sc-board { background: #EAF4FB; box-shadow: 0 0 0 4px #1F2A3A, inset 0 0 0 2px #fff; border-radius: 10px; }
.sc-ring { width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%;
  border: 1.6px dashed rgba(47, 127, 214, .55); box-sizing: border-box; transform: translateZ(.3px); }
.sc-arrow { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.sc-arrow::before { content: ''; position: absolute; inset: 0; background: #2F7FD6; clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%); }
.sc-glow { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 180, 0, .95) 0, rgba(244, 180, 0, .55) 38%, rgba(244, 180, 0, 0) 70%); }
.sc-pawn .s-sh { position: absolute; left: calc(var(--ph) * -.42); top: calc(var(--ph) * -.16); width: calc(var(--ph) * .84); height: calc(var(--ph) * .32); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 42, 58, .34), rgba(31, 42, 58, 0)); }
.sc-pawn .s-hop { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.sc-pawn .s-up { position: absolute; left: calc(var(--ph) * -.36); bottom: 0; width: calc(var(--ph) * .72); height: var(--ph); transform-origin: 50% 100%;
  transform: rotateX(calc(var(--tilt, 56deg) * -1)); transform-style: preserve-3d; }
.sc-pawn .s-up svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sc-lab { position: absolute; bottom: calc(100% + 3px); left: 50%; width: 92px; margin-left: -46px; display: flex; justify-content: center; transform-origin: 50% 100%;
  transform: translateZ(1px); }
.sc-lab > * { white-space: nowrap; }
.sc-lab { gap: 0; }
.sc-lab b { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 11px;
  line-height: 1; margin-inline-end: -5px; position: relative; z-index: 1; box-shadow: 0 0 0 2px #fff; align-self: center; }
.sc-lab span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; background: #fff; color: var(--ink); border-radius: 999px; padding: 1px 8px 1px 9px; font-weight: 800; font-size: 11.5px;
  line-height: 1.45; box-shadow: 0 1px 3px rgba(31, 42, 58, .2); }
.sc-startsq { width: 120px; height: 72px; margin: -36px 0 0 -60px; border-radius: 9px; background: #2F7FD6; box-shadow: inset 0 0 0 3px #2F7FD6, inset 0 0 0 4.5px rgba(255, 255, 255, .65); }
.sc-startsq span { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 13px; line-height: 1.3; }
.sc-sq { width: 28px; height: 30px; margin: -15px 0 0 -14px; border-radius: 5px; background: var(--sb); color: var(--sf); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(31, 42, 58, .1); }
.sc-sq b { font-family: var(--f-display); font-weight: 800; font-size: 13px; transform: rotateX(0deg); }
.sc-medal .s-up { position: absolute; left: -15px; bottom: 0; width: 30px; height: 30px; transform-origin: 50% 100%; transform: rotateX(-50deg); }
.sc-medal .s-up svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 2px rgba(31, 42, 58, .3)); }
.sc-phone { width: 30px; height: 54px; margin: -27px 0 0 -15px; }
.sc-phone i { position: absolute; }
.sc-phone .s-body { inset: 0; border-radius: 6px; background: #1F2A3A; box-shadow: 0 0 0 .5px #0B121C; }
.sc-phone .s-glass { left: 2.5px; right: 2.5px; top: 3px; bottom: 3px; border-radius: 4px; background: #F4F8FC; transform: translateZ(.4px); }
.sc-phone .s-ring { left: 9.5px; top: 21px; width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #1F2A3A; transform: translateZ(.6px); }
.sc-phone .s-bar { left: 8px; right: 8px; bottom: 6px; height: 3.5px; border-radius: 2px; background: var(--gold); transform: translateZ(.6px); }
.sc-phone::before { content: ''; position: absolute; inset: 0; border-radius: 6px; background: #0B121C; transform: translateZ(-3px); }
.sc-arrow2 { width: 0; height: 0; }
.sc-arrow2 i { position: absolute; left: -2px; top: 0; width: 4px; height: 28px; border-radius: 2px; background: #B78700; }
.sc-arrow2 i::after { content: ''; position: absolute; left: -5px; bottom: -4px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid #B78700; }
.sc-arrow2 { transform-origin: 0 0; }
.level .card-pic .sc3, .pn.up .levels .level .card-pic .sc3 { width: 100%; }
.setup-pic .sc3 { border-radius: calc(var(--r) - 4px); }
.order-3d { width: 100%; max-width: 30rem; margin: .4rem auto .2rem; }
