/* ============================================================================
   STARFALL — CASH DESK (cash.html)
   css/cash.css
   ----------------------------------------------------------------------------
   One decision per screen: an amount in, an amount out. The page borrows the
   terminal's ink and its gold, and nothing else — no tables, no ledger, no wall
   of text. Three rules it keeps to:

     · the amount is the biggest thing on the page, because it is the thing the
       reader came to type
     · every figure that was converted says so once, right under the field it
       came from
     · the two flows are tabs, so nobody reads a deposit form while looking for
       a withdrawal

   Everything is defined here — the page loads no other stylesheet — so the
   tokens below are the contract for anything added later.
   ========================================================================== */

/* ==========================================================================
   01. tokens
   ========================================================================== */
:root {
  --bg: #05070b;
  --bg-2: #080b11;
  --bg-3: #0c1017;
  --panel: #0a0e14;
  --panel-2: #10151d;

  --line: #1d242e;
  --line-2: #2b3542;
  --line-gold: rgba(255, 178, 62, 0.4);
  --line-teal: rgba(62, 193, 255, 0.28);

  --ink: #eef2f7;
  --ink-2: #c6cfdb;
  --muted: #8b96a5;
  /* 3.51:1 -> 5.52:1 on the #05070b desk. The cashier's --muted is #8b96a5
     at 6.72:1, so the hierarchy stays in order. */
  --faint: #7c8794;

  --gold: #ffb23e;
  --gold-2: #ffd489;
  --gold-rgb: 255, 178, 62;
  --teal: #3ec1ff;
  --up: #22d3a5;
  --up-rgb: 34, 211, 165;
  --down: #ff5c5c;
  --down-rgb: 255, 92, 92;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --mono: ui-monospace, SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;
  --ui: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --maxw: 1180px;
  --shadow: 0 40px 90px -60px rgba(0, 0, 0, 0.95);
}

/* ==========================================================================
   02. reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.csh {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
::selection { background: rgba(var(--gold-rgb), 0.28); }

/* ==========================================================================
   03. sky — two slow orbs behind everything
   ========================================================================== */
.csh__sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.csh__sky i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.csh__sky i:nth-child(1) {
  width: 620px;
  height: 620px;
  top: -240px;
  left: -140px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.16), transparent 68%);
}
.csh__sky i:nth-child(2) {
  width: 700px;
  height: 700px;
  bottom: -320px;
  right: -180px;
  background: radial-gradient(circle, rgba(62, 193, 255, 0.12), transparent 70%);
}

/* ==========================================================================
   04. top bar
   ========================================================================== */
.csh__bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.86);
  backdrop-filter: blur(14px);
}

.csh__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.csh__brand img { border-radius: 9px; }
.csh__brand span { display: flex; flex-direction: column; line-height: 1.15; }
.csh__brand b { font: 700 12.5px/1 var(--ui); letter-spacing: 0.13em; }
.csh__brand em {
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.csh__nav {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.csh__nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
.csh__nav a:hover { color: var(--ink); background: var(--panel-2); }

.csh__barright {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.csh__rate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 700 9.5px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--muted);
}
.csh__rate::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.csh__rate.is-live { color: var(--up); border-color: rgba(var(--up-rgb), 0.3); }
.csh__rate.is-live::before { animation: cshBlink 2.4s ease-in-out infinite; }
.csh__rate.is-off { color: var(--down); border-color: rgba(var(--down-rgb), 0.3); }
.csh__rate.is-loading { color: var(--gold); }
@keyframes cshBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--up-rgb), 0.5); }
  50%      { opacity: 0.45; box-shadow: 0 0 0 5px rgba(var(--up-rgb), 0); }
}

.csh__ccy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.csh__ccy:hover { border-color: var(--line-gold); background: var(--panel-2); }
.csh__ccy b { font: 700 12px/1 var(--mono); letter-spacing: 0.1em; color: var(--gold); }
.csh__ccy span { font: 600 8.5px/1 var(--mono); letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }

/* ==========================================================================
   05. layout
   ========================================================================== */
.csh__main {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) 70px;
}

/* ==========================================================================
   06. hero
   ========================================================================== */
