/* Subber — refined UI system for the mockups.
   Everything inside .mock-c is drawn at a fixed design size and scaled to fit (see ui.js). */

:root {
  --bg: #070708;
  --s0: #0A0A0C;
  --s1: #111114;
  --s2: #17171B;
  --s3: #202026;
  --ln: rgba(255, 255, 255, .07);
  --ln2: rgba(255, 255, 255, .11);
  --tx: #F5F5F6;
  --tx2: #A3A3AD;
  --tx3: #6C6C76;
  --red: #FF4458;
  --red2: #FF7382;
  --wine: #3A0B17;
  --vio: #B46CF8;
  --vio-a: #D877F7;
  --vio-b: #9558F6;
  --grn: #2BD46B;
  --ui: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: var(--ui); /* no monospace anywhere in the mockups (Oct 25): labels, counts and addresses all use Inter */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* ---------- scaling frame ---------- */
.mock { position: relative; width: 100%; }
.mock-c {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  font-family: var(--ui); color: var(--tx); font-size: 14px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss03';
  text-align: left; letter-spacing: -.005em;
}
.mock-c *, .mock-c *::before, .mock-c *::after { box-sizing: border-box; }
.mock-c img { display: block; }
.mock-c h3, .mock-c h4, .mock-c h5, .mock-c p { margin: 0; }
.mock-c b { font-weight: 600; }

/* ---------- primitives ---------- */
.i { width: 16px; height: 16px; flex: none; }
.ci { width: 14px; height: 14px; flex: none; }
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--s3); }
.vf { width: 14px; height: 14px; flex: none; color: #fff; }
.num { font-variant-numeric: tabular-nums; }
.mark { display: inline-block; height: 26px; aspect-ratio: 80 / 144; background: url(assets/logo.png) left center / auto 100% no-repeat; flex: none; }

.win {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: #0D0D10; border-radius: 20px;
  border: 1px solid var(--ln2);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 10px;
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
}
.btn .i { width: 15px; height: 15px; }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -8px rgba(255, 68, 88, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.white { background: #fff; color: #0B0B0D; }
.btn.ghost { border: 1px solid var(--ln2); color: #fff; }
.btn.sm { height: 32px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; }

.seg { display: flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--s1); border: 1px solid var(--ln); }
.seg span { height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 7px; font: 500 12px var(--mono); color: var(--tx3); }
.seg span.on { background: var(--s3); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

.sec-h { display: flex; align-items: center; justify-content: space-between; }
.sec-h h4 { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sec-h h4 .i { color: var(--red); }

.chain {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 9px;
  border-radius: 9px; background: var(--c); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.chain.ring { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.chain .ci { width: 14px; height: 14px; }
.cdot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.cdot .ci { width: 12px; height: 12px; }
.cdot.sol { background: #0B0B0D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cdot.sol svg { width: 13px; height: 13px; }

.stack { display: flex; }
.stack .av { width: 30px; height: 30px; border: 2px solid var(--s1); margin-left: -8px; }
.stack .av:first-child { margin-left: 0; }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill .i { width: 12px; height: 12px; }
.pill.boost { color: var(--red2); background: rgba(255, 68, 88, .12); }
.pill.ok { color: var(--grn); background: rgba(43, 212, 107, .1); }
.pill.vio { color: #D7A9FF; background: rgba(180, 108, 248, .14); }
.up { color: var(--grn); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.up::before { content: ''; border: 4px solid transparent; border-bottom: 5px solid currentColor; margin-top: -5px; }

/* ---------- sidebar ---------- */
.app { display: flex; }
.sb { width: 236px; flex: none; background: #09090B; border-right: 1px solid var(--ln); padding: 22px 14px 14px; display: flex; flex-direction: column; }
.sb-logo { height: 25px; width: auto; margin: 3px 9px 22px; align-self: flex-start; }
.sb-search { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 10px; background: var(--s1); border: 1px solid var(--ln); color: var(--tx3); font-size: 13px; margin-bottom: 14px; }
.sb-search kbd { margin-left: auto; font: 500 10.5px var(--mono); color: var(--tx3); border: 1px solid var(--ln2); border-radius: 5px; padding: 2px 5px; }
.sb nav { display: flex; flex-direction: column; gap: 2px; }
.sb nav a { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 10px; border-radius: 9px; color: var(--tx2); font-size: 13.5px; font-weight: 500; position: relative; }
.sb nav a .i { color: var(--tx3); }
.sb nav a.on { background: rgba(255, 255, 255, .06); color: #fff; }
.sb nav a.on .i { color: var(--red); }
.sb nav a em { margin-left: auto; font: 500 11px var(--mono); font-style: normal; color: var(--red2); background: rgba(255, 68, 88, .12); border-radius: 5px; padding: 1px 6px; }
.sb-label { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); padding: 22px 10px 8px; }
.sb-cta { margin-top: 18px; height: 38px; border-radius: 10px; background: var(--s2); border: 1px solid var(--ln2); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sb-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: var(--s1); border: 1px solid var(--ln); }
.sb-user img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.sb-user div { display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; }
.sb-user span { color: var(--tx3); font-size: 11.5px; }
.sb-user .i { margin-left: auto; color: var(--tx3); }

/* ---------- app: home ---------- */
.app-main { flex: 1; min-width: 0; padding: 24px 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden; }
.banner {
  position: relative; height: 212px; flex: none; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 130% at 50% -10%, #8E1F35 0%, #4A0E1D 42%, #1A070C 100%);
  border: 1px solid rgba(255, 68, 88, .2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(70% 90% at 50% 40%, #000, transparent); }
.banner > * { position: relative; }
.banner h3 { font-size: 30px; font-weight: 650; letter-spacing: -.035em; }
.banner p { color: rgba(255, 255, 255, .7); margin: 8px 0 18px; font-size: 14.5px; }
.orb { position: absolute !important; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 68, 88, .13); border: 1px solid rgba(255, 90, 110, .28); color: rgba(255, 150, 160, .95); backdrop-filter: blur(4px); }
.orb .ci { width: 16px; height: 16px; }
.orb.lg { width: 42px; height: 42px; padding: 0; overflow: hidden; border: 0; background: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); }
.orb.lg img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mock.in .orb { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); }

.tc-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tc { border-radius: 14px; background: var(--s1); border: 1px solid var(--ln); overflow: hidden; }
.tc img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; }
.tc-b { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.tc-b b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.tc-m { display: flex; align-items: center; justify-content: space-between; }

.app-low { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; }
.fl { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fl li { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px 0 12px; border-radius: 12px; background: var(--s1); border: 1px solid var(--ln); font-size: 13.5px; }
.fl .rk { width: 14px; font: 500 12px var(--mono); color: var(--tx3); }
.fl .av { width: 30px; height: 30px; }
.fl b { display: flex; align-items: center; gap: 6px; min-width: 150px; }
.fl b .ci { color: var(--tx3); width: 12px; }
.bar { flex: 1; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1E9E52, var(--grn)); }
.fl .pct { font: 500 12.5px var(--mono); color: var(--grn); width: 34px; text-align: right; }
.ms li b { min-width: 0; }
.ms .when { margin-left: auto; text-align: right; font-size: 12px; color: var(--tx3); line-height: 1.3; }
.ms .when strong { display: block; color: var(--tx); font-weight: 600; font-size: 12.5px; }

/* ---------- discover ---------- */
.dv { padding: 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.dv-top { display: flex; align-items: center; gap: 12px; }
.dv-top h3 { font-size: 22px; font-weight: 650; letter-spacing: -.03em; margin-right: auto; }
.select { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px 0 7px; border-radius: 10px; background: var(--s1); border: 1px solid rgba(255, 68, 88, .45); box-shadow: 0 0 0 4px rgba(255, 68, 88, .1); font-size: 13px; font-weight: 500; }
.select .lab { color: var(--tx3); }
.select > .i { color: var(--tx3); margin-left: 6px; width: 14px; }
.cats { display: flex; gap: 6px; }
.cats span { height: 30px; padding: 0 12px; border-radius: 99px; display: grid; place-items: center; font-size: 12.5px; font-weight: 500; color: var(--tx2); border: 1px solid var(--ln); }
.cats span.on { background: #fff; color: #0B0B0D; border-color: #fff; }
.dv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc { border-radius: 16px; background: var(--s1); border: 1px solid var(--ln); overflow: hidden; }
.cc-ban { position: relative; height: 132px; }
.cc-ban img { width: 100%; height: 100%; object-fit: cover; }
.cc-ban .cdot { position: absolute; top: 10px; left: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.cc-ban .rank { position: absolute; top: 10px; right: 10px; height: 22px; padding: 0 7px; border-radius: 6px; display: grid; place-items: center; font: 600 11px var(--mono); background: rgba(10, 10, 12, .7); backdrop-filter: blur(8px); }
.cc-b { padding: 14px 16px 16px; }
.cc-b b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.cc-b p { margin: 5px 0 14px !important; color: var(--tx2); font-size: 12.5px; line-height: 1.45; height: 36px; overflow: hidden; }
.cc-f { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ln); font-size: 12.5px; color: var(--tx2); }
.cc-f strong { color: #fff; font-weight: 600; }
.cc-f .pill { margin-left: auto; }
.dd {
  position: absolute; top: 74px; right: 30px; width: 232px; padding: 6px; border-radius: 14px;
  background: rgba(24, 24, 29, .92); backdrop-filter: blur(20px); border: 1px solid var(--ln2);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .8); z-index: 3;
}
.dd-s { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--ln); color: var(--tx3); font-size: 12.5px; }
.dd-s .i { width: 14px; }
.dd-i { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.dd-i.on { background: rgba(255, 255, 255, .06); }
.dd-i .n { margin-left: auto; font: 500 11.5px var(--mono); color: var(--tx3); }
.dd-i .ck { width: 15px; color: var(--red); margin-left: 6px; }

/* ---------- campaign builder ---------- */
.cmp { display: flex; flex-direction: column; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 26px 40px 0; }
.st i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.st i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--vio-a), var(--vio-b)); transform: scaleX(0); transform-origin: left; }
.st.done i::after { transform: none; }
.st.on i::after { transform: scaleX(.5); }
.mock.in .st.on i::after { animation: grow 1.2s var(--ease) .3s both; }
.st span { display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 500 11.5px var(--mono); letter-spacing: .02em; color: var(--tx3); }
.st.on span { color: #fff; }
.st.done span { color: var(--tx2); }
.st span .i { width: 12px; height: 12px; color: var(--vio); }
.cmp-body { flex: 1; padding: 30px 40px 0; }
.cmp-h h3 { font-size: 28px; font-weight: 650; letter-spacing: -.035em; }
.cmp-h p { margin-top: 8px !important; color: var(--tx2); font-size: 15px; max-width: 560px; line-height: 1.5; }
.cmp-h em { font-style: normal; color: #D7A9FF; }
.panel { margin-top: 24px; border-radius: 18px; background: var(--s1); border: 1px solid var(--ln); padding: 18px; }
.panel-h { display: flex; align-items: center; gap: 12px; height: 34px; }
.panel-h .stack { min-width: 0; }
.panel-h .stack .av { animation: pop .45s var(--spring) both; }
.panel-h .sel-n { font-size: 13.5px; color: var(--tx2); }
.panel-h .sel-n b { color: #fff; }
.panel-h a { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--tx2); }
.search { display: flex; align-items: center; gap: 10px; height: 44px; margin: 16px 0 12px; padding: 0 14px; border-radius: 12px; background: var(--s2); border: 1px solid var(--ln); color: var(--tx3); font-size: 14px; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.tabs span { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; color: var(--tx2); font-size: 13px; font-weight: 500; }
.tabs span .i { width: 14px; height: 14px; }
.tabs span.on { background: var(--s3); color: #fff; }
.tabs span.on .i { color: #FACC15; }
.clist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr { position: relative; display: flex; align-items: center; gap: 13px; height: 66px; padding: 0 16px 0 12px; border-radius: 13px; background: var(--s0); border: 1px solid var(--ln); transition: border-color .35s, background .35s, box-shadow .35s; }
.cr .av { width: 40px; height: 40px; }
.cr div { display: flex; flex-direction: column; line-height: 1.3; }
.cr div b { font-size: 14.5px; }
.cr div span { font-size: 12.5px; color: var(--tx3); }
.tg { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .35s, transform .35s var(--spring); position: relative; }
.tg .i { width: 14px; height: 14px; position: absolute; transition: opacity .25s, transform .35s var(--spring); }
.tg .c { opacity: 0; transform: scale(.4); }
.cr.sel { border-color: rgba(180, 108, 248, .65); background: linear-gradient(180deg, rgba(180, 108, 248, .1), rgba(180, 108, 248, .03)); box-shadow: 0 0 0 4px rgba(180, 108, 248, .08); }
.cr.sel .tg { background: linear-gradient(135deg, var(--vio-a), var(--vio-b)); transform: scale(1.06); }
.cr.sel .tg .p { opacity: 0; transform: rotate(90deg) scale(.4); }
.cr.sel .tg .c { opacity: 1; transform: none; }
.cmp-bar {
  margin: 22px 40px 30px; height: 92px; flex: none; border-radius: 18px; padding: 0 22px 0 28px;
  display: flex; align-items: center; gap: 48px; position: relative; overflow: hidden;
  background: linear-gradient(110deg, #D877F7 0%, #B46CF8 45%, #8E55F5 100%);
  box-shadow: 0 20px 50px -18px rgba(180, 108, 248, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.cmp-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 15% 0%, rgba(255, 255, 255, .28), transparent 60%); }
.kv { position: relative; display: flex; flex-direction: column; gap: 2px; }
.kv span { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.kv b { font-size: 30px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kv b small { font-size: 15px; font-weight: 500; opacity: .75; margin-left: 2px; }
.cmp-act { position: relative; margin-left: auto; display: flex; gap: 8px; }
.cmp-act .ghost { border-color: rgba(255, 255, 255, .35); }
.cmp-act .white { color: #5B21B6; height: 42px; padding: 0 18px; }

/* fake cursor */
.cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 20; pointer-events: none; transition: transform .7s var(--ease), opacity .3s; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); opacity: 0; }
.cur.on { opacity: 1; }
.cur.tap svg { transform: scale(.82); }
.cur svg { transition: transform .15s; transform-origin: 30% 20%; }
.ripple { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid rgba(215, 169, 255, .9); z-index: 19; pointer-events: none; animation: ripple .6s var(--ease) forwards; }

/* ---------- claim widget ---------- */
.claim { width: 100%; height: 100%; border-radius: 24px; padding: 24px; background: #121215; border: 1px solid var(--ln2); box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); display: flex; flex-direction: column; }
.cl-top { display: flex; justify-content: space-between; }
.cl-top span { display: block; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); margin-bottom: 4px; }
.cl-top b { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.cl-top .r { text-align: right; }
.meter { height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .08); margin: 16px 0 20px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 22%; border-radius: inherit; background: linear-gradient(90deg, var(--vio-a), var(--vio-b)); }
.cl-card { flex: 1; border-radius: 18px; padding: 18px; background: linear-gradient(180deg, rgba(180, 108, 248, .09), rgba(180, 108, 248, 0) 60%), var(--s0); border: 1px solid rgba(180, 108, 248, .35); display: flex; flex-direction: column; }
.cl-l { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--grn); }
.cl-l .i { width: 14px; }
.cl-card .stack { margin: 12px 0 18px; }
.cl-card .stack .av { width: 32px; height: 32px; border-color: var(--s0); }
.cl-l2 { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); }
.cl-amt { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 650; letter-spacing: -.035em; margin: 6px 0 18px; }
.cl-amt .av { width: 32px; height: 32px; }
.cl-amt span { font-size: 17px; color: #D7A9FF; font-weight: 600; letter-spacing: -.01em; }
.tasks { display: flex; flex-direction: column; gap: 8px; }
.task { display: flex; align-items: center; gap: 11px; height: 46px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--s2); border: 1px solid var(--ln); font-size: 13px; color: var(--tx2); transition: border-color .3s, background .3s; }
.task b { color: #fff; font-weight: 600; }
.task > .ci { width: 15px; height: 15px; color: #fff; }
.task .ci.tg-c { color: #29A9EB; }
.task .ci.dc-c { color: #5865F2; }
.tstat { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); position: relative; }
.tstat > * { position: absolute; transition: opacity .25s, transform .4s var(--spring); }
.tstat .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: #fff; opacity: 0; animation: spin .7s linear infinite; }
.tstat .i { width: 15px; height: 15px; opacity: 0; transform: scale(.3); color: #fff; stroke-width: 2.6; }
.tstat .ar { width: 14px; height: 14px; color: var(--tx3); opacity: 1; }
.task.load .spin { opacity: 1; }
.task.load .ar, .task.done .ar { opacity: 0; }
.task.done { border-color: rgba(43, 212, 107, .3); background: rgba(43, 212, 107, .05); }
.task.done .tstat { background: var(--grn); }
.task.done .tstat .i { opacity: 1; transform: none; }
.task.done .tstat .ar, .task.load .tstat .ar { opacity: 0; }
.cbtn { margin-top: auto; position: relative; height: 50px; border-radius: 13px; display: grid; place-items: center; font-weight: 650; font-size: 15px; background: var(--s3); color: var(--tx3); overflow: hidden; transition: background .4s, color .4s, box-shadow .4s; }
.cbtn span { grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); display: flex; align-items: center; gap: 8px; }
.cbtn .b, .cbtn .c { opacity: 0; transform: translateY(12px); }
.claim.ready .cbtn { background: linear-gradient(110deg, var(--vio-a), var(--vio-b)); color: #fff; box-shadow: 0 14px 34px -12px rgba(180, 108, 248, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.claim.ready .cbtn .a { opacity: 0; transform: translateY(-12px); }
.claim.ready .cbtn .b { opacity: 1; transform: none; }
.claim.ready .cbtn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); animation: sheen 2.2s var(--ease) infinite; }
.claim.claimed .cbtn { background: var(--grn); color: #04210F; box-shadow: 0 14px 34px -12px rgba(43, 212, 107, .7); }
.claim.claimed .cbtn::after { display: none; }
.claim.claimed .cbtn .b { opacity: 0; transform: translateY(-12px); }
.claim.claimed .cbtn .c { opacity: 1; transform: none; }
.cbtn .c .i { stroke-width: 2.6; }

/* ---------- discord broadcast ---------- */
.dc { width: 100%; height: 100%; display: flex; border-radius: 20px; overflow: hidden; background: #2B2D31; border: 1px solid var(--ln2); box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .9); position: relative; }
.dc-rail { width: 72px; background: #1E1F22; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dc-rail .av { width: 44px; height: 44px; transition: border-radius .3s, box-shadow .3s; }
.dc-rail .on { border-radius: 15px; box-shadow: 0 0 0 2px #1E1F22, 0 0 0 4px rgba(255, 255, 255, .0); }
.dc-rail hr { width: 30px; border: 0; border-top: 2px solid rgba(255, 255, 255, .08); margin: 2px 0; }
.dc-rail .av.ping { animation: ping .9s var(--ease); }
.dc-main { flex: 1; min-width: 0; background: #313338; display: flex; flex-direction: column; }
.dc-h { height: 50px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid rgba(0, 0, 0, .3); font-weight: 600; font-size: 15px; }
.dc-h .i { color: #80848E; width: 20px; height: 20px; }
.dc-msg { display: flex; gap: 14px; padding: 20px 18px; }
.dc-ava { width: 42px; height: 42px; border-radius: 50%; background: #0D0D10; display: grid; place-items: center; flex: none; }
.dc-ava .mark { height: 22px; }
.dc-name { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.dc-name .app { font-size: 10px; font-weight: 700; background: #5865F2; border-radius: 4px; padding: 1px 5px; }
.dc-name .t { font-size: 12px; color: #949BA4; font-weight: 400; }
.embed { position: relative; border-left: 4px solid var(--vio); background: #2B2D31; border-radius: 4px; padding: 14px 16px 16px; max-width: 400px; }
.embed .th { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; border-radius: 8px; }
.em-t { font-size: 15.5px; font-weight: 700; color: #fff; margin-right: 64px; }
.em-d { font-size: 13.5px; color: #DBDEE1; margin: 6px 64px 14px 0; line-height: 1.45; }
.em-f { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 22px; justify-content: start; }
.em-f span { display: block; font-size: 12px; font-weight: 700; color: #fff; }
.em-f b { font-weight: 400; font-size: 13.5px; color: #DBDEE1; }
.dc-btns { display: flex; gap: 8px; margin-top: 10px; }
.dbtn { height: 34px; padding: 0 16px; border-radius: 4px; display: grid; place-items: center; font-size: 13.5px; font-weight: 500; background: #4E5058; }
.dbtn.p { background: linear-gradient(110deg, var(--vio-a), var(--vio-b)); }
.toast {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 99px;
  background: rgba(18, 18, 21, .9); backdrop-filter: blur(16px); border: 1px solid var(--ln2); font-size: 14px; color: var(--tx2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7);
}
.toast b { color: #fff; font-variant-numeric: tabular-nums; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 0 4px rgba(43, 212, 107, .2); animation: pulse 1.6s ease-in-out infinite; }

/* ---------- identity dashboard ---------- */
.id-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.id-h { display: flex; align-items: center; gap: 16px; padding: 28px 32px 24px; border-bottom: 1px solid var(--ln); }
.id-ava { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.id-h h3 { font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.id-h p { color: var(--tx2); font-size: 14px; margin-top: 3px !important; }
.id-h p b { color: #fff; }
.wallets { margin-left: auto; display: flex; gap: 8px; }
.wl { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 7px; border-radius: 10px; background: var(--s1); border: 1px solid var(--ln); font: 500 12.5px var(--mono); color: var(--tx2); }
.wl .dotg { width: 6px; height: 6px; border-radius: 50%; background: var(--grn); margin-left: 2px; }
.wl.add { padding: 0 12px; color: var(--tx3); border-style: dashed; font-family: var(--ui); font-weight: 500; }
.wl.add .i { width: 14px; }
.id-body { flex: 1; display: grid; grid-template-columns: 1fr 300px; min-height: 0; }
.id-l { padding: 22px 32px; overflow: hidden; }
.tabs2 { display: flex; gap: 22px; border-bottom: 1px solid var(--ln); margin-bottom: 20px; }
.tabs2 span { display: flex; align-items: center; gap: 7px; height: 38px; font-size: 13.5px; font-weight: 500; color: var(--tx3); position: relative; }
.tabs2 span i { font: 500 11px var(--mono); font-style: normal; color: var(--tx3); background: var(--s2); border-radius: 5px; padding: 1px 6px; }
.tabs2 span.on { color: #fff; }
.tabs2 span.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); border-radius: 2px; }
.tabs2 span.on i { background: rgba(255, 68, 88, .14); color: var(--red2); }
.gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gw { border-radius: 16px; background: var(--s1); border: 1px solid var(--ln); overflow: hidden; }
.gw > img { width: 100%; height: 118px; object-fit: cover; }
.gw-b { padding: 14px 14px 14px; }
.gw-t { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; }
.gw-t .ci { color: var(--tx3); width: 12px; }
.gw-from { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; color: var(--tx3); }
.gw-from .av { width: 16px; height: 16px; }
.gw-from .vf { width: 12px; color: var(--tx2); }
.gw-m { display: flex; gap: 16px; margin: 12px 0; font-size: 12px; color: var(--tx3); }
.gw-m strong { color: #fff; font-weight: 600; margin-left: 3px; }
.gw-f { display: flex; align-items: center; justify-content: space-between; }
.gw-f .btn { height: 30px; padding: 0 14px; font-size: 12.5px; border-radius: 8px; }
.gw-f .btn.done { background: rgba(43, 212, 107, .12); color: var(--grn); }
.access { border-left: 1px solid var(--ln); padding: 24px 22px; background: #0B0B0D; }
.access h5 { font-size: 14px; font-weight: 600; }
.access > p { font-size: 12.5px; color: var(--tx3); margin: 4px 0 18px !important; line-height: 1.45; }
.ax { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid var(--ln); }
.ax .av, .ax .ico { width: 34px; height: 34px; }
.ax .ico { border-radius: 50%; display: grid; place-items: center; background: #5865F2; }
.ax .ico .ci { width: 17px; height: 17px; }
.ax div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ax div b { font-size: 13px; }
.ax div span { font-size: 11.5px; color: var(--tx3); }
.ax .r { margin-left: auto; text-align: right; align-items: flex-end; }
.ax .r strong { font-size: 12.5px; font-weight: 600; color: var(--grn); }
.ax.miss .r strong { color: var(--red2); }
.ax.miss .r a { font-size: 11.5px; color: var(--tx2); text-decoration: underline; text-underline-offset: 2px; }
.ax-sum { margin-top: 12px; border-radius: 12px; padding: 14px; background: var(--s1); border: 1px solid var(--ln); font-size: 12.5px; color: var(--tx2); line-height: 1.45; }
.ax-sum b { color: #fff; }

/* ---------- subberoos community page ---------- */
.roos { display: flex; flex-direction: column; }
.roos-ban { height: 300px; flex: none; position: relative; overflow: hidden; }
.roos-ban img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.roos-ban::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 13, 16, .9)); }
.mock.in .roos-ban img { animation: kb 18s ease-in-out infinite alternate; }
.roos-h { display: flex; align-items: flex-end; gap: 18px; padding: 0 36px; margin-top: -46px; position: relative; z-index: 2; }
.roos-ava { width: 104px; height: 104px; border-radius: 26px; border: 4px solid #0D0D10; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.roos-n { padding-bottom: 6px; }
.roos-n h3 { display: flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.roos-n h3 .vf { width: 20px; height: 20px; }
.roos-n p { display: flex; align-items: center; gap: 14px; margin-top: 4px !important; color: var(--tx2); font-size: 13.5px; }
.roos-n p span { display: flex; align-items: center; gap: 6px; }
.roos-n p b { color: #fff; }
.roos-act { margin-left: auto; padding-bottom: 8px; display: flex; gap: 8px; }
.roos .tabs2 { margin: 22px 36px 22px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 36px; }
.pk { border-radius: 16px; background: var(--s1); border: 1px solid var(--ln); padding: 16px; display: flex; gap: 14px; align-items: center; }
.pk img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.pk div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pk b { font-size: 14px; }
.pk span { font-size: 12.5px; color: var(--tx3); }
.pk .pill { align-self: flex-start; margin-top: 5px; }

/* ---------- floating profile card ---------- */
.pcard { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #121215; border: 1px solid var(--ln2); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.pcard > img { width: 100%; height: 150px; object-fit: cover; }
.pcard-b { padding: 16px 18px 18px; }
.pcard-b b { display: flex; align-items: center; gap: 7px; font-size: 17px; letter-spacing: -.02em; }
.pcard-s { display: flex; gap: 18px; margin: 12px 0 16px; }
.pcard-s div { display: flex; flex-direction: column; }
.pcard-s span { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); }
.pcard-s strong { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pcard .btn { width: 100%; }

/* ---------- stage (hero composition) ---------- */
.stage { position: relative; width: 100%; height: 100%; }
.stage > div { position: absolute; }
.mock.in .float { animation: bob 7s ease-in-out infinite; }
.mock.in .float.f2 { animation-duration: 8s; animation-delay: -3s; }
.layer { transition: transform .9s var(--ease); transform: translate3d(calc(var(--mx, 0) * var(--k, 0) * 1px), calc(var(--my, 0) * var(--k, 0) * 1px), 0); }

/* ---------- teasers ---------- */
.tz { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 0; background: var(--tzbg, #0B0B0D); }
.tz-glow { position: absolute; inset: 0; pointer-events: none; }
.tz-cap { position: absolute; left: 32px; bottom: 28px; z-index: 6; font: 500 13px var(--mono); letter-spacing: .04em; color: rgba(255, 255, 255, .55); display: flex; gap: 10px; align-items: center; }
.tz-cap::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.mq { display: flex; gap: 10px; width: max-content; }
.mock.in .mq { animation: mq var(--dur, 30s) linear infinite; }
.mq.rev { animation-direction: reverse !important; }

.big30 { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 3; pointer-events: none; }
.big30 b { display: block; font-size: 168px; font-weight: 700; letter-spacing: -.07em; line-height: .9; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .5)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big30 span { font: 500 15px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tx2); }

.fan { position: absolute; width: 230px; border-radius: 18px; overflow: hidden; background: var(--s1); border: 1px solid var(--ln2); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); transition: transform 1.1s var(--spring), opacity .6s; }
.mock:not(.in) .fan { opacity: 0; transform: translateY(90px) rotate(0) !important; }
.fan img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fan .tc-b { padding: 14px 16px 16px; }
.fan .tc-b b { font-size: 15px; }

.srv { position: absolute; display: grid; grid-template-columns: repeat(8, 52px); gap: 12px; }
.srv i { width: 52px; height: 52px; border-radius: 16px; background: var(--s2); border: 1px solid var(--ln); transition: background .5s, border-color .5s, box-shadow .5s, transform .5s var(--spring); display: block; }
.srv i.lit { background: linear-gradient(135deg, rgba(216, 119, 247, var(--o, 1)), rgba(149, 88, 246, var(--o, 1))); border-color: transparent; box-shadow: 0 10px 30px -8px rgba(180, 108, 248, .8); transform: scale(1.04); }
.srv i.img { background-size: cover; background-position: center; }
.srv i.img:not(.lit) { filter: grayscale(1) brightness(.35); }
.srv i.img.lit { background-color: transparent; background-image: var(--im) !important; filter: none; }

/* ---------- network graph ---------- */
.gr { position: relative; width: 100%; height: 100%; border-radius: 18px; background: #0C0C0E; overflow: hidden; }
.gr::before { content: ''; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 68, 88, .14), transparent); }
.gr svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gr path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.gr .base { stroke: rgba(255, 255, 255, .1); }
.gr .pulse { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 100; stroke-dashoffset: 12; opacity: 0; }
.mock.in .gr .pulse { animation: flow 3.2s cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: var(--d); }
.mock.static .gr .pulse { opacity: .9; stroke-dashoffset: -44; }
.gr-t { position: absolute; top: 26px; translate: -50% 0; font-size: 15px; font-weight: 500; color: var(--tx2); } /* centered over its column */
.gn { position: absolute; width: 150px; margin-left: -75px; margin-top: -48px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gn img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
.gn b { margin-top: 10px; font-size: 13.5px; font-weight: 650; }
.gn span { font-size: 12px; color: var(--tx3); }
.gc { position: absolute; left: 50%; top: 50%; width: 220px; margin: -56px 0 0 -110px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gc-tile { width: 112px; height: 112px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(180deg, #FF5C6F, #F2334A); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mock.in .gc-tile { animation: hub 3.2s ease-in-out infinite; animation-delay: 1.3s; }
.gc-tile .mark { height: 54px; background: #fff; -webkit-mask: url(assets/logo.png) left center / auto 100% no-repeat; mask: url(assets/logo.png) left center / auto 100% no-repeat; }
.gc b { margin-top: 14px; font-size: 15px; font-weight: 500; }
.gc span { font-size: 12.5px; color: var(--tx3); }
@keyframes flow { 0% { stroke-dashoffset: 12; opacity: 0; } 8% { opacity: 1; } 55% { opacity: 1; } 70% { stroke-dashoffset: -100; opacity: 0; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes hub { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08); } 45% { box-shadow: 0 0 0 1px rgba(255, 68, 88, .5), 0 0 0 10px rgba(255, 68, 88, .08), 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08); } }

/* ---------- homepage card: network + claim ---------- */
.nc { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0C0C0E; }
.nc::after { content: ''; position: absolute; right: -60px; top: 50%; width: 520px; height: 520px; translate: 0 -50%; background: radial-gradient(closest-side, rgba(180, 108, 248, .16), transparent); pointer-events: none; }
.nc-g { position: absolute; left: 4px; top: 196px; width: 1200px; height: 600px; transform: scale(.68); transform-origin: 0 0; }
.nc-g .gr { background: transparent; border-radius: 0; }
.nc-c { position: absolute; left: 826px; top: 160px; width: 420px; height: 580px; transform: scale(.83); transform-origin: 0 0; z-index: 2; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); }
.mock.in .rv { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 100ms); }
.mock.static .rv { opacity: 1; transform: none; animation: none !important; }
.mock.static * { transition: none !important; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(43, 212, 107, 0); } }
@keyframes ping { 40% { transform: scale(1.15); box-shadow: 0 0 0 3px var(--vio); } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes kb { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }

@media (prefers-reduced-motion: reduce) {
  .mock * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
