/* i5Yami · Fibertime 5G P2P Funding — scoped styles (everything lives under .i5y) */
.i5y {
  --ink: #0a0e12;
  --ink-2: #121820;
  --ink-3: #1b2430;
  --line-d: rgba(255, 255, 255, 0.12);
  --paper: #f7f3ea;
  --paper-2: #efe9db;
  --card: #ffffff;
  --text: #14181d;
  --muted: #5b6470;
  --line: #e3dccb;
  --amber: #ffb800;
  --amber-2: #ffd04d;
  --amber-deep: #8a5a00;
  --ok: #17a06a;
  --ok-bg: #e3f6ec;
  --bad: #d63a40;
  --bad-bg: #fde8e9;
  --warn-bg: #fff4d1;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 24, 29, 0.06), 0 12px 32px -12px rgba(20, 24, 29, 0.18);
  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.i5y--embed { width: 100vw; margin-left: calc(50% - 50vw); }
.i5y *, .i5y *::before, .i5y *::after { box-sizing: border-box; }
:where(.i5y) h1, :where(.i5y) h2, :where(.i5y) h3, :where(.i5y) h4, :where(.i5y) p, :where(.i5y) ul, :where(.i5y) ol, :where(.i5y) figure { margin: 0; padding: 0; }
:where(.i5y) ul, :where(.i5y) ol { list-style: none; }
:where(.i5y) a { color: inherit; text-decoration: none; }
:where(.i5y) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.i5y) input, :where(.i5y) select, :where(.i5y) textarea { font: inherit; color: inherit; }
:where(.i5y) img { max-width: 100%; display: block; }
.i5y :focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.i5y .y-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.i5y .y-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.y-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
html:has(.i5y) { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.i5y-landing-body { margin: 0; background: #f7f3ea; }

/* ---------- buttons ---------- */
.y-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 14px; line-height: 1.1;
  white-space: nowrap; transition: transform 0.15s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.y-btn:active { transform: scale(0.97); }
.y-btn--primary { background: var(--amber); color: #1a1300; box-shadow: 0 6px 20px -6px rgba(255, 184, 0, 0.65); }
.y-btn--primary:hover { background: var(--amber-2); }
.y-btn--dark { background: var(--ink); color: #fff; }
.y-btn--dark:hover { background: var(--ink-3); }
.y-btn--ghost { border: 1.5px solid var(--line); background: var(--card); color: var(--text); }
.y-btn--ghost:hover { border-color: #cfc5ab; background: #fffdf8; }
.y-btn--ghost-d { border: 1.5px solid var(--line-d); color: #fff; }
.y-btn--ghost-d:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.y-btn--ok { background: var(--ok); color: #fff; }
.y-btn--ok:hover { background: #128a58; }
.y-btn--bad { background: var(--bad-bg); color: var(--bad); }
.y-btn--bad:hover { background: #fbd3d5; }
.y-btn--sm { padding: 8px 12px; font-size: 12px; border-radius: 9px; }
.y-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.y-link { font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.y-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 18, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); color: #fff; }
.admin-bar .y-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .y-header { top: 46px; } }
.y-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.y-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.y-brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: #1a1300; display: grid; place-items: center; font-size: 14px; font-weight: 800; position: relative; }
.y-brand__tag { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--amber); border: 1px solid rgba(255, 184, 0, 0.4); padding: 2px 8px; border-radius: 99px; }
.y-nav { display: none; gap: 26px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.y-nav a, .y-nav button { transition: color 0.15s; }
.y-nav a:hover, .y-nav button:hover { color: #fff; }
.y-header__act { display: flex; align-items: center; gap: 8px; }
.y-icon-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.75); border: 1px solid var(--line-d); }
.y-icon-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.y-icon-btn svg { width: 18px; height: 18px; }
.y-admin-toggle { font-size: 12px; font-weight: 700; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-d); color: #fff; display: none; align-items: center; gap: 6px; }
.y-admin-toggle[aria-pressed='true'] { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .y-nav { display: flex; } .y-admin-toggle { display: inline-flex; } }

/* ---------- hero ---------- */
.y-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 56px 0 0; isolation: isolate; }
.y-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 480px at 85% 10%, rgba(255, 184, 0, 0.22), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(23, 160, 106, 0.16), transparent 60%); }
.y-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 72%); }
.y-hero__grid { display: grid; gap: 40px; align-items: center; padding-bottom: 56px; }
@media (min-width: 960px) { .y-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } .y-hero { padding-top: 76px; } }
.y-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.y-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.y-eyebrow--dark { color: var(--amber-deep); }
.y-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #3be08f; box-shadow: 0 0 0 0 rgba(59, 224, 143, 0.7); animation: y-ping 1.8s infinite; display: inline-block; }
@keyframes y-ping { 70% { box-shadow: 0 0 0 10px rgba(59, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 224, 143, 0); } }
.y-h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(38px, 6.2vw, 74px); margin: 18px 0 20px; text-wrap: balance; }
.y-h1 em { font-style: normal; color: var(--amber); position: relative; white-space: nowrap; }
.y-h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.12em; background: var(--amber); opacity: 0.35; border-radius: 4px; }
.y-lead { color: rgba(255, 255, 255, 0.74); font-size: 17px; max-width: 580px; }
.y-lead strong { color: #fff; }
.y-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.y-numbox { margin-top: 30px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; max-width: 580px; }
.y-numbox small { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 700; }
.y-numbox__num { font-family: var(--mono); font-weight: 700; font-size: 26px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; }
.y-copy { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.y-copy:hover { background: rgba(255, 255, 255, 0.2); }
.y-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 620px; }
.y-chip { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-d); color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 7px; }
.y-chip i { width: 8px; height: 8px; border-radius: 50%; }

