/* Edil Lotto — "Game Show", premium cut.
   Midnight stage, glass panels with hairline edges, metallic gold, one refined sans (Outfit).
   Poppins (bundled) is the fallback when Google Fonts can't load. */
@font-face { font-family: "Poppins"; src: url(fonts/Poppins-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(fonts/Poppins-Medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(fonts/Poppins-Bold.ttf); font-weight: 600 700; font-display: swap; }

:root {
  --night: #0B0820;
  --stage: #1A1247;
  --violet: #5B3FD6;
  --glass: rgba(255, 255, 255, .045);
  --glass-hi: rgba(255, 255, 255, .08);
  --hair: rgba(255, 255, 255, .09);
  --hair-hi: rgba(255, 255, 255, .16);
  --text: #F4F1FF;
  --mute: #A9A2D6;
  --faint: #6F679E;
  --gold-1: #FFF1C2;
  --gold-2: #F2CC6B;
  --gold-3: #C9962E;
  --gold: #E9BE55;
  --gold-grad: linear-gradient(180deg, #FFF1C2 0%, #F2CC6B 38%, #D6A23A 72%, #B9862A 100%);
  --red: #FF5A6A;
  --blue: #4AA8FF;
  --pink: #E0489A;
  --green: #3EDB8F;
  --paper: #FBF6E9;
  --ink: #15102F;
  --font: "Outfit", "Poppins", "Noto Sans Ethiopic", "Abyssinica SIL", "Kefa", system-ui, sans-serif;
  --mark: "Outfit", "Poppins", "Noto Sans Ethiopic", sans-serif;
  --tab-h: 60px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
}

* { box-sizing: border-box; }
/* The app is a fixed frame the size of the screen: nothing scrolls sideways,
   the page itself never scrolls; only list screens scroll inside #app. */
html { -webkit-text-size-adjust: 100%; background: var(--night); height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  margin: 0; position: fixed; inset: 0; overflow: hidden; overscroll-behavior: none; display: flex; flex-direction: column;
  font-family: var(--font); color: var(--text); font-size: 15px; line-height: 1.45; letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(91,63,214,.55) 0%, rgba(91,63,214,0) 62%),
    radial-gradient(80% 40% at 50% 112%, rgba(224,72,154,.16) 0%, rgba(224,72,154,0) 70%),
    linear-gradient(180deg, var(--stage) 0%, var(--night) 70%);
  background-color: var(--night);
}
/* stage spotlights, soft and clipped to the screen */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg i { position: absolute; top: -60px; width: 240px; height: 560px; filter: blur(2px);
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,0) 85%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); }
.bg i:first-child { left: -70px; transform: rotate(-17deg); }
.bg i:last-child { right: -70px; transform: rotate(17deg); }

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 10px; }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
[hidden] { display: none !important; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.glass { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(5,3,20,.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: var(--r-lg); }

#app { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; width: 100%; max-width: 520px; margin: 0 auto;
  padding: 0 16px; overflow-x: hidden; }
#app.scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 18px; }
#app.fit { overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(8px, 1.6vh, 16px);
  padding-bottom: clamp(10px, 1.8vh, 16px); }
#app.fit > * { margin-top: 0; flex: none; }
.boot { height: 100%; display: grid; place-items: center; }
.boot img { animation: breathe 1.6s ease-in-out infinite; border-radius: 20px; }
@keyframes breathe { 50% { transform: scale(.94); opacity: .75; } }

/* ---------------------------------------------------------------- header */
.top { display: flex; align-items: center; gap: 10px; padding: clamp(10px, 1.8vh, 16px) 0 0; }
.balls { position: relative; width: 40px; height: 28px; flex: none; }
.balls i { position: absolute; width: 20px; height: 20px; border-radius: 50%;
  box-shadow: inset -3px -3px 5px rgba(0,0,0,.25), inset 2px 2px 4px rgba(255,255,255,.45), 0 2px 6px rgba(0,0,0,.35); }
