/* Arakta room TV — ink field, seal green, self-hosted type.
   Motion is transform and opacity only. No blur, backdrop-filter, or drop shadow. */
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/vazirmatn-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/vazirmatn-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/vazirmatn-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/vazirmatn-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0c0e0d;
  --panel: #161918;
  --text: #f3f1ec;
  --muted: #b7b3ab;
  --line: rgba(230, 227, 220, 0.14);
  --seal: #8fbfae;
  --ink: #e6e3dc;
  --teal: #0c0e0d;
  --danger: #e08b84;
  --ok: #8fbfae;
  --card: #161918;
  --cream: #f3f1ec;
  --text-muted: #b7b3ab;
  --accent: #8fbfae;
  --accent-bright: #8fbfae;
  --green: #8fbfae;
  --gold: #e6e3dc;
  --border: rgba(230, 227, 220, 0.14);
  --r: 18px;
  --r-sm: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  background: #0c0e0d;
}
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: clamp(24px, 2.5vh, 30px);
  font-weight: 400;
  line-height: 1.4;
  -webkit-user-select: none;
  user-select: none;
}
html[lang="en"] body { font-family: "Cormorant Garamond", Vazirmatn, serif; font-weight: 500; }
html[lang="en"] b,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .tb-hotel,
html[lang="en"] .tb-clock,
html[lang="en"] .mi-label,
html[lang="en"] .bignum { font-weight: 600; }
html[lang="en"] .eyebrow,
html[lang="en"] #nav-hint,
html[lang="en"] .tb-stars,
html[lang="en"] .banner-eyebrow,
html[lang="en"] .meta {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.18em;
}

button, .lp-btn, .mbtn, .cat-btn, .rest-pill {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: start;
}
img { display: block; }
*:focus { outline: none; }

/* Home field is a flat near-black. No rosette, pattern, blend, or filter —
   those render as a bright teal arabesque on the room-TV WebView. */

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 36px 0;
  position: relative;
}
.corn { display: none; }
.corn.tl { top: 10px; left: 10px; }
.corn.tr { top: 10px; right: 10px; transform: scaleX(-1); }
.corn.bl { bottom: 40px; left: 10px; transform: scaleY(-1); }
.corn.br { bottom: 40px; right: 10px; transform: scale(-1); }

#topbar {
  height: 3.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 2.4rem;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
}
#topbar.hidden { display: none; }
.crest { width: 1.7rem; height: 1.7rem; object-fit: contain; opacity: 0.92; }
.tb-hotel { font-size: 1rem; font-weight: 500; line-height: 1.15; }
.tb-stars { display: none; }
.tb-spacer { flex: 1; }
.clock { text-align: end; }
.tb-clock {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.tb-date { color: var(--muted); font-size: 0.72rem; line-height: 1.2; white-space: nowrap; }
.rule {
  height: 1px;
  margin: 0 2.4rem;
  background: rgba(230, 227, 220, 0.1);
  flex: 0 0 auto;
}

#main {
  flex: 1;
  min-height: 0;
  padding: 1.15rem 3.4rem 1.05rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#main.lang-mode { padding: 0.85rem 2.4rem 0.7rem; }

.screen { display: none; flex-direction: column; height: 100%; min-height: 0; }
.screen.active { display: flex; animation: rise 200ms ease; }
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }
.screen:not(.active) .spin,
.screen:not(.active) .ai-status-eq i,
.screen:not(.active) .ai-dot { animation: none !important; }

#nav-hint {
  height: 2.2rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  letter-spacing: 0.01em;
}
#nav-hint.hidden { display: none; }

.eyebrow { color: var(--seal); font-size: 0.78rem; letter-spacing: 0.14em; font-weight: 500; }

