/* حول المخيم — night camp theme */
:root {
  --night-0: #050816;
  --night-1: #0a1030;
  --night-2: #141a46;
  --night-3: #241c52;
  --dusk: #3b1f4c;
  --ink: #f6f2ff;
  --ink-2: #c7c3ea;
  --ink-3: #908cbd;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(17, 21, 56, .66);
  --glass-2: rgba(28, 33, 82, .74);
  --glass-3: rgba(40, 44, 104, .8);
  --amber: #ffc861;
  --ember: #ff8a3d;
  --moon: #fff4d6;
  --teal: #5fe3c3;
  --sky: #7cc8ff;
  --rose: #ff6f91;
  --lav: #b3a6ff;
  --gold: #ffd36b;
  --green: #5fe39a;
  --r: 18px;
  --r-lg: 26px;
  --r-sm: 12px;
  --sh: 0 14px 34px -10px rgba(0, 0, 0, .6);
  --sh-glow: 0 0 0 1px rgba(255, 200, 97, .25), 0 10px 30px -8px rgba(255, 138, 61, .45);
  --font: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --display: 'Baloo Bhaijaan 2', 'Readex Pro', system-ui, sans-serif;
  --lyric: 'Marhey', 'Baloo Bhaijaan 2', system-ui, sans-serif;
  --bar-h: 60px;
  --tab-h: 70px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--night-0);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
[lang="fr"] body, html[lang="fr"] body { font-size: 14.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.25; margin: 0; letter-spacing: 0; }
p { margin: 0; }
::selection { background: rgba(255, 200, 97, .35); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 10px; }
.ic { width: 22px; height: 22px; flex: none; display: block; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--ink-3); }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- night sky ---------- */
.sky {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(120% 70% at 80% -10%, rgba(124, 110, 255, .22), transparent 60%),
    radial-gradient(90% 60% at 10% 110%, rgba(255, 138, 61, .16), transparent 60%),
    linear-gradient(180deg, #04061a 0%, #0a1036 32%, #171a4f 58%, #2a1d55 78%, #3a1f45 100%);
}
.stars { position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%; background: transparent; }
.stars.s1 { animation: twinkle 5s ease-in-out infinite; }
.stars.s2 { animation: twinkle 7s ease-in-out infinite 1.5s; }
.stars.s3 { width: 2px; height: 2px; animation: twinkle 9s ease-in-out infinite 3s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.shooting {
  position: absolute; top: 12%; inset-inline-start: 70%; width: 120px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9), transparent);
  opacity: 0; transform: rotate(-24deg);
  animation: shoot 11s ease-in infinite 4s;
}
@keyframes shoot {
  0%, 88% { opacity: 0; transform: translate(0, 0) rotate(-24deg); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translate(-260px, 120px) rotate(-24deg); }
}
.hills { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 30vh; min-height: 170px; z-index: -2; pointer-events: none; opacity: .9; }
.fireglow {
  position: fixed; left: 50%; bottom: -18vh; width: 90vw; height: 40vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 138, 61, .20), rgba(255, 138, 61, .06) 55%, transparent);
  z-index: -2; pointer-events: none; animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* ---------- shell ---------- */
