/* OnlyPools — launch page styles. Loads after site.css. */
.launch-page { max-width: var(--max); margin: 0 auto; padding: 44px 22px 80px; }
.launch-head { max-width: 680px; margin-bottom: 28px; }
.launch-head h1 { font-size: clamp(32px, 5vw, 52px); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 960px) { .launch-grid { grid-template-columns: 1fr; } .overview { position: static !important; } }
.launch-steps { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.step { padding: 0; overflow: hidden; }
.step-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px dashed var(--line-2); }
.step-head h2 { font-size: 22px; }
.step-head p { font-size: 14px; color: var(--mute); margin-top: 2px; }
.step-n {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--hot), var(--pink)); color: #fff;
  font-family: var(--display); font-weight: 700; display: grid; place-items: center; font-size: 16px;
  box-shadow: 0 6px 14px rgba(255, 79, 163, .3);
}
.step-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-weight: 800; font-size: 13px; }
.step-badge .avatar { width: 28px; height: 28px; border-width: 2px; }
.step-body { padding: 20px 22px 22px; }
.step-fine { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* creator picker */
.creator-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.search-field { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line-2); }
.search-field:focus-within { border-color: var(--hot); background: #fff; }
.search-field input { flex: 1; border: 0; background: transparent; outline: none; font-weight: 700; font-size: 15px; min-width: 0; }
.chips-tight { gap: 6px; }
.chip-plain { padding: 7px 12px; font-size: 13px; }
.creator-list { display: flex; flex-direction: column; gap: 8px; }
.creator-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center;
  width: 100%; text-align: left; padding: 10px 14px 10px 10px; border-radius: 18px;
  background: var(--cream); border: 1.5px solid var(--line-2); cursor: pointer; transition: all .12s;
}
.creator-row:hover { border-color: var(--pink); background: #fff; }
.creator-row[aria-checked="true"] { border-color: var(--hot); background: #fff; box-shadow: 0 0 0 3px rgba(255, 79, 163, .15); }
.creator-row .avatar { width: 46px; height: 46px; border-width: 3px; }
.cr-main { display: flex; flex-direction: column; min-width: 0; }
.cr-name { font-family: var(--display); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-name .tag-opted { vertical-align: 2px; }
.cr-name small { font-family: var(--body); font-weight: 700; color: var(--mute); font-size: 13px; margin-left: 4px; }
.cr-bio { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.cr-price b { font-family: var(--display); font-size: 22px; color: var(--hot); }
.cr-price small { font-size: 11px; color: var(--mute); font-weight: 800; }
.cr-quote { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.cr-quote code { font-size: 12px; background: var(--cream-2); padding: 3px 7px; border-radius: 7px; }
.cr-quote small { font-size: 11px; color: var(--mute); font-weight: 700; margin-top: 3px; white-space: nowrap; }
.cr-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; font-weight: 900; font-size: 14px; transition: all .12s; }
.creator-row[aria-checked="true"] .cr-check { background: var(--hot); border-color: var(--hot); color: #fff; }
@media (max-width: 640px) {
  .creator-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cr-quote, .cr-check { display: none; }
}

/* identity */
.identity-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
@media (max-width: 640px) { .identity-grid { grid-template-columns: 1fr; } }
.field-full { grid-column: 1 / -1; }
.identity-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
@media (max-width: 640px) { .identity-fields { grid-template-columns: 1fr; } }
.field span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 700; margin-left: 4px; }
.field textarea { padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--cream); font-size: 15px; font-weight: 600; outline: none; resize: vertical; font-family: inherit; }
.field textarea:focus { border-color: var(--hot); background: #fff; }
.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-radius: 20px; border: 2px dashed var(--line-2); background: var(--cream);
  cursor: pointer; text-align: center; padding: 14px; transition: all .12s; overflow: hidden;
  align-self: stretch; margin-bottom: 14px;          /* same height as the name + ticker + description column */
}
@media (max-width: 640px) { .drop { aspect-ratio: 1; align-self: auto; } }
.drop:hover, .drop.over { border-color: var(--hot); background: #fff; }
.drop-preview { position: absolute; inset: 0; background-size: cover; background-position: center; display: none; }
.drop.has-image .drop-preview { display: block; }
.drop.has-image .drop-text { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(255,255,255,.9); border-radius: 12px; padding: 6px; }
.drop.has-image .drop-text small { display: none; }
.drop-text { display: flex; flex-direction: column; gap: 4px; }
.drop-text b { font-family: var(--display); font-weight: 600; font-size: 15px; }
.drop-text small { font-size: 11px; color: var(--mute); font-weight: 700; }
.socials { border: 0; background: transparent; padding: 0; margin-top: 4px; }
.socials summary { padding: 8px 0; font-size: 15px; justify-content: flex-start; gap: 8px; }
.socials summary em { font-style: normal; color: var(--dim); font-size: 13px; font-family: var(--body); font-weight: 700; }
.socials summary::after { margin-left: auto; }
.socials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; padding-top: 6px; }
.socials-grid .field input, .identity-fields .field input, .identity-fields .field textarea { min-width: 0; width: 100%; box-sizing: border-box; }
@media (max-width: 640px) { .socials-grid { grid-template-columns: 1fr; } }

/* first buy */
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.field-buy { flex: 1; min-width: 220px; margin-bottom: 0; }
.buy-input { display: flex; align-items: center; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--cream); overflow: hidden; }
.buy-input:focus-within { border-color: var(--hot); background: #fff; }
.buy-input input { flex: 1; border: 0; background: transparent; padding: 14px 16px; font-family: var(--display); font-size: 26px; font-weight: 700; outline: none; min-width: 0; -moz-appearance: textfield; }
.buy-input input::-webkit-outer-spin-button, .buy-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-unit { padding: 0 16px; font-weight: 800; color: var(--mute); font-size: 14px; white-space: nowrap; }
.buy-quick { display: flex; gap: 6px; padding-bottom: 2px; }
.buy-quick button { padding: 9px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 800; font-size: 13px; cursor: pointer; }
.buy-quick button:hover { border-color: var(--hot); color: var(--hot); }
.buy-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.buy-out div { background: var(--cream); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.buy-out span { font-size: 11px; color: var(--mute); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.buy-out b { font-family: var(--mono); font-weight: 600; font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .buy-out { grid-template-columns: 1fr; } }
.grad { margin-top: 16px; }
.grad-bar { height: 10px; border-radius: 999px; background: var(--cream-2); overflow: hidden; border: 1px solid var(--line); }
.grad-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--hot)); border-radius: 999px; transition: width .25s ease; }
.grad-hint { margin-top: 8px; font-size: 14px; color: var(--mute); }
.grad-hint b { color: var(--ink); }

/* fees */
.fee-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fee-pick button { padding: 14px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--cream); font-family: var(--display); font-weight: 700; font-size: 20px; cursor: pointer; transition: all .12s; }
.fee-pick button:hover { border-color: var(--pink); background: #fff; }
.fee-pick button[aria-pressed="true"] { border-color: var(--hot); background: #fff; color: var(--hot); box-shadow: 0 0 0 3px rgba(255, 79, 163, .15); }
.switch { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track { flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s; margin-top: 2px; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(59,42,74,.2); transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--hot); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { box-shadow: 0 0 0 3px rgba(255, 79, 163, .3); }
.switch-text { display: flex; flex-direction: column; gap: 2px; }
.switch-text b { font-size: 15px; }
.switch-text small { font-size: 13px; color: var(--mute); font-weight: 700; }
.fee-split { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.split-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.split-bar { height: 8px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.split-bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--pink), var(--hot)); border-radius: 999px; transition: width .25s ease; }
.split-label { color: var(--mute); font-weight: 700; }
.split-row b { font-family: var(--mono); font-weight: 600; }

.fee-total { margin-top: 12px; font-size: 14px; color: var(--mute); font-weight: 700; }
.fee-total b { color: var(--ink); font-family: var(--display); font-size: 16px; }
.dest { margin-top: 16px; }
.dest-q { font-size: 13px; font-weight: 800; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.dest-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) { .dest-pick { grid-template-columns: 1fr; } }
.dest-pick button { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--cream); cursor: pointer; transition: all .12s; }
.dest-pick button b { font-family: var(--display); font-weight: 600; font-size: 15px; }
.dest-pick button small { font-size: 12px; color: var(--mute); font-weight: 700; }
.dest-pick button:hover { border-color: var(--pink); background: #fff; }
.dest-pick button[aria-pressed="true"] { border-color: var(--hot); background: #fff; box-shadow: 0 0 0 3px rgba(255, 79, 163, .15); }

.fee-pick { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 640px) { .fee-pick { grid-template-columns: repeat(3, 1fr); } }
.tax-custom { margin-top: 12px; }
.buy-input-sm input { font-size: 22px; padding: 10px 14px; }
.buy-input-sm .buy-unit { font-size: 13px; }

.buy-input.is-error { border-color: var(--down); background: #fff5f7; box-shadow: 0 0 0 3px rgba(255, 92, 122, .18); }
.buy-input.is-error input { color: var(--down); }
.step-fine.is-error { color: var(--down); font-weight: 800; }

/* overview */
.overview { position: sticky; top: 76px; padding: 20px; }
.overview-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); margin-bottom: 12px; }
.overview-title { font-family: var(--display); font-weight: 700; font-size: 18px; word-break: break-word; }
.overview-sub { font-size: 13px; color: var(--mute); font-weight: 700; }
.overview-img { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background-size: cover; background-position: center; flex: none; border: 1px solid var(--line); }
.overview-rows { margin: 0; display: flex; flex-direction: column; }
.overview-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.overview-rows dt { color: var(--mute); font-weight: 700; }
.overview-rows dd { margin: 0; font-family: var(--mono); font-weight: 600; font-size: 13px; text-align: right; }
.overview-strong dd { color: var(--hot); }
.overview .btn-wide { margin-top: 16px; }

/* index teaser */
.launch-teaser { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.launch-teaser > div:first-child { max-width: 620px; }
.launch-teaser-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