/* Focus: lift, seal frame, inner hairline. Transform and opacity only. */
.hit { position: relative; border-radius: 18px; transition: transform 200ms ease, opacity 200ms ease; }
.hit::before, .mi::before, .lp-btn::before, .ch-card::before, .rest-row::before,
.rest-pill::before, .cat-btn::before, .svc-card::before, .fac-item::before,
.attr-card::before, .ai-thumb::before, .card::before, .mbtn::before, .tour-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid transparent;
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  z-index: 2;
}
.hit::after, .mi::after, .lp-btn::after, .ch-card::after, .rest-row::after,
.rest-pill::after, .cat-btn::after, .svc-card::after, .fac-item::after,
.attr-card::after, .ai-thumb::after, .card::after, .mbtn::after, .tour-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--seal);
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  z-index: 2;
}
.hit.F, .mi.F, .lp-btn.F, .ch-card.F, .rest-row.F, .rest-pill.F, .cat-btn.F,
.svc-card.F, .fac-item.F, .attr-card.F, .card.F, .mbtn.F, .tour-card.F,
.ai-thumb.F {
  transform: translateY(-7px);
}
.hit.F::before, .mi.F::before, .lp-btn.F::before, .ch-card.F::before, .rest-row.F::before,
.rest-pill.F::before, .cat-btn.F::before, .svc-card.F::before, .fac-item.F::before,
.attr-card.F::before, .ai-thumb.F::before, .card.F::before, .mbtn.F::before, .tour-card.F::before {
  opacity: 0;
}
.hit.F::after, .mi.F::after, .lp-btn.F::after, .ch-card.F::after, .rest-row.F::after,
.rest-pill.F::after, .cat-btn.F::after, .svc-card.F::after, .fac-item.F::after,
.attr-card.F::after, .ai-thumb.F::after, .card.F::after, .mbtn.F::after, .tour-card.F::after {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(230, 227, 220, 0.92);
}
.mi[aria-disabled="true"] .dim { opacity: 0.4; }
.mi .hero, .lp-btn img { transition: transform 200ms ease, opacity 200ms ease; }
.mi.F .hero, .lp-btn.F img { transform: scale(1.06); opacity: 1; }