.balls i:nth-child(1) { left: 0; top: 6px; background: radial-gradient(circle at 35% 30%, #FFA0A9, var(--red) 55%, #B4182C); }
.balls i:nth-child(2) { left: 10px; top: 0; z-index: 2; background: radial-gradient(circle at 35% 30%, #FFF3C9, var(--gold-2) 50%, #C08A1E); }
.balls i:nth-child(3) { left: 20px; top: 7px; background: radial-gradient(circle at 35% 30%, #A8D8FF, var(--blue) 55%, #1C64B8); }
.brand { font-family: var(--mark); font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: 2.6px; text-transform: uppercase; }
html[lang="am"] .brand { letter-spacing: 0; font-size: 19px; }
.brand b { font-weight: inherit; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lang { margin-left: auto; display: flex; padding: 3px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair); }
.lang button { border: 0; background: none; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; color: var(--mute); }
.lang button[aria-pressed="true"] { background: var(--gold-grad); color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- countdown */
.live { text-align: center; }
.live .label { font-size: 12.5px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mute); }
.count { display: inline-flex; margin-top: 8px; border-radius: var(--r-md); border: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.count div { min-width: 62px; padding: clamp(6px, 1vh, 9px) 8px clamp(5px, .8vh, 7px); text-align: center; }
.count div + div { border-left: 1px solid var(--hair); }
.count b { display: block; font-size: clamp(24px, 4.3vh, 30px); font-weight: 600; line-height: 1.05; letter-spacing: .5px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.count small { display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); }
.live .when { margin-top: 8px; font-size: 13px; color: var(--mute); }

/* ---------------------------------------------------------------- jackpot track */
.meter { padding: clamp(12px, 2vh, 16px) 16px clamp(10px, 1.6vh, 14px); }
.meter .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: 15px; }
.meter .head .gold { font-size: 13px; font-weight: 600; }
.track { position: relative; height: 4px; margin: clamp(30px, 5vh, 38px) 6px clamp(42px, 6.4vh, 50px); border-radius: 2px; background: rgba(255,255,255,.09); }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--gold-grad);
  box-shadow: 0 0 12px rgba(242,204,107,.55); min-width: 4px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.mk { position: absolute; top: 50%; width: 0; display: flex; flex-direction: column; align-items: center; }
.mk .dot { position: absolute; top: -6px; width: 12px; height: 12px; margin-left: -6px; left: 0; border-radius: 50%;
  background: var(--night); border: 1.5px solid var(--faint); }
.mk .ico { position: absolute; bottom: 12px; left: 0; transform: translateX(-50%); }
.mk .ico svg { width: 30px; height: 22px; fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-linejoin: round; display: block; }
.mk b, .mk small { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; }
.mk b { top: 12px; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.mk small { top: 30px; font-size: 11px; color: var(--faint); }
.mk.end .ico, .mk.end b, .mk.end small { transform: translateX(-100%); left: 8px; }
.mk.start .ico, .mk.start b, .mk.start small { transform: none; left: -8px; }
.mk.open .dot { background: var(--gold-2); border-color: var(--gold-1); box-shadow: 0 0 10px rgba(242,204,107,.8); }
.mk.open .ico svg { stroke: var(--gold-2); }
.mk.open b { color: var(--text); }
.mk.open small { color: var(--green); font-weight: 500; }
.meter .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--hair); font-size: 12.5px; }
.meter .foot .link { font-size: 12.5px; color: var(--mute); text-decoration-color: rgba(169,162,214,.4); }
.meter .foot .mine, .pool .chip { color: var(--gold-1); white-space: nowrap; font-size: 12px; font-weight: 500;
  padding: 3px 10px; border-radius: 999px; background: rgba(242,204,107,.1); border: 1px solid rgba(242,204,107,.28); }
.mine-hint { margin-top: 10px; font-size: 13px; color: var(--gold-1); }

/* ---------------------------------------------------------------- weekly pool */
.pool { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: clamp(12px, 2vh, 16px) 16px; overflow: hidden; }
.pool::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(224,72,154,.7), rgba(91,63,214,.5) 50%, rgba(242,204,107,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pool::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,72,154,.22), rgba(224,72,154,0) 70%); pointer-events: none; }
.pool .txt { position: relative; min-width: 0; }
.pool .lbl { font-size: 12.5px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: var(--mute); }
.pool .amt { margin-top: 2px; font-size: clamp(28px, 5vh, 34px); font-weight: 600; line-height: 1.1; letter-spacing: .3px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pool .amt small { margin-left: 6px; font-size: 15px; font-weight: 500; letter-spacing: .5px; }
.pool .when { margin-top: 2px; font-size: 12.5px; color: var(--mute); }
.pool .chip { position: relative; align-self: flex-start; }
.splits { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.splits div { flex: 0 0 auto; background: var(--glass); border: 1px solid var(--hair); border-radius: 10px; padding: 5px 10px; font-size: 12px; color: var(--mute); }
.splits b { display: block; color: var(--text); font-size: 13px; }

/* ---------------------------------------------------------------- buttons */
.cta { position: relative; display: block; width: 100%; margin-top: 14px; border: 0; border-radius: var(--r-md);
  padding: clamp(13px, 2.1vh, 16px) 18px; overflow: hidden;
  font-size: 16px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink);
  background: var(--gold-grad);
  box-shadow: 0 8px 24px rgba(214,162,58,.28), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.18); }
.cta span { position: relative; z-index: 1; }
.cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  animation: shine 4.5s ease-in-out 1.2s infinite; }
@keyframes shine { 0% { left: -40%; } 22%, 100% { left: 130%; } }
.cta:active { transform: translateY(1px); filter: brightness(.97); }
.cta[disabled] { opacity: .45; box-shadow: none; }
.cta[disabled]::after { display: none; }
.ghost { display: block; width: 100%; margin-top: 10px; border: 1px solid var(--hair-hi); background: transparent; border-radius: var(--r-md);
  padding: 12px; color: var(--mute); font-weight: 500; }
.link { border: 0; background: none; color: var(--gold-2); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.base { font-size: 12.5px; color: var(--mute); margin-top: 6px; }

/* ---------------------------------------------------------------- sheets (dark, to match) */
.sheet-bg { position: fixed; inset: 0; background: rgba(5,3,18,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 20; animation: fade .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 520px; margin: 0 auto; max-height: calc(100% - 16px);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background: linear-gradient(180deg, #221A55 0%, #150F38 100%); color: var(--text);
  border-radius: 26px 26px 0 0; border-top: 1px solid var(--hair-hi);
  box-shadow: 0 -20px 50px rgba(0,0,0,.45); padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  animation: up .32s cubic-bezier(.2,.8,.2,1); }
.sheet .grip { width: 38px; height: 4px; border-radius: 2px; background: var(--hair-hi); margin: 0 auto 16px; }
.sheet h2 { font-size: 20px; font-weight: 600; letter-spacing: .2px; }
.sheet .muted { color: var(--mute); font-size: 13.5px; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.seg button { min-width: 0; border: 1px solid var(--hair-hi); background: var(--glass); border-radius: var(--r-sm); padding: 11px 12px; text-align: left; overflow-wrap: anywhere; }
.seg button[aria-pressed="true"] { border-color: rgba(242,204,107,.7); background: rgba(242,204,107,.08); box-shadow: inset 0 0 0 1px rgba(242,204,107,.25); }
.seg b { display: block; font-size: 14px; font-weight: 600; }
.seg small { font-size: 12px; color: var(--mute); }

.qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.qty > div:first-child { min-width: 0; }
.qty b { font-weight: 600; }
.step { display: flex; align-items: center; border-radius: var(--r-sm); border: 1px solid var(--hair-hi); background: var(--glass); }
.step button { border: 0; background: none; width: 44px; height: 44px; font-size: 20px; color: var(--gold-2); }
.step input { width: 48px; text-align: center; border: 0; font-size: 19px; font-weight: 600; background: none; color: var(--text); }
.chips { display: flex; gap: 6px; margin-top: 12px; }
.chips button { border: 1px solid var(--hair); background: transparent; color: var(--mute); border-radius: 999px; padding: 5px 14px; font-size: 13px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); }
.total span { color: var(--mute); }
.total b { font-size: 24px; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.paybox { margin-top: 14px; border-radius: var(--r-md); padding: 6px 14px; border: 1px solid var(--hair); background: var(--glass); }
.paybox .line { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; }
.paybox .line > * { min-width: 0; }
.paybox .line + .line { border-top: 1px solid var(--hair); }
.paybox .big { font-size: clamp(18px, 5.4vw, 22px); font-weight: 600; white-space: nowrap; color: var(--gold-1); }
.copy { border: 1px solid rgba(242,204,107,.35); background: rgba(242,204,107,.08); color: var(--gold-1); border-radius: 10px; padding: 6px 12px; font-size: 12.5px; font-weight: 500; }
.field { margin-top: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--mute); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--hair-hi); border-radius: var(--r-sm); padding: 12px 14px;
  background: rgba(0,0,0,.25); color: var(--text); font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(242,204,107,.6); box-shadow: 0 0 0 3px rgba(242,204,107,.12); }
.field textarea { min-height: 64px; resize: vertical; font-family: var(--font); }
.err { color: #FF9AA6; font-size: 13.5px; margin-top: 8px; }
.wait { text-align: center; padding: 18px 0 6px; }
.wait .spin { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid var(--hair-hi); border-top-color: var(--gold-2); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sheet .ghost { color: var(--mute); }

/* ---------------------------------------------------------------- ticket stubs: ivory paper, gold foil edge */
.stubs { display: grid; gap: 10px; margin-top: 12px; }
.stub { position: relative; display: flex; align-items: stretch; color: var(--ink); border-radius: 14px; min-height: 64px;
  background: linear-gradient(90deg, #D9A93F 0 4px, var(--paper) 4px);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.stub .main { flex: 1; padding: 11px 14px 10px 22px; }
.stub .main small { display: block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(21,16,47,.5); }
.stub .main b { font-size: 17px; font-weight: 600; letter-spacing: 1px; }
.stub .side { width: 70px; border-left: 1.5px dashed rgba(21,16,47,.2); display: grid; place-items: center; padding-right: 8px; }
.stub .side i { width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF3C9, var(--gold-2) 50%, #C08A1E); box-shadow: inset -2px -2px 4px rgba(0,0,0,.2); }
.stub .side i.m { background: radial-gradient(circle at 35% 30%, #FFA0A9, var(--red) 55%, #B4182C); }
.stub.printing { animation: print .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes print { from { transform: translateY(-12px) scaleY(.3); opacity: 0; transform-origin: top; } }

/* ---------------------------------------------------------------- lists, sections */
.section { margin-top: 22px; }
.section h2 { font-size: 18px; font-weight: 600; }
.section .sub { font-size: 13px; color: var(--mute); }
.empty { margin-top: 30px; text-align: center; color: var(--mute); }
.empty .em { display: flex; justify-content: center; margin-bottom: 12px; }
.winners { margin-top: 10px; display: grid; border-top: 1px solid var(--hair); }
.win { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--hair); }
.win .rk { font-weight: 600; text-align: center; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.win .tk { font-weight: 500; letter-spacing: .5px; }
.win .pz { font-size: 13px; color: var(--mute); text-align: right; }
.win.me { margin: 4px -4px; padding: 11px 8px; border: 1px solid rgba(242,204,107,.55); border-radius: var(--r-sm); background: rgba(242,204,107,.07); }
.win.hide { visibility: hidden; }
.win.pop { animation: pop .5s cubic-bezier(.2,1.3,.4,1); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.carry { margin-top: 10px; font-size: 13px; color: var(--mute); }
details { margin-top: 14px; border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 10px 14px; background: var(--glass); }
details summary { cursor: pointer; font-weight: 500; color: var(--mute); }
details code { display: block; word-break: break-all; font-size: 11px; color: var(--faint); margin-top: 4px; }

.card { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--hair); }
.ok { color: var(--green); font-size: 13.5px; margin-top: 8px; }

/* ---------------------------------------------------------------- gate */
.gate { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.gate img { width: clamp(72px, 13vh, 100px); height: clamp(72px, 13vh, 100px); border-radius: 24px; box-shadow: 0 0 50px rgba(91,63,214,.6); }
.gate h1 { font-size: 28px; font-weight: 600; margin-top: 22px; line-height: 1.2; }
.gate h1 b { font-weight: inherit; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate p { color: var(--mute); margin-top: 8px; max-width: 34ch; }
.gate .prizes { margin-top: 18px; display: flex; gap: 16px; }
.gate .prizes svg { width: 36px; height: 27px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linejoin: round; }
.gate .lang { margin: 22px 0 0; align-self: flex-start; }

/* ---------------------------------------------------------------- tabs, toast */
#tabs { position: relative; flex: none; z-index: 10; display: flex; justify-content: center;
  background: rgba(11,8,32,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--hair); padding-bottom: env(safe-area-inset-bottom); }
#tabs button { position: relative; flex: 1; max-width: 130px; height: var(--tab-h); border: 0; background: none; color: var(--faint);
  display: grid; place-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 500; letter-spacing: .3px; }
#tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
#tabs button[aria-current="page"] { color: var(--gold-2); }
#tabs button[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 26px; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--gold-grad); box-shadow: 0 0 10px rgba(242,204,107,.7); }
#toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30;
  background: rgba(34,26,85,.96); color: var(--text); border: 1px solid var(--hair-hi); font-weight: 500; padding: 10px 16px; border-radius: 12px;
  font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: 90vw; }

/* Ethiopic glyphs read smaller than Latin at the same size; and capitals/letter-spacing don't apply to them */
html[lang="am"] body { font-size: 16px; }
html[lang="am"] :is(.base, .sub, .when, .muted, .pz, #tabs button, .chips button, .mk b, .meter .foot) { font-size: 13.5px; }
html[lang="am"] :is(.live .label, .pool .lbl, .cta, .count small) { letter-spacing: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