.csh__hero { max-width: 720px; }
.csh__hero h1 {
  margin: 0 0 12px;
  font: 800 clamp(30px, 5vw, 46px)/1.08 var(--ui);
  letter-spacing: -0.02em;
}
.csh__hero h1 u {
  text-decoration: none;
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.csh__hero p {
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 15.5px;
}
.csh__hero p b { color: var(--ink); }

.csh__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.csh__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.csh__facts b { font: 700 14px/1 var(--mono); color: var(--gold); }
.csh__facts span { font: 600 10px/1 var(--mono); letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; }

/* ==========================================================================
   07. tabs
   ========================================================================== */
.csh__tabs {
  display: flex;
  gap: 10px;
  margin: clamp(26px, 4vw, 40px) 0 20px;
}
.csh__tab {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  cursor: pointer;
  text-align: left;
  transition: border-color 0.22s, transform 0.22s var(--ease), background 0.22s;
}
.csh__tab:hover { transform: translateY(-2px); border-color: var(--line-2); }
.csh__tab svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: color 0.22s; }
.csh__tab span { display: flex; flex-direction: column; gap: 3px; }
.csh__tab b { font: 700 13px/1 var(--ui); }
.csh__tab em { font: 600 9.5px/1 var(--mono); letter-spacing: 0.14em; color: var(--faint); font-style: normal; text-transform: uppercase; }
.csh__tab.is-on {
  border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.14), rgba(var(--gold-rgb), 0.03));
  box-shadow: 0 24px 60px -44px rgba(var(--gold-rgb), 0.9);
}
.csh__tab.is-on svg, .csh__tab.is-on b { color: var(--gold); }
.csh__tab.is-on em { color: var(--gold-2); }
.csh__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* direction at a glance: the tab that is on carries a lit top edge and lifts,
   and each tab's glyph takes its own side's colour — money in reads teal,
   money out reads gold — so the two are never confused mid-flow */
.csh__tabs { position: relative; }
.csh__tab { position: relative; overflow: hidden; }
.csh__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}
.csh__tab.is-on { transform: translateY(-2px); }
.csh__tab.is-on::after { opacity: 1; }
.csh__tab[data-csh-tab="deposit"] svg { color: var(--up); }
.csh__tab[data-csh-tab="withdraw"] svg { color: var(--gold-2); }
.csh__tab.is-on[data-csh-tab="deposit"] {
  border-color: rgba(var(--up-rgb), 0.5);
  background: linear-gradient(180deg, rgba(var(--up-rgb), 0.13), rgba(var(--up-rgb), 0.03));
  box-shadow: 0 24px 60px -44px rgba(var(--up-rgb), 0.9);
}
.csh__tab.is-on[data-csh-tab="deposit"] svg,
.csh__tab.is-on[data-csh-tab="deposit"] b { color: var(--up); }
.csh__tab.is-on[data-csh-tab="deposit"] em { color: rgba(var(--up-rgb), 0.75); }

/* ==========================================================================
   08. panes
   ========================================================================== */
.csh__pane { display: none; }
.csh__pane.is-on {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  animation: cshIn 0.34s var(--ease);
}
@keyframes cshIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   09. card
   ========================================================================== */
.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 60%);
  box-shadow: var(--shadow);
}

.card__top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}
.card__top--3 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.4fr); }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span {
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
}

.field__find {
  position: relative;
  display: flex;
  align-items: center;
}
.field__find svg {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 14px;
  color: var(--faint);
  pointer-events: none;
}
.field__find input {
  width: 100%;
  padding: 11px 12px 11px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-3);
  font-size: 13px;
}
.field__find input::placeholder { color: var(--faint); }
.field__find input:focus { outline: none; border-color: var(--line-gold); background: var(--bg-2); }

select#cashCcy, select#wdNet {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-3);
  font: 600 13px/1.2 var(--ui);
  cursor: pointer;
}
select#cashCcy:focus, select#wdNet:focus { outline: none; border-color: var(--line-gold); }

.field--amt .amt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field--amt .amt:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.12);
}
.amt__sym { font: 700 22px/1 var(--mono); color: var(--gold); flex: none; }
.amt input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font: 800 clamp(24px, 3.4vw, 34px)/1.15 var(--ui);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.field__hint {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.03em;
  color: var(--faint);
  font-style: normal;
  min-height: 15px;
}