/* Home bento */
#screen-menu { min-height: 0; }
.menu-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  grid-template-rows: 1.22fr 0.92fr;
}
.t-live { grid-column: 1 / 6; grid-row: 1; }
.t-rest { grid-column: 6 / 11; grid-row: 1; }
.t-ai { grid-column: 11 / 16; grid-row: 1; }
.t-film { grid-column: 1 / 4; grid-row: 2; }
.t-attr { grid-column: 4 / 7; grid-row: 2; }
.t-taxi { grid-column: 7 / 10; grid-row: 2; }
.t-about { grid-column: 10 / 13; grid-row: 2; }
.t-tours { grid-column: 13 / 16; grid-row: 2; }
.mi {
  position: relative;
  background: var(--card);
  border: 0;
  border-radius: 18px;
  padding: 0.85rem 0.7rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
}
.hair { display: none; }
.mi > span.dim:not(.mi-label):not(.mi-desc) {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(230, 227, 220, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.t-live > span.dim:not(.mi-label):not(.mi-desc),
.t-rest > span.dim:not(.mi-label):not(.mi-desc),
.t-ai > span.dim:not(.mi-label):not(.mi-desc) {
  width: 88px;
  height: 88px;
}
.mi .hero { width: 58%; height: 58%; object-fit: contain; opacity: 0.94; }
.mi-label {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  white-space: nowrap;
  max-width: 100%;
}
.t-live .mi-label, .t-rest .mi-label, .t-ai .mi-label { font-size: 1.7rem; }
.t-film .mi-label, .t-attr .mi-label, .t-taxi .mi-label, .t-about .mi-label, .t-tours .mi-label {
  font-size: clamp(16px, 1.12vw, 23px);
}
.mi-desc {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  max-width: none;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mi:not(.F) .mi-desc { opacity: 0; }
.mi.F .mi-desc { opacity: 1; }

/* Language */
#screen-lang { direction: rtl; }
.lang-screen {
  flex: 1;
  display: flex;
  min-height: 0;
  direction: rtl;
}
.lang-picker {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  width: 100%;
  direction: rtl;
}
.lp-btn {
  position: relative;
  background: var(--card);
  border: 0;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 1rem;
  color: var(--text);
  font-weight: 700;
}
.lp-btn img { width: 76px; height: 76px; object-fit: contain; }
.lp-btn b { font-size: 2.6rem; font-weight: 700; }

/* Screen headers */
.banner {
  flex-shrink: 0;
  position: relative;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.banner-title, .banner .banner-title {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: var(--text);
}
.banner-sub, .banner .banner-sub { color: var(--seal); font-size: 0.78rem; letter-spacing: 0.14em; }
.banner-accent-line { display: none; }
.banner-formal, .banner-menu, .banner-ai, .banner-screen {
  background: none;
  border: 0;
  min-height: 0;
  padding: 0;
}
.banner-formal-inner, .banner-ai-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 0.12rem;
}
.banner-eyebrow { color: var(--seal); font-size: 0.78rem; letter-spacing: 0.14em; }

.screen-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 0.35rem;
}
.screen-body-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
}

.surf, .panel, .card, .ch-card, .rest-row, .svc-card, .fac-item, .coming-soon-panel,
.bill, .field {
  background: var(--card);
  border: 1px solid var(--line);
}

.center { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.panel, .coming-soon-panel {
  width: min(44rem, 100%);
  border-radius: 20px;
  padding: 1.5rem 1.7rem;
  text-align: center;
}
.coming-soon-panel .cs-title, .panel h2 { font-size: 2.1rem; margin: 0.2rem 0 0.35rem; font-weight: 700; }
.coming-soon-panel .cs-sub, .panel p, .rest-msg { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.coming-soon-panel .cs-badge, .cs-hint, .phone {
  margin-top: 0.7rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--seal);
  letter-spacing: 0.04em;
  background: none;
  border: 0;
  padding: 0;
}
.cs-icon { display: none; }
.stateico { width: 4.4rem; height: 4.4rem; margin: 0 auto 0.35rem; object-fit: contain; }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Restaurant */
#screen-restaurant { min-height: 0; }
.rest-items-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rest-list { display: flex; flex-direction: column; gap: 0.45rem; }
.rest-row {
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  min-height: 0;
}
.rest-row-icon { width: 2rem; height: 2rem; object-fit: contain; flex: 0 0 auto; }
.rest-row-main { flex: 1; min-width: 0; }
.rest-row-name { font-weight: 700; font-size: 1.15rem; }
.rest-row-meta, .rest-row-desc { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.rest-item-row { flex-direction: column; align-items: stretch; gap: 0.2rem; }
.rest-item-line { display: flex; align-items: baseline; gap: 0.45rem; width: 100%; }
.rest-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(74, 164, 133, 0.4);
  min-width: 1.2rem;
  transform: translateY(-0.28rem);
}
.rest-row-price { font-weight: 700; color: var(--seal); white-space: nowrap; }
.rest-featured {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--seal);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
}
.rest-cats, .tv-cats, .pills {
  display: flex;
  gap: 0.45rem;
  overflow: auto;
  flex: 0 0 auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.15rem;
}
.rest-pill, .cat-btn {
  position: relative;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  white-space: nowrap;
  font-weight: 700;
  color: var(--text);
}
.rest-pill.active, .cat-btn.active, .rest-pill.cur, .cat-btn.cur { border-color: var(--seal); }

/* Live */
.ch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  align-content: start;
}
.ch-card {
  position: relative;
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  min-height: 6.4rem;
  text-align: start;
  cursor: pointer;
}
.ch-num { font-size: 1.7rem; font-weight: 700; color: var(--seal); font-variant-numeric: tabular-nums; }
.ch-name { font-weight: 700; font-size: 1.05rem; }
.ch-prog { color: var(--muted); font-size: 0.82rem; }

