/* TipTag · white studio, Savate + Asta Sans, ink + X blue only inside commands. Buttons and chips are cut like price tags. */
@font-face { font-family: Savate; src: url(/assets/fonts/savate-latin.woff2) format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Savate; src: url(/assets/fonts/savate-latin-ext.woff2) format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Asta Sans'; src: url(/assets/fonts/astasans-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap; }
:root {
  --wall: #f4f3ef; --wall2: #ebe9e3; --card: #ffffff; --ink: #111113; --ink2: #55545a; --ink3: #8e8c93; --line: rgba(17, 17, 19, .09);
  --x: #1d9bf0; --up: #0f9d58; --dn: #e5484d; --kraft: #cfae84;
  --disp: Savate, 'Asta Sans', system-ui, sans-serif; --text: 'Asta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sh1: 0 1px 2px rgba(17, 17, 19, .05), 0 10px 30px rgba(17, 17, 19, .07);
  --sh2: 0 2px 6px rgba(17, 17, 19, .06), 0 28px 70px rgba(17, 17, 19, .12);
  --ease: cubic-bezier(.22, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 500 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.mu { color: var(--ink2); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.up { color: var(--up); } .dn { color: var(--dn); }
.mn, .ct { color: var(--x); }
code { font: 700 .92em var(--text); background: var(--card); padding: .12em .45em; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------------------------------------------------------------- tag-cut buttons: pointed left end, a punched eyelet */
.btn { --tagc: var(--ink); --tagt: #fff; position: relative; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px 0 30px; font: 700 15px/1 var(--text); color: var(--tagt); background: var(--tagc); border-radius: 0 11px 11px 0; clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%); white-space: nowrap; transition: transform .25s var(--ease), background .2s; transform-origin: 6px 50%; }
.btn::before { content: ''; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--wall); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .35); }
.btn:hover { transform: rotate(-2.2deg); }
.btn:active { transform: rotate(-1deg) scale(.98); }
.btn.ink { --tagc: var(--ink); --tagt: #fff; }
.btn.line { --tagc: #e7e5df; --tagt: var(--ink); }
.btn.paper { --tagc: #fff; --tagt: var(--ink); }
.btn.lg { height: 54px; font-size: 16.5px; padding: 0 26px 0 36px; clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%); }
.btn.lg::before { left: 14px; width: 8px; height: 8px; margin-top: -4px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn img.wi, .btn svg { width: 18px; height: 18px; border-radius: 5px; }
.btn svg { fill: currentColor; }
.fcard .btn::before, .pv-card .btn::before, .mbox .btn::before, .okbox .btn::before, .sheet .btn::before, .xcard .btn::before { background: var(--card); }
.ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; transition: background .2s; }
.ico:hover { background: rgba(17, 17, 19, .06); }
.ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; height: 34px; padding: 0 14px 0 22px; font: 700 13.5px/34px var(--text); color: var(--ink2); background: #e7e5df; border-radius: 0 8px 8px 0; clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%); transition: background .2s, color .2s; }
.chip::before { content: ''; position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--wall); }
.chip.on { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: 74px; display: flex; align-items: center; gap: 26px; padding: 0 28px; transition: background .3s, box-shadow .3s, height .3s; }
.hdr::before { content: ''; position: absolute; inset: 0 0 -46px; z-index: -1; background: linear-gradient(to bottom, var(--wall) 0%, var(--wall) 58%, rgba(244, 243, 239, 0) 100%); pointer-events: none; transition: opacity .3s; }
.hdr.sc::before { opacity: 0; }
.hdr.sc { background: rgba(244, 243, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.brand b { font: 800 25px/1 var(--disp); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(17, 17, 19, .05); }
.nav a.on { color: var(--ink); }
.nav-x { display: flex; align-items: center; gap: 7px; }
.nav-x svg { width: 15px; height: 15px; fill: currentColor; }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-r .btn { height: 40px; }
.hdr-r .btn::before { background: var(--wall); }
.menu-btn { display: none; }
.wi { width: 20px; height: 20px; border-radius: 6px; }
.hdr-ca { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--card); box-shadow: var(--sh1); font-weight: 700; font-size: 13.5px; }
.hdr-ca b { font: 800 14px var(--disp); }
.hdr-ca svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.hdr-ca u, .cabar u { text-decoration: none; font-weight: 800; }

/* ---------------------------------------------------------------- hero: the wall, the headline, the hanging tags */
.hero { position: relative; height: max(100svh, 760px); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #fbfaf7 0%, var(--wall) 55%, #ecebe5 100%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, rgba(244, 243, 239, 0), var(--wall)); pointer-events: none; z-index: 3; }
.h1 { position: absolute; left: 0; right: 0; top: 47%; margin: 0; text-align: center; font: 800 clamp(64px, 12.4vw, 216px)/.86 var(--disp); letter-spacing: -.045em; color: var(--ink); z-index: 1; user-select: none; }
.h1 span { display: block; }
.h1 .at { display: inline-block; transform: translateY(.02em); }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; opacity: 0; transition: opacity 1.1s var(--ease); }
.gl.on { opacity: 1; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 0 20px; }     /* minmax: the long CA can never widen the page */
.composer { display: flex; align-items: center; gap: 4px; padding: 7px 7px 7px 18px; background: var(--card); border-radius: 18px; box-shadow: var(--sh2); max-width: 100%; }
.composer .xl { width: 18px; height: 18px; fill: var(--ink); margin-right: 8px; flex: none; }
.composer .cmd { font-weight: 700; font-size: 17px; white-space: nowrap; }
.composer .cmd em { font-style: normal; color: var(--x); }
.composer label { display: flex; align-items: center; font-weight: 800; font-size: 17px; color: var(--x); padding: 0 2px 0 8px; }
.composer input { width: 9ch; min-width: 4ch; border: 0; outline: 0; background: transparent; font-weight: 800; font-size: 17px; color: var(--x); padding: 9px 2px; }
.composer input::placeholder { color: rgba(29, 155, 240, .45); }
.composer .tick input { text-transform: uppercase; }
.composer .btn { margin-left: 8px; }
.composer .btn::before { background: var(--card); }
.sub { margin: 0; max-width: 640px; text-align: center; font-size: 17.5px; line-height: 1.45; color: var(--ink2); }
.sub b { color: var(--ink); }
.now { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); box-shadow: var(--sh1); font-size: 14px; font-weight: 600; transition: opacity .5s; }
.now img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.now b { font-weight: 800; }
.cabar { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--card); box-shadow: var(--sh1); font-weight: 600; font-size: 14px; max-width: 100%; min-width: 0; }
.cabar .lbl { font: 800 13px var(--disp); }
.cabar .ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cabar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }

/* ---------------------------------------------------------------- home sections */
.sec { position: relative; padding: 120px 0; }
.big { font: 800 clamp(44px, 6.4vw, 104px)/.92 var(--disp); letter-spacing: -.04em; margin: 0; }
.big .soft { color: var(--ink3); }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink2); max-width: 560px; margin: 22px 0 0; }
.lede b { color: var(--ink); }

/* one reply: copy left, the X thread right, a tag swings out of the answer */
.reply { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; padding-bottom: 150px; }
.reply .cmdline { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: var(--sh1); font-weight: 800; font-size: clamp(17px, 1.6vw, 22px); flex-wrap: wrap; max-width: 100%; row-gap: 4px; }
.thread { position: relative; display: grid; gap: 14px; }
.xcard { position: relative; background: var(--card); border-radius: 20px; box-shadow: var(--sh2); padding: 18px 20px 16px; }
.xp { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.xp .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #e8e6e0; }
.xp .av.tp { border-radius: 50%; background: var(--ink); }
.xp .rp { font-size: 14px; color: #536471; margin-bottom: 2px; }
.xp .hd { display: flex; align-items: center; gap: 5px; font-size: 15.5px; flex-wrap: wrap; }
.xp .hd b { font-weight: 800; }
.xp .hd span { color: #536471; }
.xp .vf { width: 17px; height: 17px; }
.xp .tx { font-size: 17px; line-height: 1.4; margin-top: 2px; word-wrap: break-word; }
.xcard .acts { display: flex; justify-content: space-between; max-width: 420px; margin: 12px 0 0 56px; color: #536471; }
.xcard .acts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.vf { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; }
.xcard .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--x); vertical-align: -.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.xcard.bot { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.xcard.bot.in { opacity: 1; transform: none; }
.thread .xcard { z-index: 1; }
.swing { position: absolute; right: 54px; top: calc(100% - 64px); width: 176px; transform-origin: 50% 0; z-index: 0; pointer-events: none; opacity: 0; }
.swing.in { opacity: 1; animation: drop 1.4s var(--ease) both, sway 6s ease-in-out 1.4s infinite; }
.swing canvas { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(17, 17, 19, .2)); }
@keyframes drop { 0% { transform: translateY(-60px) rotate(14deg); opacity: 0; } 40% { opacity: 1; } 70% { transform: translateY(0) rotate(-6deg); } 100% { transform: rotate(3deg); opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3.5deg); } }

/* the rack: anyone with a @ */
.rack-hd { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.rack-in { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--sh1); }
.rack-in span { font: 800 18px var(--disp); color: var(--x); }
.rack-in input { width: 200px; border: 0; outline: 0; background: none; font-weight: 700; font-size: 17px; color: var(--x); }
.rack-in .btn::before { background: var(--card); }
#anyone { overflow-x: clip; }     /* the rail bar and its scroller reach past the wrap: never past the page on phones */
@supports not (overflow-x: clip) { #anyone { overflow-x: hidden; } }
.rail { position: relative; margin-top: 56px; height: 470px; }
.rail::before { content: ''; position: absolute; left: -40px; right: -40px; top: 0; height: 7px; border-radius: 4px; background: linear-gradient(#c9c7c0, #9c9a93); box-shadow: 0 6px 14px rgba(17, 17, 19, .12); }
.rail-in { position: absolute; inset: 0 -24px; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 0 24px; scrollbar-width: none; cursor: grab; }
.rail-in::-webkit-scrollbar { display: none; }
.rail-in.drag { cursor: grabbing; }
.hang { flex: none; width: 210px; transform-origin: 50% 0; animation: sway2 var(--d, 5.6s) ease-in-out var(--dl, 0s) infinite; transition: filter .3s; }
.hang canvas { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(17, 17, 19, .16)); }
.hang:hover { animation-play-state: paused; }
.hang .tipit { display: block; margin: -8px auto 0; text-align: center; font-weight: 800; font-size: 14px; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.hang:hover .tipit { opacity: 1; transform: none; }
@keyframes sway2 { 0%, 100% { transform: rotate(var(--a, 2deg)); } 50% { transform: rotate(calc(var(--a, 2deg) * -1)); } }
.hang.new { animation: drop 1.2s var(--ease) both, sway2 5.6s ease-in-out 1.2s infinite; }

/* fees: an ink room, the tipped account's card, payouts landing by themselves */
.fees { background: #0f0f11; color: #fff; overflow: hidden; }
.fees .big { color: #fff; }
.fees .lede { color: #a3a2a8; }
.fees .lede b { color: #fff; }
.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.acct { position: relative; background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.acct .ban { height: 120px; background: #cfd9de center/cover; }
.acct .pf { padding: 0 20px 18px; }
.acct .pic { width: 104px; height: 104px; border-radius: 50%; border: 4px solid #fff; margin-top: -54px; object-fit: cover; background: #ddd; }
.acct .nm { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-weight: 800; font-size: 20px; }
.acct .hd { color: #536471; font-size: 15px; }
.acct .rows { border-top: 1px solid #eff3f4; }
.acct .row { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #eff3f4; animation: slidein .6s var(--ease) both; }
.acct .row img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: #eee; }
.acct .row b { display: block; font-weight: 800; font-size: 15px; }
.acct .row span { font-size: 13.5px; color: #536471; }
.acct .auto { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: var(--up); }
.acct .auto::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(15, 157, 88, .14); }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); } }

/* cashtag -> fomo */
.cash { text-align: center; }
.cash .tagword { position: relative; display: inline-block; margin: 26px 0 0; font: 800 clamp(80px, 15vw, 250px)/.9 var(--disp); letter-spacing: -.05em; color: var(--x); }
.cash .tagword::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .045em; background: var(--x); opacity: .35; border-radius: 9px; }
.fomo { position: relative; z-index: 2; width: min(400px, 100%); margin: -46px auto 0; text-align: left; background: #fff; border-radius: 24px; box-shadow: var(--sh2); padding: 18px; }
.fomo .fh { display: flex; align-items: center; gap: 12px; }
.fomo .fh img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.fomo .fh b { font-weight: 800; font-size: 19px; display: block; }
.fomo .fh span { font-size: 14px; color: var(--ink2); }
.fomo .fp { margin-left: auto; text-align: right; font-weight: 800; }
.fomo .spark { height: 64px; margin: 12px 0; }
.fomo .buyers { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink2); }
.fomo .buyers .stack { display: flex; }
.fomo .buyers .stack img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; }
.fomo .buyers .stack img:first-child { margin-left: 0; }
.fomo .bb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.fomo .bb a { display: grid; place-items: center; height: 48px; border-radius: 14px; font-weight: 800; }
.fomo .bb .b { background: #18c964; color: #04210f; } .fomo .bb .s { background: #f1f0ec; }
.fomo .fl { display: flex; align-items: center; gap: 7px; justify-content: center; margin-top: 12px; font-size: 13px; color: var(--ink3); }
.fomo .fl img { width: 18px; height: 18px; border-radius: 5px; }

/* every CA ends in TIP: the grinder */
.grind { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.addr { font: 700 clamp(21px, 2.3vw, 36px)/1.2 var(--text); letter-spacing: -.01em; word-break: break-all; color: var(--ink3); min-height: 2.3em; }
.addr b { color: var(--ink); }
.addr.hit b { background: var(--ink); color: #fff; padding: 0 .12em; border-radius: .14em; }
.gstat { display: flex; gap: 36px; margin-top: 22px; flex-wrap: wrap; }
.gstat div span { display: block; font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.gstat div b { font: 800 30px var(--disp); }
.gstat div b.wait { font: 700 18px/36px var(--text); color: var(--ink2); }
.hits { margin-top: 26px; display: grid; gap: 8px; }
.hits div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--card); box-shadow: var(--sh1); font-weight: 700; font-size: 15px; animation: slidein .5s var(--ease) both; }
.hits div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); }
.hits div span u { text-decoration: none; color: var(--ink); font-weight: 800; }
.hits div em { font-style: normal; color: var(--ink3); white-space: nowrap; }

/* tag cards (the board, explore, profile) */
.notes-grid, .rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 34px 26px; margin-top: 40px; }
.nc { display: block; transition: transform .35s var(--ease); transform-origin: 50% 0; }
.nc:hover { transform: rotate(-2.5deg); }
.slipc canvas { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(17, 17, 19, .14)); }
.nc .row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; font-size: 15px; }
.nc .row span { font-weight: 600; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc .live { font: 800 11px/1 var(--text); color: #fff; background: var(--ink); padding: 4px 6px; border-radius: 5px; }
.nc .mc2 { font-size: 14px; color: var(--ink2); margin-top: 2px; }
.nc.open { opacity: .9; }
.sh { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* own wallet CTA + footer */
.here { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--card); border-radius: 28px; padding: 54px; box-shadow: var(--sh1); overflow: hidden; }
.here .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.here .btn::before { background: var(--card); }
.fan { position: relative; height: 330px; }
.fan canvas { position: absolute; left: 50%; top: 0; width: 170px; transform-origin: 50% 0; filter: drop-shadow(0 18px 24px rgba(17, 17, 19, .16)); }
.foot2 { padding: 90px 0 60px; }
.foot2 .lock { display: flex; align-items: center; gap: 12px; }
.foot2 .lock img { height: 44px; }
.foot2 .lock b { font: 800 40px var(--disp); letter-spacing: -.03em; }
.foot2 .fl1 { font: 800 clamp(30px, 4vw, 56px)/1 var(--disp); letter-spacing: -.035em; margin: 26px 0 0; }
.foot2 .fca { margin-top: 22px; }
.foot2 .lk { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; font-weight: 700; }
.foot2 .lk a { color: var(--ink2); } .foot2 .lk a:hover { color: var(--ink); }
.foot2 small { display: block; margin-top: 26px; color: var(--ink3); font-size: 13px; max-width: 760px; }

/* ---------------------------------------------------------------- inner pages */
.page { padding: 130px 0 40px; min-height: 70vh; }
.pt { font: 800 clamp(42px, 5.6vw, 82px)/.95 var(--disp); letter-spacing: -.04em; margin: 0; }
.ps { font-size: 18px; color: var(--ink2); max-width: 720px; margin: 18px 0 0; }
.fcard { background: var(--card); border-radius: 20px; padding: 24px; box-shadow: var(--sh1); }
.fcard + .fcard { margin-top: 16px; }
.fcard h3 { margin: 0 0 14px; font: 800 22px var(--disp); letter-spacing: -.02em; }
.tabs { display: inline-flex; gap: 4px; margin: 30px 0 22px; padding: 5px; background: #e7e5df; border-radius: 14px; }
.tabs button { height: 40px; padding: 0 18px; border-radius: 10px; font-weight: 700; color: var(--ink2); }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: var(--sh1); }
.form { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.prev { position: sticky; top: 90px; }
.pv-card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--sh1); }
.pv-card .slipc { width: min(250px, 70%); margin: 0 auto; }
.pv-card .nm { display: flex; justify-content: space-between; margin-top: 16px; font-weight: 800; }
.pv-card .ca { margin-top: 6px; color: var(--ink2); font-weight: 600; font-size: 14px; }
.pv-card .notes { display: grid; gap: 4px; font-size: 14.5px; }
.pv-card .notes .k { font-size: 12.5px; color: var(--ink3); font-weight: 700; margin-top: 8px; }
.fl { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 7px; }
.in2 { width: 100%; height: 48px; padding: 0 14px; border: 0; outline: 0; border-radius: 12px; background: #f1f0ec; font-weight: 600; font-size: 16px; transition: box-shadow .2s, background .2s; }
.in2:focus { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
textarea.in2 { height: 96px; padding: 12px 14px; resize: vertical; }
.pre { display: flex; align-items: center; background: #f1f0ec; border-radius: 12px; }
.pre span { padding-left: 14px; font-weight: 800; color: var(--ink2); }
.pre .in2 { background: transparent; }
.pre:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.pre:focus-within .in2 { box-shadow: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #f1f0ec; cursor: pointer; transition: background .2s; }
.drop.over { background: #e4e2db; }
.drop .th { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.drop .th img { width: 100%; height: 100%; object-fit: cover; }
.drop .th svg { width: 28px; height: 28px; fill: none; stroke: var(--ink3); stroke-width: 1.6; }
.drop b { display: block; } .drop span { font-size: 13.5px; color: var(--ink2); }
.pillb { margin-left: auto; padding: 8px 14px; border-radius: 10px; background: #fff; font-weight: 700; font-size: 14px; }
.amts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.amts button { height: 40px; padding: 0 14px; border-radius: 10px; background: #f1f0ec; font-weight: 700; }
.amts button.on { background: var(--ink); color: #fff; }
.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.err { color: var(--dn); font-weight: 700; font-size: 14px; margin-top: 10px; min-height: 1px; }
.big-x { padding: 16px 18px; border-radius: 14px; background: #f1f0ec; font-weight: 800; font-size: 19px; line-height: 1.35; word-break: break-word; }
.modes { display: flex; gap: 8px; margin-bottom: 4px; }
.ca-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--sh1); }
.ca-row .a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14.5px; }
.ca-row .a u { text-decoration: none; font-weight: 800; }
.ca-row .btn::before { background: var(--card); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.stt { background: var(--card); border-radius: 14px; padding: 14px 16px; box-shadow: var(--sh1); }
.stt span { display: block; font-size: 13px; color: var(--ink2); font-weight: 600; }
.stt b { font: 800 22px var(--disp); }
.mine-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.slipc.big { width: min(300px, 80%); }
.chartbox { position: sticky; top: 90px; height: 560px; border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--sh1); }
.chartbox iframe { width: 100%; height: 100%; border: 0; }
.chartbox .wait { height: 100%; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--ink2); font-weight: 600; }
.rsave { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.rsave .mu { font-size: 14px; }
.tg { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.tg img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: #e8e6e0; }
.tg .t1 b { font-weight: 800; } .tg .t1 span { color: var(--ink2); margin-left: 6px; font-size: 14px; }
.tg .t2 { font-size: 13.5px; color: var(--ink2); }
.okbox { padding: 22px; border-radius: 16px; background: var(--card); box-shadow: var(--sh1); }
.skel { border-radius: 16px; background: linear-gradient(90deg, #ebe9e3 0%, #f4f3ef 50%, #ebe9e3 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.doc h2 { font: 800 30px var(--disp); letter-spacing: -.02em; margin: 44px 0 10px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: #2c2c30; max-width: 780px; }
.doc ul { padding-left: 20px; }
.lnk-hd .lnk-k, .lnk-lab { display: block; font-weight: 800; font-size: 14px; color: var(--ink2); margin-bottom: 10px; }
.lnk-in { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding: 8px 8px 8px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--sh2); max-width: 760px; }
.lnk-in span svg { width: 18px; height: 18px; fill: var(--ink); }
.lnk-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-weight: 600; font-size: 17px; height: 46px; }
.lnk-in .btn::before { background: var(--card); }
.lnk-err { color: var(--dn); font-weight: 700; min-height: 22px; }
.lnk-out { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; margin-top: 20px; align-items: start; }
.lnk-card { background: var(--card); border-radius: 20px; padding: 18px; box-shadow: var(--sh1); }
.lnk-card .xp + .xp { margin-top: 16px; padding-top: 16px; border-top: 1px solid #eff3f4; }
.lnk-media { margin-top: 10px; border-radius: 16px; overflow: hidden; }
.lnk-media img { width: 100%; max-height: 360px; object-fit: cover; }
.lnk-note .slipc { width: min(240px, 70%); }
.lnk-cmp { margin-top: 18px; flex-wrap: wrap; }
.lnk-name { flex: 1; min-width: 120px; color: var(--ink) !important; }
.lnk-reply { margin-top: 14px; }
.lnk-fine { font-size: 13.5px; color: var(--ink2); }
.tp-list { margin-top: 36px; display: grid; gap: 12px; }
.tp-row { display: grid; grid-template-columns: 56px 1.4fr 110px 1fr; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 18px; background: var(--card); box-shadow: var(--sh1); animation: slidein .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.tp-row.sk { height: 96px; }
.tp-n { font: 800 28px var(--disp); color: var(--ink3); }
.tp-row.one .tp-n { color: var(--ink); }
.tp-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tp-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #e8e6e0; }
.tp-who b { display: block; font-weight: 800; font-size: 17px; }
.tp-who em { font-style: normal; font-size: 13.5px; color: var(--ink2); }
.tp-note .slipc { width: 74px; }
.tp-mc { text-align: right; } .tp-mc b { display: block; font: 800 24px var(--disp); } .tp-mc em { font-style: normal; color: var(--ink2); font-size: 13px; }
.tp-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.pr-hd { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; }
.pr-av { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: #e8e6e0; box-shadow: var(--sh1); }
.pr-act { display: flex; gap: 10px; flex-wrap: wrap; }
.pr-list { display: grid; gap: 16px; margin-top: 30px; }
.pr-row { display: grid; grid-template-columns: 170px 1fr 220px; gap: 24px; align-items: start; padding: 20px; border-radius: 22px; background: var(--card); box-shadow: var(--sh1); }
.pr-row.sk { height: 220px; }
.pr-note .slipc { width: 100%; }
.pr-post { box-shadow: none; padding: 0; }
.pr-wait { color: var(--ink2); font-size: 14px; }
.pr-open { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; text-decoration: underline; }
.pr-mc b { display: block; font: 800 28px var(--disp); } .pr-mc em { display: block; font-style: normal; color: var(--ink2); font-size: 13.5px; margin-bottom: 12px; }
.pr-mc .btn::before { background: var(--card); }
.pr-pop { margin-top: 30px; } .pr-pop div { display: flex; gap: 8px; flex-wrap: wrap; }
.pr-chip { padding: 8px 14px; border-radius: 10px; background: var(--card); box-shadow: var(--sh1); font-weight: 700; }
.pr-st { margin-top: 26px; }

/* ---------------------------------------------------------------- search, modals, toast */
.search-ov { position: fixed; inset: 0; z-index: 80; background: rgba(244, 243, 239, .7); backdrop-filter: blur(10px); display: none; padding: 90px 20px 20px; }
.search-ov.on { display: block; }
.search { position: relative; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 60px; border-radius: 18px; background: #fff; box-shadow: var(--sh2); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink2); stroke-width: 2; flex: none; }
.search input { flex: 1; border: 0; outline: 0; font-weight: 600; font-size: 17px; background: none; }
.search kbd { font: 700 12px var(--text); color: var(--ink3); padding: 4px 7px; border-radius: 6px; background: #f1f0ec; }
.sres { position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-radius: 16px; box-shadow: var(--sh2); padding: 6px; display: none; }
.sres.on { display: block; }
.sres a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 700; }
.sres a:hover { background: #f4f3ef; }
.sres a img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.sres a em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink3); }
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(17, 17, 19, .32); backdrop-filter: blur(6px); padding: 20px; }
.modal.on { display: grid; }
.mbox { width: min(440px, 100%); background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--sh2); }
.mbox h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; font: 800 24px var(--disp); }
.mbox h3 button { font-size: 26px; width: 36px; height: 36px; border-radius: 10px; }
.wl { display: grid; gap: 8px; }
.wl button { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f4f3ef; font-weight: 700; }
.wl button img { width: 32px; height: 32px; border-radius: 9px; }
.wl .none { color: var(--ink2); font-size: 14.5px; }
.mnote { font-size: 13px; color: var(--ink3); margin: 14px 0 0; }
.prog { display: grid; gap: 8px; }
.pr { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f4f3ef; font-weight: 700; color: var(--ink3); }
.pr i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.pr.on { color: var(--ink); } .pr.on i { border-color: var(--ink); border-right-color: transparent; animation: spin .8s linear infinite; }
.pr.ok { color: var(--ink); } .pr.ok i { background: var(--ink); border-color: var(--ink); }
.pr small { margin-left: auto; font-weight: 600; color: var(--ink2); }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 30px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.js-rv .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 1080px) {
  .nav { display: none; position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--sh2); }
  body.nav-open .nav { display: flex; }
  .menu-btn { display: grid; }
  .reply, .fees-grid, .grind, .here, .form, .mine-box, .lnk-out { grid-template-columns: 1fr; }
  .prev, .chartbox { position: static; }
  .swing { right: 20px; width: 140px; }
  .reply .thread { margin-bottom: 220px; }
}
@media (max-width: 760px) {
  .hdr { padding: 0 14px; gap: 10px; height: 62px; }
  .hdr-r { gap: 6px; }
  .hdr-r .btn.ink { display: none; }
  .hdr-ca { display: none; }     /* phones: the CA sits under the hero composer and in the footer */
  .hdr-r .btn { height: 38px; padding: 0 14px 0 24px; font-size: 14px; }
  .brand img { height: 28px; } .brand b { font-size: 22px; }
  .wrap { width: calc(100% - 32px); }
  .hero { height: max(100svh, 700px); }
  .h1 { top: 44%; font-size: clamp(56px, 17.5vw, 96px); }
  .hero-foot { bottom: 22px; }
  .composer { flex-wrap: wrap; justify-content: center; padding: 10px; border-radius: 18px; gap: 2px; width: 100%; }
  .composer .cmd, .composer label, .composer input { font-size: 16px; }
  .composer .btn { margin: 8px 0 0; width: 100%; justify-content: center; }
  .sub { font-size: 15.5px; }
  .sec { padding: 80px 0; }
  .lede { font-size: 17px; }
  .rail { height: 400px; }
  .hang { width: 170px; }
  .here { padding: 28px; }
  .fan { height: 260px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .tp-row { grid-template-columns: 34px 1fr auto; } .tp-note { display: none; }
  .pr-hd { grid-template-columns: 80px 1fr; } .pr-av { width: 80px; height: 80px; } .pr-act { grid-column: 1 / -1; }
  .pr-row { grid-template-columns: 1fr; }
  .gstat { gap: 22px; }
  .xp .tx { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- stills: ?shot=banner (1500x500, pfp safe zone bottom-left) / ?shot=og (1200x630) */
.shot-lock { display: none; }
body.shot .hdr, body.shot .hero-foot, body.shot main > section:not(.hero), body.shot .foot2 { display: none !important; }
body.shot .hero { height: 100vh; }
body.shot .hero::after { display: none; }
body.shot .shot-lock { position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink2); }
body.shot .shot-lock img { height: 1.6em; width: auto; }
body.shot .shot-lock b { font: 800 1.35em/1 var(--disp); color: var(--ink); letter-spacing: -.02em; }
body.shot .shot-lock i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink3); }
body.shot-banner .h1 { left: 400px; right: 30px; top: 40%; font-size: 124px; }
body.shot-banner .shot-lock { left: 400px; right: 30px; justify-content: center; top: 85%; font-size: 30px; }
body.shot-og .h1 { top: 45%; font-size: 120px; }
body.shot-og .shot-lock { left: 0; right: 0; justify-content: center; top: 86%; font-size: 30px; }