.y-heroviz { position: relative; padding: 26px 0 8px; }
.y-rings { position: absolute; right: -40px; top: -30px; width: 360px; height: 360px; pointer-events: none; }
.y-rings span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 184, 0, 0.55); animation: y-ring 4.8s ease-out infinite; opacity: 0; }
.y-rings span:nth-child(2) { animation-delay: 1.6s; }
.y-rings span:nth-child(3) { animation-delay: 3.2s; }
@keyframes y-ring { 0% { transform: scale(0.15); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.y-photo { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-d); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transform: rotate(1.2deg); }
.y-photo img { width: 100%; height: 420px; object-fit: cover; object-position: 35% center; }
.y-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 14, 18, 0.88)); }
.y-photo__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.y-photo__cap b { display: block; font-family: var(--display); font-size: 20px; color: #fff; letter-spacing: -0.01em; margin-bottom: 2px; }
.y-float { position: absolute; z-index: 3; left: -14px; top: 6px; background: #fff; color: var(--text); border-radius: 18px; padding: 14px 16px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6); display: flex; gap: 14px; align-items: flex-end; transform: rotate(-2deg); }
.y-float small { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.y-float strong { font-family: var(--mono); font-size: 22px; line-height: 1.1; }
@media (max-width: 520px) { .y-float { left: 6px; } .y-photo img { height: 340px; } .y-rings { right: -120px; } }

/* signal bars */
.y-bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.y-bars b { width: 9px; border-radius: 3px; background: #e6dfcd; display: block; transition: background 0.4s, box-shadow 0.4s; }
.y-bars b:nth-child(1) { height: 28%; } .y-bars b:nth-child(2) { height: 46%; } .y-bars b:nth-child(3) { height: 64%; } .y-bars b:nth-child(4) { height: 82%; } .y-bars b:nth-child(5) { height: 100%; }
.y-bars b.on { background: var(--amber); box-shadow: 0 0 14px rgba(255, 184, 0, 0.7); }
.y-bars b.on.full { background: var(--ok); box-shadow: 0 0 14px rgba(23, 160, 106, 0.7); }
.y-bars b.pend { background: repeating-linear-gradient(135deg, #f1d58a, #f1d58a 3px, #fff3cf 3px, #fff3cf 6px); animation: y-pulse 1.6s infinite; }
@keyframes y-pulse { 50% { opacity: 0.45; } }
.y-bars--lg { height: 150px; gap: 12px; }
.y-bars--lg b { width: 36px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); }
.y-bars--lg b.pend { background: repeating-linear-gradient(135deg, rgba(255, 184, 0, 0.5), rgba(255, 184, 0, 0.5) 5px, rgba(255, 184, 0, 0.18) 5px, rgba(255, 184, 0, 0.18) 10px); }
.y-bars--mini { height: 18px; gap: 3px; } .y-bars--mini b { width: 5px; border-radius: 2px; }

/* ticker */
.y-ticker { border-top: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.03); overflow: hidden; white-space: nowrap; }
.y-ticker__track { display: inline-flex; gap: 44px; padding: 13px 0; animation: y-marquee 42s linear infinite; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.y-ticker:hover .y-ticker__track { animation-play-state: paused; }
.y-ticker__track span { display: inline-flex; align-items: center; gap: 9px; }
.y-ticker__track b { color: #fff; }
.y-ticker__track em { font-style: normal; font-family: var(--mono); color: var(--amber); font-weight: 700; }
@keyframes y-marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.y-sec { padding: 76px 0; }
.y-sec--alt { background: var(--paper-2); }
.y-sec__head { max-width: 720px; margin-bottom: 36px; }
.y-h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(30px, 4.4vw, 48px); margin: 12px 0 12px; text-wrap: balance; }
.y-sub { color: var(--muted); font-size: 16px; max-width: 640px; }
.y-sec__row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }

/* ---------- pool ---------- */
.y-pool { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.y-pool__top { background: var(--ink); color: #fff; padding: 30px; display: grid; gap: 28px; position: relative; overflow: hidden; }
.y-pool__top::before { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 184, 0, 0.22), transparent 65%); }
@media (min-width: 900px) { .y-pool__top { grid-template-columns: 1.3fr 0.7fr; align-items: center; padding: 40px; } }
.y-pool__title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.025em; line-height: 1.05; margin: 10px 0; }
.y-pool__meta { color: rgba(255, 255, 255, 0.7); font-size: 14px; max-width: 520px; }
.y-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.y-stat { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-d); border-radius: 14px; padding: 12px 16px; min-width: 120px; }
.y-stat small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.58); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.y-stat strong { font-family: var(--mono); font-size: 26px; font-weight: 700; line-height: 1.25; }
.y-stat strong span { font-size: 13px; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.y-tower { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-d); }
.y-tower__lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); text-align: center; }
.y-tower__lbl b { color: #fff; display: block; font-size: 15px; letter-spacing: 0; text-transform: none; }
.y-pool__body { padding: 30px; display: grid; gap: 30px; }
@media (min-width: 900px) { .y-pool__body { padding: 40px; } }
.y-clock { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; }
.y-clock strong { color: var(--amber-deep); }
.y-clock .ok { color: var(--ok); }
.y-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .y-slots { grid-template-columns: repeat(5, 1fr); } }
.y-slot { position: relative; border: 1.5px dashed #d8cfb8; border-radius: 16px; padding: 14px; background: #fffdf8; transition: transform 0.2s, border-color 0.2s; min-height: 108px; }
.y-slot:hover { transform: translateY(-2px); }
.y-slot__n { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.y-slot__name { font-weight: 800; margin-top: 8px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.y-slot__sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.y-slot--on { border-style: solid; border-color: var(--amber); background: linear-gradient(160deg, #fff8e0, #fff); }
.y-slot--pend { border-style: solid; border-color: #f1d58a; background: #fffaf0; }
.y-slot--next { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.18); }
.y-tick { width: 20px; height: 20px; color: var(--ok); }
.y-panel { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fffdf8; }
.y-panel h3 { font-family: var(--display); font-size: 20px; letter-spacing: -0.015em; font-weight: 800; }
.y-panel__head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.y-panel__head p { color: var(--muted); font-size: 13px; margin-top: 2px; max-width: 520px; }
.y-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; letter-spacing: 0.02em; white-space: nowrap; }
.y-pill--ok { background: var(--ok-bg); color: #0d7a4e; }
.y-pill--warn { background: var(--warn-bg); color: var(--amber-deep); }
.y-pill--bad { background: var(--bad-bg); color: var(--bad); }
.y-pill--mute { background: #ece7d8; color: var(--muted); }
.y-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* forms */
.y-form { display: grid; gap: 14px; }
.y-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .y-row--2 { grid-template-columns: 1fr 1fr; } .y-row--3 { grid-template-columns: 1.4fr 1fr auto; align-items: end; } }
.y-field label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #3a424d; margin-bottom: 6px; }
.y-field label span { float: right; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); cursor: pointer; }
.y-input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d9d0b9; background: #fff; font-size: 15px; transition: border-color 0.15s, box-shadow 0.15s; }
.y-input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.22); }
.y-input.is-bad { border-color: var(--bad); }
textarea.y-input { min-height: 70px; resize: vertical; }
.y-err { color: var(--bad); font-size: 12px; font-weight: 600; margin-top: 5px; display: none; }
.y-field.has-err .y-err { display: block; }
.y-field.has-err .y-input { border-color: var(--bad); }
.y-note { padding: 11px 14px; border-radius: 12px; font-size: 13px; background: var(--ok-bg); color: #0d6a45; display: flex; gap: 8px; align-items: flex-start; }
.y-note--warn { background: var(--warn-bg); color: #6b4700; }

/* ledger */
.y-ledger { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.y-ledger table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.y-ledger th { text-align: left; padding: 11px 14px; background: var(--paper); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 800; border-bottom: 1px solid var(--line); }
.y-ledger td { padding: 13px 14px; border-bottom: 1px solid #f0ead9; vertical-align: top; }
.y-ledger tr:last-child td { border-bottom: 0; }
.y-ledger td small { display: block; color: var(--muted); font-size: 11px; }
.y-ledger .y-code { font-family: var(--mono); font-size: 12px; background: var(--paper); padding: 2px 7px; border-radius: 6px; }

/* directory */
.y-tabs { display: inline-flex; padding: 4px; background: #e8e1cf; border-radius: 12px; gap: 2px; flex-wrap: wrap; }
.y-tab { padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #4b5360; }
.y-tab[aria-pressed='true'] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.y-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .y-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .y-grid { grid-template-columns: repeat(3, 1fr); } }
.y-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; text-align: left; }
.y-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.y-card--on { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.18); }
.y-card h3 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.y-card__loc { font-size: 13px; color: var(--muted); }
.y-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.y-card--new { border-style: dashed; background: transparent; align-items: flex-start; justify-content: center; }
.y-card--new:hover { background: #fffdf8; }
.y-plus { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--amber); display: grid; place-items: center; font-size: 26px; font-weight: 700; }

/* how it works */
.y-how { display: grid; gap: 34px; align-items: start; }
@media (min-width: 960px) { .y-how { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.y-steps { display: grid; gap: 12px; counter-reset: s; }
.y-step { border: 1.5px solid var(--line); border-radius: 18px; background: var(--card); text-align: left; width: 100%; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.y-step__n { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; background: var(--paper-2); font-family: var(--mono); font-weight: 800; display: grid; place-items: center; color: var(--amber-deep); transition: background 0.2s, color 0.2s; }
.y-step h3 { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; align-self: center; }
.y-step p { color: var(--muted); font-size: 14px; display: none; grid-column: 2; }
.y-step__tag { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--amber-deep); display: none; grid-column: 2; }
.y-step[aria-expanded='true'] { border-color: var(--amber); box-shadow: 0 10px 28px -14px rgba(255, 184, 0, 0.7); }
.y-step[aria-expanded='true'] .y-step__n { background: var(--amber); color: #1a1300; }
.y-step[aria-expanded='true'] p, .y-step[aria-expanded='true'] .y-step__tag { display: block; }
.y-router { border-radius: 24px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.y-router img { width: 100%; height: 280px; object-fit: cover; }
.y-router__b { padding: 20px 22px 22px; }
.y-split { margin-top: 18px; border: 1px solid var(--line-d); border-radius: 16px; padding: 18px; background: rgba(255, 255, 255, 0.05); }
.y-split__r { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.y-split__v { font-family: var(--mono); font-weight: 700; color: var(--amber); font-size: 30px; }
.y-split input[type='range'] { width: 100%; accent-color: var(--amber); height: 28px; }
.y-split__s { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, 0.5); }

/* CTA band + footer */
.y-cta { background: var(--amber); color: #1a1300; border-radius: 28px; padding: 44px 30px; display: grid; gap: 22px; align-items: center; position: relative; overflow: hidden; }
.y-cta::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, 0.22); }
@media (min-width: 820px) { .y-cta { grid-template-columns: 1.4fr auto; padding: 54px; } }
.y-cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.y-cta p { margin-top: 8px; font-size: 15px; max-width: 520px; opacity: 0.82; }
.y-foot { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 44px 0 90px; font-size: 13px; margin-top: 76px; }
.y-foot__top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid var(--line-d); margin-bottom: 20px; }
.y-foot__links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.y-foot__links a:hover, .y-foot__links button:hover { color: var(--amber); }

/* mobile bar */
.y-mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 10px; padding: 10px; background: rgba(10, 14, 18, 0.94); backdrop-filter: blur(12px); border-radius: 18px; border: 1px solid var(--line-d); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55); }
.y-mbar .y-btn { flex: 1; }
@media (min-width: 900px) { .y-mbar { display: none; } }

/* admin */
.y-admin { background: var(--ink); color: #fff; border-radius: 26px; padding: 30px; display: grid; gap: 26px; border: 1px solid var(--ink-3); }
.y-admin h2 { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.y-admin__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.y-admin__sec h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; color: var(--amber); margin-bottom: 12px; }
.y-q { display: grid; gap: 10px; }
.y-q__i { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-d); border-radius: 16px; padding: 16px; display: grid; gap: 12px; }
@media (min-width: 760px) { .y-q__i { grid-template-columns: 1fr auto; align-items: center; } }
.y-q__i small { color: rgba(255, 255, 255, 0.58); display: block; }
.y-q__i .y-code { font-family: var(--mono); background: rgba(255, 255, 255, 0.1); padding: 2px 8px; border-radius: 6px; font-size: 12px; word-break: break-all; }
.y-admin .y-input { background: rgba(255, 255, 255, 0.07); border-color: var(--line-d); color: #fff; }
.y-admin .y-field label { color: rgba(255, 255, 255, 0.7); }
.y-admin .y-ledger { background: transparent; border-color: var(--line-d); }
.y-admin .y-ledger th { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6); border-color: var(--line-d); }
.y-admin .y-ledger td { border-color: var(--line-d); }
.y-admin .y-ledger .y-code { background: rgba(255, 255, 255, 0.1); }
.y-empty { text-align: center; padding: 26px; border: 1px dashed var(--line-d); border-radius: 16px; color: rgba(255, 255, 255, 0.6); }

/* modal */
.y-modal { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 14, 18, 0.72); backdrop-filter: blur(5px); padding: 0; animation: y-fade 0.2s; }
@media (min-width: 640px) { .y-modal { align-items: center; padding: 24px; } }
@keyframes y-fade { from { opacity: 0; } }
.y-modal__box { background: var(--paper); width: 100%; max-width: 580px; max-height: 94vh; overflow-y: auto; border-radius: 26px 26px 0 0; animation: y-up 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
@media (min-width: 640px) { .y-modal__box { border-radius: 26px; } }
@keyframes y-up { from { transform: translateY(40px); opacity: 0; } }
.y-modal__head { padding: 24px 26px 8px; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.y-modal__head h2 { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin-top: 8px; }
.y-modal__x { width: 36px; height: 36px; border-radius: 10px; background: #e8e1cf; display: grid; place-items: center; flex: none; font-size: 20px; line-height: 1; }
.y-modal__body { padding: 14px 26px 28px; display: grid; gap: 16px; }
.y-seg { display: grid; grid-template-columns: 1fr 1fr; background: #e8e1cf; padding: 4px; border-radius: 13px; gap: 4px; }
.y-seg button { padding: 10px; border-radius: 10px; font-weight: 700; font-size: 13px; color: #4b5360; }
.y-seg button[aria-pressed='true'] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.y-vch { display: grid; gap: 8px; }
.y-vch label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.y-vch label:has(input:checked) { border-color: var(--amber); background: #fffaea; }
.y-vch input { position: absolute; opacity: 0; pointer-events: none; }
.y-vch label:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.y-vch__l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.y-vch__l b { display: block; font-size: 14px; line-height: 1.2; }
.y-vch__l small { color: var(--muted); font-size: 12px; display: block; line-height: 1.3; }
.y-vch__r { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfc5ab; flex: none; display: grid; place-items: center; }
.y-vch label:has(input:checked) .y-vch__r { border-color: var(--amber); background: var(--amber); box-shadow: inset 0 0 0 4px #fffaea; }
.y-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: 12px; flex: none; letter-spacing: -0.02em; }
.y-xfer { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 6px; }
.y-xfer .y-mono { font-size: 28px; font-weight: 700; letter-spacing: 0.03em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.y-xfer .y-copy { background: var(--ink); }
.y-done { text-align: center; padding: 18px 8px 6px; display: grid; gap: 10px; justify-items: center; }
.y-done__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; }
.y-done__ic svg { width: 32px; height: 32px; }
.y-done h3 { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.y-done p { color: var(--muted); font-size: 14px; max-width: 420px; }

/* toasts + confetti */
.y-toasts { position: fixed; z-index: 9999; right: 16px; bottom: 90px; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
@media (min-width: 900px) { .y-toasts { bottom: 20px; } }
.y-toast { pointer-events: auto; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55); border: 1px solid var(--line-d); display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; animation: y-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1); }
@keyframes y-in { from { transform: translateX(30px); opacity: 0; } }
.y-toast b { display: block; font-size: 13px; }
.y-toast span { font-size: 12px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; display: block; }
.y-toast__ic { width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 184, 0, 0.18); color: var(--amber); display: grid; place-items: center; font-size: 14px; }
.y-toast--ok .y-toast__ic { background: rgba(23, 160, 106, 0.25); color: #3be08f; }
.y-toast button { color: rgba(255, 255, 255, 0.5); font-size: 18px; line-height: 1; }
.y-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 9998; overflow: hidden; }
.y-confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: y-fall linear forwards; }
@keyframes y-fall { to { transform: translate3d(var(--dx), 105vh, 0) rotate(var(--rot)); opacity: 0.85; } }

/* reveal */
.y-rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.6s; }
.y-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .i5y *, .i5y *::before, .i5y *::after { animation: none !important; transition: none !important; }
  .y-rv { opacity: 1; transform: none; }
  html:has(.i5y) { scroll-behavior: auto; }
}

/* small screens */
@media (max-width: 560px) {
  .y-brand__tag { display: none; }
  .y-header__in { gap: 10px; }
  .y-wrap { padding: 0 16px; }
  .y-pool__top, .y-pool__body { padding: 22px 18px; }
  .y-modal__head { padding: 20px 18px 6px; } .y-modal__body { padding: 12px 18px 24px; }
}

.y-load { padding: 160px 20px; text-align: center; color: var(--muted); font-weight: 700; }
.y-admin .y-link { color: var(--amber); background: none; }
.y-admin .y-q__i small button { margin-left: 4px; }

.y-load { padding: 160px 20px; text-align: center; color: var(--muted); font-weight: 700; }
.y-admin .y-link { color: var(--amber); background: none; }
.y-admin .y-q__i small button { margin-left: 4px; }