/* About / bills / contact */
.card {
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.55rem;
  position: relative;
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; color: var(--seal); font-weight: 700; }
.card p { color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.fac-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}
.fac-ico { width: 2rem; height: 2rem; object-fit: contain; flex: 0 0 auto; }
.info-row, .brow, .bill-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(74, 164, 133, 0.22);
  font-size: 1.05rem;
}
.info-row:last-child, .bill-row:last-child { border-bottom: 0; }
.info-row .lbl, .bill-header .label { color: var(--muted); font-size: 0.82rem; }
.info-row .val, .bill-header .value, .bill-row .amount, .bill-total .amount {
  font-weight: 700;
  color: var(--text);
}
.bill-total {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  font-weight: 700;
}
.bill-total .amount, .bill-row .amount { color: var(--seal); }
.bill-header { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.bill-status { color: var(--seal); font-size: 0.9rem; }
.reception-val { color: var(--seal) !important; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.svc-card {
  position: relative;
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
}
.svc-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.35rem; }
.svc-ico { width: 3rem; height: 3rem; object-fit: contain; }
.svc-name { font-size: 1.7rem; font-weight: 700; }
.svc-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.svc-ext { margin-top: 0.55rem; color: var(--seal); font-weight: 700; font-size: 1.2rem; }

/* Attractions — photo card, title underneath */
.attr-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  min-height: 0;
  overflow: auto;
  padding: 0.35rem 0.15rem 0.5rem;
}
.attr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.45rem 0.45rem 0.6rem;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.photo-ph {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #121413;
}
.attr-card img, .ai-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.attr-card img.is-broken, .ai-thumb img.is-broken { visibility: hidden; }
.attr-card b, .ai-thumb b {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attr-desc, .attr-tip {
  display: block;
  min-height: 1.15em;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
}
.attr-card.F .attr-desc, .attr-card.F .attr-tip { opacity: 1; }
.attr-tip { color: var(--seal); }

/* AI */
.ai-panel {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.75rem;
}
.ai-chat { grid-column: 1; grid-row: 1; }
.ai-qr-wrap { grid-column: 2; grid-row: 1; }
.ai-visual { grid-column: 1 / -1; grid-row: 2; }
.ai-chat, .ai-side {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ai-chat {
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  gap: 0.45rem;
}
#screen-ai.ai-active .ai-qr-wrap { display: none; }
#screen-ai.ai-active .ai-chat { grid-column: 1 / -1; }
.ai-status-wrap, .status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.ai-status-dot, .dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--seal);
  flex: 0 0 auto;
}
.ai-status-dot.waiting { opacity: 0.7; }
.ai-status-dot.processing { animation: spin 1.1s linear infinite; }
.ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex: 0 0 auto;
}
#ai-status-text { font-weight: 500; }
.ai-chat h2, #screen-ai .banner { display: none; }
.ai-title-block { font-size: 2.3rem; font-weight: 700; line-height: 1.1; }
.ai-steps { color: var(--text); }
.ai-sub { color: var(--muted); font-size: 0.95rem; }
.ai-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
#screen-ai:not(.ai-active) .ai-log:not(:has(.ai-msg)) { flex: 0; min-height: 0; overflow: hidden; }
.ai-msg {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.35);
  font-size: 0.95rem;
  line-height: 1.45;
}
.ai-msg.user { align-self: flex-end; }
.ai-msg.bot { align-self: flex-start; }
.ai-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  color: var(--seal);
  font-size: 0.75rem;
}
.ai-qr-wrap {
  background: #fff;
  color: #141414;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  min-height: 0;
}
.ai-qr-stage { display: flex; align-items: center; justify-content: center; }
.ai-qr-ring { display: none; }
#ai-qrcode { width: 250px; height: 250px; background: #fff; pointer-events: none; }
#ai-qrcode img, #ai-qrcode canvas, #ai-qrcode svg { width: 100% !important; height: 100% !important; }
.ai-qr-label { font-weight: 700; color: #141414; text-align: center; }
.ai-qr-steps { color: #5a5f5d; font-size: 0.85rem; text-align: center; }
.ai-qr-url {
  direction: ltr;
  font-size: 0.85rem;
  color: #5a5f5d;
  word-break: break-all;
  text-align: center;
  pointer-events: none;
}
.ai-visual {
  border-radius: 18px;
  background: transparent;
  padding: 0.35rem 0 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ai-topics-empty {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.ai-topics-empty[hidden] { display: none; }
.ai-topics {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.35rem 0.1rem 0.45rem;
}
.ai-topics:empty { display: none; }
.ai-thumb {
  position: relative;
  width: 13.5rem;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 0.4rem 0.5rem;
  border: 0;
  border-radius: 16px;
  background: var(--card);
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.ai-thumb .photo-ph { height: 8.2rem; aspect-ratio: auto; }
.ai-thumb .ai-cap {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-thumb.active { outline: 1px solid rgba(230, 227, 220, 0.28); outline-offset: 0; }
.ai-status-eq { display: none; }
.ai-status-wrap.is-speaking .ai-status-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.ai-status-eq i {
  display: block;
  width: 3px;
  background: var(--seal);
  transform-origin: bottom;
  animation: eq 0.9s ease-in-out infinite;
}
.ai-status-eq i:nth-child(1) { height: 5px; }
.ai-status-eq i:nth-child(2) { height: 10px; animation-delay: 0.12s; }
.ai-status-eq i:nth-child(3) { height: 14px; animation-delay: 0.24s; }
.ai-status-eq i:nth-child(4) { height: 8px; animation-delay: 0.36s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.ai-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--seal);
  display: inline-block;
  animation: eq 1.2s ease-in-out infinite;
}

/* Player */
.live-player-overlay {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: #000;
  display: flex;
  flex-direction: column;
}
.live-player-overlay.hidden { display: none; }
.live-player-topbar { display: none; }
.live-player-frame-wrap { flex: 1; position: relative; min-height: 0; background: #000; }
.live-player-frame { width: 100%; height: 100%; border: 0; background: #000; }
#live-player-status {
  background: #07090c !important;
}
#live-info-bar {
  position: absolute;
  inset-inline: 1.1rem;
  bottom: 1.1rem;
  top: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 14px;
  padding: 0.7rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 200ms ease, opacity 200ms ease;
  pointer-events: none;
}
#live-info-bar.show { transform: translateY(0); opacity: 1; }
#live-info-bar .li-num { font-size: 2rem; font-weight: 700; color: var(--seal); }
#live-info-bar .li-name { font-weight: 700; }
#live-info-bar .li-sub { color: var(--muted); font-size: 0.82rem; }

/* Guide */
#guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#guide-overlay.hidden { display: none; }
#guide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0;
  transition: opacity 200ms ease;
}
#guide-video.visible { opacity: 1; }
#guide-loader {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
#guide-loader img { width: 3.2rem; height: 3.2rem; object-fit: contain; }
#guide-loader.hidden { display: none; }
.guide-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(74, 164, 133, 0.25);
  border-top-color: var(--seal);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
#guide-skip-hint {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
#guide-skip-hint.visible { opacity: 1; }

/* Audio gate */
#ai-audio-unlock {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 14, 0.72);
  padding: 2rem;
}
#ai-audio-unlock.show { display: flex; }
#ai-audio-unlock-inner {
  text-align: center;
  max-width: 44rem;
  width: 100%;
  padding: 1.5rem 1.7rem;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
#ai-audio-unlock-inner img { width: 4.4rem; height: 4.4rem; object-fit: contain; margin: 0 auto 0.4rem; }
#ai-audio-unlock-inner h2 { font-size: 2.1rem; margin: 0.2rem 0 0.35rem; }
#ai-audio-unlock-inner p { color: var(--muted); margin-bottom: 1rem; }
#ai-audio-unlock-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-weight: 700;
}

/* Toast, channel number, modals, settings */
#toast {
  position: fixed;
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1b1f1e;
  border: 1.5px solid var(--seal);
  border-radius: 12px;
  padding: 0.45rem 0.9rem;
  z-index: 2000;
  font-weight: 700;
  color: var(--text);
  transition: opacity 200ms ease;
}
#toast.toast-err { border-color: var(--danger); color: var(--danger); }
#toast.hidden { opacity: 0; pointer-events: none; }

#ch-num-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 14, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
#ch-num-overlay.show { opacity: 1; pointer-events: auto; }
#ch-num-box {
  border-radius: 18px;
  padding: 1.2rem 1.8rem;
  text-align: center;
  min-width: 18rem;
  background: var(--card);
  border: 1px solid var(--line);
}
#ch-num-label { color: var(--muted); font-size: 0.85rem; }
#ch-num-display {
  display: block;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--seal);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
