/* ==========================================================================
   SOLON — the ecosystem gateway: home page sections and the product page.

   Loaded after blackgold.css and built from its tokens: black ground, warm
   white type, gold for tags, status and the one primary action. Every rule
   is prefixed .ek- so it cannot reach the game pages.
   ========================================================================== */

.page-eco-home #aifx, .page-product #aifx { opacity: .55; }
main { position: relative; z-index: 1; }

/* ---------- Section frame ---------- */
.ek-sec { padding: 88px 0; scroll-margin-top: 64px; }
.ek-sec + .ek-sec { border-top: 1px solid rgba(255, 255, 255, .05); }
.ek-sec-head { margin-bottom: 34px; }
.ek-sec-head .hero-kicker { color: var(--gold); opacity: .85; margin-bottom: 14px; }
.ek-sec-head h2 {
  margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.15; color: var(--text);
}
.ek-sec-head p { margin: 12px 0 0; font-size: 17px; color: var(--muted); max-width: 56ch; }
.ek-sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ek-sec-foot { margin-top: 34px; text-align: center; }

/* ---------- Hero ---------- */
.ek-hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
  padding: 80px 0; text-align: center;
}
.ek-hero .shell { position: relative; z-index: 2; }
.ek-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7.2vw, 96px); font-weight: 850;
  line-height: 1.06; letter-spacing: -.05em;
  background: linear-gradient(180deg, #FFF8EA 0%, #F4EEE3 45%, #E9B76A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[lang="zh-CN"] .ek-hero h1 { letter-spacing: -.01em; line-height: 1.18; white-space: nowrap; font-size: clamp(26px, 7.6vw, 100px); }
.ek-hero-sub { margin: 30px auto 0; max-width: 40ch; }
.ek-hero-sub b { display: block; font-size: clamp(17px, 1.7vw, 22px); font-weight: 750; color: var(--gold); letter-spacing: .02em; }
.ek-hero-sub span { display: block; margin-top: 10px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.ek-hero-cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ek-hero-cta .btn { min-width: 190px; justify-content: center; }

/* The moving picture behind the headline: slow orbits around a warm core,
   over the network field painted by SOLON.aiField(). */
.ek-hero-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ek-hero-fx b {
  position: absolute; left: 50%; top: 50%;
  width: min(70vw, 760px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 157, 1, .16) 0%, rgba(255, 157, 1, .05) 38%, transparent 66%);
  animation: ekBreathe 7s ease-in-out infinite;
}
.ek-hero-fx i {
  position: absolute; left: 50%; top: 50%;
  aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 170, 50, .13);
  transform: translate(-50%, -50%);
}
.ek-hero-fx i::before {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 14px 2px rgba(255, 157, 1, .6);
}
.ek-hero-fx i:nth-child(1) { width: min(46vw, 480px); animation: ekSpin 26s linear infinite; }
.ek-hero-fx i:nth-child(2) { width: min(68vw, 720px); animation: ekSpin 40s linear infinite reverse; border-style: dashed; }
.ek-hero-fx i:nth-child(3) { width: min(92vw, 980px); animation: ekSpin 60s linear infinite; opacity: .7; }
@keyframes ekSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ekBreathe { 50% { opacity: .6; transform: translate(-50%, -50%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ek-hero-fx * { animation: none !important; } }

/* ---------- Product cards (shared pieces) ---------- */
.ek-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: #0E0B08; color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.ek-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .45), 0 24px 50px -30px rgba(255, 157, 1, .45); }
.ek-art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0C0A07; }
.ek-art > svg, .ek-art > img, .ek-art > video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.ek-card:hover .ek-art > svg, .ek-card:hover .ek-art > img, .ek-card:hover .ek-art > video { transform: scale(1.05); }
.ek-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.ek-link { color: inherit; }
.ek-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ek-id { display: flex; flex-direction: column; min-width: 0; }
.ek-name { font-size: 18px; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.ek-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); opacity: .85; margin-top: 2px; }
.ek-desc { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.ek-more { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 750; color: var(--gold); letter-spacing: .02em; }

.ek-logo {
  flex: none; width: 42px; height: 42px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  background: #16110A; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.ek-logo img { width: 100%; height: 100%; object-fit: cover; }
.ek-logo.lettered {
  font-size: 19px; font-weight: 850; color: #140E05;
  background: linear-gradient(150deg, #fff 0%, var(--ac) 60%);
  box-shadow: 0 6px 18px -8px var(--ac);
}

.ek-st {
  display: inline-block; padding: 4px 9px; border-radius: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; white-space: nowrap;
}
.ek-art .ek-st { position: absolute; top: 12px; left: 12px; z-index: 2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ek-st.st-live { color: #1A0F00; background: var(--gold); }
.ek-st.st-new { color: #fff; background: linear-gradient(135deg, #ff6a3d, #ff2e7a); }
.ek-st.st-soon { color: var(--text); background: rgba(20, 16, 10, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* ---------- Featured ---------- */
.ek-feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ek-feat .ek-art { aspect-ratio: 16 / 9; }
.ek-feat .ek-body { padding: 22px 26px 26px; gap: 14px; }
.ek-feat .ek-name { font-size: 22px; }
.ek-feat .ek-logo { width: 50px; height: 50px; border-radius: 14px; }
.ek-feat .ek-desc { font-size: 15.5px; }
.ek-feat .ek-go { margin-top: auto; align-self: flex-start; }
/* The first featured product leads: full width, picture beside the text. */
.ek-feat:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ek-feat:first-child .ek-art { aspect-ratio: auto; min-height: 420px; }
.ek-feat:first-child .ek-body { justify-content: center; padding: 44px 48px; gap: 18px; }
.ek-feat:first-child .ek-name { font-size: clamp(26px, 2.6vw, 36px); }
.ek-feat:first-child .ek-logo { width: 60px; height: 60px; border-radius: 16px; font-size: 24px; }
.ek-feat:first-child .ek-desc { font-size: 18px; }
.ek-feat:first-child .ek-go { margin-top: 10px; }

/* ---------- All Ecosystem ---------- */
.ek-search { margin: 0; width: min(100%, 380px); height: 50px; }
.ek-filter { margin-bottom: 24px; }
.ek-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ek-loadmore { margin-top: 30px; text-align: center; }
.ek-loadmore:empty { display: none; }
.ek-loadmore .btn { min-width: 200px; justify-content: center; }

/* ---------- Why SOLON ---------- */
.ek-why-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.ek-why-top .hero-kicker { color: var(--gold); opacity: .85; margin-bottom: 14px; }
.ek-why-top h2 { margin: 0; font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.ek-why-text p { margin: 0 0 14px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.ek-why-text p:last-child { margin: 0; color: var(--text); }
.ek-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ek-why-card {
  padding: 32px 30px 34px; border-radius: 18px;
  background: linear-gradient(170deg, rgba(40, 30, 16, .55), rgba(14, 11, 7, .8));
  box-shadow: inset 0 0 0 1px rgba(255, 170, 50, .12);
  transition: box-shadow .3s, transform .3s;
}
.ek-why-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .45); }
.ek-why-card .no, .ek-steps .no {
  display: block; font-size: 14px; font-weight: 800; letter-spacing: .16em;
  background: var(--g-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ek-why-card h3 { margin: 18px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ek-why-card p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Roadmap ---------- */
.ek-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.ek-steps li {
  position: relative; padding: 30px 28px 32px; border-radius: 18px;
  background: #0E0B08; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
/* An arrow from each step to the next. */
.ek-steps li:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: -15px; z-index: 2;
  width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #1A0F00;
  background: var(--gold);
}
.ek-steps h3 { margin: 16px 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ek-steps p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.ek-steps small { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--gold-light); }
.ek-road-end {
  margin: 56px 0 0; text-align: center;
  font-size: clamp(26px, 3.4vw, 44px); font-weight: 850; line-height: 1.3; letter-spacing: -.03em;
  background: var(--g-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* The Chinese line reads as one row at every width. */
:root[lang="zh-CN"] .ek-road-end { white-space: nowrap; font-size: clamp(20px, 5.6vw, 52px); letter-spacing: 0; }

/* ---------- Partners ---------- */
.ek-partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ek-pt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 120px; padding: 18px; border-radius: 16px; text-align: center;
  background: #0E0B08; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  color: var(--muted); font-size: 14px; font-weight: 650;
  transition: box-shadow .25s, color .25s;
}
.ek-pt img { max-width: 70%; max-height: 48px; object-fit: contain; filter: grayscale(1) brightness(1.4); transition: filter .25s; }
a.ek-pt:hover { box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .45); color: var(--text); }
a.ek-pt:hover img { filter: none; }
.ek-pt.open { background: transparent; box-shadow: none; border: 1px dashed rgba(255, 255, 255, .14); color: var(--dim); }
.ek-pt.open:hover { border-color: rgba(255, 157, 1, .5); color: var(--gold); box-shadow: none; }
.ek-pt-plus { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 300; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .35); }

/* ---------- Join ---------- */
.ek-join-box {
  position: relative; overflow: hidden;
  padding: 72px 32px; border-radius: 26px; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 157, 1, .18), transparent 70%), linear-gradient(170deg, #1B140B, #0C0906);
  box-shadow: inset 0 0 0 1px rgba(255, 170, 50, .22);
}
.ek-join-box h2 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 850; letter-spacing: -.035em; }
.ek-join-box p { margin: 16px auto 0; font-size: 18px; color: var(--muted); max-width: 40ch; }
.ek-join-box .btn { margin-top: 32px; min-width: 210px; justify-content: center; }

/* ---------- Product page ---------- */
.ek-dt { padding: 36px 0 90px; }
.ek-back { display: inline-block; margin-bottom: 26px; font-size: 14px; font-weight: 650; color: var(--muted); }
.ek-back:hover { color: var(--gold); }
.ek-dt-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.ek-dt-head .ek-logo { width: 72px; height: 72px; border-radius: 20px; font-size: 30px; }
.ek-dt-name { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 850; letter-spacing: -.035em; line-height: 1.1; }
.ek-dt-cat { margin-top: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ek-dt-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ek-dt-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: #0C0A07;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 70px -40px rgba(255, 157, 1, .4); }
.ek-dt-visual > * { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.ek-dt-side { padding: 28px; border-radius: 22px; background: #0E0B08; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.ek-dt-h { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.ek-dt-about { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.ek-dt-note { margin: 14px 0 0; font-size: 14px; color: var(--gold-light); }
.ek-dt-facts { margin: 24px 0 0; display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.ek-dt-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; background: #0E0B08; }
.ek-dt-facts dt { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ek-dt-facts dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); text-align: right; }
.ek-dt-links { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ek-dt-links .btn { justify-content: center; }
.ek-dt-more { margin-top: 72px; }
.ek-missing { padding: 80px 0; text-align: center; color: var(--muted); font-size: 17px; }
.ek-missing .btn { margin-top: 20px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .ek-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ek-sec { padding: 64px 0; }
  .ek-feat:first-child { grid-template-columns: 1fr; }
  .ek-feat:first-child .ek-art { min-height: 0; aspect-ratio: 16 / 10; }
  .ek-feat:first-child .ek-body { padding: 26px 24px 28px; }
  .ek-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-why-top { grid-template-columns: 1fr; gap: 20px; }
  .ek-why-grid, .ek-steps { grid-template-columns: 1fr; }
  .ek-steps li:not(:last-child)::after { content: "↓"; top: auto; bottom: -15px; right: 50%; margin: 0 -14px 0 0; }
  .ek-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ek-dt-grid { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .ek-hero { min-height: calc(100svh - var(--nav-h)); padding: 56px 0 64px; }
  .ek-hero-sub { margin-top: 22px; }
  .ek-hero-cta { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .ek-hero-cta .btn { min-width: 0; }
  .ek-sec { padding: 52px 0; }
  .ek-sec-head { margin-bottom: 24px; }
  .ek-sec-head p { font-size: 15.5px; }
  .ek-search { width: 100%; }
  .ek-feat-grid { grid-template-columns: 1fr; gap: 16px; }
  .ek-feat .ek-body, .ek-feat:first-child .ek-body { padding: 20px 18px 22px; }
  .ek-feat .ek-go { align-self: stretch; justify-content: center; }
  .ek-grid { gap: 10px; }
  .ek-body { padding: 12px 12px 14px; gap: 8px; }
  .ek-head { gap: 9px; }
  .ek-logo { width: 32px; height: 32px; border-radius: 9px; }
  .ek-logo.lettered { font-size: 15px; }
  .ek-name { font-size: 14.5px; }
  .ek-cat { font-size: 9.5px; letter-spacing: .06em; }
  .ek-desc { font-size: 12.5px; line-height: 1.5; }
  .ek-feat .ek-desc { font-size: 15px; }
  .ek-more { font-size: 12.5px; }
  .ek-art .ek-st { top: 8px; left: 8px; padding: 3px 7px; font-size: 9px; }
  .ek-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -15px 18px; padding: 0 15px; }
  .ek-filter::-webkit-scrollbar { display: none; }
  .ek-filter button { flex: none; }
  .ek-why-text p { font-size: 16px; }
  .ek-why-card, .ek-steps li { padding: 24px 22px 26px; }
  .ek-road-end { margin-top: 40px; }
  .ek-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ek-pt { min-height: 96px; }
  .ek-join-box { padding: 48px 20px; border-radius: 20px; }
  .ek-join-box p { font-size: 16px; }
  .ek-join-box .btn { width: 100%; min-width: 0; }
  .ek-dt { padding: 22px 0 60px; }
  .ek-dt-head .ek-logo { width: 56px; height: 56px; border-radius: 16px; font-size: 24px; }
  .ek-dt-visual { border-radius: 16px; }
  .ek-dt-side { padding: 20px; }
  .ek-dt-more { margin-top: 48px; }
}

/* ==========================================================================
   My Wallet and Admin pages (.wl-)
   ========================================================================== */
.wl { padding: 40px 0 90px; }
/* Wallet and admin pages toggle whole blocks with the hidden attribute;
   component display rules (.btn is flex) must not bring them back. */
.page-account [hidden] { display: none !important; }
.wl-h { margin: 0 0 24px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 850; letter-spacing: -.035em; }
.wl-card {
  margin-bottom: 18px; padding: 26px 28px; border-radius: 20px;
  background: #0E0B08; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.wl-card h2 { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.wl-sub { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.wl-note { color: var(--dim); font-size: 13px; }
.wl-warn { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.6;
  color: var(--gold-light); background: rgba(255, 157, 1, .07); box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .22); }
.wl-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.wl-signin { text-align: center; padding: 48px 28px; }
.wl-signin p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; line-height: 1.7; }
.wl-signin .wl-row { justify-content: center; }

.wl-balance { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: radial-gradient(500px 220px at 0% 0%, rgba(255, 157, 1, .16), transparent 70%), #0E0B08;
  box-shadow: inset 0 0 0 1px rgba(255, 170, 50, .22); }
.wl-lbl { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.wl-amt { display: flex; align-items: baseline; gap: 10px; }
.wl-amt b { font-size: clamp(34px, 4.6vw, 52px); font-weight: 850; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: var(--g-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl-amt span { color: var(--muted); font-weight: 750; letter-spacing: .06em; }
.wl-addr { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.wl-addr code, .wl-code, .wl-copy code, .wl-facts code, .wl-full { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text); word-break: break-all; }

.wl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.wl-grid .wl-card { margin-bottom: 18px; }
.wl-field { margin-top: 16px; }
.wl-copy { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wl-copy code { flex: 1; min-width: 0; }
.wl-facts { margin: 14px 0 0; display: grid; gap: 8px; }
.wl-facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.wl-facts dt { color: var(--dim); }
.wl-facts dd { margin: 0; text-align: right; min-width: 0; }
.wl-input { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 8px 0 16px; margin-bottom: 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wl-input:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .55); }
.wl-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wl-input span { color: var(--dim); font-weight: 750; font-size: 13px; padding-right: 8px; }
.wl-input button { border: 0; border-radius: 8px; padding: 7px 12px; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 800;
  color: #1A0F00; background: var(--gold); }
.wl-card > .btn, .wl-field > .btn { width: 100%; justify-content: center; margin-top: 6px; }

.wl-tabs { margin-bottom: 8px; }
.wl-rec { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px;
  border-top: 1px solid rgba(255, 255, 255, .06); }
.wl-rec:first-child { border-top: 0; }
.wl-rec-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wl-rec-main b, .wl-rec-amt b { font-size: 15px; font-weight: 750; }
.wl-rec-sub { color: var(--dim); font-size: 12.5px; }
.wl-rec-sub a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .2); }
.wl-rec-amt { text-align: right; display: flex; flex-direction: column; gap: 3px; flex: none; }
.wl-rec-amt.pos b { color: #7ee2a8; }
.wl-rec-amt.neg b { color: var(--text); }
.wl-empty { margin: 0; padding: 26px 0; text-align: center; color: var(--dim); }
.wl-more { margin-top: 14px; text-align: center; }
.wl-st { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.wl-st.st-pending { color: var(--gold-light); background: rgba(255, 157, 1, .1); box-shadow: inset 0 0 0 1px rgba(255, 157, 1, .3); }
.wl-st.st-paid { color: #7ee2a8; background: rgba(126, 226, 168, .08); box-shadow: inset 0 0 0 1px rgba(126, 226, 168, .3); }
.wl-st.st-rejected { color: var(--muted); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.wl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.wl-stat { padding: 16px 18px; border-radius: 16px; background: #0E0B08; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.wl-stat span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.wl-stat b { display: block; margin-top: 6px; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wl-admin { align-items: flex-start; }
.wl-admin-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.wl-tx { flex: 1 1 320px; min-width: 0; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; outline: 0;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.wl-admin .wl-full { display: block; margin-top: 4px; user-select: all; }

@media (max-width: 900px) {
  .wl-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 600px) {
  .wl { padding: 24px 0 60px; }
  .wl-card { padding: 20px 18px; border-radius: 16px; }
  .wl-balance .wl-row { width: 100%; }
  .wl-rec { gap: 10px; }
  .wl-rec-main b, .wl-rec-amt b { font-size: 14px; }
  .wl-rec-sub { font-size: 11.5px; }
  .wl-facts > div { flex-direction: column; gap: 2px; }
  .wl-facts dd { text-align: left; }
}
