/* Token & Venue page (.page with .split.fitv): laid out to fit a laptop window (1280×760 and up) without scrolling.
   Rearranged, not shrunk: step labels sit in a left rail, choices sit in single rows, long help folds away.
   Below 1101px wide the page keeps the stacked layout from style.css and scrolls normally. */

/* the closed pair list is invisible but absolutely placed under its tile, which adds page height and width; park it out of flow (pairs.js places it fixed when it opens) */
.split.fitv .vstep .pp:not(.open) .pp-menu { position: fixed; top: 0; left: 0; visibility: hidden; }
/* …and give it no height while parked: under a look whose cards are a containing block for fixed boxes (look 6) it otherwise still adds page scroll */
.split.fitv .vstep .pp:not(.open) .pp-menu { max-height: 0; overflow: hidden; }

@media (min-width: 1101px) {
  .page:has(> .split.fitv) { --fv-gap: 14px; row-gap: 12px; padding-top: 10px; padding-bottom: 12px; }

  /* Title and subtitle on one baseline */
  .page:has(> .split.fitv) > .ph > div { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; }
  .page:has(> .split.fitv) > .ph h1 { margin: 0; }
  .page:has(> .split.fitv) > .ph p { margin: 0; }

  /* Two columns, equal gutters, equal heights */
  .split.fitv { grid-template-columns: minmax(0, 2.2fr) minmax(318px, 1fr); gap: var(--fv-gap); align-items: stretch; }
  .split.fitv > .stack { gap: 10px; min-width: 0; }
  .split.fitv > .s1-mid { display: flex; flex-direction: column; }
  .split.fitv > .s1-mid > .vstep:last-child { flex: 1; }   /* the left column ends level with the right */
  .split.fitv > .s1-side { position: static; display: flex; flex-direction: column; }

  /* Steps: label rail on the left, content on the right */
  .split.fitv .vstep { display: grid; grid-template-columns: 124px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-content: start; align-items: start; padding: 12px 16px; }
  .split.fitv .vstep > .ch { grid-column: 1; grid-row: 1 / span 6; margin: 0; padding: 0; min-height: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .split.fitv .vstep > .ch .vs-n { flex: none; }
  .split.fitv .vstep > .ch h3 { margin: 0; white-space: nowrap; }
  .split.fitv .vstep > .ch .ch-act { flex: 1 0 100%; display: grid; gap: 6px; justify-items: start; margin: 0; padding-left: 34px; text-align: left; }
  .split.fitv .vstep > .ch .ch-act .muted { font-size: 12.5px; }
  .split.fitv .vstep > .ch .fv-pay { display: block; color: var(--tx3); font-size: 11.5px; line-height: 1.45; }
  .split.fitv .vstep > :not(.ch) { grid-column: 2; min-width: 0; }
  .split.fitv .vstep > :not(.ch) + :not(.ch) { margin-top: 10px; }
  .split.fitv .vstep.locked > .hint { margin: 0; align-self: center; min-height: 24px; }

  /* Rows of choices */
  .split.fitv .vstep .g2.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .split.fitv .vstep:nth-child(2) .g2.tiles { grid-template-columns: minmax(0, 1fr); }
  .split.fitv .vstep .tile { min-height: 0; padding: 9px 12px; gap: 10px; }
  .split.fitv .vstep .tile > span:not(.vlogo) { min-width: 0; }
  .split.fitv .vstep .tile.on, .split.fitv .vstep .ptile.on { padding-right: 22px; }   /* room for the selected dot */
  .split.fitv .vstep .tile .vlogo { width: 34px; height: 34px; }
  .split.fitv .vstep .pair-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .split.fitv .vstep .pair-tiles .ptile { padding: 6px 10px; gap: 8px; min-height: 0; height: 100%; }
  .split.fitv .vstep .pair-tiles .ptile .vlogo { width: 30px; height: 30px; }
  .split.fitv .vstep .pp { min-width: 0; }

  /* narrower laptops: chain tiles stack icon over name so no label breaks mid-phrase */
  @media (max-width: 1399px) {
    .split.fitv .vstep:nth-child(1) .tile { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 10px 8px; }
    .split.fitv .vstep:nth-child(1) .tile.on { padding-right: 8px; }
    .split.fitv .vstep:nth-child(1) .tile > span { display: grid; justify-items: center; }
    .split.fitv .vstep:nth-child(1) .tile b, .split.fitv .vstep:nth-child(1) .tile small { white-space: nowrap; }
  }

  /* Creator fee and opening buy on one line */
  .split.fitv .fv-fees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .split.fitv .fv-inl { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 0; }
  .split.fitv .fv-inl .fl { display: inline-flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
  .split.fitv .fv-inl .inp { min-width: 0; }

  /* Where creator fees go: one segmented row, the explanations fold away */
  .split.fitv .fv-feeto { position: relative; gap: 0; padding: 10px 12px; container-type: inline-size; }
  .split.fitv .fv-ft-row { display: grid; gap: 8px; }
  .split.fitv .fv-ft-row .fee-to-h { margin: 0; line-height: 18px; padding-right: 170px; }
  .split.fitv .fv-seg { min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: var(--fill, var(--bg1)); }
  .split.fitv .fv-seg .fee-to-r { display: flex; align-items: center; justify-content: center; gap: 0; padding: 6px 8px; border-radius: 8px; text-align: center; color: var(--tx2); }
  .split.fitv .fv-seg .fee-to-r:hover { background: rgba(255, 255, 255, .04); color: var(--tx); }
  .split.fitv .fv-seg .fee-to-r.on { background: rgba(255, 255, 255, .09); color: var(--tx); box-shadow: inset 0 0 0 1px rgba(201, 220, 242, .16); }
  .split.fitv .fv-seg .fee-to-r input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
  .split.fitv .fv-seg .fee-to-r:has(input:focus-visible) { outline: 2px solid var(--ac); outline-offset: 1px; }
  .split.fitv .fv-seg .fee-to-r b { font: 600 12.5px var(--f); white-space: nowrap; }
  .split.fitv .fv-feeto .fv-q-b { position: absolute; top: 10px; right: 12px; display: inline-flex; align-items: center; gap: 6px; line-height: 18px; padding: 0; border: 0; background: none; color: var(--tx2); font: 500 12.5px var(--f); cursor: pointer; }
  .split.fitv .fv-feeto .fv-q-b:focus-visible { outline: 2px solid rgba(201,220,242,.55); outline-offset: 3px; border-radius: 99px; }
  .split.fitv .fv-q { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ln3, rgba(201, 220, 242, .25)); font: 600 11px var(--f); color: var(--tx2); }
  .split.fitv .fv-q-b[aria-expanded="true"] .fv-q, .split.fitv .fv-q-b:hover .fv-q { color: var(--tx); border-color: var(--tx2); }
  /* wide enough: heading and choices on one line, the toggle is just the (?) at the end */
  @container (min-width: 520px) {
    .split.fitv .fv-ft-row { display: flex; align-items: center; gap: 12px; padding-right: 30px; }
    .split.fitv .fv-ft-row .fee-to-h { padding-right: 0; flex: none; white-space: nowrap; }
    .split.fitv .fv-seg { flex: 1; }
    .split.fitv .fv-feeto .fv-q-b { top: 18px; }
    .split.fitv .fv-qt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }
  /* Creator wallet → Send to: one compact line under the choice */
  .split.fitv .fv-feeto .fv-ft-send { margin-top: 8px; }

  /* Token info fills the column height; the description takes the slack */
  .split.fitv .s1-side > .tq { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; }
  .split.fitv .tq > .ch { margin: 0; min-height: 0; }
  .split.fitv .tq-head { padding: 10px 12px; }
  .split.fitv .tq .g2 { gap: 10px; }
  .split.fitv .tq > .field:has(textarea) { flex: 1; display: flex; flex-direction: column; min-height: 0; }
  .split.fitv .tq > .field:has(textarea) .inp.ta { flex: 1; display: flex; min-height: 58px; }
  .split.fitv .tq > .field:has(textarea) textarea { flex: 1; min-height: 0; resize: none; }
  .split.fitv .tq > details.adv { margin-top: 0; }

  /* Action bar spans the content width */
  .page > .fv-bar { padding: 7px 7px 7px 16px; }
  .page > .fv-bar #nb-status { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Send to (Creator wallet): label, a small segmented choice, then the wallet / address / @handle; the note sits under the value */
.fv-ft-send { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; column-gap: 10px; row-gap: 3px; min-width: 0; }
.fv-ft-l { font: 500 12px var(--f); color: var(--tx3); white-space: nowrap; }
html:root .fv-seg.fv-seg-sm { display: inline-grid; grid-auto-flow: column; grid-auto-columns: auto; gap: 2px; padding: 2px; border-radius: 9px; }
html:root .fv-seg.fv-seg-sm .fee-to-r { display: flex; align-items: center; justify-content: center; padding: 3px 9px; border: 0; border-radius: 7px; background: none; color: var(--tx2); cursor: pointer; font: inherit; }
html:root .fv-seg.fv-seg-sm .fee-to-r b { font: 600 11.5px var(--f); white-space: nowrap; }
.fv-seg.fv-seg-sm .fee-to-r:focus-visible { outline: 2px solid rgba(201,220,242,.55); outline-offset: 1px; }
.fv-ft-me { min-width: 0; justify-self: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--tx2); }
html:root .fv-ft-in.inp { height: 28px; min-height: 28px; min-width: 0; padding-top: 0; padding-bottom: 0; }
.fv-ft-in input { min-width: 0; font-size: 12px; }
html:root .fv-ft-in.bad { box-shadow: inset 0 0 0 1px rgba(232,128,96,.55) !important; }
.fv-ft-note { grid-column: 2 / -1; justify-self: end; max-width: 100%; min-width: 0; font-size: 11px; line-height: 1.3; color: var(--tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-ft-note.err { color: #f0a58a; }
.fv-ft-note:empty { display: none; }
/* the (?) popover: frosted, anchored under the button, on the popover layer */
.ft-pop { position: fixed; z-index: var(--z-popover, 200); width: min(340px, calc(100vw - 16px)); display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px;
  background: var(--pop-bg, rgba(16,20,27,.86)); box-shadow: var(--pop-sh, 0 24px 60px -18px rgba(0,0,0,.85)); -webkit-backdrop-filter: blur(28px) saturate(1.2); backdrop-filter: blur(28px) saturate(1.2); animation: lfFade .15s ease; }
.ft-pop .hint { margin: 0; color: #a3afbd; font-size: 12px; line-height: 1.5; }
.ft-pop .hint b { color: #d6e0ec; }
.ft-pop .hint.on { color: var(--tx2); } .ft-pop .hint.on b { color: #fff; }

/* "Where your creator fees go" is optional (the fee itself is fixed by the venue): a muted tag, the default stays selected */
.fee-to-h .fee-opt { margin-left: 6px; font: 500 11.5px var(--f); font-style: normal; color: var(--tx3); }

/* ===== Step 4 · Connect X (optional) =====
   A slim muted row like the locked steps until X is connected, then "@handle · connected" at full strength.
   Pairing (step 3) takes the column's spare height again, so the left column ends level with the right. */
@media (min-width: 1101px) {
  .split.fitv > .s1-mid > .vstep:last-child { flex: none; }
  .split.fitv > .s1-mid > .vstep:nth-child(3) { flex: 1; }
  .split.fitv .vstep.fv-x { align-items: center; padding-top: 9px; padding-bottom: 9px; }
  .split.fitv .vstep.fv-x > .ch { grid-row: 1; }
}
html:root[data-look] .vstep.fv-x.opt { --e1: rgba(240,247,255,.1); --e2: rgba(201,220,242,.04); --e3: transparent; }
html:root[data-look] .vstep.fv-x.opt .vs-n { color: var(--tx3); background: rgba(201,220,242,.03); box-shadow: inset 1px 1px 0 rgba(240,247,255,.06), 0 0 0 1px rgba(201,220,242,.1); }
.vstep.fv-x.opt > .ch h3 { color: var(--tx3); }
.fv-x-b { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 30px; }
.vstep.fv-x.opt .fv-x-b { opacity: .62; transition: opacity .2s ease; }
.vstep.fv-x.opt:hover .fv-x-b, .vstep.fv-x.opt:focus-within .fv-x-b { opacity: 1; }
.fv-x-b > small { flex: 1; min-width: 0; color: var(--tx3); font-size: 12px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-x-b .fv-opt { flex: none; font-size: 11.5px; color: var(--tx3); }
.fv-x-b .xc-btn { flex: none; }
.fv-x-b .xc-av { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.fv-x-id { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
.fv-x-id b { color: var(--tx); font-size: 13px; } .fv-x-id small { color: var(--tx3); font-size: 12px; }
.fv-x-b .lnk { color: var(--tx3); font-size: 12px; text-decoration: underline; text-decoration-color: rgba(201,220,242,.25); text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 0; }
.fv-x-b .lnk:hover { color: var(--ac-ice, #dfe9f5); }

/* short laptop windows (1280x800): trim the vertical rhythm a little so the page stays a one-pager */
@media (min-width: 1101px) and (max-height: 860px) {
  .page:has(> .split.fitv) { row-gap: 10px; padding-top: 6px; padding-bottom: 8px; }
  .split.fitv > .stack { gap: 8px; }
  .split.fitv .vstep { padding-top: 9px; padding-bottom: 9px; }
  .split.fitv .s1-side > .tq { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  /* with a banner the PFP caption goes (the PFP keeps its tooltip and stays clickable); the description gives a little */
  .split.fitv .tq-head.has-bn .tq-art small { display: none; }
  .split.fitv .tq-head.has-bn .tq-art { margin-top: -26px; }
  .split.fitv .tq > .field:has(textarea) .inp.ta { min-height: 46px; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .tq > .field:has(textarea) textarea { height: 30px; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .s1-side > .tq { gap: 8px; }
  html:root .split.fitv .tq-head.has-bn { padding-bottom: 6px !important; }
}
/* the fee heading has a short form ("Creator fees") for narrow boxes; the long one shows by default */
.fee-to-h .ft-short { display: none; }
@media (min-width: 1101px) {
  /* narrow fee box (1280-wide windows): heading, choices and the (?) share one line instead of two */
  @container (max-width: 519px) {
    .split.fitv .fv-ft-row { display: flex; align-items: center; gap: 8px; padding-right: 26px; }
    .split.fitv .fv-ft-row .fee-to-h { padding-right: 0; flex: none; white-space: nowrap; }
    .split.fitv .fv-ft-row .fee-to-h .ft-long, .split.fitv .fv-ft-row .fee-to-h .fee-opt { display: none; }
    .split.fitv .fv-ft-row .fee-to-h .ft-short { display: inline; }
    .split.fitv .fv-seg { flex: 1; grid-auto-columns: minmax(max-content, 1fr); }
    .split.fitv .fv-seg .fee-to-r { padding-left: 6px; padding-right: 6px; }
    .split.fitv .fv-feeto .fv-q-b { top: 50%; translate: 0 -50%; }
    .split.fitv .fv-feeto.has-send .fv-q-b { top: 10px; translate: 0 6px; }
    .split.fitv .fv-qt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }
}
@media (min-width: 1101px) and (max-height: 860px) {
  /* short windows: the venue note stays on one line (full text in its tooltip), the Send-to note tucks in */
  .split.fitv .vstep:nth-child(2) .tile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .split.fitv .fv-feeto { padding-top: 8px; padding-bottom: 8px; }
  .split.fitv .fv-feeto .fv-ft-send { margin-top: 6px; row-gap: 1px; }
  /* and the steps above give a little back: the venue's chain name stays on one line, stacked chain tiles tighten */
  .split.fitv .vstep > .ch .ch-act .muted { white-space: nowrap; }
  .split.fitv .vstep:nth-child(2) > .ch .ch-act { padding-left: 0; }
  .split.fitv .vstep > :not(.ch) + :not(.ch) { margin-top: 6px; }
}
@media (min-width: 1101px) and (max-width: 1399px) and (max-height: 860px) {
  html:root .split.fitv .vstep:nth-child(1) .tile { gap: 3px; padding-top: 6px; padding-bottom: 6px; }
}
@media (min-width: 1101px) {
  /* a locked Pairing step that takes the spare height keeps its rail and hint centred, so it reads as a placeholder, not a hole */
  .split.fitv > .s1-mid > .vstep.locked:nth-child(3) { align-content: center; }
}

/* ===== Step 4 · Contract address (js/ca.js) =====
   A slim row like Connect X: a compact frosted dropdown with how the address is made, an inline input for "letters you
   pick" or "your own key", then the read-only preview (short, mono, copy). The menu sits on body, on the popover layer. */
@media (min-width: 1101px) {
  .split.fitv .vstep.fv-ca { align-items: center; padding-top: 9px; padding-bottom: 9px; }
  .split.fitv .vstep.fv-ca > .ch { grid-row: 1; }
  .split.fitv .vstep.fv-ca > .ch h3 { white-space: nowrap; }
}
.fv-ca-b { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 30px; }
.fv-ca-dd { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 9px 0 12px; border: 0; border-radius: 9px; cursor: pointer; white-space: nowrap;
  font: 600 12.5px var(--f); color: var(--tx); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), rgba(10,13,18,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(201,220,242,.1); transition: box-shadow .2s ease, background .2s ease; }
.fv-ca-dd:hover, .fv-ca-dd[aria-expanded="true"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(201,220,242,.24), 0 0 16px -8px rgba(127,184,255,.45); }
.fv-ca-dd:focus-visible { outline: 2px solid rgba(201,220,242,.55); outline-offset: 2px; }
.fv-ca-dd > .i { width: 12px; height: 12px; color: var(--tx3); transform: rotate(90deg); transition: transform .2s ease; }
.fv-ca-dd[aria-expanded="true"] > .i { transform: rotate(-90deg); }
html:root .fv-ca-in.inp { flex: none; height: 30px; min-height: 30px; padding-top: 0; padding-bottom: 0; gap: 6px; }
.fv-ca-in em { font-style: normal; color: var(--tx3); display: inline-flex; align-items: center; }
.fv-ca-in input { min-width: 0; font: 500 12.5px var(--fm, ui-monospace, monospace); }
html:root .fv-ca-sfx.inp { width: 84px; }
html:root .fv-ca-key.inp { width: 200px; flex: 0 1 200px; min-width: 120px; }
.fv-ca-key input::placeholder { font-family: var(--f); }
.fv-ca-slot { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.fv-ca-note { min-width: 0; display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.35; color: var(--tx3); }
.fv-ca-note > .i { width: 11px; height: 11px; flex: none; }
.fv-ca-note.err { color: #f0a58a; }
.fv-ca-note.busy { color: var(--tx2); }
.fv-ca-addr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--tx2); }
.fv-ca-addr b { font-weight: 600; color: var(--ac-ice, #dfe9f5); }
.fv-ca-copy { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; cursor: pointer; color: var(--tx2);
  background: rgba(201,220,242,.05); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); transition: color .2s, box-shadow .2s, background .2s; }
.fv-ca-copy:hover, .fv-ca-copy:focus-visible { color: #f0f7ff; background: rgba(201,220,242,.1); box-shadow: inset 0 0 0 1px rgba(201,220,242,.26); outline: none; }
.fv-ca-copy.ok { color: #8fe0c4; }
.fv-ca-b .fv-opt { flex: none; font-size: 11.5px; color: var(--tx3); }
.fv-ca-spin { width: 11px; height: 11px; flex: none; border-radius: 50%; border: 1.5px solid rgba(201,220,242,.18); border-top-color: var(--ac-ice, #dfe9f5); animation: caSpin .8s linear infinite; }
@keyframes caSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fv-ca-spin { animation-duration: 2.4s; } }
/* the menu: frosted, on body, above the page and above the Review & launch editor (z-scale in review-edit.css) */
.ca-menu { position: fixed; z-index: calc(var(--z-popover, 200) + 2); min-width: 290px; display: grid; gap: 2px; padding: 6px; border-radius: 14px;
  background: var(--pop-bg, rgba(16,20,27,.86)); box-shadow: var(--pop-sh, 0 24px 60px -18px rgba(0,0,0,.85)); -webkit-backdrop-filter: blur(28px) saturate(1.2); backdrop-filter: blur(28px) saturate(1.2); animation: lfFade .15s ease; }
.ca-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--tx2); text-align: left; cursor: pointer; font: inherit; transition: background .15s ease; }
.ca-opt > span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ca-opt b { font: 600 13px var(--f); color: var(--tx); }
.ca-opt small { font-size: 12px; color: var(--tx3); }
.ca-opt:hover, .ca-opt:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.ca-opt.on { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(201,220,242,.14); }
.ca-ck { flex: none; width: 16px; display: grid; place-items: center; color: var(--ac-ice, #dfe9f5); }

/* ===== Creator wallet → Send to → Share fees (js/feeshare.js) =====
   "Creator wallet keeps 70%" over a thin split bar sits where the wallet address goes; every share row under it, "+ Add wallet" last */
.fv-ft-keep { min-width: 0; justify-self: end; display: grid; justify-items: end; gap: 4px; }
.fs-sum { font-size: 12px; line-height: 1.2; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fs-sum b { color: var(--tx); font-weight: 600; }
.fs-sum.err { color: #f0a58a; }
.fs-bar { display: flex; gap: 1px; width: 132px; max-width: 100%; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(201,220,242,.08); }
.fs-seg { display: block; flex: none; height: 100%; background: var(--c); }
.fs-seg.me { background: rgba(223,233,245,.72); }
.fs-list { display: grid; gap: 4px; margin-top: 6px; }
.fs-row { display: grid; grid-template-columns: 6px minmax(0, 1fr) 72px 22px; align-items: center; gap: 8px; }
.fs-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
html:root .fs-row .inp { height: 28px; min-height: 28px; min-width: 0; padding-top: 0; padding-bottom: 0; }
.fs-row input { min-width: 0; font-size: 12px; }
.fs-pct em { font-style: normal; color: var(--tx3); font-size: 12px; }
html:root .fs-row .inp.bad { box-shadow: inset 0 0 0 1px rgba(232,128,96,.55) !important; }
.fs-x { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--tx3); cursor: pointer; transition: color .2s, background .2s; }
.fs-x .i { width: 11px; height: 11px; }
.fs-x:hover, .fs-x:focus-visible { color: #f0f7ff; background: rgba(201,220,242,.1); outline: none; }
.fs-foot { display: flex; align-items: center; gap: 6px; padding-left: 14px; }
.fs-add { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 7px; border: 0; border-radius: 99px; cursor: pointer; white-space: nowrap;
  font: 500 11.5px var(--f); color: var(--tx2); background: rgba(201,220,242,.05); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); transition: color .2s, box-shadow .2s, background .2s; }
.fs-add .i { width: 11px; height: 11px; }
.fs-add:hover, .fs-add:focus-visible { color: #f0f7ff; background: rgba(201,220,242,.1); box-shadow: inset 0 0 0 1px rgba(201,220,242,.24); outline: none; }
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .fs-list { margin-top: 4px; gap: 3px; }
  html:root .split.fitv .fs-row .inp { height: 26px; min-height: 26px; }
}

/* ===== Token info: Socials · Optional under Description (js/socials.js), the Banner row's shape; chips once set ===== */
/* the socials pop-out: a small pop-up above the page and above Review & launch and its editor (z-scale in review-edit.css) */
/* the PFP pop-up keeps only the logo URL under the zoom */
.cr-soc.cr-logo { gap: 6px; }

/* ===== Token info head: the PFP greys a little with a pen on hover / keyboard focus; the banner's "Change" pill always shows ===== */
.tq-art .tlogo { position: relative; }
.tq-art .tlogo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: rgba(6,8,12,.45); opacity: 0; transition: opacity .18s ease; }
.tq-art .tlogo img { transition: filter .18s ease; }
.tq-pen { position: absolute; z-index: 3; top: 32px; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; pointer-events: none;
  color: #f0f7ff; background: rgba(16,20,27,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(201,220,242,.26);
  opacity: 0; scale: .88; transition: opacity .18s ease, scale .18s ease; }
.tq-pen .i { width: 13px; height: 13px; }
:is(.tq-art:hover, .tq-art:focus-visible, .tq-art.over) .tlogo::after { opacity: 1; }
:is(.tq-art:hover, .tq-art:focus-visible, .tq-art.over) .tlogo img { filter: saturate(.6); }
:is(.tq-art:hover, .tq-art:focus-visible, .tq-art.over) .tq-pen { opacity: 1; scale: 1; }
html:root .tq-bn .tq-bn-rep { opacity: 1; transform: none; border-radius: 99px; padding: 4px 10px 4px 8px; background: rgba(10,13,18,.55); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(201,220,242,.22), 0 4px 12px -6px rgba(0,0,0,.7); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
html:root .tq-bn-pick:is(:hover, :focus-visible) .tq-bn-rep { transform: translateY(-1px); background: rgba(10,13,18,.68); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(201,220,242,.34), 0 8px 18px -8px rgba(0,0,0,.8), 0 0 14px -6px rgba(127,184,255,.45); }
@media (prefers-reduced-motion: reduce) { .tq-pen, .tq-art .tlogo::after, .tq-art .tlogo img { transition: none; } }

/* ===== Room for steps 4 and 5 (and the share rows) in short windows: the steps above give a little ===== */
@media (min-width: 1101px) {
  /* "Contract address" sits on two lines beside its number, so the rail keeps its width */
  .split.fitv .vstep.fv-ca > .ch { flex-wrap: nowrap; }
  html:root .split.fitv .vstep.fv-ca > .ch h3 { white-space: normal; line-height: 1.15; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv > .stack { gap: 7px; }
  .split.fitv .vstep:is(.fv-x, .fv-ca) { padding-top: 7px; padding-bottom: 7px; }
  /* pair tiles: name and sub-line on one line, smaller mark */
  .split.fitv .vstep .pair-tiles { gap: 6px; }
  .split.fitv .vstep .pair-tiles .ptile { padding-top: 5px; padding-bottom: 5px; }
  .split.fitv .vstep .pair-tiles .ptile .vlogo { width: 24px; height: 24px; }
  .split.fitv .vstep .pair-tiles .ptile > span:not(.vlogo) { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
  .split.fitv .vstep .pair-tiles .ptile > span:not(.vlogo) b { flex: none; }
  .split.fitv .vstep .pair-tiles .ptile > span:not(.vlogo) small { min-width: 0; }
  /* stacked chain tiles: the sub-line goes, the name and mark stay */
  .split.fitv .vstep:nth-child(1) .tile small { display: none; }
}

/* ===== Share fees open: the pair tiles sit on one row (names only, the custom token gets the wider slot) and the venue
   note tucks away, so two share rows fit without the page scrolling ===== */
@media (min-width: 1101px) and (max-height: 960px) {
  .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 6px; }
  .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles .ptile { padding-top: 5px; padding-bottom: 5px; padding-left: 9px; gap: 7px; }
  .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles .ptile .vlogo { width: 24px; height: 24px; }
  .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles .ptile small { display: none; }
  .split.fitv .s1-mid:has(.fs-list) .vstep:nth-child(2) .tile small { display: none; }
}
@media (min-width: 1101px) and (max-height: 960px) {
  html:root .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles { grid-template-columns: repeat(3, auto) minmax(0, 1fr); }
  .split.fitv .s1-mid:has(.fs-list) .vstep:nth-child(2) > .ch .ch-act { padding-left: 0; }
  .split.fitv .s1-mid:has(.fs-list) .vstep:nth-child(2) > .ch .ch-act .muted { white-space: nowrap; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .page:has(> .split.fitv .fs-list) { row-gap: 8px; }
  .split.fitv > .s1-mid:has(.fs-list) { gap: 6px; }
  html:root .split.fitv .fv-feeto:has(.fs-list) { padding-top: 6px; padding-bottom: 6px; }
  .split.fitv .fv-feeto:has(.fs-list) .fv-ft-send { margin-top: 5px; }
  html:root .split.fitv .fs-row .inp { height: 24px; min-height: 24px; }
  .split.fitv .fs-x { width: 20px; height: 20px; }
  .split.fitv .fs-add { height: 20px; }
}
/* narrow fee box: in Share fees the "Send to" label steps aside so "Creator wallet keeps 70%" reads in full */
@container (max-width: 519px) {
  .fv-ft-send:has(.fv-ft-keep) { grid-template-columns: auto minmax(0, 1fr); }
  .fv-ft-send:has(.fv-ft-keep) > .fv-ft-l { display: none; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .fs-list { margin-top: 3px; gap: 3px; }
  .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles .ptile { padding-top: 4px; padding-bottom: 4px; }
  .split.fitv .s1-mid:has(.fs-list) .vstep:is(.fv-x, .fv-ca) { padding-top: 6px; padding-bottom: 6px; }
}
@media (min-width: 1101px) and (max-height: 960px) {
  html:root[data-look] .split.fitv .s1-mid:has(.fs-list) .vstep .pair-tiles .ptile.on { padding-right: 24px; }
}

/* ===== Token info: a short Description (2-3 lines) and the socials as a readable list under their header row =====
   With socials filled, the list takes the column's spare height (and scrolls inside its own box if it must);
   with none, the Description takes it back so the card has no hole. */
.soc-err { min-height: 0; font-size: 11.5px; line-height: 1.3; color: #f0a58a; }
.soc-err:empty { display: none; }
@media (min-width: 1101px) {
  /* the list adds no height of its own to the row (contain: size): it fills what the left column leaves, at least two rows */
}
@media (min-width: 1101px) and (max-height: 860px) {
  /* with socials listed, the right column gives a little so the page stays a one-pager */
}

/* the share rows: one list that grows; past what the page can hold (js/feeshare.js sets max-height) it scrolls inside,
   with a soft fade at the bottom edge. A new row grows in. */
.fs-list { display: grid; gap: 4px; }
.fs-rows { display: grid; gap: 4px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(201,220,242,.18) transparent; }
.fs-rows:empty { display: none; }
.fs-rows.fade { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
.fs-row.fs-in { animation: fsIn .18s ease-out both; overflow: hidden; }
@keyframes fsIn { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 40px; } }
@media (prefers-reduced-motion: reduce) { .fs-row.fs-in { animation: none; } }
@media (min-width: 1101px) and (max-height: 860px) { .split.fitv .fs-rows { gap: 3px; } .split.fitv .fs-list { gap: 3px; } }

/* ===== Creator fees: two options, equal widths, each with its own small (?) at the right edge of its segment ===== */
@media (min-width: 1101px) {
  html:root .split.fitv .fv-feeto .fv-seg:not(.fv-seg-sm) { grid-auto-columns: minmax(0, 1fr); }
  html:root .split.fitv .fv-feeto .fv-ft-row { padding-right: 0; }
  html:root .split.fitv .fv-feeto .fv-ft-row .fee-to-h { padding-right: 0; }
  html:root .split.fitv .fv-feeto .fv-seg:not(.fv-seg-sm) .fee-to-r { position: relative; padding-left: 26px; padding-right: 26px; }
}
.fv-oq { position: absolute; right: 7px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; cursor: help;
  font: 600 10px var(--f); color: var(--tx3); background: rgba(201,220,242,.04); box-shadow: inset 0 0 0 1px rgba(201,220,242,.16); transition: color .15s, box-shadow .15s, background .15s; }
.fee-to-r:not(.fv-seg .fee-to-r) .fv-oq { display: none; }
.fv-oq:hover, .fv-oq:focus-visible, .fv-oq[aria-describedby="fv-tip"] { color: #f0f7ff; background: rgba(201,220,242,.1); box-shadow: inset 0 0 0 1px rgba(201,220,242,.34); outline: none; }
.fv-tip { position: fixed; z-index: var(--z-popover, 200); max-width: min(280px, calc(100vw - 16px)); padding: 9px 12px; border-radius: 11px; pointer-events: none;
  font: 500 12px/1.45 var(--f); color: #c9d3df; background: var(--pop-bg, rgba(16,20,27,.86)); box-shadow: var(--pop-sh, 0 24px 60px -18px rgba(0,0,0,.85));
  -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); animation: lfFade .14s ease; }

/* ===== Contract address: "Contract" with "Address · optional" under it (the label fits the rail on one line);
   "letters you pick" is a 4-slot ending joined to the address prefix, like an OTP field ===== */
@media (min-width: 1101px) {
  html:root .split.fitv .vstep.fv-ca > .ch { flex-wrap: wrap; }
  html:root .split.fitv .vstep.fv-ca > .ch h3 { white-space: nowrap; line-height: inherit; }
  .split.fitv .vstep.fv-ca > .ch .ch-act .muted { white-space: nowrap; font-size: 12px; }
}
.fv-ca-ot { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 8px 0 10px; border-radius: 9px; font-size: 13px; letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), rgba(10,13,18,.22); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); transition: box-shadow .2s ease; }
.fv-ca-ot:focus-within { box-shadow: inset 0 0 0 1px rgba(201,220,242,.3), 0 0 16px -8px rgba(127,184,255,.45); }
.fv-ca-pre { color: var(--tx3); white-space: nowrap; }
html:root input.fv-ca-s { width: 1.25ch; min-width: 0; height: 20px; margin: 0 1px; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; outline: none;
  font: 600 13px var(--fm, ui-monospace, monospace); color: #f0f7ff; text-align: center; caret-color: var(--ac-ice, #dfe9f5);
  background-image: linear-gradient(rgba(201,220,242,.28), rgba(201,220,242,.28)) !important; background-size: 100% 1px !important; background-position: 0 100% !important; background-repeat: no-repeat !important; }
html:root input.fv-ca-s.on { background-image: none !important; }
html:root input.fv-ca-s:focus { background-image: linear-gradient(var(--ac-ice, #dfe9f5), var(--ac-ice, #dfe9f5)) !important; }
.fv-ca-cnt { flex: none; margin-left: -4px; font: 500 11px var(--f); color: var(--tx3); font-variant-numeric: tabular-nums; }

/* ===== X account (Pump.fun only): a quiet "Fees routed to this X account via [mark] usepaid" line under the @handle ===== */
.fv-ft-paid { grid-column: 2 / -1; grid-row: 2; justify-self: end; min-width: 0; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden;
  font-size: 11px; line-height: 16px; color: var(--tx3); }
.fv-ft-send:has(.fv-ft-note.err:not(:empty)) .fv-ft-paid { display: none; }
.fv-ft-send .fv-ft-note { grid-row: 2; }
.up-via { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--tx3); }
.up-name { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--tx2); text-decoration: none; border-radius: 4px; transition: color .15s ease; }
.up-name:hover, .up-name:focus-visible { color: #f0f7ff; text-decoration: underline; text-decoration-color: rgba(201,220,242,.3); text-underline-offset: 2px; outline: none; }
.up-mark { width: 14px; height: 14px; flex: none; display: block; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(201,220,242,.18); }
.fv-sim { margin-left: 2px; padding: 0 5px; border-radius: 99px; font: 500 9.5px/14px var(--f); font-style: normal; letter-spacing: .02em; color: var(--tx3); background: rgba(201,220,242,.06); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); }
.rv-r .up-via { margin-left: 2px; font-weight: 500; }

/* ===== Buyback & burn (Creator wallet): one switch row aligned with Send to; when on, the % of each fee, a one-line
   schedule (Buy back [amt][%|SOL] every [..] for [..] [start]) and a plain summary ===== */
.fv-bb { display: grid; gap: 5px; margin-top: 7px; min-width: 0; }
.fv-bb-r { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 24px; }
.fv-sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.fv-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fv-sw i { position: relative; width: 26px; height: 15px; flex: none; border-radius: 99px; background: rgba(201,220,242,.1); box-shadow: inset 0 0 0 1px rgba(201,220,242,.18); transition: background .18s ease, box-shadow .18s ease; }
.fv-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #c9d3df; transition: translate .18s ease, background .18s ease; }
.fv-sw input:checked + i { background: rgba(255,106,61,.32); box-shadow: inset 0 0 0 1px rgba(255,140,100,.5), 0 0 12px -4px rgba(255,106,61,.6); }
.fv-sw input:checked + i::after { translate: 11px 0; background: #fff3ec; }
.fv-sw input:focus-visible + i { outline: 2px solid rgba(201,220,242,.55); outline-offset: 2px; }
.fv-sw b { font: 600 12px var(--f); color: var(--tx2); }
.fv-bb.on .fv-sw b { color: var(--tx); }
.fv-oq.fv-oq-i { position: static; translate: none; }
html:root .fv-bb-in.inp { width: 58px; height: 24px; min-height: 24px; padding-top: 0; padding-bottom: 0; margin-left: auto; }
.fv-bb-in input, .fv-bb-amt input { min-width: 0; font-size: 12px; text-align: right; }
.fv-bb-in em { font-style: normal; color: var(--tx3); font-size: 12px; }
.fv-bb-of { flex: none; font-size: 11.5px; color: var(--tx3); white-space: nowrap; }
.fv-bb-s { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; font-size: 11.5px; color: var(--tx3); }
html:root .fv-bb-amt.inp { width: 46px; height: 24px; min-height: 24px; padding-top: 0; padding-bottom: 0; flex: none; }
.fv-bb-u { flex: none; }
.fv-sel { position: relative; flex: 0 1 auto; min-width: 0; display: inline-flex; }
.fv-sel select { appearance: none; -webkit-appearance: none; min-width: 0; max-width: 100%; height: 24px; padding: 0 20px 0 8px; border: 0; border-radius: 7px; cursor: pointer;
  font: 500 11.5px var(--f); color: var(--tx); background: rgba(201,220,242,.05); box-shadow: inset 0 0 0 1px rgba(201,220,242,.12); text-overflow: ellipsis; }
.fv-sel select:hover, .fv-sel select:focus-visible { box-shadow: inset 0 0 0 1px rgba(201,220,242,.28); outline: none; }
.fv-sel select option { color: #e8eef5; background: #141820; }
.fv-sel::after { content: ""; position: absolute; right: 8px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border-right: 1.5px solid var(--tx3); border-bottom: 1.5px solid var(--tx3); rotate: 45deg; pointer-events: none; }
.fv-bb-sum { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 1.3; color: var(--tx3); }
.fs-seg.burn { background: linear-gradient(90deg, #ff7a3d, #ff4d2e); }
.fs-burn { font-style: normal; color: #ff9a6b; }
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .fv-bb { margin-top: 5px; gap: 3px; }
}

/* ===== a fuller fee box (shares, X account, or buyback on): the pair tiles sit on one row (names only) and the venue
   note tucks away, so the page stays a one-pager ===== */
@media (min-width: 1101px) and (max-height: 960px) {
  html:root .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep .pair-tiles { grid-template-columns: repeat(3, auto) minmax(0, 1fr); gap: 6px; }
  .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep .pair-tiles .ptile { padding-top: 5px; padding-bottom: 5px; padding-left: 9px; gap: 7px; }
  .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep .pair-tiles .ptile .vlogo { width: 24px; height: 24px; }
  .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep .pair-tiles .ptile small { display: none; }
  .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep:nth-child(2) .tile small { display: none; }
  html:root[data-look] .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep .pair-tiles .ptile.on { padding-right: 24px; }
  .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep:nth-child(2) > .ch .ch-act { padding-left: 0; }
  .split.fitv .s1-mid:has(.fv-ft-paid, .fv-bbo) .vstep:nth-child(2) > .ch .ch-act .muted { white-space: nowrap; }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .page:has(> .split.fitv .fv-bbo.on) { row-gap: 8px; }
  .split.fitv > .s1-mid:has(.fv-bbo, .fv-ft-paid) { gap: 6px; }
  html:root .split.fitv .fv-feeto:has(.fv-bbo.on) { padding-top: 6px; padding-bottom: 6px; }
  .split.fitv .fv-feeto:has(.fv-bbo.on) .fv-ft-send { margin-top: 5px; }
  .split.fitv .s1-mid:has(.fv-bbo, .fv-ft-paid) .vstep .pair-tiles .ptile { padding-top: 4px; padding-bottom: 4px; }
  .split.fitv .s1-mid:has(.fv-bbo, .fv-ft-paid) .vstep:is(.fv-x, .fv-ca) { padding-top: 6px; padding-bottom: 6px; }
}

/* the fee body (Send to, shares, buyback): a last-resort inner scroll so the page never does (js/feeshare.js fitRows) */
.fv-ft-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(201,220,242,.18) transparent; }
.fv-ft-body:not([style*="max-height"]) { overflow: visible; }
.fv-ft-body.fade { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
.split.fitv .fv-feeto .fv-ft-body > .fv-ft-send { margin-top: 8px; }
.fv-bb-t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fv-bb-t .fv-sel { flex: none; }
.fv-bb-s > span:not([class]) { flex: none; }
.fv-bb-s .fv-sel { flex: 0 1 auto; }
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .fv-feeto .fv-ft-body > .fv-ft-send { margin-top: 6px; }
  .split.fitv .fv-feeto:has(.fv-bbo.on) .fv-ft-body > .fv-ft-send { margin-top: 5px; }
}

/* ===== Token info Description: one line high like Name (40px), grows a line at a time up to 5 lines, then scrolls inside.
   It never fills the column: the card stays stretched (columns end level) and the spare height sits under Socials. ===== */
html:root .tq > .field:has(textarea[data-tk="desc"]) { flex: none !important; display: grid; min-height: 0; }
html:root[data-look] .tq > .field:has(textarea[data-tk="desc"]) .inp.ta { flex: none !important; display: flex; align-items: flex-start; height: auto !important; min-height: 40px !important; padding: 8px 12px !important; }
html:root[data-look] .tq textarea[data-tk="desc"] { flex: 1; display: block; height: 22px; min-height: 22px !important; max-height: 104px; padding: 1px 2px; line-height: 20px; resize: none; overflow-y: auto;
  field-sizing: content; transition: height .16s ease; scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) { html:root[data-look] .tq textarea[data-tk="desc"] { transition: none; } }
@media (min-width: 1101px) {
  /* the socials block takes the card's spare height (empty space when there are none); nothing else stretches */
}

/* ===== Token info: Socials inline under Description: a label, then a 2x2 grid of compact inputs (js/socials.js) ===== */
.tq-soc-in { display: grid; gap: 6px; min-width: 0; }
.tq-soc-l { font: 500 13px var(--f); color: var(--tx2); }
.tq-soc-l em { margin-left: 4px; font-style: normal; font-size: 12px; color: var(--tx3); }
.tq-soc-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.tq-sf { min-width: 0; display: block; }
html:root[data-look] .tq-sf .inp { position: relative; height: 36px; min-height: 36px; padding: 0 8px 0 10px; gap: 7px; }
.tq-sf .inp > em { font-style: normal; display: inline-flex; flex: none; color: var(--tx3); }
.tq-sf .inp > em svg, .tq-sf .inp > em .i { width: 12px; height: 12px; }
.tq-sf input { min-width: 0; flex: 1; font-size: 12.5px; text-overflow: ellipsis; }
.tq-sf-o { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-right: -3px; border-radius: 6px; color: var(--tx3); transition: color .15s, background .15s; }
.tq-sf-o:hover, .tq-sf-o:focus-visible { color: #f0f7ff; background: rgba(201,220,242,.1); outline: none; }
.tq-sf-err { flex: none; max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; color: #f0a58a; }
.tq-sf-err:empty { display: none; }
html:root .tq-sf .inp.bad { box-shadow: inset 0 0 0 1px rgba(232,128,96,.55) !important; }
@media (min-width: 1101px) { .split.fitv .tq > .tq-soc-in { flex: none; } }
@media (min-width: 1101px) and (max-height: 860px) {
  .split.fitv .tq-soc-g { gap: 6px; }
  html:root[data-look] .split.fitv .tq-sf .inp { height: 34px; min-height: 34px; }
  /* short windows: Description stops at 3 lines before the page would scroll */
  html:root[data-look] .split.fitv .tq textarea[data-tk="desc"] { max-height: 62px; }
}

/* ===== Buyback: tidy schedule controls, all 32px high and never stretched: [10][%|SOL] every [1 h] for [7 d];
   then the start, the optional "Burn bought tokens" tick (or where the tokens go) and the plain summary ===== */
html:root .fv-bb-s, html:root .fv-bb-t { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; font-size: 11.5px; color: var(--tx3); }
html:root .fv-bb-s > *, html:root .fv-bb-t > * { flex: none; }
.fv-bb-amtw { display: inline-flex; align-items: center; height: 32px; border-radius: 8px; background: rgba(201,220,242,.04); box-shadow: inset 0 0 0 1px rgba(201,220,242,.12); }
html:root[data-look] .fv-bb-amtw .fv-bb-amt.inp { width: 40px; height: 32px; min-height: 32px; padding: 0 6px; background: none !important; box-shadow: none !important; }
.fv-bb-amtw .fv-bb-amt input { text-align: right; font-size: 12px; }
.fv-bb-u { display: inline-flex; width: 64px; height: 26px; margin-right: 3px; padding: 2px; gap: 2px; border-radius: 6px; background: rgba(10,13,18,.35); }
.fv-bb-u button { flex: 1; min-width: 0; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--tx3); font: 600 10.5px var(--f); cursor: pointer; }
.fv-bb-u button.on { color: var(--tx); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(201,220,242,.16); }
.fv-bb-u button:focus-visible { outline: 2px solid rgba(201,220,242,.5); outline-offset: 1px; }
html:root .fv-bb .fv-sel select { height: 32px; }
html:root[data-look] .fv-bb-in.inp { height: 32px; min-height: 32px; }
.fv-tick { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--tx2); }
.fv-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fv-tick i { width: 14px; height: 14px; flex: none; border-radius: 4px; background: rgba(201,220,242,.06); box-shadow: inset 0 0 0 1px rgba(201,220,242,.26); display: grid; place-items: center; transition: background .15s, box-shadow .15s; }
.fv-tick input:checked + i { background: rgba(255,106,61,.3); box-shadow: inset 0 0 0 1px rgba(255,140,100,.6); }
.fv-tick input:checked + i::after { content: ""; width: 7px; height: 4px; margin-top: -2px; border-left: 1.6px solid #fff3ec; border-bottom: 1.6px solid #fff3ec; rotate: -45deg; }
.fv-tick input:focus-visible + i { outline: 2px solid rgba(201,220,242,.55); outline-offset: 2px; }
.fv-bb-to { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.fv-sw input:checked + i { background: rgba(127,184,255,.28); box-shadow: inset 0 0 0 1px rgba(160,200,255,.5), 0 0 12px -4px rgba(127,184,255,.6); }
.fs-seg.buy { background: linear-gradient(90deg, #9fd0ff, #6fa8ff); }
.fs-burn.buy { color: #9fc6ff; }
.fv-bb-sum { display: block; }
html:root[data-look] .fv-bb-in.inp { width: 64px; padding-left: 8px; padding-right: 8px; }
@media (min-width: 1101px) and (max-height: 860px) { html:root .fv-bb .fv-sel select, .fv-bb-amtw { height: 28px; } html:root[data-look] .fv-bb-amtw .fv-bb-amt.inp, html:root[data-look] .fv-bb-in.inp { height: 28px; min-height: 28px; } .fv-bb-u { height: 22px; } }

/* ===== Animated PFP / banner (GIF, animated WebP): an <img> showing the crop rect, still animating ===== */
.tlogo.img:has(> img.crop), .tq-bn-pick:has(> img.crop) { position: relative; overflow: hidden; }
html:root .tlogo.img > img.crop, html:root .tq-bn-pick > img.crop { object-fit: fill; }
/* the cropper: the animated layer under the (transparent) drag canvas; ring and corners stay on top */
.cr-stage .cr-anim { position: absolute; z-index: 0; left: 0; top: 0; max-width: none; height: auto; pointer-events: none; user-select: none; }
.cr-stage .cr-view { position: relative; z-index: 1; }
/* "Transform PFP to 3:1": a quiet sparkle button in the header, left of the close */
.cr-h-act { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.cr-ai { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border: 0; border-radius: 99px; cursor: pointer; white-space: nowrap;
  font: 600 12px var(--f); color: var(--tx); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), rgba(127,184,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(160,200,255,.28), 0 0 16px -8px rgba(127,184,255,.6); transition: box-shadow .2s, transform .2s; }
.cr-ai:hover, .cr-ai:focus-visible { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(180,215,255,.45), 0 0 20px -6px rgba(127,184,255,.7); outline: none; }
.cr-ai[disabled] { opacity: .6; cursor: progress; transform: none; }
.cr-ai[hidden] { display: none; }
.cr-ai svg { color: #bfe0ff; }
.cr-ai-run { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .2s ease; background: rgba(8,10,14,.35); }
.cr-ai-run i { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(200,225,255,.22) 50%, transparent 70%); background-size: 220% 100%; animation: crShimmer 1.1s linear infinite; }
.cr-ai-run b { position: relative; padding: 5px 12px; border-radius: 99px; font: 600 12px var(--f); color: #eef5ff; background: rgba(10,13,18,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(201,220,242,.2); }
.cr-stage.cr-busy .cr-ai-run { opacity: 1; }
@keyframes crShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .cr-ai-run i { animation: none; } }
.cr-tag { position: absolute; z-index: 3; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 3px 4px 3px 9px; border-radius: 99px;
  background: rgba(10,13,18,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(201,220,242,.2); }
.cr-tag[hidden], .cr-tag-n[hidden] { display: none; }
.cr-tag b { font: 600 11px var(--f); color: #cfe6ff; }
.cr-tag-n { font-size: 10.5px; color: #aab6c4; }
.cr-undo { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px 0 7px; border: 0; border-radius: 99px; cursor: pointer; font: 600 11px var(--f); color: #f0f7ff; background: rgba(201,220,242,.12); }
.cr-undo:hover, .cr-undo:focus-visible { background: rgba(201,220,242,.22); outline: none; }

/* ===== Buyback schedule, typed: [10][%|SOL] every [60][min|h] for [7][h|d|∞]; [At launch|After][30] min; burn tick ===== */
.fv-bb { container-type: inline-size; }
.fv-bb-g { display: inline-flex; align-items: center; height: 32px; padding-right: 3px; border-radius: 8px; background: rgba(201,220,242,.04); box-shadow: inset 0 0 0 1px rgba(201,220,242,.12); }
html:root[data-look] .fv-bb-g .fv-bb-n.inp { width: 40px; height: 32px; min-height: 32px; padding: 0 6px; background: none !important; box-shadow: none !important; }
html:root[data-look] .fv-bb-g .fv-bb-n.fv-bb-st { width: 48px; }
.fv-bb-n input { min-width: 0; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.fv-bb-g > .fv-bb-u { width: auto; margin-right: 0; }
.fv-bb-g > .fv-bb-u:first-child { margin-left: 3px; }
.fv-bb-u button { padding: 0 7px; flex: none; }
.fv-bb-to .fv-bb-u { height: 28px; }
.fv-bb-unit { font-style: normal; padding-right: 6px; font-size: 11.5px; color: var(--tx3); }
.fv-bb-hint { font-size: 11px; color: var(--tx3); white-space: nowrap; }
.fv-bb-hint:empty { display: none; }
html:root .fv-bb-t { flex-wrap: wrap; row-gap: 4px; }
@container (max-width: 470px) { .fv-bb-s > .fv-bb-l { display: none; } }
@media (min-width: 1101px) and (max-height: 860px) {
  .fv-bb-g { height: 28px; }
  html:root[data-look] .fv-bb-g .fv-bb-n.inp { height: 28px; min-height: 28px; }
  .fv-bb-u { height: 22px; }
}
.fv-bb-to .fv-bb-u { width: auto; }

/* contract address ending: four small boxes flush after the prefix ("7xKp…[a][b][c][ ]") */
.fv-ca-ot { gap: 0; padding: 0 8px 0 10px; }
.fv-ca-pre { margin-right: 3px; }
html:root input.fv-ca-s { width: 17px; height: 22px; margin: 0 1px; border-radius: 5px; font: 600 12.5px var(--fm, ui-monospace, monospace);
  background: rgba(201,220,242,.06) !important; background-image: none !important; box-shadow: inset 0 0 0 1px rgba(201,220,242,.16) !important; transition: box-shadow .15s ease, background .15s ease; }
html:root input.fv-ca-s::placeholder { color: rgba(201,220,242,.3); }
html:root input.fv-ca-s.on { background: rgba(201,220,242,.1) !important; box-shadow: inset 0 0 0 1px rgba(201,220,242,.28) !important; }
html:root input.fv-ca-s:focus { background-image: none !important; box-shadow: inset 0 0 0 1px var(--ac-ice, #dfe9f5), 0 0 10px -3px rgba(127,184,255,.6) !important; }

/* ===== Buyback: one slim row in the fees box (switch, ?, summary chip + Edit); the settings live in the Buyback pop-up ===== */
.fv-bb-r { flex-wrap: nowrap; }
.fv-bb-off { font-size: 11.5px; color: var(--tx3); }
.fv-bb-chip { flex: 0 1 auto; min-width: 0; height: 24px; padding: 0 10px; border: 0; border-radius: 99px; cursor: pointer; text-align: left;
  font: 500 11.5px var(--f); color: var(--tx2); background: rgba(127,184,255,.07); box-shadow: inset 0 0 0 1px rgba(160,200,255,.2); }
.fv-bb-chip span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-bb-chip:hover, .fv-bb-chip:focus-visible { color: var(--tx); box-shadow: inset 0 0 0 1px rgba(180,215,255,.4); outline: none; }
.fv-bb-edit { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 24px; margin-left: auto; padding: 0 9px 0 7px; border: 0; border-radius: 99px; cursor: pointer;
  font: 500 11.5px var(--f); color: var(--tx2); background: rgba(201,220,242,.05); box-shadow: inset 0 0 0 1px rgba(201,220,242,.12); }
.fv-bb-edit .i { width: 11px; height: 11px; }
.fv-bb-edit:hover, .fv-bb-edit:focus-visible { color: #f0f7ff; background: rgba(201,220,242,.1); outline: none; }
.bbp-layer .wpop-bg.bbp-bg { z-index: var(--z-nest-scrim, 82); }
html:root .bbp-layer .wpop.bbp { z-index: var(--z-nest, 83); width: min(520px, calc(100vw - 32px)); }
.wpop.bbp .bbp-b { display: grid; gap: 10px; }
.bbp-r { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 32px; }
.bbp-k { font: 500 12.5px var(--f); color: var(--tx2); }
.bbp-v { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.bbp-h { font-size: 11.5px; color: var(--tx3); }
.bbp-v .fv-bb-g, html:root[data-look] .bbp-v .fv-bb-g .fv-bb-n.inp, html:root[data-look] .bbp-v .fv-bb-in.inp { height: 32px; min-height: 32px; }
.bbp-v .fv-bb-u { height: 26px; }
.bbp-sum { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; color: var(--tx2); background: rgba(201,220,242,.04); box-shadow: inset 0 0 0 1px rgba(201,220,242,.08); }
.bbp-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 560px) { .bbp-r { grid-template-columns: 1fr; gap: 4px; } }

/* ===== "Buyback & burn" as a selectable option row (opens the Buyback pop-up) ===== */
.fv-bbo { position: relative; margin-top: 7px; }
.fv-bbo-b { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; height: 30px; padding: 0 34px 0 9px; border: 0; border-radius: 9px; cursor: pointer; text-align: left;
  font: inherit; color: var(--tx2); background: rgba(201,220,242,.03); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); transition: box-shadow .18s ease, background .18s ease; }
.fv-bbo-b:hover, .fv-bbo-b:focus-visible { background: rgba(201,220,242,.06); box-shadow: inset 0 0 0 1px rgba(201,220,242,.24); outline: none; }
.fv-bbo.on .fv-bbo-b { background: linear-gradient(150deg, rgba(201,220,242,.09), rgba(201,220,242,.03) 70%); box-shadow: inset 0 0 0 1px rgba(223,233,245,.42), 0 0 18px -10px rgba(127,184,255,.6); }
.fv-bbo-ck { flex: none; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(201,220,242,.3); color: #0c0f14; }
.fv-bbo.on .fv-bbo-ck { background: var(--ac-ice, #dfe9f5); box-shadow: none; }
.fv-bbo-ck .i { width: 11px; height: 11px; }
.fv-bbo-b b { flex: none; font: 600 12px var(--f); color: var(--tx); }
.fv-bbo-opt { flex: none; font-size: 11.5px; color: var(--tx3); }
.fv-bbo-sum { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--tx2); }
.fv-bbo-go { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font: 500 11.5px var(--f); font-style: normal; color: var(--tx3); }
.fv-bbo-go .i { width: 11px; height: 11px; }
.fv-bbo-b:hover .fv-bbo-go { color: var(--tx); }
.fv-bbo > .fv-oq { position: absolute; right: 9px; top: 50%; translate: 0 -50%; }
.bbp-rm { padding: 0; border: 0; background: none; cursor: pointer; font: 500 12px var(--f); color: #f0a58a; text-decoration: underline; text-decoration-color: rgba(240,165,138,.3); text-underline-offset: 3px; }
.bbp-rm:hover, .bbp-rm:focus-visible { color: #ffc2ab; outline: none; }
@media (min-width: 1101px) and (max-height: 860px) { .fv-bbo { margin-top: 5px; } .fv-bbo-b { height: 28px; } }

/* ===== Required markers: a 6px flame-red dot with a soft glow; a quiet check once the field is valid ===== */
.req { display: inline-block; width: 6px; height: 6px; margin-left: 5px; vertical-align: 2px; border-radius: 50%; background: #ff4a1c; box-shadow: 0 0 6px rgba(255,74,28,.65); transition: background .2s, box-shadow .2s, width .2s, height .2s; }
.req.ok { width: 9px; height: 9px; vertical-align: 0; background: none; box-shadow: none; position: relative; }
.req.ok::after { content: ""; position: absolute; left: 1px; top: 1px; width: 6px; height: 3px; border-left: 1.4px solid rgba(143,224,196,.75); border-bottom: 1.4px solid rgba(143,224,196,.75); rotate: -45deg; }
.req.pulse { animation: reqPulse .3s ease-out 2; }
@keyframes reqPulse { 50% { box-shadow: 0 0 0 4px rgba(255,74,28,.28), 0 0 14px rgba(255,74,28,.9); transform: scale(1.35); } }
.tq-art > .req { position: absolute; z-index: 4; top: -3px; right: -3px; margin: 0; width: 8px; height: 8px; box-shadow: 0 0 0 2px rgba(12,15,20,.9), 0 0 8px rgba(255,74,28,.7); }
.tq-art > .req.ok { display: none; }
.rv-r .req { vertical-align: 1px; }
.rv-r[data-rv-miss] b { color: #ff9a7a; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#nb-next:disabled { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .req.pulse { animation: none; } }

/* Review & launch: long values (creator fees via usepaid, the buyback line) truncate inside their row instead of widening the column */
.wpop .rv-grid > .rv-s { min-width: 0; }
.wpop .rv-s > .rv-r { min-width: 0; }
.wpop .rv-s > .rv-r > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpop .rv-s > .rv-r > b .up-via { display: inline; }
.wpop .rv-s > .rv-r > b .up-name { display: inline; }
.wpop .rv-s > .rv-r > b .up-mark { display: inline-block; vertical-align: -3px; margin-right: 3px; }

/* Required marker: the standard asterisk, flame red, superscript-like after the label; a quiet check once valid.
   On the PFP: a small frosted dark badge with the asterisk at the top-right corner while empty. */
html:root .req { display: inline-block; width: auto; height: auto; margin-left: 3px; vertical-align: .15em; border-radius: 0; background: none; box-shadow: none;
  font: 600 13px/1 var(--f); font-style: normal; color: #ff4a1c; transition: color .2s, transform .2s; }
html:root .req.ok { width: 9px; height: 9px; vertical-align: 0; color: transparent; position: relative; }
html:root .req.pulse { animation: reqStar .3s ease-out 2; }
@keyframes reqStar { 50% { transform: scale(1.5); color: #ff7a52; } }
html:root .tq-art > .req { position: absolute; z-index: 4; top: -6px; right: -6px; margin: 0; width: 17px; height: 17px; display: grid; place-items: center; padding-top: 3px; box-sizing: border-box;
  border-radius: 50%; font-size: 13px; line-height: 1; color: #ff4a1c; background: rgba(12,15,20,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(201,220,242,.22), 0 2px 8px -2px rgba(0,0,0,.7); }
html:root .tq-art > .req.ok { display: none; }

/* Buyback shows for Send to = My wallet only: it grows in, and folds away for Share fees / X account */
.fv-bbo-in { animation: bboIn .2s ease-out both; overflow: hidden; }
.fv-bbo-out { animation: bboOut .2s ease-in both; overflow: hidden; pointer-events: none; }
@keyframes bboIn { from { opacity: 0; max-height: 0; margin-top: 0; } to { opacity: 1; max-height: 40px; } }
@keyframes bboOut { from { opacity: 1; max-height: 40px; } to { opacity: 0; max-height: 0; margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .fv-bbo-in, .fv-bbo-out { animation-duration: .01s; } }

/* Buyback pop-up, trigger row: [When fees reach | Every] then that option's one input; the hint wraps under it */
.bbp-v > .fv-bb-u { height: 32px; padding: 3px; border-radius: 8px; background: rgba(10,13,18,.35); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); }
.bbp-v > .fv-bb-u button { padding: 0 11px; font-size: 11.5px; }
.bbp-v .fv-bb-g > .fv-bb-u { height: 26px; }
html:root[data-look] .bbp-v .fv-bb-g .fv-bb-n.fv-bb-amt { width: 56px; }
.bbp-h-w { flex-basis: 100%; }

html:root .bbp-v .fv-bb-u { width: auto; margin-right: 0; }
html:root[data-look] .bbp-v .fv-bb-in.inp { margin-left: 0; }
.bbp-v > .bbp-h:not(.bbp-h-w) { flex-basis: 100%; }

/* ===== First tweet: compact line on step 5 / review, and the "First tweet" pop-up with a live X-style preview ===== */
.tw-mini { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border: 0; border-radius: 8px; cursor: pointer; text-align: left;
  font: 400 12px var(--f); color: var(--tx3); background: rgba(201,220,242,.035); box-shadow: inset 0 0 0 1px rgba(201,220,242,.08); }
.tw-mini > svg { flex: none; color: var(--tx2); }
.tw-mini > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-mini:hover, .tw-mini:focus-visible { color: var(--tx2); box-shadow: inset 0 0 0 1px rgba(201,220,242,.22); outline: none; }
.fv-x-b .fv-x-ft { flex: none; font-size: 12px; color: var(--tx2); }
.fv-x-b .fv-x-w { flex: none; height: 26px; padding: 0 10px; }
.rv-tw { gap: 10px; } .rv-tw > .tw-mini { max-width: 62%; margin-left: auto; }
.xt-row { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 8px; }
.xt-row > b { flex: none; font-size: 12.5px; }
.tw-layer .wpop-bg.tw-bg { z-index: var(--z-nest-scrim, 82); }
html:root .tw-layer .wpop.tw-pop { z-index: var(--z-nest, 83); width: min(860px, calc(100vw - 32px)); }
.tw-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tw-ed { display: grid; gap: 10px; }
.tw-ed .inp.ta textarea { min-height: 150px; resize: vertical; font-size: 13.5px; line-height: 1.5; }
.tw-tools { display: flex; align-items: center; gap: 8px; }
.tw-tools .sp { flex: 1; }
.tw-chips { display: inline-flex; gap: 6px; }
.tw-chips button { height: 26px; padding: 0 10px; border: 0; border-radius: 99px; cursor: pointer; font: 600 11.5px var(--fm, ui-monospace, monospace); color: var(--tx2); background: rgba(201,220,242,.06); box-shadow: inset 0 0 0 1px rgba(201,220,242,.14); }
.tw-chips button:hover, .tw-chips button:focus-visible { color: #f0f7ff; box-shadow: inset 0 0 0 1px rgba(201,220,242,.32); outline: none; }
.tw-n { font-size: 11.5px; color: var(--tx3); font-variant-numeric: tabular-nums; }
.tw-n.over { color: #f0a58a; }
.tw-auto { font-size: 12.5px; }
.tw-pv { display: grid; gap: 6px; min-width: 0; }
.tw-pv .tw-av { overflow: hidden; }
.tw-pv .tw-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tw-pv .tw-media.wide img { aspect-ratio: 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .tw-b { grid-template-columns: 1fr; } }
html:root .tw-ed .inp.ta { padding: 10px 12px; } html:root .tw-ed .inp.ta textarea { border: 0 !important; outline: none; background: none !important; box-shadow: none !important; padding: 0; width: 100%; }
/* First tweet: one frosted field (the inner textarea has no frame of its own), chips that name the link, presets */
html:root[data-look] .tw-ed .inp.ta { padding: 10px 12px; }
html:root[data-look] .tw-ed .inp.ta > textarea, html:root[data-look] .tw-ed .inp.ta > textarea:focus, html:root[data-look] .tw-ed .inp.ta > textarea:focus-visible { border: 0 !important; outline: none !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
.tw-chips button { display: inline-flex; align-items: center; gap: 5px; }
.tw-chips button .i { width: 11px; height: 11px; }
.tw-chips button[disabled] { opacity: .45; cursor: not-allowed; }
.tw-pre { display: flex; align-items: center; gap: 12px; }
.tw-pre-w { position: relative; }
.tw-pre-b { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border: 0; border-radius: 8px; cursor: pointer; font: 500 12px var(--f); color: var(--tx2); background: rgba(201,220,242,.05); box-shadow: inset 0 0 0 1px rgba(201,220,242,.12); }
.tw-pre-b .i { width: 11px; height: 11px; transform: rotate(90deg); }
.tw-pre-b:hover, .tw-pre-b[aria-expanded="true"] { color: var(--tx); box-shadow: inset 0 0 0 1px rgba(201,220,242,.28); }
.tw-pre-m { position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); width: 300px; display: grid; gap: 2px; padding: 6px; border-radius: 12px;
  background: var(--pop-bg, rgba(16,20,27,.92)); box-shadow: var(--pop-sh, 0 24px 60px -18px rgba(0,0,0,.85)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.tw-pre-m[hidden] { display: none; }
.tw-pre-m button { display: grid; gap: 2px; padding: 7px 9px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; color: var(--tx2); }
.tw-pre-m button:hover, .tw-pre-m button:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.tw-pre-m b { font: 600 12.5px var(--f); color: var(--tx); } .tw-pre-m small { font: 400 11.5px var(--fm, ui-monospace, monospace); color: var(--tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-reset { padding: 0; border: 0; background: none; cursor: pointer; font: 500 12px var(--f); color: var(--tx3); text-decoration: underline; text-decoration-color: rgba(201,220,242,.25); text-underline-offset: 3px; }
.tw-reset:hover { color: var(--tx); }
.tw .tw-link { color: #1d9bf0; }
.tw .tw-tag { color: #1d9bf0; }
/* buyback grouped number fields: one box only — the inner input carries no frame of its own */
html:root[data-look] :is(.fv-bb-g, .fv-bb-amtw) :is(.inp, .inp input, input) { border: 0 !important; outline: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
html:root[data-look] :is(.fv-bb-g, .fv-bb-amtw):focus-within { box-shadow: inset 0 0 0 1px rgba(201,220,242,.4), 0 0 0 3px rgba(127,184,255,.12); }
/* amount + unit read as one box: no divider between the number and its unit */
html:root[data-look] :is(.fv-bb-g, .fv-bb-amtw) > * { border: 0 !important; box-shadow: none !important; }
html:root[data-look] :is(.fv-bb-g, .fv-bb-amtw) .fv-bb-unit { padding-left: 2px; }
/* buyback pop-up: labels line up with their control (not with control+hint), and amount|unit is one seamless box */
.bbp-r { align-items: start; }
.bbp-r > span:first-child, .bbp-r > label:first-child, .bbp-r > b:first-child { display: flex; align-items: center; min-height: 32px; }
html:root[data-look] :is(.fv-bb-g, .fv-bb-amtw) .inp::before, html:root[data-look] :is(.fv-bb-g, .fv-bb-amtw) .inp::after { display: none !important; content: none !important; }
/* buyback summary: one box, the plain-language line then a quieter note paragraph a small gap below */
.bbp-sumbox { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(201,220,242,.04); box-shadow: inset 0 0 0 1px rgba(201,220,242,.08); display: grid; gap: 6px; }
.bbp-sumbox .bbp-sum { margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.bbp-note { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--tx3); }
/* buyback footer: the two buttons centred, equal width; "Remove buyback" (when active) sits quietly at the left */
html:root .wpop.bbp .wpop-f.bbp-f { position: relative; justify-content: center; gap: 10px; }
.wpop.bbp .bbp-f .btn { min-width: 132px; justify-content: center; }
.wpop.bbp .bbp-f .bbp-rm { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 520px) { .wpop.bbp .bbp-f .bbp-rm { position: static; transform: none; order: 3; flex-basis: 100%; text-align: center; } html:root .wpop.bbp .wpop-f.bbp-f { flex-wrap: wrap; } }
/* PFP required badge: a perfectly centred red dot in the dark disc (no glyph baseline to fight) */
html:root .tq-art > .req { padding: 0 !important; font-size: 0 !important; color: transparent !important; display: block; }
html:root .tq-art > .req::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #ff4a1c; box-shadow: 0 0 6px rgba(255,74,28,.7); }
