/* HK member skin — "Obsidian Ledger".
   Loaded only on non-home / non-trade routes (MemberStyleBoundary).
   Concept: a professional exchange terminal. Light, crisp working surfaces
   (white cards on a cool canvas, hairline borders, tabular numerals) anchored
   by deep obsidian-violet "vault" cards that carry the money. Vault cards get
   a soft aurora glow and a faint node-grid instead of a diagonal streak.
   Motion is one-shot and compositor-only (opacity / transform): page blocks
   rise in sequence, the aurora drifts slowly on the main vault card only, the
   live-connection dot breathes. Everything stops under reduced motion.
   Fills use `backwards` so no transform is left behind after an entrance
   (a retained transform would trap fixed-position sheets inside a block).
   Light member pages opt in with .hk25-page (inside the .hk25 layout frame).
   Dark workspaces opt in with .hk25-dark; trading-care with .hk25-gala;
   international modules are styled through their own .hk-int-* classes. */

/* ── Motion primitives ──────────────────────────────────────────────────── */
@keyframes hkRise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hkAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-18%, 10%, 0) scale(1.12); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes hkPulse {
  0%   { transform: scale(1); opacity: .55; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Page blocks enter in sequence (first six direct blocks of the main stack). */
.hk25 .hk25-page > [class*="space-y-"] > :not(.fixed):not(.hk-modal),
.hk25 .hk25-page > .hk25-hero,
.hk25 .hk25-page > .hk25-connect-wrap {
  animation: hkRise .52s cubic-bezier(.2, .8, .2, 1) backwards;
}
.hk25 .hk25-page > [class*="space-y-"] > :nth-child(2) { animation-delay: .06s; }
.hk25 .hk25-page > [class*="space-y-"] > :nth-child(3) { animation-delay: .12s; }
.hk25 .hk25-page > [class*="space-y-"] > :nth-child(4) { animation-delay: .18s; }
.hk25 .hk25-page > [class*="space-y-"] > :nth-child(5) { animation-delay: .24s; }
.hk25 .hk25-page > [class*="space-y-"] > :nth-child(n+6) { animation-delay: .28s; }
.hk25 .hk25-page > .hk25-connect-wrap { animation-delay: .08s; }

/* ── Canvas ─────────────────────────────────────────────────────────────── */
.hk25 > main { background: #f3f3f7; }
.hk25 .hk25-page {
  background:
    radial-gradient(120% 260px at 50% -40px, rgba(108, 72, 220, 0.10), rgba(108, 72, 220, 0) 70%),
    #f3f3f7 !important;
  color: #14112a;
}

/* Header: frosted white bar, hairline only — the content carries the weight. */
.hk25 .hk25-page > header,
.hk25 .hk25-page .hk25-head {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 0.5px solid rgba(20, 17, 42, 0.10) !important;
  box-shadow: none !important;
}
.hk25 .hk25-page > header span.text-\[17px\] { letter-spacing: -0.4px !important; font-weight: 700 !important; }

/* ── Vault cards (every purple money card) ──────────────────────────────── */
.hk25 .hk25-hero,
.hk25 .hk25-page .hk-skin-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  border: 0.5px solid rgba(176, 150, 255, 0.30) !important;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(150, 104, 255, 0.55) 0%, rgba(150, 104, 255, 0) 58%),
    radial-gradient(70% 90% at 0% 100%, rgba(64, 196, 255, 0.16) 0%, rgba(64, 196, 255, 0) 62%),
    linear-gradient(160deg, #170d38 0%, #221158 46%, #35198a 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 1px 2px rgba(20, 10, 60, 0.20),
    0 14px 32px -12px rgba(40, 18, 120, 0.55) !important;
}
.hk25 .hk25-hero { padding: 16px 18px; border-radius: 20px; }
/* Standalone heroes get page gutters; flat heroes leave block spacing to
   their stack (space-y) so they never butt against the next card. */
.hk25 .hk25-hero:not(.hk25-hero-flat) { margin: 14px 16px 2px; }

/* Node grid: faint dot lattice, strongest top-right, fading out. */
.hk25 .hk25-hero::before,
.hk25 .hk25-page .hk-skin-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.8px, rgba(255, 255, 255, 0) 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0) 72%);
  mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
  z-index: -1;
}
/* Aurora: a soft violet light pool, top-right, with a luminous top edge. */
.hk25 .hk25-hero::after,
.hk25 .hk25-page .hk-skin-hero::after {
  content: "";
  position: absolute;
  top: -60%; right: -30%;
  width: 90%; height: 160%;
  background: radial-gradient(closest-side, rgba(186, 156, 255, 0.30), rgba(186, 156, 255, 0));
  pointer-events: none;
  z-index: -1;
}
.hk25 .hk25-hero-k {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  color: rgba(226, 218, 255, 0.62) !important;
}
.hk25 .hk25-hero-v {
  font-size: 20px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.15;
  color: #fff !important; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.hk25 .hk25-hero-v.hk25-up { color: #5fe3a8 !important; }
.hk25 .hk25-hero-v.hk25-down { color: #ff8fa3 !important; }
.hk25 .hk25-cellv { color: #fff !important; overflow-wrap: anywhere; }
.hk25 .hk25-chip { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30), 0 4px 12px -2px rgba(0, 0, 0, 0.35); }
.hk25 .hk25-hero-connect {
  display: flex; align-items: center; justify-content: space-between; min-height: 84px;
}
.hk25 .hk25-hero-connect .hk25-hero-k {
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px; color: #fff !important;
}
/* Glass key on a vault card */
.hk25 .hk25-hero-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; color: #ffffff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30), 0 8px 18px -6px rgba(0, 0, 0, 0.45);
}

/* ── Working surfaces: crisp white cards ────────────────────────────────── */
.hk25 .hk25-page .ios-card,
.hk25 .hk25-card,
.hk25 .hk25-connect-wrap {
  background: #ffffff !important;
  border: 0.5px solid rgba(20, 17, 42, 0.08) !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 2px rgba(20, 17, 42, 0.04),
    0 10px 24px -14px rgba(48, 26, 130, 0.22) !important;
}
.hk25 .hk25-connect-wrap { margin: 12px 16px 16px; border-radius: 20px !important; }

/* Section heading: a short gradient tick, terminal-style */
.hk25 .hk25-section { position: relative; }
.hk25 .hk25-section::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 3px; height: 14px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #8b6cff, #5b34d6);
}
[dir="rtl"] .hk25 .hk25-section::before { left: auto; right: 0; border-radius: 2px 0 0 2px; }
.hk25 .hk25-sechead {
  border-bottom: 0.5px solid rgba(20, 17, 42, 0.07) !important;
  margin-bottom: 4px;
}
.hk25 .hk25-console { padding-top: 18px !important; }
.hk25 .hk25-track { background: rgba(20, 17, 42, 0.07) !important; box-shadow: none; }