.shell { min-height: 100vh; min-height: 100dvh; display: flex; }
.maincol { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar {
  position: sticky; top: 0; z-index: 20;
  height: calc(var(--bar-h) + var(--safe-t)); padding: var(--safe-t) 12px 0;
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, rgba(5, 8, 22, .92), rgba(5, 8, 22, .6));
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.bar h1 { font-size: 20px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 4px; }
.bar .brand { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.bar .brand .logo { width: 34px; height: 34px; }
.bar .brand b { font-family: var(--display); font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--ink-2);
  transition: background .2s, color .2s, transform .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.on { color: var(--rose); }
.sync-chip {
  height: 34px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.sync-chip .ic { width: 18px; height: 18px; }
.sync-chip.ok { color: var(--teal); }
.sync-chip.syncing .ic { animation: spin 1s linear infinite; color: var(--amber); }
.sync-chip.offline, .sync-chip.error { color: var(--amber); }
@keyframes spin { to { transform: rotate(360deg); } }

.view {
  flex: 1; width: 100%; max-width: 1160px; margin: 0 auto;
  padding: 14px 16px calc(var(--tab-h) + var(--safe-b) + 28px);
  animation: viewIn .35s ease;
}
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tabbar {
  position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b));
  height: var(--tab-h); display: grid; grid-template-columns: repeat(5, 1fr);
  border-radius: 24px; padding: 6px;
  background: rgba(12, 15, 44, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11.5px; color: var(--ink-3); border-radius: 18px; position: relative; transition: color .2s, background .2s;
}
.tabbar a .ic { width: 23px; height: 23px; }
.tabbar a.on { color: var(--amber); background: radial-gradient(80% 90% at 50% 20%, rgba(255, 200, 97, .16), transparent 70%); }
.tabbar a.on::after {
  content: ''; position: absolute; top: 3px; width: 18px; height: 3px; border-radius: 3px;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
}

.rail { display: none; }
@media (min-width: 960px) {
  .tabbar { display: none; }
  .view { padding: 22px 28px 60px; }
  .rail {
    display: flex; flex-direction: column; gap: 4px; width: 248px; flex: none;
    position: sticky; top: 0; height: 100vh; padding: 18px 14px;
    background: rgba(8, 11, 34, .72); border-inline-end: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .rail .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; }
  .rail .brand .logo { width: 44px; height: 44px; }
  .rail .brand b { font-family: var(--display); font-size: 22px; display: block; line-height: 1.1; }
  .rail .brand small { color: var(--ink-3); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
  .rail a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
    color: var(--ink-2); font-weight: 500; transition: background .2s, color .2s;
  }
  .rail a:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
  .rail a.on { background: linear-gradient(90deg, rgba(255, 200, 97, .16), rgba(255, 200, 97, .04)); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 200, 97, .18); }
  [dir="rtl"] .rail a.on { background: linear-gradient(270deg, rgba(255, 200, 97, .16), rgba(255, 200, 97, .04)); }
  .rail .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); }
  .rail .dot .ic { width: 18px; height: 18px; }
  .rail .sep { height: 1px; background: var(--line); margin: 8px 6px; }
  .rail .spacer { flex: 1; }
  .bar .brand { visibility: hidden; }
}