.field--addr input {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-3);
  font: 600 12.5px/1.4 var(--mono);
}
.field--addr input:focus { outline: none; border-color: var(--line-gold); }

/* ==========================================================================
   10. chips
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.chip--top { border-style: dashed; color: var(--muted); }

/* ==========================================================================
   11. conversion strip
   ========================================================================== */
.convert {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.convert div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px;
  background: var(--bg-2);
}
.convert span {
  font: 600 9.5px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}
.convert b { font: 700 17px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.convert b.up { color: var(--up); }

/* ==========================================================================
   11a. the book — what the desk has, in the desk's own numbers
   ==========================================================================
   Both panes print the same four readings, read from the terminal's paper
   account through js/desk-ledger.js: what is credited, what is waiting to be
   verified, what is held back by an open position, and what is therefore free
   to leave. The cells are the `.convert` strip's siblings on purpose — this is
   the same kind of figure, one table further back. */
.bal {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
}
.bal__cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
}
.bal__cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 13px 16px;
  background: var(--bg-2);
}
.bal__cell span {
  font: 600 9.5px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}
.bal__cell b { font: 700 16px/1.15 var(--mono); font-variant-numeric: tabular-nums; }
.bal__cell b.up { color: var(--up); }
.bal__note {
  margin: 0;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font: 600 11px/1.62 var(--mono);
  color: var(--faint);
}

/* ==========================================================================
   11b. what to send — the amount, in the currency it leaves in
   ==========================================================================
   The amount above is typed in the reader's own money and becomes dollars here;
   neither is something a wallet can move. This block is the one figure that is:
   the coins, converted live, with the address that takes them. */
