/* ============================================================
   Green Friday — المعرض الافتراضي · Taqa Space
   ============================================================ */
:root {
  --bg: #e6efec; --ink: #0f2a33; --ink-soft: #4b646c; --ink-faint: #8aa0a6; --line: #dce8e5;
  --green: #17c58b; --green-bright: #35d6a0; --green-deep: #0c9a6b; --mint: #e2f7ee;
  --blue: #45b8fd; --dark: #0c2229; --dark-2: #12303a; --card: #fff;
  --accent: var(--green); --accent-soft: var(--mint); --accent-deep: var(--green-deep);
  --shadow: 0 24px 60px -24px rgba(8, 26, 32, .45), 0 2px 10px rgba(8, 26, 32, .08);
  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); overflow: hidden; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
h1, h2, p, ul { margin: 0; padding: 0; } ul { list-style: none; }
button, input { font: inherit; color: inherit; } button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 10px; }
span[dir="ltr"], b[dir="ltr"], s[dir="ltr"] { unicode-bidi: isolate; white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; } .ico--flip { transform: scaleX(-1); }

#stage { position: fixed; inset: 0; }
#stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; direction: ltr; }
.labels .tag { direction: rtl; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; white-space: nowrap; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, opacity .18s; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: scale(.98); }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #04261b; box-shadow: 0 14px 30px -14px rgba(23, 197, 139, .9); }
.btn--primary:hover { background: var(--green-bright); }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: #17404d; }
.btn--glass { min-height: 44px; padding: 0 16px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: .93rem; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); flex: none; transition: background-color .15s; }
.x:hover { background: rgba(15, 42, 51, .08); } .x svg { width: 18px; height: 18px; }