/* ---------- basic blocks ---------- */
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pad { padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-flex { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt { margin-top: 14px; }
.mt2 { margin-top: 22px; }
.sec-title { display: flex; align-items: center; gap: 10px; margin: 22px 2px 10px; }
.sec-title h2 { font-size: 18px; }
.sec-title .ic { color: var(--amber); }
.sec-title .grow { height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
[dir="rtl"] .sec-title .grow { background: linear-gradient(270deg, var(--line-2), transparent); }
.sec-title .count { color: var(--ink-3); font-size: 13px; }

.btn {
  height: 46px; padding: 0 18px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); color: var(--ink);
}
.btn .ic { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.primary { background: linear-gradient(135deg, #ffd47a, #ff9a4a 60%, #ff7a3a); color: #2a1206; border: 0; box-shadow: var(--sh-glow); }
.btn.primary:hover { box-shadow: 0 0 0 1px rgba(255, 200, 97, .4), 0 14px 34px -8px rgba(255, 138, 61, .6); }
.btn.teal { background: linear-gradient(135deg, #7ff0d6, #2fc7a5); color: #052a22; border: 0; box-shadow: 0 10px 28px -10px rgba(95, 227, 195, .6); }
.btn.rose { background: linear-gradient(135deg, #ff9ab3, #ff5d86); color: #33061a; border: 0; box-shadow: 0 10px 28px -10px rgba(255, 111, 145, .6); }
.btn.danger { color: var(--rose); border-color: rgba(255, 111, 145, .35); background: rgba(255, 111, 145, .08); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.sm { height: 36px; padding: 0 12px; border-radius: 12px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn.lg { height: 54px; font-size: 16.5px; border-radius: 18px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chips.rows2 { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; justify-content: start; }
.chip {
  flex: none; height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  transition: all .2s;
}
.chip .ic { width: 17px; height: 17px; }
.chip b { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.chip.on { color: #1d1030; background: var(--c, var(--amber)); border-color: transparent; box-shadow: 0 6px 18px -6px var(--c, var(--amber)); }
.chip.on b { color: rgba(29, 16, 48, .7); }
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; background: rgba(255, 255, 255, .07); color: var(--ink-2); white-space: nowrap;
}
.tag .ic { width: 14px; height: 14px; }
.tag.warn { background: rgba(255, 111, 145, .14); color: #ffb2c4; }
.tag.ok { background: rgba(95, 227, 154, .14); color: #a8f5c8; }
.tag.gold { background: rgba(255, 211, 107, .14); color: var(--gold); }

.seg { display: flex; padding: 4px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); gap: 4px; }
.seg button { flex: 1; height: 38px; border-radius: 12px; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; }
.seg button .ic { width: 18px; height: 18px; }
.seg button.on { background: var(--glass-3); color: var(--ink); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-2); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field > span i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  background: rgba(5, 8, 26, .55); border: 1px solid var(--line-2); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(255, 200, 97, .7); box-shadow: 0 0 0 4px rgba(255, 200, 97, .12); background: rgba(5, 8, 26, .75); }
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: rgba(199, 195, 234, .4); }
.field select { appearance: none; -webkit-appearance: none; }
.field select option { background: #141a46; }
input[type="time"], input[type="date"] { color-scheme: dark; }
.form { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { color: #ffb2c4; font-size: 13px; min-height: 1em; }
.code-input { text-align: center; letter-spacing: .3em; font-family: var(--display); font-size: 24px !important; font-weight: 700; text-transform: uppercase; }

.search { position: relative; flex: 1; min-width: 0; }
.search .ic { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--ink-3); width: 19px; height: 19px; pointer-events: none; }
.search input { width: 100%; height: 46px; padding-inline: 44px 14px; border-radius: 15px; background: rgba(5, 8, 26, .5); border: 1px solid var(--line-2); outline: none; }
.search input:focus { border-color: rgba(255, 200, 97, .6); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }

/* ---------- list rows ---------- */
.list { display: flex; flex-direction: column; gap: 8px; }
.item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .15s;
  width: 100%; text-align: start;
}
a.item:hover, button.item:hover { background: var(--glass-2); border-color: var(--line-2); }
a.item:active, button.item:active { transform: scale(.99); }
.item .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .s { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.item .end { display: flex; align-items: center; gap: 6px; flex: none; }
.item .chev { color: var(--ink-3); width: 18px; height: 18px; }
@media (min-width: 760px) { .list.cols { display: grid; grid-template-columns: 1fr 1fr; } }

.av {
  width: 44px; height: 44px; border-radius: 15px; flex: none; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: #170d2a;
  background: linear-gradient(135deg, #d9d2ff, #a99bff);
}
.av.m { background: linear-gradient(135deg, #b9e4ff, #6fb9ff); }
.av.f { background: linear-gradient(135deg, #ffd0dd, #ff8db0); }
.av.lg { width: 76px; height: 76px; border-radius: 24px; font-size: 28px; }

.empty { text-align: center; padding: 36px 20px; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .art { width: 120px; height: 90px; opacity: .9; }
.empty h3 { color: var(--ink); font-size: 18px; }
.empty p { max-width: 340px; }

/* ---------- home ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 30px; padding: 66px 20px 20px; margin-bottom: 14px;
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(150, 130, 255, .35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(255, 138, 61, .30), transparent 65%),
    linear-gradient(160deg, #141a52, #2a1d5c 55%, #4a2550);
  border: 1px solid var(--line-2); box-shadow: var(--sh);
}
.hero .garland { position: absolute; top: 0; left: 0; width: 100%; height: 70px; }
.hero .moon {
  position: absolute; top: 18px; inset-inline-end: 22px; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbea, #ffe8a8 55%, #f3c76b);
  box-shadow: 0 0 30px 8px rgba(255, 232, 168, .35), 0 0 80px 20px rgba(255, 232, 168, .12);
}
.hero .moon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 70% 30%, rgba(42, 29, 92, .9) 38%, transparent 40%); }
.hero .org { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; position: relative; }
.hero h2 { font-size: 27px; margin-top: 2px; position: relative; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; position: relative; }
.hero .meta .tag { background: rgba(0, 0, 0, .25); }
.camp-switch { display: inline-flex; align-items: center; gap: 6px; }
.camp-switch .ic { width: 18px; height: 18px; color: var(--amber); }
.progress { height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .3); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--amber), var(--ember)); box-shadow: 0 0 12px rgba(255, 138, 61, .7); }
.dayline { margin-top: 14px; position: relative; }
.dayline .row-flex { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.bulb { animation: bulb 3s ease-in-out infinite; }
@keyframes bulb { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.now-card { padding: 16px; display: flex; gap: 14px; align-items: center; margin-bottom: 14px; position: relative; overflow: hidden; }
.now-card .orb { width: 56px; height: 56px; }
.now-card .lbl { font-size: 12px; color: var(--amber); font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; }
.now-card .lbl::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: breathe 1.6s infinite; }
.now-card h3 { font-size: 19px; }
.now-card .next { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.orb {
  width: 48px; height: 48px; border-radius: 16px; flex: none; display: grid; place-items: center; color: #170d2a;
  background: var(--c, var(--amber));
  box-shadow: 0 8px 22px -8px var(--c, var(--amber)), inset 0 -6px 12px rgba(0, 0, 0, .18), inset 0 4px 10px rgba(255, 255, 255, .35);
}
.orb .ic { width: 24px; height: 24px; }
.orb.sm { width: 38px; height: 38px; border-radius: 12px; }
.orb.sm .ic { width: 20px; height: 20px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { padding: 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--ink-3); }
.stat.gold b { color: var(--gold); }
.stat.teal b { color: var(--teal); }
.stat.lav b { color: var(--lav); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; overflow: hidden; padding: 16px 14px 14px; border-radius: 24px; min-height: 132px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: var(--glass); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s;
}
.tile::before {
  content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; top: -60px; inset-inline-end: -50px;
  background: radial-gradient(closest-side, var(--c), transparent); opacity: .22; transition: opacity .25s;
}
.tile:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--glass-2); }
.tile:hover::before { opacity: .4; }
.tile:active { transform: scale(.98); }
.tile h3 { font-size: 16.5px; }
.tile small { color: var(--ink-3); font-size: 12.5px; display: block; }

.suggest { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-top: 14px; }
.suggest .lyric-peek { font-family: var(--lyric); color: var(--ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.onboard { padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.onboard .art { width: 180px; }

/* ---------- child page ---------- */
.profile { padding: 18px; display: flex; gap: 16px; align-items: center; }
.profile h2 { font-size: 22px; }
.profile .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.alert-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 111, 145, .1); border: 1px solid rgba(255, 111, 145, .3); color: #ffd3de; margin-top: 12px; }
.alert-box .ic { color: var(--rose); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.info-grid > div { padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); min-width: 0; }
.info-grid small { color: var(--ink-3); font-size: 12px; display: block; }
.info-grid b { font-weight: 600; word-break: break-word; }
.info-grid .full { grid-column: 1 / -1; }
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.link-card { padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.link-card:hover { background: var(--glass-2); }
.link-card b { font-family: var(--display); font-size: 22px; }
.link-card small { color: var(--ink-3); }

/* ---------- money ---------- */
.balance {
  padding: 22px 18px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 50% -10%, rgba(255, 211, 107, .28), transparent 60%), var(--glass);
}
.balance small { color: var(--ink-2); }
.balance .big { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1.2; text-shadow: 0 0 24px rgba(255, 211, 107, .35); }
.balance .big span { font-size: 18px; color: var(--ink-2); font-weight: 600; margin-inline-start: 6px; }
.money-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tx-in { color: var(--green); }
.tx-out { color: var(--rose); }
.amount { font-family: var(--display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-input { font-family: var(--display) !important; font-size: 34px !important; text-align: center; font-weight: 800; height: 70px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- stepper ---------- */
.stepper { display: inline-flex; align-items: center; gap: 2px; background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 3px; border: 1px solid var(--line); }
.stepper button { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--ink-2); }
.stepper button:hover { background: rgba(255, 255, 255, .08); }
.stepper button .ic { width: 18px; height: 18px; }
.stepper b { min-width: 30px; text-align: center; font-family: var(--display); font-size: 17px; }
.inv-row.done { border-color: rgba(95, 227, 154, .35); background: linear-gradient(90deg, rgba(95, 227, 154, .08), transparent), var(--glass); }
.inv-row.miss { border-color: rgba(255, 111, 145, .35); }
.tick { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: transparent; transition: all .2s; flex: none; }
.tick.on { background: var(--green); border-color: var(--green); color: #052a17; box-shadow: 0 6px 18px -6px var(--green); }
.ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 600;
  background: radial-gradient(closest-side, #12163f 72%, transparent 74% 100%), conic-gradient(var(--rc, var(--green)) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); }

/* ---------- bag ---------- */
.bag-head { padding: 18px; display: flex; align-items: center; gap: 16px; }
.big-ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(closest-side, #15194a 76%, transparent 78% 100%), conic-gradient(var(--amber) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0);
  box-shadow: 0 0 30px -6px rgba(255, 200, 97, .4); }
.big-ring b { font-family: var(--display); font-size: 24px; }
.bag-cat { margin-top: 12px; overflow: hidden; }
.bag-cat > header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.bag-cat > header h3 { font-size: 16px; }
.bag-cat > header small { color: var(--ink-3); font-size: 12px; }
.bag-cat .bar-mini { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 6px; }
.bag-cat .bar-mini i { display: block; height: 100%; background: var(--green); }
.bag-cat.closed .bag-items { display: none; }
.bag-cat.closed > header .chev2 { transform: rotate(0); }
.bag-cat > header .chev2 { transition: transform .2s; transform: rotate(180deg); color: var(--ink-3); }
.bag-items { padding: 0 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.check-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; width: 100%; text-align: start; }
.check-row:hover { background: rgba(255, 255, 255, .04); }
.check-row .box { width: 26px; height: 26px; border-radius: 9px; border: 1.6px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .2s; color: transparent; }
.check-row .box .ic { width: 17px; height: 17px; }
.check-row.on .box { background: var(--green); border-color: var(--green); color: #052a17; transform: scale(1.05); }
.check-row.on .lbl { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.add-inline { display: flex; gap: 8px; padding: 4px 6px 0; }
.add-inline input { flex: 1; height: 40px; border-radius: 12px; padding: 0 12px; background: rgba(0, 0, 0, .25); border: 1px dashed var(--line-2); outline: none; }
.add-inline input:focus { border-style: solid; border-color: rgba(255, 200, 97, .6); }

/* ---------- songs ---------- */
.song-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.song-card .peek { font-family: var(--lyric); font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-card .t { font-family: var(--display); font-size: 16.5px; font-weight: 700; }
.reader { padding: 22px 18px 26px; text-align: center; }
.reader .song-title { font-family: var(--display); font-size: 28px; color: var(--amber); text-shadow: 0 0 22px rgba(255, 200, 97, .35); }
.lyrics { font-family: var(--lyric); font-size: calc(var(--fs, 21) * 1px); line-height: 1.95; margin-top: 16px; white-space: pre-wrap; direction: rtl; }
.lyrics .stanza { margin-bottom: 1.1em; }
.reader-tools { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.stage {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 30px 20px; text-align: center; overflow-y: auto;
  background: radial-gradient(80% 60% at 50% 110%, rgba(255, 138, 61, .25), transparent 60%), linear-gradient(180deg, #03040f, #0d1035 60%, #2a1840);
  animation: viewIn .3s ease;
}
.stage h2 { font-size: clamp(26px, 5vw, 48px); color: var(--amber); text-shadow: 0 0 30px rgba(255, 200, 97, .45); }
.stage .lyrics { font-size: clamp(24px, 4.6vw, 54px); line-height: 1.8; margin-top: 18px; }
.stage .stage-close { position: fixed; top: calc(14px + var(--safe-t)); inset-inline-end: 14px; }
.stage .stage-nav { position: fixed; bottom: calc(18px + var(--safe-b)); left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }

/* ---------- games ---------- */
.tools-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.tool { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); text-align: start; transition: background .2s; }
.tool:hover { background: var(--glass-2); }
.tool b { font-family: var(--display); font-size: 16px; display: block; }
.tool small { color: var(--ink-3); font-size: 12px; }
.games-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .games-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .games-grid { grid-template-columns: 1fr 1fr 1fr; } }
.game-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.game-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.game-card .pic { aspect-ratio: 16 / 8.5; background: #f9aa3e; position: relative; overflow: hidden; }
.game-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.game-card .pic.none { display: grid; place-items: center; background: linear-gradient(135deg, #2a2266, #4a2a60); color: var(--amber); }
.game-card .pic.none .ic { width: 46px; height: 46px; }
.game-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.game-card h3 { font-size: 17.5px; }
.game-card p { font-size: 13px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-hero { border-radius: 26px; overflow: hidden; background: #f9aa3e; border: 1px solid var(--line-2); box-shadow: var(--sh); }
.game-hero img { width: 100%; max-height: 380px; object-fit: contain; margin: 0 auto; }
.gsec { padding: 16px; margin-top: 12px; }
.gsec h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--amber); }
.gsec h3 .ic { width: 20px; height: 20px; }
.gsec ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 4px; }
.gsec li::marker { color: var(--amber); }
.gsec .txt { white-space: pre-line; }

.timer-face { position: relative; width: min(280px, 72vw); aspect-ratio: 1; margin: 6px auto 16px; }
.timer-face svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-face .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 56px; font-weight: 800; direction: ltr; }
.timer-face.done .num { color: var(--ember); animation: breathe .6s infinite; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team { border-radius: 20px; padding: 12px 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.team h4 { font-family: var(--display); font-size: 16px; color: var(--c); margin-bottom: 6px; }
.team ol { margin: 0; padding-inline-start: 20px; font-size: 14px; }

/* ---------- programme ---------- */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 66px; padding: 8px 4px; border-radius: 18px; text-align: center; scroll-snap-align: center;
  background: var(--glass); border: 1px solid var(--line); color: var(--ink-2); position: relative; transition: all .2s;
}
.day small { display: block; font-size: 11px; color: var(--ink-3); }
.day b { display: block; font-family: var(--display); font-size: 21px; line-height: 1.2; }
.day.today::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.day.on { background: linear-gradient(160deg, #ffd47a, #ff8a3d); color: #2a1206; border-color: transparent; box-shadow: var(--sh-glow); }
.day.on small { color: rgba(42, 18, 6, .7); }
.timeline { position: relative; display: flex; flex-direction: column; gap: 10px; padding-inline-start: 26px; }
.timeline::before { content: ''; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(255, 200, 97, .5), rgba(179, 166, 255, .25)); }
.tl-item { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); text-align: start; width: 100%; transition: background .2s; }
.tl-item:hover { background: var(--glass-2); }
.tl-item::before { content: ''; position: absolute; top: 20px; inset-inline-start: -22px; width: 12px; height: 12px; border-radius: 50%; background: var(--night-1); border: 2px solid var(--c, var(--lav)); }
.tl-item.now { border-color: rgba(255, 200, 97, .55); box-shadow: 0 0 0 1px rgba(255, 200, 97, .25), 0 10px 30px -10px rgba(255, 138, 61, .45); background: linear-gradient(90deg, rgba(255, 200, 97, .1), transparent), var(--glass); }
[dir="rtl"] .tl-item.now { background: linear-gradient(270deg, rgba(255, 200, 97, .1), transparent), var(--glass); }
.tl-item.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 12px var(--amber); }
.tl-item.fixed { opacity: .62; background: rgba(255, 255, 255, .025); border-style: dashed; }
.tl-item.done .t { text-decoration: line-through; color: var(--ink-3); }
.tl-time { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink-2); direction: ltr; min-width: 50px; line-height: 1.3; }
.tl-time small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.tl-item .t { font-weight: 600; }
.tl-item .s { font-size: 12.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.tl-item .s span { display: inline-flex; align-items: center; gap: 4px; }
.tl-item .s .ic { width: 14px; height: 14px; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; }
.kind-grid button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 11.5px; color: var(--ink-2); transition: all .2s; line-height: 1.3; }
.kind-grid button .ic { width: 22px; height: 22px; color: var(--c); }
.kind-grid button.on { background: var(--c); color: #1a0e2c; border-color: transparent; }
.kind-grid button.on .ic { color: #1a0e2c; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.toggle input { display: none; }
.toggle i { width: 42px; height: 26px; border-radius: 99px; background: rgba(255, 255, 255, .12); position: relative; transition: background .2s; flex: none; }
.toggle i::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked + i { background: var(--teal); }
.toggle input:checked + i::after { transform: translateX(16px); }
[dir="rtl"] .toggle input:checked + i::after { transform: translateX(-16px); }

/* ---------- settings ---------- */
.code-card { padding: 18px; text-align: center; background: radial-gradient(80% 100% at 50% 0%, rgba(124, 200, 255, .18), transparent 70%), var(--glass); }
.code-big { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: .12em; direction: ltr; color: var(--moon); text-shadow: 0 0 24px rgba(255, 244, 214, .35); margin: 6px 0 10px; user-select: all; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.set-row .logo { width: 44px; height: 44px; flex: none; }
.set-row + .set-row { border-top: 1px solid var(--line); }
.about { padding: 18px; }
.about p + p { margin-top: 8px; }
.about .sig { font-family: var(--display); color: var(--amber); margin-top: 10px; }
.danger-zone { border-color: rgba(255, 111, 145, .25); }

/* ---------- sheets / dialogs ---------- */
#layer { position: relative; z-index: 80; }
.sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 12, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.sheet {
  position: relative; width: 100%; max-width: 620px; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1a1f55, #121640); border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, .7);
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .9, .3, 1);
}
.sheet-wrap.open .sheet { transform: none; }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-grip { width: 42px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .2); margin: 10px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px 6px 18px; flex: none; }
[dir="rtl"] .sheet-head { padding: 8px 18px 6px 12px; }
.sheet-head h2 { flex: 1; font-size: 20px; }
.sheet-body { padding: 8px 18px 18px; overflow-y: auto; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); display: flex; gap: 10px; border-top: 1px solid var(--line); flex: none; background: rgba(10, 13, 40, .5); }
.sheet-foot .btn { flex: 1; }
.sheet-foot .btn.ghost { flex: 0 0 auto; }
.sheet-foot .btn.danger { flex: 0 0 52px; padding: 0; }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; padding: 20px; }
  .sheet { border-radius: 28px; border-bottom: 1px solid var(--line-2); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .25s, opacity .25s; }
  .sheet-wrap.open .sheet { opacity: 1; }
  .sheet.wide { max-width: 860px; }
  .sheet-grip { display: none; }
  .sheet-head { padding-top: 14px; }
  .sheet-foot { border-radius: 0 0 28px 28px; }
}
.dialog .sheet-body { font-size: 15px; color: var(--ink-2); }

#toasts { position: fixed; z-index: 120; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b) + 22px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
@media (min-width: 960px) { #toasts { bottom: 26px; } }
.toast {
  max-width: min(92vw, 460px); padding: 11px 16px; border-radius: 16px; display: flex; align-items: center; gap: 10px;
  background: rgba(30, 34, 84, .96); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8);
  font-size: 14px; animation: toastIn .3s ease; pointer-events: auto;
}
.toast .ic { width: 20px; height: 20px; color: var(--teal); }
.toast.warn .ic { color: var(--amber); }
.toast.bad .ic { color: var(--rose); }
.toast button { color: var(--amber); font-weight: 600; margin-inline-start: 6px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

.fab {
  position: fixed; z-index: 25; inset-inline-end: 18px; bottom: calc(var(--tab-h) + var(--safe-b) + 24px);
  width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffd47a, #ff8a3d); color: #2a1206; box-shadow: var(--sh-glow);
  transition: transform .2s;
}
.fab:active { transform: scale(.94); }
.fab .ic { width: 28px; height: 28px; }
@media (min-width: 960px) { .fab { bottom: 28px; inset-inline-end: 32px; } }

/* ---------- welcome ---------- */
.welcome { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.welcome .scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46vh; min-height: 260px; pointer-events: none; }
.welcome .top { width: 100%; display: flex; justify-content: flex-end; padding: calc(14px + var(--safe-t)) 16px 0; position: relative; z-index: 2; }
.welcome .garland { position: absolute; top: 0; left: 0; width: 100%; height: 90px; z-index: 1; }
.welcome .brand { margin-top: 5vh; text-align: center; position: relative; z-index: 2; padding: 0 20px; }
.welcome .brand .logo { width: 92px; height: 92px; margin: 0 auto 8px; filter: drop-shadow(0 10px 30px rgba(255, 138, 61, .45)); }
.welcome .brand h1 { font-size: clamp(40px, 11vw, 64px); line-height: 1.05; background: linear-gradient(180deg, #fff6dc, #ffd47a 55%, #ff9a4a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(255, 170, 80, .35)); }
.welcome .brand p { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; }
.welcome .panel { position: relative; z-index: 3; width: min(440px, calc(100% - 32px)); margin: 26px auto 0; padding: 18px; }
.welcome .panel .seg { margin-bottom: 16px; }
.welcome .note { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 12px; display: flex; gap: 6px; align-items: flex-start; justify-content: center; }
.welcome .note .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--teal); }
.welcome .credit { position: relative; z-index: 3; margin: auto 0 calc(14px + var(--safe-b)); padding-top: 30px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.flame { transform-origin: 50% 100%; animation: flicker 1.1s ease-in-out infinite alternate; }
.flame.f2 { animation-duration: .8s; animation-delay: .2s; }
.flame.f3 { animation-duration: 1.4s; animation-delay: .4s; }
@keyframes flicker { 0% { transform: scale(1, 1) skewX(0); } 50% { transform: scale(.92, 1.08) skewX(2deg); } 100% { transform: scale(1.05, .94) skewX(-2deg); } }
.spark { animation: rise 3s linear infinite; opacity: 0; }
.spark.k2 { animation-delay: 1s; }
.spark.k3 { animation-delay: 2s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px); } }
.welcome-lang { height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.welcome-lang .ic { width: 17px; height: 17px; }

.splash { min-height: 100vh; display: grid; place-items: center; }
.splash .logo { width: 84px; height: 84px; animation: breathe 1.4s infinite; }

.is-welcome .hills, .is-welcome .fireglow { display: none; }
[dir="ltr"] .prevchev { transform: scaleX(-1); }
@media (max-width: 430px) { .hide-sm { display: none; } }
.stat { display: block; }
a.stat:hover { border-color: var(--line-2); }
.glowpulse { animation: breathe 3s ease-in-out infinite; }
.lyrics .stanza:last-child { margin-bottom: 0; }

/* ---------- print ---------- */
@media print {
  body { background: #fff; color: #000; }
  .sky, .hills, .fireglow, .tabbar, .rail, .bar, .fab, #toasts { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