#ch-num-hint { color: var(--muted); font-size: 0.85rem; margin-top: 0.35rem; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  max-width: 36rem;
  width: 100%;
}
.modal h3 { font-size: 1.6rem; margin-bottom: 0.45rem; }
.modal-sub { color: var(--muted); margin-bottom: 0.45rem; }
.modal-row, .modal-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(74, 164, 133, 0.22);
}
.modal-total { border-bottom: 0; font-weight: 700; }
.mval { color: var(--seal); font-weight: 700; }
.modal-btns { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.mbtn {
  position: relative;
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  text-align: center;
}
.mbtn.primary { border-color: var(--seal); color: var(--text); }
.time-chips { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0.45rem 0; }
.time-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
}
.time-chip.sel, .time-chip.F { border-color: var(--seal); }

.set-error { color: var(--danger); margin-top: 0.7rem; }
.set-fields { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.7rem; text-align: start; }
.set-field {
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
}
.set-field b { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.set-actions { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1rem; }
.set-actions .mbtn { min-width: 9rem; flex: 0 1 auto; }

.tours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tour-card {
  position: relative;
  border-radius: 16px;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
}
.tc-name { font-weight: 700; }
.tc-desc, .tc-dur, .tc-times { color: var(--muted); font-size: 0.9rem; }
.tc-price { color: var(--seal); font-weight: 700; }

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

/* About gallery — calm ink, opacity only. Scoped to the about screen. */
.about-index { display: none; }
#screen-about {
  background: #0c0e0d;
  color: #E6E3DC;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.ag-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #0c0e0d;
}
.ag-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0c0e0d;
  opacity: 0;
  transition: opacity 700ms linear;
}
.ag-stage.boot .ag-shot { transition: none; }
.ag-shot.show { opacity: 1; }
.ag-frame {
  position: absolute;
  inset: 12px;
  border: 3px solid #E6E3DC;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  z-index: 2;
}
.ag-stage.F .ag-frame { opacity: 1; }
.ag-caption {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 118px;
  padding: 16px 36px 14px;
  border-inline-start: 4px solid #05695F;
  margin-inline: 36px;
}
.ag-eyebrow {
  color: #4AA485;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ag-caption h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #E6E3DC;
}
.ag-caption p {
  color: rgba(230, 227, 220, 0.72);
  font-size: 20px;
  line-height: 1.45;
}
.ag-rail-wrap { flex: 0 0 auto; padding: 0 36px 8px; }
.ag-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 2px 10px;
}
.ag-rail::-webkit-scrollbar { display: none; }
.ag-thumb {
  position: relative;
  width: 176px;
  height: 100px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #161918;
  padding: 0;
}
.ag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ag-thumb::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: #4AA485;
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 2;
}
.ag-thumb.on::before { opacity: 1; }
.ag-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 3px solid #E6E3DC;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  z-index: 2;
}
.ag-thumb.F::after { opacity: 1; }

