/* TelePaid · Telegram Desktop night theme in Paid's shell. Livvic 900 italic (display) · Roboto (Telegram's UI face) · Noto Sans Mono */
@font-face { font-family: 'Livvic'; src: url('/assets/fonts/livvic-900i.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/assets/fonts/roboto-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans Mono'; src: url('/assets/fonts/notosansmono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0E1621; --panel: #17212B; --panel2: #1D2A38; --raised: #242F3D; --raised2: #2B3949; --line: #0A1119; --line2: rgba(255,255,255,.06);
  --text: #F5F7FA; --sub: #708499; --sub2: #8A9BAD; --link: #6AB3F3; --blue: #2AABEE; --blue2: #229ED9; --blue3: #3390EC;
  --out: #2B5278; --in: #182533; --green: #5FC46D; --red: #E5534B; --gold: #F0B54A;
  --disp: 'Livvic', 'Roboto', system-ui, sans-serif; --ui: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Noto Sans Mono', ui-monospace, Consolas, monospace;
  --side: 340px; --r: 14px; --ease: cubic-bezier(.2,.8,.2,1);
  --doodle: none; --doodle-dim: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: #0B1522; color: var(--text); font: 400 15px/1.45 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; }
svg { width: 20px; height: 20px; flex: none; }
::selection { background: rgba(42,171,238,.4); }
::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 6px; } ::-webkit-scrollbar-track { background: transparent; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.disp { font-family: var(--disp); font-weight: 900; font-style: italic; letter-spacing: -.01em; }
.vf { width: 16px; height: 16px; vertical-align: -3px; margin-left: 2px; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- the wallpaper: Telegram's 4-point gradient + our doodles */
.wall { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0A1726; pointer-events: none; }
.wall i { position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; filter: blur(30px); opacity: .9; will-change: transform; }
.wall .b1 { left: -30vmax; top: -40vmax; background: radial-gradient(closest-side, #1A4F86 0%, rgba(26,79,134,0) 100%); animation: b1 38s var(--ease) infinite alternate; }
.wall .b2 { right: -32vmax; top: -24vmax; background: radial-gradient(closest-side, #0F3359 0%, rgba(15,51,89,0) 100%); animation: b2 44s var(--ease) infinite alternate; }
.wall .b3 { left: -18vmax; bottom: -46vmax; background: radial-gradient(closest-side, #12385F 0%, rgba(18,56,95,0) 100%); animation: b3 50s var(--ease) infinite alternate; }
.wall .b4 { right: -34vmax; bottom: -40vmax; background: radial-gradient(closest-side, #1F6AA6 0%, rgba(31,106,166,0) 100%); opacity: .75; animation: b4 41s var(--ease) infinite alternate; }
@keyframes b1 { to { transform: translate(22vmax, 18vmax) scale(1.1); } }
@keyframes b2 { to { transform: translate(-20vmax, 26vmax) scale(.92); } }
@keyframes b3 { to { transform: translate(26vmax, -18vmax) scale(1.08); } }
@keyframes b4 { to { transform: translate(-24vmax, -14vmax) scale(.95); } }
.wall .doodles { position: absolute; inset: -40px; background-image: var(--doodle); background-size: 480px 480px; opacity: 1; }
.wall::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(5,12,22,0) 40%, rgba(5,12,22,.55) 100%); }
.tgbg { background-color: #0E1621; background-image: var(--doodle-dim), radial-gradient(120% 80% at 20% 0%, #15385D 0%, #0E1F33 55%, #0B1726 100%); background-size: 480px 480px, 100% 100%; }

/* ---------------------------------------------------------------- shell */
#app { position: relative; z-index: 1; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid var(--line); z-index: 5; }
.side-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand b { font: 900 italic 22px/1 var(--disp); letter-spacing: -.01em; }
.tsearch { flex: 1; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: #242F3D; border-radius: 19px; color: var(--sub); min-width: 0; transition: box-shadow .2s; }
.tsearch:focus-within { box-shadow: 0 0 0 2px var(--blue3); color: var(--blue); }
.tsearch svg { width: 18px; height: 18px; }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--text); }
.tsearch input::placeholder { color: var(--sub); }
.folders { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.folders a { position: relative; padding: 11px 12px 12px; font-size: 14px; font-weight: 500; color: var(--sub); white-space: nowrap; border-radius: 10px 10px 0 0; transition: color .15s; }
.folders a:hover { color: var(--sub2); }
.folders a.on { color: var(--link); }
.folders a.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--link); }
.chats { display: flex; flex-direction: column; padding: 6px 8px; }
.chat { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 12px; transition: background .15s; }
.chat:hover { background: #202B36; }
.chat.on { background: var(--out); }
.chat.on .cm, .chat.on .ct { color: #C9DDF2; }
.av { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; background: #2b3a4a; flex: none; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av svg { width: 26px; height: 26px; }
.brandav { background: linear-gradient(#2AABEE, #229ED9); }
.brandav img { width: 46%; height: auto; object-fit: contain; margin-left: -2%; }
.g1 { background: linear-gradient(160deg, #6BC4FF, #2B8FE0); } .g2 { background: linear-gradient(160deg, #8C7CF0, #5B4FCF); } .g3 { background: linear-gradient(160deg, #5FD58A, #2E9F5F); } .g4 { background: linear-gradient(160deg, #FFB45C, #EE7C2B); }
.cb { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.cn { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm { color: var(--sub); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm b { color: var(--link); font-weight: 400; }
.ct { align-self: start; margin-top: 4px; color: var(--sub); font-size: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ct .dot, .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue3); color: #fff; font-size: 12px; font-weight: 500; display: grid; place-items: center; }
.ct .dot { min-width: 10px; width: 10px; height: 10px; padding: 0; }
.side-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 2px; color: var(--sub); font-size: 13px; font-weight: 500; }
.side-h a { color: var(--link); font-weight: 400; }
.chats.live { flex: 1; overflow-y: auto; min-height: 120px; }
.chats.live .av { width: 46px; height: 46px; }
.chats.live .chat { grid-template-columns: 46px minmax(0, 1fr) auto; }
.chat.open .av { background: transparent; border: 1.5px dashed rgba(255,255,255,.18); color: var(--sub); }
.chat.open .cn { color: var(--sub2); }
.side-foot { padding: 12px 14px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.legal { color: var(--sub); font-size: 12px; text-align: center; }

.main { position: relative; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: rgba(23,33,43,.9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.m-brand { display: none; }
.m-brand img { border-radius: 50%; }
.th { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.th-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(#2AABEE, #229ED9); display: grid; place-items: center; overflow: hidden; flex: none; }
.th-av img { width: 46%; }
.th-av.photo img { width: 100%; height: 100%; object-fit: cover; }
.th-t { display: flex; flex-direction: column; min-width: 0; }
.th-t b { font-weight: 500; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-t span { color: var(--sub); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-t span.blue { color: var(--link); }
.top-r { display: flex; align-items: center; gap: 10px; flex: none; }
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 12px; background: linear-gradient(180deg, #33B1F0, #229ED9); color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; box-shadow: 0 6px 18px -8px rgba(42,171,238,.8), inset 0 1px 0 rgba(255,255,255,.22); transition: transform .15s var(--ease), filter .15s; }
.tbtn:hover { filter: brightness(1.08); }
.tbtn:active { transform: scale(.97); }
.tbtn svg { width: 18px; height: 18px; }
.tbtn.wide { width: 100%; height: 46px; font-size: 16px; border-radius: 14px; }
.tbtn.ghost { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tbtn.ghost:hover { background: rgba(255,255,255,.1); }
.tbtn.white { background: #fff; color: #0E1621; box-shadow: 0 10px 30px -12px rgba(255,255,255,.4); }
.tbtn.big { height: 52px; padding: 0 26px; font-size: 16.5px; border-radius: 16px; }
.tbtn[disabled] { opacity: .45; pointer-events: none; }
.tbtn.connected { background: var(--raised); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tbtn.connected img { width: 20px; height: 20px; border-radius: 6px; }
.ca-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--sub2); font: 500 13px var(--mono); }
.ca-pill[hidden] { display: none !important; }
.ca-pill .l { color: var(--link); font-family: var(--ui); font-weight: 500; }
.ca-pill svg { width: 16px; height: 16px; }
#view { position: relative; flex: 1; min-height: calc(100vh - 60px); }
.foot { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 18px 30px; align-items: center; padding: 30px 34px 34px; background: rgba(14,22,33,.92); border-top: 1px solid var(--line); }
.f-l { display: flex; align-items: center; gap: 12px; }
.f-l img { border-radius: 50%; }
.f-l b { display: block; font: 900 italic 22px/1.1 var(--disp); }
.f-l span { color: var(--sub); font-size: 14px; }
.f-pw { display: flex; align-items: center; gap: 10px; color: var(--sub); font-size: 13px; }
.f-pw img.pp { width: 22px; height: 22px; border-radius: 50%; }
.f-pw .pl { display: inline-flex; align-items: center; gap: 7px; }
.f-pw b { color: var(--text); font-weight: 500; margin-right: 8px; }
.f-r { display: flex; gap: 18px; font-size: 14px; color: var(--sub2); }
.f-r a:hover { color: var(--text); }
.f-legal { grid-column: 1 / -1; color: var(--sub); font-size: 12.5px; border-top: 1px solid var(--line2); padding-top: 16px; }
.tabbar { display: none; }

/* ---------------------------------------------------------------- Telegram parts */
.svc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 15px; background: rgba(7,15,25,.52); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13.5px; font-weight: 500; }
.svc i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(42,171,238,.25); }
.msg { position: relative; max-width: 86%; padding: 7px 11px 8px; border-radius: 15px; font-size: 15px; line-height: 1.38; box-shadow: 0 1px 1.5px rgba(0,0,0,.25); }
.msg.in { background: var(--in); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--out); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.in::before, .msg.out::after { content: ''; position: absolute; bottom: 0; width: 10px; height: 14px; }
.msg.in::before { left: -7px; background: radial-gradient(14px 14px at 0 0, transparent 9.6px, var(--in) 10px); }
.msg.out::after { right: -7px; background: radial-gradient(14px 14px at 100% 0, transparent 9.6px, var(--out) 10px); }
.msg .meta { float: right; margin: 6px 0 -4px 10px; display: inline-flex; align-items: center; gap: 3px; color: rgba(255,255,255,.45); font-size: 12px; }
.msg.out .meta { color: #8DBBEA; }
.msg .meta svg { width: 16px; height: 16px; }
.msg .who { display: block; color: var(--link); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.msg b { font-weight: 500; }
.msg a, .lnk { color: var(--link); }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sub2); animation: typ 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ikb { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 4px; margin-top: 4px; align-self: flex-start; width: 86%; }
.ikb a, .ikb button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 10px; background: rgba(24,37,51,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 14.5px; font-weight: 500; text-align: center; transition: background .15s; }
.ikb a:hover, .ikb button:hover { background: rgba(43,82,120,.9); }
.ikb svg { width: 15px; height: 15px; opacity: .8; }
.pcard { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.pcard .av { width: 56px; height: 56px; }
.pcard .pn { font-weight: 500; font-size: 15.5px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.pcard .pn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .pm { color: var(--sub2); font-size: 13.5px; }
.pcard .pb { grid-column: 1 / -1; color: #d6e2ee; font-size: 14px; white-space: pre-line; max-height: 4.2em; overflow: hidden; }
.kind { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; background: rgba(106,179,243,.14); color: var(--link); font-size: 12px; font-weight: 500; vertical-align: 1px; }
.kind svg { width: 13px; height: 13px; }

/* ---------------------------------------------------------------- home: hero */
.hero { position: relative; min-height: calc(100vh - 60px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 30px; padding: 40px clamp(24px, 4vw, 64px) 56px; overflow: hidden; }
.hero-gl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-l, .hero-r { position: relative; z-index: 2; }
.hero-l .svc { margin-bottom: 22px; }
.h1 { margin: 0; font: 900 italic clamp(44px, 4.4vw, 76px)/.98 var(--disp); letter-spacing: -.02em; text-wrap: balance; }
.h1 em { font-style: italic; color: #59BEFF; }
.lead { margin: 22px 0 30px; max-width: 560px; color: #C3D2E2; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.lead b { color: #fff; font-weight: 500; }
.composer { display: flex; align-items: center; gap: 10px; max-width: 620px; }
.cbar { flex: 1; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; border-radius: 18px; background: rgba(23,33,43,.94); box-shadow: 0 18px 50px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.06); color: var(--sub); transition: box-shadow .2s; min-width: 0; }
.cbar:focus-within { box-shadow: 0 18px 50px -20px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(51,144,236,.9); }
.cbar svg { width: 24px; height: 24px; }
.cbar .at { color: var(--link); font: 500 19px var(--ui); margin-right: -6px; }
.cbar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 17px; color: #fff; }
.cbar input::placeholder { color: var(--sub); }
.sendb { width: 60px; height: 60px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #38B6F5, #1F95D6); box-shadow: 0 14px 34px -10px rgba(42,171,238,.85), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .18s var(--ease); }
.sendb svg { width: 27px; height: 27px; margin-left: 3px; }
.sendb:hover { transform: scale(1.05); }
.sendb:active { transform: scale(.94); }
.tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: var(--sub2); font-size: 13.5px; }
.tries > span { margin-right: 2px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 4px; border-radius: 16px; background: rgba(23,33,43,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); color: #dbe7f3; font-size: 13.5px; transition: background .15s, transform .15s; }
.chip:hover { background: rgba(43,82,120,.85); transform: translateY(-1px); }
.chip img, .chip .ph { width: 24px; height: 24px; border-radius: 50%; background: #2b3a4a; object-fit: cover; }
.chip.on { background: var(--out); }
.powered { display: flex; align-items: center; gap: 16px; margin-top: 34px; color: var(--sub); font-size: 13px; }
.powered .pl { display: inline-flex; align-items: center; gap: 7px; color: #cfdbe7; font-weight: 500; }
.powered .pl img { width: 22px; height: 22px; border-radius: 50%; }
.powered .sep { width: 1px; height: 18px; background: rgba(255,255,255,.12); }

/* the TelePaid bot window */
.tgwin { position: relative; width: min(470px, 100%); margin-left: auto; height: min(640px, calc(100vh - 150px)); min-height: 520px; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #0E1621; box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07); transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: 30% 50%; transition: transform .8s var(--ease); }
.tgwin:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.tgw-h { display: flex; align-items: center; gap: 11px; height: 62px; padding: 0 16px; background: #17212B; border-bottom: 1px solid var(--line); flex: none; }
.tgw-h .av { width: 42px; height: 42px; }
.tgw-h .av img { width: 46%; height: auto; }
.tgw-h b { font-weight: 500; font-size: 15.5px; display: flex; align-items: center; gap: 3px; }
.tgw-h span { color: var(--sub); font-size: 13px; }
.tgw-h .r { margin-left: auto; display: flex; gap: 16px; color: var(--sub); }
.tgw-b { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px 18px 12px; overflow: hidden; }
.tgw-b .day { align-self: center; margin-bottom: 6px; }
.tgw-f { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 14px; background: #17212B; color: var(--sub); flex: none; }
.tgw-f .fi { flex: 1; color: var(--sub); font-size: 15px; white-space: nowrap; overflow: hidden; }
.tgw-f .fi.typed { color: #fff; }
.tgw-f .sb { color: var(--blue); }
.tgw-f svg { width: 24px; height: 24px; }
.pop { animation: pop .38s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.msg .pcard { margin: 4px 0 6px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 3px 0 0 var(--link); }

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: clamp(56px, 6vw, 96px) clamp(24px, 4vw, 64px); }
.sec-in { max-width: 1240px; margin: 0 auto; }
.kick { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 500; font-size: 14px; letter-spacing: .01em; margin-bottom: 14px; }
.kick svg { width: 18px; height: 18px; }
.h2 { margin: 0; font: 900 italic clamp(36px, 4.2vw, 66px)/1 var(--disp); letter-spacing: -.02em; text-wrap: balance; }
.h2 em { color: #59BEFF; font-style: italic; }
.p { color: #B7C7D7; font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.55; max-width: 620px; }

/* the showcase film as a pinned channel video */
.filmsec { padding-top: 10px; }
.film-card { max-width: 1040px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: rgba(24,37,51,.96); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.fc-h { display: flex; align-items: center; gap: 11px; padding: 12px 16px; }
.fc-h .av { width: 40px; height: 40px; }
.fc-h .av img { width: 46%; height: auto; }
.fc-h b { display: flex; align-items: center; gap: 3px; font-weight: 500; font-size: 15px; }
.fc-h span { color: var(--sub); font-size: 13px; }
.fc-h .pin { margin-left: auto; width: 20px; height: 20px; color: var(--sub); }
.fc-v { position: relative; aspect-ratio: 16 / 9; background: #0B1522; cursor: pointer; }
.fc-v video { width: 100%; height: 100%; display: block; object-fit: cover; }
.fc-v .dur { position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 12px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); font: 500 13px var(--ui); color: #fff; }
.fc-v .snd { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); color: #fff; }
.fc-v .snd svg { width: 22px; height: 22px; }
.fc-c { padding: 14px 18px 16px; color: #d6e2ee; font-size: 15.5px; line-height: 1.5; }

/* why Telegram */
.why { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.bignum { margin: 34px 0 6px; display: flex; align-items: baseline; gap: 14px; }
.bignum b { font: 900 italic clamp(80px, 10vw, 150px)/.85 var(--disp); letter-spacing: -.03em; color: #fff; }
.bignum span { color: #C3D2E2; font-size: 17px; max-width: 200px; line-height: 1.35; }
.src { color: var(--sub); font-size: 12.5px; }
.culture { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.culture span { padding: 8px 14px; border-radius: 18px; background: rgba(23,33,43,.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 14px; color: #dbe7f3; }
.list { border-radius: 20px; overflow: hidden; background: rgba(23,33,43,.92); box-shadow: 0 40px 80px -36px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.list .lh { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.list .lh button { position: relative; padding: 15px 14px; font-weight: 500; font-size: 14.5px; color: var(--sub); white-space: nowrap; }
.list .lh button.on { color: var(--link); }
.list .lh button.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--link); }
.list .lb { padding: 6px 8px 10px; max-height: 590px; overflow-y: auto; }
.list .row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; transition: background .15s; }
.list .row:hover { background: #202B36; }
.list .row .cn { display: flex; align-items: center; gap: 2px; }
.list .row .cm { font-size: 13.5px; }
.list .row .cm .n { color: var(--sub2); }
.payb { height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(42,171,238,.14); color: var(--link); font-weight: 500; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.payb:hover { background: var(--blue3); color: #fff; }
.skel { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* how: three phones */
.how-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.step { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.step .cap { align-self: stretch; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: baseline; }
.step .cap b { font: 900 italic 30px/1 var(--disp); color: #59BEFF; }
.step .cap h3 { margin: 0; font: 900 italic 22px/1.15 var(--disp); }
.step .cap p { grid-column: 2; margin: 0; color: #AFC0D1; font-size: 15px; }
.phone { position: relative; width: min(300px, 100%); aspect-ratio: 300 / 610; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #3A4552, #11161D 45%, #2D3742); box-shadow: 0 50px 90px -40px rgba(0,0,0,.95), inset 0 0 0 1.5px rgba(255,255,255,.12), 0 0 0 1px #05080c; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: #000; }
.phone .isl { position: absolute; top: 9px; left: 50%; width: 90px; height: 26px; border-radius: 14px; background: #000; transform: translateX(-50%); z-index: 5; }
.sbar { height: 44px; padding: 14px 24px 0; display: flex; justify-content: space-between; font: 600 14px var(--ui); color: #fff; flex: none; }
.sbar i { display: inline-flex; gap: 4px; align-items: center; }
.sbar i b { width: 22px; height: 11px; border-radius: 3px; border: 1.4px solid rgba(255,255,255,.75); position: relative; }
.sbar i b::after { content: ''; position: absolute; inset: 1.2px 4px 1.2px 1.2px; background: #fff; border-radius: 1px; }
.iosh { display: flex; align-items: center; gap: 8px; padding: 4px 10px 10px; background: #17212B; border-bottom: 1px solid var(--line); flex: none; }
.iosh .bk { color: var(--link); display: flex; align-items: center; font-size: 15px; }
.iosh .bk svg { width: 22px; height: 22px; }
.iosh .mid { flex: 1; text-align: center; min-width: 0; }
.iosh .mid b { display: flex; align-items: center; justify-content: center; gap: 2px; font-weight: 600; font-size: 14.5px; }
.iosh .mid span { color: var(--sub); font-size: 11.5px; }
.iosh .av { width: 34px; height: 34px; }
.iosh .av img { width: 100%; }
.ph-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 10px 10px 8px; overflow: hidden; }
.ph-body .msg { font-size: 13.5px; max-width: 92%; }
.ph-body .ikb { width: 92%; }
.ph-body .ikb a { min-height: 34px; font-size: 13px; }
.ph-foot { height: 52px; flex: none; background: #17212B; display: flex; align-items: center; gap: 8px; padding: 0 12px 6px; color: var(--sub); font-size: 14px; }
.ph-foot .fi { flex: 1; height: 34px; border-radius: 17px; background: #0E1621; display: flex; align-items: center; padding: 0 12px; }
.ph-foot svg { width: 22px; height: 22px; }
.coinpost { border-radius: 12px; overflow: hidden; margin: 2px -4px 4px; }
.coinpost img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.coinpost .cp { display: flex; align-items: center; gap: 8px; padding: 8px 2px 2px; font-size: 13px; color: #cfdbe7; }
.mini { flex: 1; display: flex; flex-direction: column; background: #17212B; overflow: hidden; }
.mini .mh { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; color: #fff; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mini .mh span { color: var(--sub); font-weight: 400; font-size: 12px; }
.mini .mb { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mini .fld { border-radius: 12px; background: #0E1621; padding: 9px 11px; }
.mini .fld label { display: block; color: var(--link); font-size: 11.5px; margin-bottom: 2px; }
.mini .fld .v { font-size: 14px; color: #fff; display: flex; align-items: center; gap: 7px; }
.mini .fld .v img { width: 26px; height: 26px; border-radius: 50%; }
.mainbtn { margin: 0 12px 12px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #38B6F5, #2490DA); font-weight: 600; font-size: 15px; color: #fff; flex: none; }

/* live coins */
.live-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: rgba(24,37,51,.95); box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.05); transition: transform .25s var(--ease), box-shadow .25s; }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(106,179,243,.3); }
.ccard .img { position: relative; aspect-ratio: 1.25; background: #0E1621; overflow: hidden; }
.ccard .img img { width: 100%; height: 100%; object-fit: cover; }
.ccard .img .live { position: absolute; left: 10px; top: 10px; }
.ccard .bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.ccard .t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ccard .t b { font: 900 italic 21px/1.1 var(--disp); }
.ccard .t span { color: var(--sub2); font-size: 13px; white-space: nowrap; }
.ccard .to { display: flex; align-items: center; gap: 8px; color: #cfdbe7; font-size: 13.5px; min-width: 0; }
.ccard .to img { width: 24px; height: 24px; border-radius: 50%; }
.ccard .to span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .auto { color: var(--green); font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.ccard .auto svg { width: 15px; height: 15px; }
.ccard.own { box-shadow: 0 0 0 1.5px var(--blue), 0 24px 60px -30px rgba(42,171,238,.6); }
.ccard.open { border: 1.5px dashed rgba(255,255,255,.14); background: rgba(14,22,33,.6); box-shadow: none; justify-content: center; align-items: center; text-align: center; min-height: 300px; gap: 12px; padding: 24px; color: var(--sub2); }
.ccard.open .oi { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(42,171,238,.12); color: var(--link); }
.ccard.open .oi svg { width: 30px; height: 30px; }
.ccard.open b { color: #fff; font-weight: 500; font-size: 16px; }
.livechip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 12px; background: rgba(14,22,33,.75); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.livechip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(95,196,109,.25); animation: lp 1.6s infinite; }
@keyframes lp { 50% { box-shadow: 0 0 0 6px rgba(95,196,109,0); } }
.newpop { animation: npop .7s var(--ease) both; }
@keyframes npop { from { opacity: 0; transform: translateY(16px) scale(.94); } 60% { transform: translateY(-3px) scale(1.01); } to { opacity: 1; transform: none; } }

/* get paid band */
.gp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.gp-card { border-radius: 24px; overflow: hidden; background: #17212B; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.gp-card .cover { height: 120px; background: linear-gradient(120deg, #2AABEE, #1F6AA6 60%, #2B5278); position: relative; }
.gp-card .cover::after { content: ''; position: absolute; inset: 0; background-image: var(--doodle); background-size: 360px; opacity: .9; }
.gp-card .who { display: flex; flex-direction: column; align-items: center; margin-top: -56px; position: relative; z-index: 1; padding: 0 24px 22px; text-align: center; }
.gp-card .who .av { width: 112px; height: 112px; border: 4px solid #17212B; }
.gp-card .who b { margin-top: 10px; font-size: 20px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.gp-card .who span { color: var(--sub); font-size: 14px; }
.gp-card .rows { border-top: 1px solid var(--line); padding: 8px; }
.gp-card .rw { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; }
.gp-card .rw .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(95,196,109,.14); color: var(--green); flex: none; }
.gp-card .rw .ic img { width: 38px; height: 38px; border-radius: 50%; }
.gp-card .rw div { flex: 1; min-width: 0; }
.gp-card .rw div b { display: block; font-weight: 500; }
.gp-card .rw div span { color: var(--sub); font-size: 13.5px; }
.gp-card .rw em { font-style: normal; color: var(--green); font-size: 13px; font-weight: 500; }
.lookup { display: flex; gap: 10px; margin-top: 28px; max-width: 520px; }
.lookup .cbar { height: 54px; }
.lookup .tbtn { height: 54px; border-radius: 16px; }

/* cta band */
.cta { text-align: center; padding: clamp(70px, 8vw, 120px) 24px clamp(80px, 9vw, 130px); }
.cta .h2 { font-size: clamp(42px, 5.6vw, 90px); }
.cta p { margin: 18px auto 34px; color: #C3D2E2; font-size: 18px; max-width: 560px; }

/* ---------------------------------------------------------------- pages */
.page { padding: 34px clamp(18px, 3.4vw, 54px) 80px; max-width: 1320px; margin: 0 auto; }
.ph2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.ph2 h1 { margin: 0; font: 900 italic clamp(34px, 3.6vw, 54px)/1.02 var(--disp); letter-spacing: -.02em; }
.ph2 p { margin: 8px 0 0; color: #AFC0D1; }
.panel { border-radius: 20px; background: rgba(23,33,43,.94); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.empty { padding: 60px 20px; text-align: center; color: var(--sub2); }

/* launch: the Mini App + live preview */
.launch { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(20px, 3vw, 46px); align-items: start; }
.app-sheet { border-radius: 22px; overflow: hidden; background: #17212B; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.app-sheet .ah { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.app-sheet .ah .av { width: 40px; height: 40px; }
.app-sheet .ah .av img { width: 46%; height: auto; }
.app-sheet .ah b { display: flex; align-items: center; gap: 3px; font-weight: 500; }
.app-sheet .ah span { color: var(--sub); font-size: 13px; }
.app-sheet .ah .x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); background: rgba(255,255,255,.05); }
.form { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.grp { border-radius: 16px; background: #0E1621; padding: 4px 0; }
.grp > .gl { padding: 10px 14px 4px; color: var(--link); font-size: 13px; font-weight: 500; }
.fl { display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 50px; border-top: 1px solid rgba(255,255,255,.04); }
.fl:first-of-type { border-top: 0; }
.fl > span { color: var(--sub2); font-size: 14.5px; width: 92px; flex: none; }
.fl input, .fl textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15.5px; color: #fff; padding: 6px 0; resize: none; }
.fl input::placeholder, .fl textarea::placeholder { color: #4F6274; }
.fl > span.at { width: auto; color: var(--link); font-size: 17px; margin-right: -6px; }
.fl.big input { font-size: 17px; }
.rcard { margin: 2px 10px 10px; padding: 12px; border-radius: 14px; background: rgba(42,171,238,.08); box-shadow: inset 0 0 0 1px rgba(106,179,243,.18); }
.rcard.err { background: rgba(229,83,75,.08); box-shadow: inset 0 0 0 1px rgba(229,83,75,.25); color: #F2A19B; font-size: 14px; }
.rcard .note { margin-top: 10px; display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 500; }
.rcard .note svg { width: 16px; height: 16px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px 14px; cursor: pointer; }
.drop .ph { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1.5px dashed rgba(255,255,255,.16); color: var(--sub2); overflow: hidden; flex: none; }
.drop .ph img { width: 100%; height: 100%; object-fit: cover; }
.drop .ph svg { width: 28px; height: 28px; }
.drop b { display: block; font-weight: 500; }
.drop span { color: var(--sub); font-size: 13.5px; }
.drop.over .ph { border-color: var(--blue); background: rgba(42,171,238,.1); }
.buys { display: flex; gap: 8px; padding: 8px 14px 12px; flex-wrap: wrap; }
.buys button { height: 38px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.05); color: #dbe7f3; font-weight: 500; font-size: 14px; }
.buys button.on { background: var(--blue3); color: #fff; }
.buys .cust { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.buys .cust input { width: 64px; border: 0; outline: 0; background: none; font-size: 14px; color: #fff; }
.buys .cust span { color: var(--sub); font-size: 13px; }
.hint { padding: 0 14px 10px; color: var(--sub); font-size: 13px; }
.more { color: var(--link); font-size: 14px; padding: 6px 2px; align-self: flex-start; }
.mainbar { position: sticky; bottom: 0; padding: 12px 16px 16px; background: linear-gradient(180deg, rgba(23,33,43,0), #17212B 30%); }
.mainbar .tbtn { width: 100%; height: 54px; border-radius: 14px; font-size: 16.5px; font-weight: 600; }
.mainbar .sub { margin-top: 9px; text-align: center; color: var(--sub); font-size: 12.5px; }
.preview { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.preview .tgwin { transform: none; margin: 0; width: 100%; height: 640px; }
.preview .coinpost img { aspect-ratio: 1.9; }
.pvl { color: var(--sub2); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.pvl i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* progress (Telegram send ticks) + success */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(4,9,15,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .2s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 22px; background: #17212B; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.07); animation: pop .32s var(--ease) both; }
.sheet .sh { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sheet .sh b { flex: 1; font-weight: 500; font-size: 16px; }
.sheet .sh button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); background: rgba(255,255,255,.05); }
.sheet .sb { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.wl { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #0E1621; transition: background .15s; text-align: left; width: 100%; }
.wl:hover { background: #1D2A38; }
.wl img { width: 38px; height: 38px; border-radius: 10px; }
.wl b { flex: 1; font-weight: 500; }
.wl span { color: var(--sub); font-size: 13px; }
.steps-l { display: flex; flex-direction: column; gap: 6px; padding: 16px; background-color: #0E1621; }
.steps-l .msg { max-width: 100%; align-self: flex-end; display: flex; align-items: center; gap: 10px; }
.steps-l .msg .meta { margin: 0 0 0 auto; float: none; }
.steps-l .msg.wait { opacity: .55; }
.done-c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 22px 10px; }
.done-c img.ci { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; box-shadow: 0 20px 50px -18px rgba(42,171,238,.7); }
.done-c h3 { margin: 6px 0 0; font: 900 italic 30px/1.05 var(--disp); }
.done-c p { margin: 0; color: #AFC0D1; }
.err-t { color: #F2A19B; font-size: 14px; padding: 4px 2px; }

/* coin page */
.coin { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.coin-h { display: flex; gap: 18px; align-items: center; padding: 20px; }
.coin-h img.ci { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; }
.coin-h h1 { margin: 0; font: 900 italic clamp(30px, 3.2vw, 46px)/1 var(--disp); }
.coin-h .nm { color: var(--sub2); margin-top: 4px; }
.chart { height: 460px; border-radius: 20px; overflow: hidden; background: #0E1621; }
.chart iframe { width: 100%; height: 100%; border: 0; }
.chart .wait { height: 100%; display: grid; place-items: center; text-align: center; color: var(--sub2); padding: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.stats div { background: #17212B; padding: 14px; }
.stats span { display: block; color: var(--sub); font-size: 12.5px; }
.stats b { font-weight: 500; font-size: 18px; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.addr { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #0E1621; font: 500 13px var(--mono); color: #cfdbe7; word-break: break-all; cursor: pointer; }
.addr svg { width: 16px; height: 16px; color: var(--link); flex: none; }

/* profile (Telegram profile replica) */
.prof { max-width: 760px; margin: 0 auto; }
.prof .gp-card .who .av { width: 128px; height: 128px; }
.prof .gp-card .who b { font-size: 24px; }
.ptabs { display: flex; gap: 4px; padding: 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ptabs span { position: relative; padding: 14px 12px; color: var(--link); font-weight: 500; font-size: 14.5px; }
.ptabs span::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--link); }

/* get paid page */
.gpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.gstep { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border-top: 1px solid var(--line); }
.gstep:first-child { border-top: 0; }
.gstep .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(42,171,238,.14); color: var(--link); font: 900 italic 18px var(--disp); }
.gstep h3 { margin: 0 0 4px; font-weight: 500; font-size: 16px; }
.gstep p { margin: 0 0 10px; color: #AFC0D1; font-size: 14.5px; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #0E1621; box-shadow: inset 0 0 0 1.5px rgba(106,179,243,.35); font: 500 18px var(--mono); color: #fff; }
.input { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border-radius: 14px; background: #0E1621; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.input:focus-within { box-shadow: inset 0 0 0 1.5px var(--blue3); }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; color: #fff; }
.input .at { color: var(--link); }

/* docs: a channel with pinned posts */
.docs { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.post { border-radius: 18px; background: rgba(24,37,51,.96); padding: 16px 18px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.post .ph3 { display: flex; align-items: center; gap: 8px; color: var(--link); font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.post .ph3 svg { width: 16px; height: 16px; }
.post h2 { margin: 0 0 8px; font: 900 italic 24px/1.15 var(--disp); }
.post p, .post li { color: #d0dce8; font-size: 15px; line-height: 1.55; }
.post p { margin: 0 0 10px; }
.post ul { margin: 0 0 10px; padding-left: 20px; }
.post .pf { display: flex; justify-content: flex-end; align-items: center; gap: 5px; color: var(--sub); font-size: 12.5px; }
.post .pf svg { width: 15px; height: 15px; }

/* toast */
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 99; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 14px; background: rgba(36,47,61,.97); box-shadow: 0 20px 40px -14px rgba(0,0,0,.8); font-size: 14.5px; transition: opacity .2s, transform .25s var(--ease); }
#toast.on { opacity: 1; transform: translateX(-50%); }

/* film mode (?film=1): no CA anywhere */
html.tpfilm .ca-pill, html.tpfilm .own-ca { display: none !important; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  :root { --side: 300px; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .tgwin { margin: 10px auto 0; transform: none; height: 560px; }
  .why, .gp { grid-template-columns: 1fr; }
  .launch { grid-template-columns: 1fr; }
  .preview { position: relative; top: 0; }
  .preview .tgwin { height: 520px; }
  .coin { grid-template-columns: 1fr; }
  .gpage { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  #app { grid-template-columns: 1fr; }
  .side { display: none; }
  .m-brand { display: block; }
  .top { padding: 0 12px; gap: 10px; }
  .th-av { display: none; }
  .hide-s { display: none !important; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: calc(64px + env(safe-area-inset-bottom)); padding: 4px 6px env(safe-area-inset-bottom); background: rgba(23,33,43,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--sub); font-size: 11px; }
  .tabbar a svg { width: 25px; height: 25px; }
  .tabbar a.on { color: var(--link); }
  .tabbar a.fab { width: 54px; height: 54px; margin: -18px auto 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #38B6F5, #1F95D6); box-shadow: 0 10px 26px -8px rgba(42,171,238,.9); }
  .tabbar a.fab svg { width: 26px; height: 26px; margin-left: 2px; }
  #view { padding-bottom: 70px; }
  .mainbar { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .foot { grid-template-columns: 1fr; padding-bottom: 100px; }
  .steps { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 560px) {
  .top .tbtn { height: 36px; padding: 0 12px; font-size: 14px; }
  .hero { padding: 26px 16px 40px; gap: 24px; min-height: 0; }
  .h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .lead { margin: 16px 0 22px; }
  .cbar { height: 54px; } .sendb { width: 54px; height: 54px; }
  .tgwin { height: 500px; min-height: 0; border-radius: 18px; }
  .sec { padding: 64px 16px; }
  .page { padding: 22px 14px 60px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ccard .t b { font-size: 17px; }
  .ccard .bd { padding: 10px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .fl > span { width: 74px; }
  .powered { flex-wrap: wrap; gap: 10px 14px; }
  .bignum { flex-direction: column; gap: 8px; }
}
