/* ══════════════════════════════════════════════════════════════════════
   LION RATES   (rates.css)
   rates.html only. Everything is prefixed .rt- so nothing leaks. The same
   gold-on-black language as Italy Lions Air; the rupee figure is the
   loudest thing on every card, because the rate is what a member came for.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --rt-gold: #D9B948;
  --rt-gold-2: #C9A227;
  --rt-card: #14120D;
  --rt-card-2: #1C1913;
  --rt-line: rgba(201,162,39,.18);
  --rt-ink: rgba(255,255,255,.92);
  --rt-mid: rgba(255,255,255,.64);
  --rt-low: rgba(255,255,255,.44);
  --rt-ok: #4ade80;
  --rt-warn: #fbbf24;
  --rt-red: #f87171;
}

body.rt-body { background: #080806; }
.rt, .rt * { box-sizing: border-box; }
/* `hidden` must win over every display rule below (.rt-btn is inline-flex,
   .rt-f is flex) — the Air lesson. */
.rt [hidden], .rt-toast[hidden] { display: none !important; }
.rt { color: var(--rt-ink); font-family: Inter, system-ui, sans-serif; }
.rt button, .rt a { -webkit-tap-highlight-color: transparent; }
.rt button { font-family: inherit; }

.rt-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px 110px; }

/* ── hero ── */
.rt-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h, 70px) + 34px) 0 22px;
  background: radial-gradient(900px 380px at 85% -10%, rgba(74,222,128,.10), transparent 60%),
              radial-gradient(700px 360px at 0% 0%, rgba(217,185,72,.16), transparent 60%); }
.rt-hero-in { padding-bottom: 0; }
.rt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rt-gold); margin-bottom: 10px; }
.rt-coin { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(217,185,72,.14); font-size: .9rem; letter-spacing: 0; }
.rt-hero h1 { margin: 0 0 10px; line-height: 1.08; font-size: clamp(1.9rem, 5vw, 3rem); }
.rt-hero p { color: var(--rt-mid); max-width: 660px; margin: 0; font-size: 1rem; line-height: 1.6; }
.rt-hero .rt-fine { font-size: .78rem; color: var(--rt-low); margin-top: 12px; line-height: 1.5; }
.rt-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ── small parts ── */
.rt-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--rt-ink); white-space: nowrap; }
.rt-chip.gold { background: rgba(217,185,72,.14); color: var(--rt-gold); }
.rt-chip.ok { background: rgba(74,222,128,.12); color: var(--rt-ok); }
.rt-chip.bad { background: rgba(248,113,113,.12); color: var(--rt-red); }
.rt-dim { color: var(--rt-mid); font-size: .86rem; line-height: 1.55; margin: 0; }
.rt-low { color: var(--rt-low); font-size: .76rem; }
.rt-empty { text-align: center; color: var(--rt-mid); padding: 26px 12px; font-size: .92rem; line-height: 1.55; }
.rt-empty b { color: var(--rt-ink); }
.rt-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.rt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 800; font-size: .88rem;
  cursor: pointer; text-decoration: none; color: #1a1406; white-space: nowrap;
  background: linear-gradient(135deg, #F2E3A8, var(--rt-gold) 45%, var(--rt-gold-2));
  box-shadow: 0 6px 20px rgba(201,162,39,.22); transition: transform .12s ease, filter .12s ease; }