body.about-on {
  background: #0c0e0d;
  color: #E6E3DC;
}
body.about-on::before { opacity: 0; animation: none; }
body.about-on #app { padding: 0; background: #0c0e0d; }
body.about-on .corn { opacity: 0; }
body.about-on #topbar { height: 72px; padding: 0 36px; }
body.about-on .crest { width: 28px; height: 28px; }
body.about-on .tb-hotel {
  font-size: 22px;
  font-weight: 700;
  color: #E6E3DC;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
body.about-on .tb-stars {
  font-size: 15px;
  color: rgba(230, 227, 220, 0.72);
  font-family: Vazirmatn, Tahoma, sans-serif;
}
body.about-on .tb-clock {
  font-size: 22px;
  font-weight: 700;
  color: #E6E3DC;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
body.about-on .tb-date { display: none; }
body.about-on .about-index {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #E6E3DC;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
body.about-on .about-index b { font-weight: 700; }
body.about-on .about-index span { color: rgba(230, 227, 220, 0.72); font-weight: 400; }
body.about-on .rule {
  margin: 0;
  background: rgba(230, 227, 220, 0.14);
  opacity: 1;
}
body.about-on #main { padding: 0; }
body.about-on #nav-hint {
  height: 42px;
  color: rgba(230, 227, 220, 0.72);
  font-size: 16px;
  font-family: Vazirmatn, Tahoma, sans-serif;
  letter-spacing: normal;
  font-variant-caps: normal;
  font-weight: 400;
}
html[lang="en"] body.about-on {
  font-weight: 400;
}
html[lang="en"] body.about-on,
html[lang="en"] body.about-on #screen-about,
html[lang="en"] body.about-on .tb-hotel,
html[lang="en"] body.about-on .tb-stars,
html[lang="en"] body.about-on .tb-clock,
html[lang="en"] body.about-on .about-index,
html[lang="en"] body.about-on #nav-hint,
html[lang="en"] body.about-on .ag-caption,
html[lang="en"] body.about-on .ag-caption h1,
html[lang="en"] body.about-on .ag-eyebrow {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-variant-caps: normal;
}
html[lang="en"] body.about-on .tb-stars,
html[lang="en"] body.about-on #nav-hint {
  letter-spacing: normal;
}
html[lang="en"] body.about-on .ag-eyebrow { letter-spacing: 0.08em; }
html[lang="en"] body.about-on .tb-hotel,
html[lang="en"] body.about-on .tb-clock,
html[lang="en"] body.about-on .ag-caption h1,
html[lang="en"] body.about-on .ag-eyebrow,
html[lang="en"] body.about-on .about-index b { font-weight: 700; }

body.about-full #topbar,
body.about-full .rule,
body.about-full #nav-hint,
body.about-full .ag-rail-wrap { display: none; }
body.about-full .ag-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-height: 0;
  margin: 0;
  padding: 18px 36px 22px;
  background: #0c0e0d;
  border-inline-start: 0;
}
body.about-full .ag-caption p { display: none; }
body.about-full .ag-shot { object-fit: contain; }
body.about-full .ag-frame { opacity: 0; }
body.about-full #screen-about.screen.active { overflow: hidden; }
body.about-full #screen-about .about-copy { display: none; }