/* ---------- Loading ---------- */
.loading, .nogl { position: fixed; inset: 0; z-index: 60; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #12473c 0%, var(--dark) 60%); transition: opacity .6s ease, visibility .6s; }
.loading.is-done { opacity: 0; visibility: hidden; }
.loading__title { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 700; line-height: 1.1; } .loading__title span { color: var(--green-bright); }
.loading__bar { width: min(280px, 70vw); height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.loading__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--green-bright)); transition: width .5s ease; }
.loading__text { color: #a9c9c2; font-size: .95rem; }
.nogl h1 { font-size: 1.4rem; } .nogl p { color: #a9c9c2; }

/* ---------- Entry ----------
   البطاقة تُقاس على ارتفاع الشاشة دائماً: لا شريط تمرير للصفحة ولا لشبكة الأفاتارات.
   الأفاتارات الـ22 كلها ظاهرة في شبكة ثابتة، وخلاياها تتمدّد وتنكمش مع المساحة المتاحة. */
.entry { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 12px; overflow: hidden; background: linear-gradient(180deg, rgba(8, 26, 32, .5), rgba(8, 26, 32, .72)); opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.entry.is-open { opacity: 1; visibility: visible; }
.entry__card { width: min(1000px, 100%); max-height: calc(100dvh - 24px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(18px, 3vw, 40px); padding: clamp(18px, 3vw, 36px); border-radius: 32px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); overflow: hidden; transform: translateY(18px) scale(.98); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.entry.is-open .entry__card { transform: none; }
.entry__info { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; }
.entry__pick { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.entry__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.pill { align-self: flex-start; width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: .88rem; font-weight: 500; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(23, 197, 139, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(23, 197, 139, 0); } }
.entry h1 { margin: 10px 0 6px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; font-weight: 700; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.entry h1 em { font-style: normal; color: var(--green); }
.entry h1 small { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 500; color: var(--ink-soft); }
.entry__lead { color: var(--ink-soft); margin-bottom: 14px; }
.entry__label { display: block; font-weight: 600; font-size: .93rem; margin: 0 0 6px; } .entry__label span { font-weight: 400; color: var(--ink-faint); }
.entry__input { width: 100%; min-height: 50px; padding: 0 18px; margin-bottom: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.entry__input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 197, 139, .16); }
.avatars { flex: 1 1 auto; min-height: 0; width: 100%; aspect-ratio: 6 / 4; max-height: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: clamp(5px, .8vw, 9px); }
.av { position: relative; min-width: 0; min-height: 0; padding: 0; border-radius: clamp(10px, 1.4vw, 18px); background: #f1f6f5; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .15s, box-shadow .15s; }
.av:hover { transform: translateY(-2px); }
.av img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; background: linear-gradient(180deg, #e9f3f0, #cfe6df); }
.av.is-on { box-shadow: inset 0 0 0 3px var(--green), 0 10px 22px -12px rgba(23, 197, 139, .9); }
.av.is-on img { box-shadow: inset 0 0 0 3px var(--green); }
.av.is-on::after { content: ""; position: absolute; top: 4px; inset-inline-end: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 0 2px #fff; }
.av.is-on::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--green); z-index: 1; pointer-events: none; }

/* شاشات قصيرة: نضغط المسافات ونخفي الوصف بدل إظهار شريط تمرير */
@media (max-height: 640px) { .entry__lead { display: none; } .entry__brand { margin-bottom: 6px; } .entry h1 { margin: 6px 0 10px; font-size: clamp(1.9rem, 4vw, 2.6rem); } .entry__input { min-height: 44px; margin-bottom: 10px; } .entry .btn { min-height: 46px; } }

/* الجوال / العرض الضيق: عمود واحد بارتفاع الشاشة، وشبكة الأفاتارات تأخذ المساحة الباقية */
@media (max-width: 859px) {
  .entry { padding: 8px; }
  .entry__card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 16px 16px 14px; border-radius: 26px; max-height: calc(100dvh - 16px); }
  .entry__info { display: contents; }
  .entry__head { order: 1; } .entry__pick { order: 2; } .entry__go { order: 3; }
  .entry__card { display: flex; flex-direction: column; }
  .entry__brand { margin-bottom: 8px; }
  .entry h1 { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 4px; font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .entry__lead { font-size: .9rem; line-height: 1.55; margin-bottom: 0; }
  .entry__pick { flex: 1 1 auto; }
  .avatars { aspect-ratio: 6 / 4.1; }
  .entry__input { margin-bottom: 10px; }
}
@media (max-width: 859px) and (max-height: 700px) { .entry__lead { display: none; } }

/* ---------- HUD ---------- */
.hud { position: fixed; top: 0; inset-inline: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 14px; pointer-events: none; opacity: 0; transform: translateY(-12px); transition: opacity .5s ease .6s, transform .5s ease .6s; }
.hud.is-on { opacity: 1; transform: none; }
.hud > * { pointer-events: auto; }
.hud__brand { display: flex; align-items: center; gap: 9px; padding: 5px 16px 5px 6px; border-radius: 999px; background: rgba(12, 34, 41, .88); color: #fff; font-weight: 700; font-size: 1.05rem; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
[dir="rtl"] .hud__brand { padding: 5px 6px 5px 16px; }
.hud__brand img { background: #fff; border-radius: 50%; padding: 3px; } .hud__brand em { font-style: normal; color: var(--green-bright); }
.hud__cd { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: .9rem; white-space: nowrap; }
.hud__cd small { color: var(--ink-soft); font-size: .82rem; } .hud__cd b { font-variant-numeric: tabular-nums; }
.hud__cd.is-live b { color: var(--green-deep); }
.hud__actions { margin-inline-start: auto; }

/* ---------- Directory ---------- */
.dir { position: fixed; z-index: 30; top: 70px; inset-inline-end: 14px; width: min(380px, calc(100vw - 28px)); max-height: calc(100dvh - 90px); display: flex; flex-direction: column; padding: 16px; border-radius: 26px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top; transition: opacity .25s, transform .25s, visibility .25s; }
.dir.is-open { opacity: 1; visibility: visible; transform: none; }
.dir header { display: flex; align-items: center; justify-content: space-between; } .dir h2 { font-size: 1.15rem; }
.dir__sub { color: var(--ink-soft); font-size: .88rem; margin-bottom: 8px; }
.dir ul { overflow-y: auto; display: grid; gap: 6px; margin: 0 -4px; padding: 0 4px; }
.dir li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; text-align: start; background: #f4f8f7; transition: background-color .15s, transform .15s; }
.dir li button:hover { background: var(--mint); transform: translateX(-3px); }
.dir li i { width: 10px; height: 34px; border-radius: 6px; flex: none; }
.dir__t { flex: 1; min-width: 0; display: grid; line-height: 1.35; } .dir__t small { color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.dir__p { display: grid; justify-items: end; line-height: 1.3; } .dir__p b { color: var(--green-deep); font-size: 1.05rem; } .dir__p small { color: var(--ink-faint); font-size: .74rem; }
.dir__host { margin-top: 10px; min-height: 46px; border-radius: 16px; background: var(--dark); color: #fff; font-weight: 500; }

/* ---------- Choice card ---------- */
.choice { position: fixed; z-index: 25; bottom: calc(22px + var(--safe-b)); left: 50%; width: min(440px, calc(100vw - 24px)); padding: 20px 22px 22px; border-radius: 28px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); border-top: 5px solid var(--accent); opacity: 0; visibility: hidden; transform: translate(-50%, 24px); transition: opacity .28s, transform .28s cubic-bezier(.2, .8, .2, 1), visibility .28s; }
.choice.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.choice .x { position: absolute; top: 12px; inset-inline-end: 12px; }
.choice h2 { font-size: 1.35rem; line-height: 1.3; padding-inline-end: 40px; }
.choice__role { color: var(--ink-soft); font-size: .88rem; }
.choice__hook { margin-top: 8px; font-weight: 500; }
.choice__price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.choice__price:empty { display: none; }
.choice__price b { font-size: 1.6rem; color: var(--green-deep); line-height: 1.2; } .choice__price s { color: var(--ink-faint); }
.choice__price > span { padding: 2px 10px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: .82rem; font-weight: 600; }
.choice__ask { margin: 12px 0 8px; color: var(--ink-soft); font-size: .9rem; }
.choice__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice--link .choice__btns { grid-template-columns: 1fr; margin-top: 14px; }

/* ---------- Chat ---------- */
.chat { position: fixed; z-index: 28; top: 14px; bottom: 14px; right: 14px; width: 412px; display: flex; flex-direction: column; border-radius: 28px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .3s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s; }
.chat.is-open { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff; }
.chat__head .x { color: #fff; } .chat__head .x:hover { background: rgba(255, 255, 255, .18); }
.chat__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); font-weight: 700; font-size: 1.2rem; }
.chat__who { flex: 1; min-width: 0; display: grid; line-height: 1.35; } .chat__who span { font-size: .8rem; opacity: .9; line-height: 1.4; }
.seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
.seg button { width: 38px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: #fff; opacity: .75; transition: background-color .15s, opacity .15s; }
.seg button svg { width: 18px; height: 18px; } .seg button.is-on { background: #fff; color: var(--accent-deep); opacity: 1; }
.chat__offer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 9px 16px; background: var(--accent-soft); font-size: .88rem; }
.chat__offer b { font-size: 1.2rem; color: var(--accent-deep); } .chat__offer s { color: var(--ink-faint); }
.chat__offer a { margin-inline-start: auto; font-weight: 600; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.chat__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 20px; font-size: .95rem; line-height: 1.65; overflow-wrap: anywhere; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { align-self: flex-start; background: #f1f6f5; border-start-start-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--ink); color: #fff; border-end-end-radius: 6px; }
.msg a { color: var(--accent-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; unicode-bidi: isolate; }
.msg--user a { color: var(--green-bright); }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.act { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink) !important; font-size: .86rem; font-weight: 600 !important; text-decoration: none !important; box-shadow: inset 0 0 0 1.5px var(--accent); transition: background-color .15s, color .15s; }
.act:hover { background: var(--accent); color: #04261b !important; } .act--go { box-shadow: none; background: var(--ink); color: #fff !important; }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; } .msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: dot 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .5; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: .86rem; font-weight: 500; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--accent); color: #04261b; }
.chat__form { display: flex; gap: 8px; padding: 10px 12px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.chat__form input:focus { outline: 0; border-color: var(--accent); }
.chat__form button { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .15s; }
.chat__form button:hover { transform: scale(1.06); } .chat__form svg { width: 20px; height: 20px; fill: #04261b; transform: scaleX(-1); }

.voice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 12px; padding: 14px 14px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: #f7faf9; }
.orb { position: relative; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--green-bright), var(--accent-deep)); display: flex; align-items: center; justify-content: center; gap: 4px; cursor: default; }
.orb i { width: 4px; height: 8px; border-radius: 3px; background: #fff; opacity: .9; }
.orb.is-speaking i { animation: bar .5s ease-in-out infinite alternate; } .orb.is-speaking i:nth-child(2) { animation-delay: .12s; } .orb.is-speaking i:nth-child(3) { animation-delay: .24s; }
@keyframes bar { to { height: 24px; } }
.orb.is-listening { animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(23, 197, 139, .55); } to { box-shadow: 0 0 0 16px rgba(23, 197, 139, 0); } }
.orb.is-thinking { animation: spin 1.1s linear infinite; background: conic-gradient(var(--green-bright), var(--blue), var(--green-bright)); }
@keyframes spin { to { transform: rotate(360deg); } }
.voice__text { min-width: 0; line-height: 1.45; } .voice__text p:first-child { font-weight: 500; font-size: .93rem; }
.voice__heard { color: var(--ink-soft); font-size: .84rem; min-height: 1.2em; overflow-wrap: anywhere; }
.voice__mic { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; } .voice__mic svg { width: 20px; height: 20px; }
.voice__mic.is-muted { background: #d9463b; }
.voice__alt { grid-column: 1 / -1; justify-self: center; color: var(--ink-soft); font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Name tags (CSS2D) ---------- */
.tag { display: flex; flex-direction: column; align-items: center; gap: 5px; font-family: var(--font); pointer-events: none; user-select: none; }
.tag__name { display: flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .93); box-shadow: 0 6px 16px -8px rgba(8, 26, 32, .5); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: transform .15s, background-color .15s; }
.tag__name small { font-weight: 500; color: var(--ink-soft); font-size: 11px; direction: ltr; unicode-bidi: isolate; } .tag__name small:empty { display: none; }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tag--me .tag__name { background: var(--dark); color: #fff; } .tag--me .tag__dot { background: var(--green-bright); }
.tag.is-hover .tag__name { transform: scale(1.1); background: var(--green); }
.tag__bubble { max-width: 210px; padding: 7px 13px; border-radius: 16px 16px 16px 4px; background: var(--dark); color: #fff; font-size: 12.5px; line-height: 1.5; text-align: center; box-shadow: 0 10px 22px -10px rgba(8, 26, 32, .6); animation: pop .25s ease; }

.hint { position: fixed; z-index: 15; bottom: calc(18px + var(--safe-b)); left: 50%; max-width: calc(100vw - 24px); padding: 9px 18px; border-radius: 999px; background: rgba(12, 34, 41, .86); color: #fff; font-size: .86rem; text-align: center; opacity: 0; transform: translate(-50%, 10px); transition: opacity .4s, transform .4s; pointer-events: none; }
.hint.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  .chat { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: min(60dvh, 560px); transform: translateY(30px); }
  .hud { padding: 10px; gap: 8px; }
  .hud__brand span { display: none; } [dir="rtl"] .hud__brand, .hud__brand { padding: 5px; }
  .btn--glass span { display: none; } .btn--glass { padding: 0 13px; }
  .hint { font-size: .78rem; border-radius: 18px; }
  .choice { bottom: calc(12px + var(--safe-b)); padding: 16px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