.rt-btn:active { transform: scale(.97); filter: brightness(.95); }
.rt-btn[disabled] { opacity: .45; pointer-events: none; }
.rt-btn.ghost { background: transparent; color: var(--rt-gold); border: 1px solid var(--rt-line); box-shadow: none; }
.rt-btn.dark { background: var(--rt-card-2); color: var(--rt-ink); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
/* The glyph is brand green, so the button must not be. */
.rt-btn.wa { background: #128C7E; color: #fff; border: 1px solid #25D366; box-shadow: 0 4px 14px rgba(37,211,102,.2); }
.rt-btn.red { background: rgba(248,113,113,.14); color: var(--rt-red); border: 1px solid rgba(248,113,113,.3); box-shadow: none; }
.rt-btn.sm { padding: 7px 11px; font-size: .78rem; border-radius: 10px; }
.rt-btn svg { flex: 0 0 auto; }

.rt-panel { background: var(--rt-card); border: 1px solid var(--rt-line); border-radius: 18px; padding: 18px; margin: 14px 0; }
.rt-panel h3 { margin: 0 0 8px; font-family: Cinzel, serif; color: var(--rt-gold); font-size: 1.05rem; letter-spacing: .02em; }

/* il-design.css makes every h2 1.4–2.9rem (with !important on phones). A section
   title here is a label for a list, not a headline — a class beats the element. */
.rt h2.rt-sec { font-family: Cinzel, serif; font-size: 1.22rem !important; margin: 0 !important; color: #fff; line-height: 1.2; }
.rt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin: 28px 0 12px; }

/* ── tabs ── */
.rt-tabs { display: flex; gap: 6px; margin: 18px 0 14px; padding: 4px; border-radius: 14px;
  background: var(--rt-card); border: 1px solid var(--rt-line); width: fit-content; max-width: 100%; }
.rt-tabs button { border: 0; background: transparent; color: var(--rt-mid); font-weight: 800; font-size: .86rem;
  padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.rt-tabs button.on { background: rgba(217,185,72,.16); color: var(--rt-gold); }

/* ── amount + place ── */
.rt-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px 12px; align-items: end;
  background: var(--rt-card); border: 1px solid var(--rt-line); border-radius: 18px; padding: 14px; margin: 0; }
.rt label.rt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; text-transform: none; letter-spacing: 0; }
.rt label.rt-field > span:first-child { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rt-low); }
.rt label.rt-field select, .rt label.rt-field input { width: 100%; min-width: 0; }
.rt-eur { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rt-eur b { font-size: 1.3rem; font-weight: 900; color: var(--rt-gold); }
.rt-eur input { font-weight: 800; font-size: 1.1rem !important; }
.rt-quick-amt { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.rt-qa { border: 1px solid var(--rt-line); background: var(--rt-card-2); color: var(--rt-mid); font-weight: 800; font-size: .78rem;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.rt-qa.on { color: #1a1406; background: var(--rt-gold); border-color: var(--rt-gold); }

.rt-cities { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 2px 0; }
.rt-city { border: 1px solid var(--rt-line); background: var(--rt-card); color: var(--rt-ink); font-weight: 700; font-size: .8rem;
  padding: 6px 11px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rt-city i { font-style: normal; font-size: .7rem; color: var(--rt-low); font-weight: 800; }
.rt-city.on { border-color: var(--rt-gold); color: var(--rt-gold); background: rgba(217,185,72,.1); }
.rt-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 2px 0; font-size: .82rem; color: var(--rt-mid); }
.rt-where b { color: var(--rt-ink); font-weight: 700; }
.rt-link { background: none; border: 0; padding: 0; color: var(--rt-gold); font-weight: 800; font-size: .82rem;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── the best rate ── */
.rt-best-slot { margin-top: 16px; min-height: 120px; }
.rt-best { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  border-radius: 22px; padding: 22px 20px 20px; border: 1px solid rgba(217,185,72,.5);
  background: linear-gradient(135deg, rgba(217,185,72,.2), rgba(217,185,72,.04) 55%, rgba(74,222,128,.06));
  box-shadow: 0 14px 40px rgba(201,162,39,.14); }
.rt-best-tag { position: absolute; top: -11px; left: 18px; font-size: .7rem; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; color: #1a1406; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #F2E3A8, var(--rt-gold)); max-width: calc(100% - 36px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-best .rt-rate b { font-size: 2.3rem; }

/* ── a shop ── */
.rt-list { display: grid; gap: 10px; }
.rt-card { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center;
  background: var(--rt-card); border: 1px solid var(--rt-line); border-radius: 18px; padding: 14px 16px;
  transition: border-color .15s; }
.rt-card:hover { border-color: rgba(217,185,72,.42); }
.rt-card.hl, .rt-best.hl { border-color: var(--rt-gold); box-shadow: 0 0 0 3px rgba(217,185,72,.18); }
.rt-card.old .rt-rate b { color: var(--rt-mid); }
.rt-rate { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.rt-rate small { color: var(--rt-mid); font-size: .74rem; font-weight: 800; margin-bottom: 3px; }
.rt-rate b { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-trend { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 800; width: fit-content;
  padding: 2px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.rt-trend.up { color: var(--rt-ok); background: rgba(74,222,128,.1); }
.rt-trend.down { color: var(--rt-red); background: rgba(248,113,113,.1); }
.rt-main { min-width: 0; }
.rt h3.rt-name { font-family: Inter, sans-serif; font-size: 1rem; font-weight: 800; margin: 0; color: #fff; letter-spacing: 0; line-height: 1.3; }
.rt-meta { color: var(--rt-mid); font-size: .8rem; margin-top: 5px; line-height: 1.45; overflow-wrap: anywhere; }
.rt-meta b { color: var(--rt-ink); font-weight: 700; }
.rt-note { font-style: italic; }
.rt-methods { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.rt-m { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--rt-ink); white-space: nowrap; }
.rt-get { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.18);
  font-size: .84rem; color: var(--rt-ink); line-height: 1.45; }
.rt-get b { color: var(--rt-ok); font-weight: 900; font-variant-numeric: tabular-nums; }
.rt-get small { display: block; color: var(--rt-mid); font-size: .74rem; }
.rt-when { font-weight: 700; }
.rt-when.ok { color: var(--rt-ok); }
.rt-when.warn { color: var(--rt-warn); }
.rt-acts { display: flex; flex-direction: column; gap: 7px; align-items: stretch; min-width: 132px; }
.rt-acts .rt-btn { width: 100%; }
.rt-acts-row { display: flex; gap: 6px; }
.rt-acts-row > * { flex: 1 1 0; }

.rt-more { text-align: center; margin-top: 12px; }

/* ── regions ── */
.rt-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.rt-reg { position: relative; text-align: left; cursor: pointer; border: 1px solid var(--rt-line); background: var(--rt-card);
  color: inherit; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 3px;
  transition: border-color .15s, transform .15s; }
.rt-reg:hover { border-color: rgba(217,185,72,.45); transform: translateY(-2px); }
.rt-reg:active { transform: scale(.98); }
.rt-reg.mine { border-color: rgba(217,185,72,.55); }
.rt-reg.top { box-shadow: 0 0 0 2px rgba(217,185,72,.35); }
.rt-reg.blocked { cursor: default; border-color: rgba(248,113,113,.35); }
.rt-reg-tag { position: absolute; top: -9px; right: 12px; font-size: .62rem; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; color: #1a1406; padding: 3px 8px; border-radius: 999px; background: var(--rt-gold); }
.rt-reg .r { font-family: Cinzel, serif; font-weight: 700; font-size: 1.02rem; color: #fff; }
.rt-reg .r i { font-family: Inter, sans-serif; font-style: normal; font-size: .64rem; font-weight: 800; color: var(--rt-gold);
  letter-spacing: .06em; text-transform: uppercase; margin-left: 4px; }
.rt-reg .n { color: var(--rt-low); font-size: .72rem; font-weight: 700; }
.rt-reg .p { font-weight: 900; font-size: 1.22rem; color: var(--rt-gold); margin-top: 6px; font-variant-numeric: tabular-nums; }
.rt-reg .p small { font-size: .72rem; color: var(--rt-mid); font-weight: 700; }
.rt-reg .s { color: var(--rt-mid); font-size: .76rem; }
.rt-reg .rt-when { font-size: .72rem; }
.rt-none { margin: 10px 2px 0; line-height: 1.5; }

.rt-ref { color: var(--rt-low); font-size: .76rem; line-height: 1.55; margin: 22px 2px 0; }
.rt-ref b { color: var(--rt-mid); }
.rt-ref a { color: var(--rt-mid); }
.rt-ref-in { margin: 4px 0 0; }

.rt-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 30px;
  background: linear-gradient(135deg, rgba(217,185,72,.1), rgba(217,185,72,.02)); }

/* ── the shop's own side ── */
.rt-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 10px; }
.rt-now > div { background: var(--rt-card-2); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 12px; min-width: 0; }
.rt-now small { display: block; color: var(--rt-mid); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rt-now b { display: block; font-size: 1.05rem; font-weight: 900; margin-top: 4px; overflow-wrap: anywhere; }
.rt-now b.ok { color: var(--rt-ok); }
.rt-now b.warn { color: var(--rt-warn); }
.rt-rank { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rt-sform { display: grid; gap: 12px; }
.rt-rate-in { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.rt-big { flex: 1 1 220px; }
.rt-big-in { display: flex; align-items: center; gap: 10px; }
.rt-big-in b { font-size: 1.4rem; font-weight: 900; color: var(--rt-gold); }
.rt-big-in input { font-size: 1.6rem !important; font-weight: 900; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.rt-steps { display: flex; gap: 6px; }
.rt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.rt-form .wide { grid-column: 1 / -1; }
.rt label.rt-f, .rt div.rt-f { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; text-transform: none; letter-spacing: 0; }
.rt .rt-f > span:first-child { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-low); }
.rt label.rt-f input, .rt label.rt-f select { width: 100%; min-width: 0; }
.rt .rt-f em { font-style: normal; color: var(--rt-low); font-size: .74rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.rt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rt-checks { display: flex; gap: 8px; flex-wrap: wrap; }
.rt label.rt-check { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; margin: 0;
  background: var(--rt-card-2); border: 1px solid rgba(255,255,255,.1); font-size: .84rem; font-weight: 700; cursor: pointer;
  text-transform: none; letter-spacing: 0; color: var(--rt-ink); }
.rt label.rt-check input { width: 18px; height: 18px; padding: 0 !important; accent-color: var(--rt-gold); }
.rt-errs { margin: 12px 0 0; padding: 10px 14px 10px 30px; border-radius: 12px;
  background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25); color: #fecaca; font-size: .84rem; }
.rt-errs:empty { display: none; }
.rt-banner { border-radius: 14px; padding: 12px 14px; font-size: .86rem; line-height: 1.5; margin: 10px 0; }
.rt-banner.bad { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.3); color: #fecaca; }
.rt-banner.info { background: rgba(125,211,252,.07); border: 1px solid rgba(125,211,252,.25); color: #dbeafe; }
.rt-banner.warn { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.3); color: #fde68a; }

/* ── toast ── */
.rt-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 3000; max-width: calc(100vw - 32px); background: #1C1913; color: #fff; border: 1px solid var(--rt-line);
  border-radius: 14px; padding: 12px 16px; font: 600 .88rem Inter, sans-serif; box-shadow: 0 12px 30px rgba(0,0,0,.45); }

/* ── phones ── */
@media (max-width: 760px) {
  .rt-bar { grid-template-columns: 1fr; padding: 12px; }
  .rt-best { grid-template-columns: 1fr; gap: 12px; padding: 24px 16px 16px; }
  .rt-best .rt-rate b { font-size: 2.1rem; }
  .rt-card { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .rt-rate { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
  .rt-rate small { margin: 0; }
  .rt-trend { margin-top: 0; }
  .rt-acts { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .rt-acts > .rt-btn, .rt-acts > .rt-acts-row { flex: 1 1 0; width: auto; min-width: 0; }
  .rt-acts > .rt-btn.red { flex-basis: 100%; }
  .rt-cta { flex-direction: column; align-items: stretch; }
  .rt-now { grid-template-columns: 1fr; }
  .rt-form { grid-template-columns: 1fr; }
  .rt-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-tabs { width: 100%; }
  .rt-tabs button { flex: 1 1 0; padding: 9px 8px; }
}
@media (max-width: 380px) {
  .rt-regions { grid-template-columns: 1fr; }
  .rt-pair { grid-template-columns: 1fr; }
  .rt-acts { flex-direction: column; }
}