/* Hotel text under the gallery. Same calm ink as the photographs. */
#screen-about.screen.active {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}
.ag-gallery {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
#screen-about .about-copy {
  flex: none;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 22px 36px 36px;
  background: #0c0e0d;
}
#screen-about .about-copy .card,
#screen-about .about-copy .fac-item {
  scroll-margin: 18px;
}
#screen-about .fac-item[hidden],
#screen-about #about-hours-card[hidden] {
  display: none !important;
}
#screen-about .about-copy .card {
  background: #161918;
  border: 1px solid rgba(230, 227, 220, 0.14);
  color: #E6E3DC;
}
#screen-about .about-copy .card h3,
#screen-about .about-copy .card [data-i18n="aboutHotelName"] {
  color: #E6E3DC;
  font-weight: 700;
}
#screen-about .about-copy .card p,
#screen-about .about-copy .info-row .lbl {
  color: rgba(230, 227, 220, 0.72);
}
#screen-about .about-copy .eyebrow {
  color: #4AA485;
  letter-spacing: 0.08em;
  font-variant-caps: normal;
}
#screen-about .about-copy .info-row {
  border-bottom-color: rgba(230, 227, 220, 0.14);
}
#screen-about .about-copy .info-row .val {
  color: #E6E3DC;
}
#screen-about .about-copy .fac-item {
  background: #0c0e0d;
  border: 1px solid rgba(230, 227, 220, 0.14);
  color: #E6E3DC;
}
#screen-about .about-copy .card.F,
#screen-about .about-copy .fac-item.F {
  transform: none;
}
#screen-about .about-copy .card.F::before,
#screen-about .about-copy .fac-item.F::before {
  opacity: 0;
}
#screen-about .about-copy .card.F::after,
#screen-about .about-copy .fac-item.F::after {
  border: 3px solid #E6E3DC;
  opacity: 1;
  transform: none;
}
html[lang="en"] body.about-on #screen-about .about-copy,
html[lang="en"] body.about-on #screen-about .about-copy h3,
html[lang="en"] body.about-on #screen-about .about-copy .eyebrow,
html[lang="en"] body.about-on #screen-about .about-copy .card,
html[lang="en"] body.about-on #screen-about .about-copy .fac-item {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-variant-caps: normal;
}
html[lang="en"] body.about-on #screen-about .about-copy .eyebrow {
  letter-spacing: 0.08em;
}
html[lang="en"] body.about-on #screen-about .about-copy h3,
html[lang="en"] body.about-on #screen-about .about-copy .card [data-i18n="aboutHotelName"] {
  font-weight: 700;
}