/* Lists of cards sit straight on the canvas. */
.hk25 .hk25-group { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.hk25 .hk25-group:empty { display: none; }

/* Readout wells */
.hk25 .hk25-well {
  background: #f5f4fa !important;
  border: 0.5px solid rgba(20, 17, 42, 0.05);
  box-shadow: none;
  border-radius: 12px !important;
}
.hk25 .hk-skin-hero .hk25-well,
.hk25 .hk25-hero .hk25-well {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* ── Ledger: one card, hairline rows ────────────────────────────────────── */
.hk25 .hk25-list { padding: 0; }
.hk25 .hk25-row { margin: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hk25 .hk25-row + .hk25-row { border-top: 0.5px solid rgba(20, 17, 42, 0.07) !important; }
.hk25 .hk25-row:first-child { border-top: 0 !important; }
.hk25 .hk25-amt {
  padding: 3px 8px; border-radius: 8px; max-width: 48%; overflow-wrap: anywhere; text-align: right;
  font-variant-numeric: tabular-nums;
}
.hk25 .hk25-amt-in { background: rgba(27, 158, 110, 0.09); }
.hk25 .hk25-amt-out { background: rgba(224, 52, 74, 0.07); }

/* ── Segmented control ─────────────────────────────────────────────────── */
.hk25 .hk25-seg {
  background: rgba(20, 17, 42, 0.06) !important;
  box-shadow: none;
  border-radius: 12px !important;
}
.hk25 .hk25-seg > button { color: rgba(20, 17, 42, 0.52); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.hk25 .hk25-seg > button[aria-pressed="true"] {
  background: #ffffff !important;
  color: #2a1670 !important;
  box-shadow: 0 1px 2px rgba(20, 17, 42, 0.10), 0 4px 10px -4px rgba(48, 26, 130, 0.25) !important;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.hk25 .hk25-btn {
  background: #ffffff !important;
  color: #3a1ea0 !important;
  border: 0.5px solid rgba(91, 52, 214, 0.25);
  box-shadow: 0 1px 2px rgba(20, 17, 42, 0.06) !important;
}
.hk25 .hk25-btn:disabled { opacity: .5; box-shadow: none !important; }
.hk25 .hk25-raise { box-shadow: 0 10px 22px -8px rgba(160, 100, 0, 0.45); }
.hk25 .hk25-btn:focus-visible,
.hk25 .hk25-seg > button:focus-visible { outline: 2px solid #6b46e0; outline-offset: 2px; }

/* ── Empty / loading / error plates ───────────────────────────────────── */
.hk25 .hk25-page .hk-state {
  border: 0.5px dashed rgba(91, 52, 214, 0.22) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7) !important;
  box-shadow: none !important;
}
.hk25 .hk25-page .hk-state svg { color: #7b5cf0; }
.hk25 .hk25-page .hk-state-skel { background: #ecebf3 !important; box-shadow: none; }

/* ── Sheets & modals owned by light pages ──────────────────────────────── */
.hk25 .hk25-page .hk-modal-sheet {
  background: #ffffff !important;
  box-shadow: 0 -0.5px 0 rgba(20, 17, 42, 0.10), 0 -16px 40px rgba(24, 12, 70, 0.20) !important;
}
.hk25 .hk25-page .hk-modal {
  box-shadow: 0 0 0 0.5px rgba(20, 17, 42, 0.10), 0 24px 56px -12px rgba(24, 12, 70, 0.40) !important;
}

/* ── Trading care: keep purple/gold, add gold-bevel depth ──────────────── */
.hk25 .hk25-gala .gala-topbar {
  box-shadow: inset 0 1px 0 rgba(255,236,190,0.25), 0 1px 0 rgba(0,0,0,0.5), 0 8px 18px rgba(6,2,20,0.45);
}
.hk25 .hk25-gala .gala-panel {
  box-shadow:
    inset 0 1px 0 rgba(255,236,190,0.22),
    inset 0 -2px 0 rgba(0,0,0,0.35),
    0 3px 0 rgba(8,3,26,0.9),
    0 12px 28px rgba(6,2,20,0.55);
}
.hk25 .hk25-gala .gala-inset { box-shadow: inset 0 2px 4px rgba(0,0,0,0.35), 0 1px 0 rgba(255,236,190,0.08); }

/* ── International modules (own light shell) ───────────────────────────── */
.hk25 .hk-int-header {
  background: linear-gradient(180deg, #ffffff 0%, #f3f1f9 55%, #e3dfee 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(120,104,170,0.24), 0 6px 16px rgba(58,36,120,0.10);
}
.hk25 .hk-int-page .rounded-2xl {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 0 0.5px rgba(80,64,140,0.14), 0 3px 0 rgba(170,160,200,0.45), 0 8px 18px rgba(58,36,120,0.10);
}
.hk25 .hk-int-asset-card.hk25-international-wallet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 12px;
  padding: 0 18px 18px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f0edf7 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #d3cde4, 0 12px 24px rgba(58,36,120,.14);
}
.hk25 .hk25-int-nameplate {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -18px;
  padding: 20px 18px;
  color: #fff;
  background: linear-gradient(150deg, #402184 0%, #7b52d4 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(20,8,60,.35);
}
.hk25 .hk25-int-nameplate > :first-child { font-size: 26px; font-weight: 800; letter-spacing: -1px; }
.hk25 .hk25-int-nameplate > :last-child { font-size: 10px; letter-spacing: .18em; color: #e9dcff; }
.hk25 .hk-int-shortcuts {
  padding: 18px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #efedf6);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #d9d4e8, 0 8px 18px rgba(58,36,120,.1);
}
.hk25 .hk-int-shortcut-icon {
  border: 1px solid rgba(255,255,255,.9);
  background: linear-gradient(155deg, #fff, #ded8ee);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #bdb0d8, 0 3px 0 #c9c0df, 0 5px 10px rgba(67,42,130,.16);
}
.hk25 .hk-int-search {
  background: linear-gradient(180deg, #e5e0f0, #f8f6fc);
  box-shadow: inset 0 1px 3px rgba(70,44,130,.16), 0 1px 0 #fff;
}
.hk25 .hk25-coin-nameplate { display: flex; align-items: center; gap: 12px; margin: 2px 0 20px; color: #382262; font-weight: 700; }
.hk25 .hk25-nameplate-pair { color: #8b7d9f; font-size: 12px; }
.hk25 .hk25-token-medallion {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 16px;
  color: #6239b6; font-size: 11px;
  background: linear-gradient(145deg, #ffffff 0%, #ece7fa 55%, #d6cdf2 100%);
  border: 0.5px solid rgba(123, 82, 212, 0.22);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 2px rgba(90, 60, 170, 0.18), 0 2px 5px rgba(80, 50, 160, 0.12);
}

/* Explicitly page-owned portal panels; never applies to shared trade dialogs. */
.hk25-modal.hk-modal {
  background: linear-gradient(180deg, #fff 0%, #f2eff9 100%) !important;
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #cec4e4, 0 3px 0 #bfb2d8, 0 18px 48px rgba(30,14,80,.3) !important;
}

/* ── Admin / teacher / deployment workspaces ───────────────────────────── */
.hk25-dark {
  background: linear-gradient(180deg, #17132e 0%, #0e0c1c 40%, #0a0912 100%) !important;
}
.hk25-dark section {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.025) 100%);
  border-color: rgba(200,190,255,0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 2px 0 rgba(0,0,0,0.5),
    0 8px 18px rgba(0,0,0,0.35);
}
.hk25-dark .hk25-head {
  background: linear-gradient(180deg, #2a2448 0%, #17142c 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -1px 0 rgba(0,0,0,0.5), 0 6px 14px rgba(0,0,0,0.4);
}
.hk25-dark .hk25-plate {
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(200,190,255,0.16);
  border-top: 2px solid #8a62e6;
}

/* Page-owned portal panels in the home pearl finish (overrides the rule above). */
.hk25-modal.hk-modal {
  background: linear-gradient(180deg, #ffffff 0%, #f6f4fb 100%) !important;
  border: 0.5px solid rgba(123, 82, 212, 0.16);
  box-shadow: inset 0 1px 0 #fff, 0 18px 48px rgba(30, 14, 80, 0.26) !important;
}

/* ── /positions (hk25-positions) ───────────────────────────────────────── */
.hk25 .hk25-positions .hk25-pos-overview {
  margin: 0 0 24px !important;
  border-radius: 20px !important;
}
.hk25 .hk25-positions .hk25-pos-overview > div + div { box-shadow: -0.5px 0 0 rgba(255, 255, 255, 0.16); padding-left: 12px; }
.hk25 .hk25-positions .hk25-pos-seg { margin-top: 0 !important; }
.hk25 .hk25-positions .hk-skin-hero { border-radius: 18px !important; }

/* ── /profile (hk25-profile) ───────────────────────────────────────────── */
.hk25 .hk25-profile .hk25-hero-connect { min-height: 84px; }

/* Main vault card: the only surface whose aurora drifts. */
.hk25 .hk25-profile .hk25-wallet { border-radius: 24px !important; padding-bottom: 16px; }
.hk25 .hk25-profile .hk25-wallet::after,
.hk25 .hk25-hero-connect::after {
  animation: hkAurora 16s ease-in-out infinite;
  will-change: transform;
}
.hk25 .hk25-profile .hk25-wallet > div:first-child { padding: 18px 18px 14px !important; }

/* Status row: live dot + label on the left, address chip on the right */
.hk25 .hk25-profile .hk25-wallet-status { flex-wrap: wrap; row-gap: 8px; margin-bottom: 14px !important; }
.hk25 .hk25-profile .hk25-wallet-status > span {
  color: rgba(226, 218, 255, 0.70) !important; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
}
.hk25 .hk25-profile .hk25-wallet-dot {
  position: relative; width: 7px !important; height: 7px !important;
  background: #4ee3a0 !important; box-shadow: 0 0 8px rgba(78, 227, 160, 0.8);
}
.hk25 .hk25-profile .hk25-wallet-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #4ee3a0;
  animation: hkPulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.hk25 .hk25-profile .hk25-wallet-status > div:last-child {
  padding: 3px 3px 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
}
.hk25 .hk25-profile .hk25-wallet-status .font-mono {
  color: #ffffff !important; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.hk25 .hk25-profile .hk25-wallet-copy {
  width: 44px; height: 30px; flex-shrink: 0; color: #ffffff;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 0;
  transition: background-color .2s ease;
}
.hk25 .hk25-profile .hk25-wallet-copy:active { background: rgba(255, 255, 255, 0.24) !important; }

/* Balances: one shared panel, USDT / HSK rows split by a hairline. */
.hk25 .hk25-profile .hk25-balances {
  display: block; margin: 0; border-radius: 16px; overflow: hidden;
  background: rgba(8, 3, 30, 0.28);
  border: 0.5px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hk25 .hk25-profile .hk25-cell {
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 12px; row-gap: 6px; width: 100%; min-width: 0;
  border: 0 !important; border-radius: 0 !important;
  padding: 14px 14px !important; color: #ffffff !important;
  background: transparent !important; box-shadow: none !important;
  transition: background-color .2s ease;
}
.hk25 .hk25-profile .hk25-cell:active { background: rgba(255, 255, 255, 0.05) !important; }
.hk25 .hk25-profile .hk25-cell + .hk25-cell { border-top: 0.5px solid rgba(255, 255, 255, 0.09) !important; }
/* Coin badge */
.hk25 .hk25-profile .hk25-coin {
  flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px -2px rgba(0, 0, 0, 0.45);
}
.hk25 .hk25-profile .hk25-coin-usdt { background: linear-gradient(160deg, #3fc79a, #1f8f6b); }
.hk25 .hk25-profile .hk25-coin-hsk { background: linear-gradient(160deg, #a58bff, #6a43e0); font-size: 14px; }
/* Label block never wraps; when a very large amount needs the room, the
   amount drops to its own line (right-aligned) instead of being clipped. */
.hk25 .hk25-profile .hk25-cell-text { flex: 1 0 auto; white-space: nowrap; }
.hk25 .hk25-profile .hk25-cell-head { margin: 0 0 2px !important; }
.hk25 .hk25-profile .hk25-cell-sub { margin: 0 !important; }
.hk25 .hk25-profile .hk25-cell-head span {
  color: #ffffff !important; font-size: 13.5px !important; font-weight: 700; letter-spacing: -0.1px;
}
.hk25 .hk25-profile .hk25-cell-head svg { color: rgba(226, 218, 255, 0.55) !important; }
.hk25 .hk25-profile .hk25-cell-sub { color: rgba(226, 218, 255, 0.50) !important; font-size: 11px !important; }
.hk25 .hk25-profile .hk25-cell .hk-asset-amount {
  flex: 0 0 auto; margin: 0 0 0 auto;
  color: #ffffff !important; text-align: right;
  font-size: clamp(17px, 5.6vw, 24px) !important; font-weight: 700 !important;
  letter-spacing: -0.6px !important;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  animation: hkFade .6s .2s ease-out backwards;
}
.hk25 .hk25-profile .hk25-cell:focus-visible,
.hk25 .hk25-profile .hk25-tile:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* Action bar: Deposit is the one solid call to action; Swap / Withdraw are
   glass. Icon + label sit on one line, exchange-terminal style. */
.hk25 .hk25-profile .hk25-pf-dock { margin: 0 18px; padding: 2px 0 0; }
.hk25 .hk25-profile .hk25-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hk25 .hk25-profile .hk25-tile {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 6px !important; border-radius: 14px !important;
  font-size: 13.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  transition: background-color .18s ease, transform .12s ease;
}
.hk25 .hk25-profile .hk25-tile:active { background: rgba(255, 255, 255, 0.18) !important; }
.hk25 .hk25-profile .hk25-tile-primary {
  color: #24116a !important;
  background: linear-gradient(180deg, #ffffff 0%, #ece6ff 100%) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 18px -6px rgba(10, 4, 40, 0.55) !important;
}
.hk25 .hk25-profile .hk25-tile-primary:active { background: #e3dbff !important; }
.hk25 .hk25-profile .hk25-tile-icon { display: inline-flex; align-items: center; justify-content: center; opacity: .95; }
.hk25 .hk25-profile .hk25-tile-icon svg { width: 17px; height: 17px; stroke-width: 2.2; }
@media (max-width: 349px) {
  .hk25 .hk25-profile .hk25-tile { font-size: 12.5px; gap: 4px; }
  .hk25 .hk25-profile .hk25-tile-icon svg { width: 15px; height: 15px; }
}

/* Stats panel: a white terminal card with tabular readouts */
.hk25 .hk25-profile .hk25-pf-stats > div {
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 0.5px solid rgba(20, 17, 42, 0.08);
  box-shadow: 0 1px 2px rgba(20, 17, 42, 0.04), 0 10px 24px -14px rgba(48, 26, 130, 0.22) !important;
}
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-glow { display: none; }
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-icon {
  background: linear-gradient(160deg, #8b6cff, #5b34d6) !important;
  border: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(91, 52, 214, 0.7);
}
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-icon > div { color: #ffffff !important; }
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-title { color: #14112a !important; letter-spacing: -0.2px !important; font-weight: 700 !important; }
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-subtitle { color: rgba(20, 17, 42, 0.45) !important; letter-spacing: .06em !important; }
.hk25 .hk25-profile .hk25-pf-stats .grid > div {
  border: 0.5px solid rgba(20, 17, 42, 0.05) !important;
  background: #f6f5fa !important;
  box-shadow: none;
}
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-label { color: rgba(20, 17, 42, 0.55) !important; }
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-sub { color: rgba(20, 17, 42, 0.40) !important; }
.hk25 .hk25-profile .hk25-pf-stats .hk25-stat-value { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; letter-spacing: -0.4px; }
.hk25 .hk25-profile .hk25-pf-stats .animate-spin { border-color: rgba(91, 52, 214, 0.2) !important; border-top-color: #5b34d6 !important; }

/* ── Sealed readouts ("Sealed Ledger") ─────────────────────────────────────
   Figures that have not been requested yet are shown as a row of sealed
   violet dots that ripple slowly, like a vault reader waiting for a key; the
   star card is a sealed vault plate whose nine stars are swept by a light
   scan. Tapping unseals it: the queried tier card keeps the same anatomy
   (badge, star row, inner panel). Opacity / transform / colour only. */
@keyframes hkSeal {
  0%, 100% { opacity: .22; transform: scale(1); }
  30%      { opacity: .95; transform: scale(1.2); }
  60%      { opacity: .22; transform: scale(1); }
}
@keyframes hkStarScan {
  0%, 100% { fill-opacity: 0; color: rgba(255, 255, 255, 0.30); transform: scale(1); }
  12%      { fill-opacity: .95; color: #ffffff; transform: scale(1.16); }
  28%      { fill-opacity: 0; color: rgba(255, 255, 255, 0.30); transform: scale(1); }
}
.hk25 .hk25-mask { display: inline-flex; align-items: center; gap: 5px; height: 20px; }
.hk25 .hk25-mask i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(160deg, #8b6cff, #5b34d6);
  opacity: .22;
  animation: hkSeal 2.6s cubic-bezier(.4, 0, .2, 1) infinite;
}
.hk25 .hk25-mask-loading i { animation-duration: .9s; }

/* Options-turnover card, sealed cells */
.hk25 .hk25-profile .hk25-pf-stats .grid > div[data-state] {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 108, 255, 0.16) 0%, rgba(139, 108, 255, 0) 60%),
    linear-gradient(160deg, #faf8ff 0%, #f1ecff 100%) !important;
  border: 0.5px solid rgba(91, 52, 214, 0.13) !important;
  transition: background-color .18s ease, border-color .18s ease;
}
.hk25 .hk25-profile .hk25-pf-stats .grid > div[data-state]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(91, 52, 214, 0.14) 0.8px, rgba(91, 52, 214, 0) 1.2px);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, 0) 60%);
  mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, 0) 60%);
}
.hk25 .hk25-profile .hk25-pf-stats .grid > div[data-state="locked"]:active {
  border-color: rgba(91, 52, 214, 0.32) !important;
}
.hk25 .hk25-profile .hk25-pf-stats .grid > div[data-state]:focus-visible { outline: 2px solid #5b34d6; outline-offset: 2px; }
.hk25 .hk25-profile .hk25-unlock {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 2px; margin-top: 10px;
  padding: 3px 7px 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.3;
  color: #5b34d6; background: rgba(91, 52, 214, 0.09);
}
.hk25 .hk25-profile .hk25-pf-stats .grid > div[data-state="loading"] .hk25-unlock {
  color: rgba(20, 17, 42, 0.5); background: rgba(20, 17, 42, 0.05);
}
[dir="rtl"] .hk25 .hk25-profile .hk25-unlock { padding: 3px 9px 3px 7px; }
[dir="rtl"] .hk25 .hk25-unlock svg,
[dir="rtl"] .hk25 .hk25-seal-cta svg { transform: scaleX(-1); }
.hk25 .hk25-profile .hk25-privacy {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  padding: 4px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; color: rgba(20, 17, 42, 0.52);
  background: rgba(20, 17, 42, 0.05);
}
[dir="rtl"] .hk25 .hk25-profile .hk25-privacy { margin-left: 0; margin-right: auto; }

/* Star card, sealed: a vault plate (inherits .hk25-hero grid + aurora) */
.hk25 .hk25-seal { padding: 18px 18px 16px !important; border-radius: 22px !important; }
.hk25 .hk25-seal-head { display: flex; align-items: center; gap: 12px; }
.hk25 .hk25-seal-badge {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30), 0 8px 18px -6px rgba(0, 0, 0, 0.45);
}
.hk25 .hk25-seal-badge span { font-size: 20px; font-weight: 700; line-height: 1; color: #ffffff; }
.hk25 .hk25-seal-badge small { font-size: 7.5px; letter-spacing: 1.5px; margin-top: 3px; color: rgba(226, 218, 255, 0.7); }
.hk25 .hk25-seal-title { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; color: #ffffff; }
.hk25 .hk25-seal-desc { font-size: 11px; margin-top: 2px; color: rgba(226, 218, 255, 0.62); }
.hk25 .hk25-seal-lock {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.10);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
}
.hk25 .hk25-seal-stars { display: flex; align-items: center; gap: 5px; margin: 16px 0 14px; }
.hk25 .hk25-seal-stars svg {
  color: rgba(255, 255, 255, 0.30); fill: #ffffff; fill-opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: hkStarScan 3.6s ease-in-out infinite;
}
.hk25 .hk25-seal-stars.is-loading svg { animation-duration: 1.4s; }
.hk25 .hk25-seal-panel {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 16px; overflow: hidden;
  background: rgba(8, 3, 30, 0.28);
  border: 0.5px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hk25 .hk25-seal-panel > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 14px; }
.hk25 .hk25-seal-panel > div + div { border-left: 0.5px solid rgba(255, 255, 255, 0.09); }
[dir="rtl"] .hk25 .hk25-seal-panel > div + div { border-left: 0; border-right: 0.5px solid rgba(255, 255, 255, 0.09); }
.hk25 .hk25-seal-panel span { font-size: 10.5px; color: rgba(226, 218, 255, 0.6); overflow-wrap: anywhere; }
.hk25 .hk25-seal .hk25-mask i { background: linear-gradient(160deg, #ffffff, #c9b8ff); }
.hk25 .hk25-seal-error {
  margin-top: 12px; padding: 8px 12px; border-radius: 12px;
  font-size: 12px; line-height: 1.45; color: #ffc2cb;
  background: rgba(224, 52, 74, 0.16); border: 0.5px solid rgba(255, 140, 160, 0.25);
}
.hk25 .hk25-seal-cta {
  margin-top: 14px; width: 100%; min-height: 46px; padding: 8px 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 14px; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center;
  color: #24116a;
  background: linear-gradient(180deg, #ffffff 0%, #ece6ff 100%);
  border: 0.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 18px -6px rgba(10, 4, 40, 0.55);
  transition: background-color .18s ease;
}
.hk25 .hk25-seal-cta:active { background: #e3dbff; }
.hk25 .hk25-seal-cta:disabled { font-size: 13px; color: rgba(36, 17, 106, 0.75); }
.hk25 .hk25-seal-cta:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* ── Reduced motion: everything above becomes static ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hk25 .hk25-page *,
  .hk25 .hk25-page *::before,
  .hk25 .hk25-page *::after { animation: none !important; transition: none !important; }
}