.send {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.send__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.send__head b {
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.send__live {
  margin-left: auto;
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.06em;
  color: var(--faint);
}
.send__nets { display: flex; flex-wrap: wrap; gap: 6px; }
.send__net {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  font: 700 10.5px/1 var(--mono);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.send__net:hover { border-color: var(--gold); color: var(--ink-2); }
.send__net.is-on { border-color: rgba(var(--gold-rgb), 0.6); background: rgba(var(--gold-rgb), 0.13); color: var(--gold); }
.send__none { font: 600 11.5px/1.6 var(--mono); color: var(--muted); }
.send__body { display: grid; gap: 10px; }
.send__coins { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.send__coins b {
  font: 700 26px/1.05 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--up);
  overflow-wrap: anywhere;
}
.send__coins b.is-dim { font-size: 15px; color: var(--muted); }
.send__coins em {
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.16em;
  font-style: normal;
  color: var(--faint);
}
.send__body code {
  display: block;
  padding: 11px 12px;
  border: 1px dashed rgba(var(--gold-rgb), 0.4);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  font: 600 12px/1.5 var(--mono);
  letter-spacing: 0.02em;
  color: var(--gold);
  overflow-wrap: anywhere;
  cursor: pointer;
  user-select: all;
}
.send__body .btn2 { justify-self: start; }
.send__note { margin: 0; font: 600 11px/1.6 var(--mono); color: var(--muted); }

/* ==========================================================================
   12. message + the one button
   ========================================================================== */
.msg {
  min-height: 19px;
  margin: 0;
  font: 600 11.5px/1.6 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.msg.is-ok { color: var(--up); }
.msg.is-warn { color: var(--gold); }
.msg.is-bad { color: var(--down); }

.go {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, filter 0.22s;
}
.go__ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  flex: none;
}
.go__ico svg { width: 18px; height: 18px; }
.go__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.go__txt b { font: 700 14.5px/1 var(--ui); }
.go__txt em {
  font: 600 10.5px/1.2 var(--mono);
  letter-spacing: 0.08em;
  font-style: normal;
  opacity: 0.82;
  text-transform: uppercase;
}
.go__arrow { width: 20px; height: 20px; margin-left: auto; flex: none; opacity: 0.75; transition: transform 0.22s var(--ease); }
.go:hover { transform: translateY(-2px); }
.go:hover .go__arrow { transform: translateX(4px); }
.go:active { transform: translateY(0); }

.go--in {
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  color: #22160a;
  box-shadow: 0 26px 60px -34px rgba(var(--gold-rgb), 0.95);
}
.go--in:hover { box-shadow: 0 30px 70px -32px rgba(var(--gold-rgb), 1); }
.go--out {
  border-color: rgba(var(--up-rgb), 0.42);
  background: linear-gradient(100deg, rgba(var(--up-rgb), 0.2), rgba(var(--up-rgb), 0.07));
  color: var(--ink);
  box-shadow: 0 26px 60px -40px rgba(var(--up-rgb), 0.8);
}
.go--out .go__ico { background: rgba(var(--up-rgb), 0.18); color: var(--up); }
.go--out:hover { box-shadow: 0 30px 70px -36px rgba(var(--up-rgb), 0.9); }
.go.is-off { filter: grayscale(0.35) brightness(0.9); }
/* A request that cannot be paid is not offered: the payout button is a real
   disabled control, so neither a click nor Enter in a field can send a figure
   the desk would have to refuse afterwards. */
.go[disabled] { cursor: not-allowed; }
.go[disabled]:hover { transform: none; }
.go[disabled]:hover .go__arrow { transform: none; }
.go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ==========================================================================
   13. side notes
   ========================================================================== */
/* the column stretches to the card beside it and the rate note is pushed to
   the bottom of it, so the pane never leaves a hole in the layout */
.csh__side { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.mini {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}
.mini b {
  display: block;
  margin-bottom: 7px;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}
.mini p { margin: 0; font-size: 13.5px; line-height: 1.62; color: var(--muted); }
.mini p i { font-style: normal; color: var(--ink); font-weight: 700; }
.csh__fxnote {
  margin: auto 0 0;
  padding: 0 4px;
  font: 600 10.5px/1.5 var(--mono);
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* ==========================================================================
   14. the answer to a withdrawal request
   ========================================================================== */
.ticket[hidden] { display: none; }
.ticket {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(var(--up-rgb), 0.4);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(var(--up-rgb), 0.1), var(--panel) 70%);
  box-shadow: var(--shadow);
  animation: cshIn 0.34s var(--ease);
}
.ticket__ok {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(var(--up-rgb), 0.18);
  color: var(--up);
}
.ticket__ok svg { width: 24px; height: 24px; }
.ticket h2 { margin: 0; font: 800 22px/1.2 var(--ui); }
.ticket p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 14.5px; }
.ticket__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
  overflow: hidden;
}
.ticket__grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 15px;
  background: var(--bg-2);
}
.ticket__grid span {
  font: 600 9.5px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}
.ticket__grid b {
  font: 700 14px/1.2 var(--mono);
  word-break: break-all;
  cursor: copy;
}
.ticket__grid b.is-copied { color: var(--up); }
.ticket__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.btn2 {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel-2);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--ink-2);
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn2:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn2--gold { border-color: var(--line-gold); color: var(--gold); }

/* ==========================================================================
   15. footer
   ========================================================================== */
.csh__foot {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 40px) 46px;
  border-top: 1px solid var(--line);
}
.csh__foot-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--faint);
}
.csh__foot-box nav { display: flex; gap: 14px; }
.csh__foot-box a:hover { color: var(--gold); }
.csh__legal {
  margin: 16px 0 0;
  max-width: 92ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--faint);
}

/* ==========================================================================
   16. responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .csh__pane.is-on { grid-template-columns: minmax(0, 1fr); }
  .csh__side { flex-direction: row; flex-wrap: wrap; }
  .csh__side .mini { flex: 1 1 220px; }
}

@media (max-width: 860px) {
  .csh__nav { display: none; }
  .csh__barright { margin-left: auto; }
  .card__top, .card__top--3 { grid-template-columns: minmax(0, 1fr); }
  .convert { grid-template-columns: minmax(0, 1fr); }
  .csh__tab { flex: 1 1 auto; justify-content: center; }
  .csh__tabs { flex-direction: row; }
}

@media (max-width: 560px) {
  .csh__rate { display: none; }
  .csh__facts li { flex: 1 1 auto; justify-content: center; }
  .amt input { font-size: 26px; }
  .go { min-height: 64px; padding: 0 16px; }
  .go__txt em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .csh__sky i, .csh__rate.is-live::before { animation: none; }
  .csh__pane.is-on, .ticket { animation: none; }
  .go, .chip, .csh__tab, .btn2 { transition: none; }
}
