/* Phone: brand on its own row, chips in a 2-col grid. Never one long tab strip. */
.top-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.top-brand .logo { min-width: 0; }
@media (max-width: 720px) {
  .shell {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }
  .top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .top .spacer { display: none; }
  .top-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .top-nav .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .top-nav #walletBtn {
    grid-column: 1 / -1;
  }
  .card,
  .seat-hero,
  .seat-hero h2,
  .bd-lead {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #errBanner:not(.hidden) {
    position: sticky;
    top: 0;
    z-index: 40;
  }
}

.seat-wealth {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}
@media (max-width: 720px) {
  .seat-wealth { grid-template-columns: 1fr; }
}
.seat-wealth-col {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.seat-wealth-col strong { display: block; margin: 2px 0 6px; }
.seat-wealth-col p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* Compressed first-cut meter — pump-curve feel, short gate */
.pp-zoom {
  margin: 14px 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(232, 120, 72, 0.38);
  background: linear-gradient(180deg, rgba(255, 244, 236, 0.96), rgba(250, 232, 218, 0.72));
}
.pp-zoom.is-live {
  border-color: rgba(26, 122, 60, 0.4);
  background: linear-gradient(180deg, rgba(236, 255, 244, 0.9), rgba(232, 248, 236, 0.65));
}
.pp-zoom-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pp-zoom-pulse {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #c45c32;
  animation: pp-zoom-pulse 1.05s ease-in-out infinite;
}
.pp-zoom.is-live .pp-zoom-pulse { color: #1a7a3c; }
@keyframes pp-zoom-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.62; transform: scale(1.05); }
}
.pp-zoom-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(60, 40, 20, 0.08);
  overflow: hidden;
}
.pp-zoom-track-fat { height: 18px; }
.pp-zoom-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #e87848, #f4c27a 68%, #fff4e8);
  box-shadow: 0 0 14px rgba(232, 120, 72, 0.45);
  transition: width 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.pp-zoom.is-live .pp-zoom-track i {
  background: linear-gradient(90deg, #1a7a3c, #3fb950 70%, #e8fff0);
  box-shadow: 0 0 14px rgba(63, 185, 80, 0.35);
}
.pp-zoom-meta {
  margin-top: 6px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.seat-billion {
  border-color: rgba(196, 92, 50, 0.38);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232, 120, 72, 0.08), transparent 50%),
    var(--surface);
}
.seat-billion-math {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.seat-billion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 0 0 10px;
}
.seat-billion-table th,
.seat-billion-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}
.seat-billion-table th {
  font: 600 0.68rem/1 var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.seat-billion-table tr.is-next td {
  background: rgba(232, 120, 72, 0.1);
  font-weight: 600;
}

/* Buy token vs add LP — always visible contrast */
.seat-diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-3);
}
@media (max-width: 720px) {
  .seat-diff { grid-template-columns: 1fr; }
}
.seat-diff-col {
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.seat-diff-col:first-child {
  border-color: rgba(196, 92, 50, 0.45);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(232, 120, 72, 0.1), transparent 55%),
    var(--surface);
}
.seat-diff-kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c45c32;
}
.seat-diff-col strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.seat-diff-col > p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.seat-diff-col ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}
.seat-diff-col li { margin-bottom: 4px; }

.seat-thesis {
  margin: 0 0 var(--space-4);
  padding: var(--space-3);
  border-radius: 14px;
  border: 1.5px solid rgba(196, 92, 50, 0.35);
  background: rgba(232, 120, 72, 0.08);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}
.seat-thesis strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* One next step owns the screen. Rail is the only other path. */
.seat-hero-actions { margin: var(--space-3) 0 0; gap: 10px; }
.seat-more { margin: var(--space-3) 0; }
.seat-more > summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.seat-rail {
  display: flex;
  gap: 8px;
  margin: var(--space-3) 0 0;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2, var(--surface));
}
.seat-rail .seat-play-link {
  flex: 1;
  min-height: 0;
  padding: 10px 8px;
  border-radius: 10px;
  justify-content: center;
}
.seat-now-card:not(.is-now),
.seat-now-card[hidden] { display: none !important; }
.seat-now-card.is-now {
  min-height: calc(100vh - 148px);
  margin-top: var(--space-3);
}
.seat-now-hero {
  margin: var(--space-3) 0;
  padding: clamp(1.4rem, 5vw, 2.4rem);
  min-height: min(52vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--accent, #e0447c);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent, #e0447c) 8%, var(--surface));
}
.seat-now-hero .btn-lg {
  align-self: flex-start;
  font-size: 1.08rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
}
.seat-now-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #e0447c);
  margin: 0 0 8px;
}
.seat-now-hero strong {
  display: block;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.seat-now-hero p { margin: 0 0 1rem; color: var(--text-muted); line-height: 1.4; }
.seat-mint-fallback {
  margin-top: 0;
  padding: 0;
  border: 0;
}
.seat-path-pick {
  display: grid;
  gap: 10px;
  margin: var(--space-4) 0;
}
@media (min-width: 640px) {
  .seat-path-pick { grid-template-columns: repeat(3, 1fr); }
}
.seat-path-card {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.seat-path-card strong { font-size: 0.95rem; }
.seat-path-card span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.35; }
.seat-path-card.is-on {
  border-color: var(--accent, #e0447c);
  background: color-mix(in srgb, var(--accent, #e0447c) 8%, var(--surface));
}
.seat-path-panel[hidden] { display: none !important; }
.seat-playbook {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 var(--space-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 720px) {
  .seat-playbook { grid-template-columns: 1fr; }
  .seat-rail { flex-direction: row; }
  .seat-rail .seat-play-link { padding: 8px 6px; }
  .seat-rail .seat-play-link strong { font-size: 0.78rem; }
}
.seat-play-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.seat-play-link:hover,
.seat-play-link.is-lit {
  border-color: #c45c32;
  background: rgba(232, 120, 72, 0.08);
}
.seat-play-link .n {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(232, 120, 72, 0.14);
  color: #c45c32;
}
.seat-play-link strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.seat-play-link span:not(.n) {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.seat-step-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.seat-step-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(232, 120, 72, 0.14);
  color: #c45c32;
  flex: 0 0 auto;
}
.seat-who {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}
@media (max-width: 520px) {
  .seat-who { margin-left: 0; width: 100%; text-align: center; }
}

.seat-tools {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (max-width: 720px) {
  .seat-tools { grid-template-columns: 1fr; }
}
.seat-tool {
  display: block;
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.seat-tool:hover {
  border-color: #c45c32;
  background: rgba(232, 120, 72, 0.06);
}
.seat-tool-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c45c32;
  margin-bottom: 4px;
}
.seat-tool strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.seat-tool > span:last-child {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.seat-know {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(232, 120, 72, 0.1), transparent 55%),
    var(--surface);
}
.seat-know-title {
  margin: 0 0 var(--space-2);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.seat-know-body {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
  font-size: 1.02rem;
}
.seat-area-flash {
  outline: 2px solid #c45c32;
  outline-offset: 4px;
  transition: outline-color 0.3s ease;
}
.seat-launch-policy {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.seat-chip[hidden],
.seat-chip.is-off {
  display: none !important;
}
.seat-steps-2 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 720px) {
  .seat-steps-2 { grid-template-columns: 1fr; }
}

/* Partner seat — professional path / milestones */
.seat-hero h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-3);
  line-height: 1.15;
}
.seat-steps {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
@media (max-width: 900px) {
  .seat-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .seat-steps { grid-template-columns: 1fr; }
}
.seat-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.seat-steps .n {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(232, 120, 72, 0.12);
  color: #c45c32;
}
.seat-steps strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.seat-steps span { display: block; font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; }

.seat-tier[hidden],
.seat-progress[hidden],
.pp-zoom[hidden],
.seat-next[hidden],
.seat-hero-actions[hidden],
.seat-more[hidden],
#roundKicker[hidden] {
  display: none !important;
}

/* Every step: slim chrome so the current card owns the screen */
body[class*="is-step-"] .seat-hero #roundKicker,
body[class*="is-step-"] .seat-more,
body[class*="is-step-"] .seat-hero-actions,
body[class*="is-step-"] #knowGrow,
body[class*="is-step-"] #tierBox,
body[class*="is-step-"] .seat-progress,
body[class*="is-step-"] #nextRoundLine,
body[class*="is-step-"] #seatZoom {
  display: none !important;
}
body[class*="is-step-"] .seat-hero {
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
body[class*="is-step-"] .seat-hero h2 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  margin: 0 0 6px;
}
body[class*="is-step-"] .seat-hero > .bd-lead {
  margin: 0 0 8px;
  font-size: 0.92rem;
}
body.is-step-create .seat-later,
body.is-step-sit .seat-later,
body.is-step-yours .seat-later {
  display: none !important;
}
body.is-step-yours .seat-now-hero .seat-logo-drop {
  width: 148px;
  height: 148px;
}
.seat-rail {
  position: sticky;
  top: 8px;
  z-index: 15;
}
@media (max-width: 720px) {
  body[class*="is-step-"] .top-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
  }
  body[class*="is-step-"] .top-nav .btn {
    width: auto;
    flex: 0 0 auto;
  }
  body[class*="is-step-"] .top-nav #walletBtn {
    grid-column: auto;
  }
}

.seat-tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(232, 120, 72, 0.1), transparent 55%),
    linear-gradient(165deg, var(--surface) 0%, rgba(0, 0, 0, 0.02) 100%);
  margin: var(--space-3) 0;
}
.seat-tier-price {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.seat-tier-name { color: var(--text-muted); font-size: var(--text-sm); margin-top: 2px; }
.seat-tier-meta {
  text-align: right;
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
@media (max-width: 720px) {
  .seat-tier-meta { text-align: left; }
}
.seat-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.seat-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e87848, #c45c32);
  transition: width 0.45s ease;
}
.seat-next { margin-bottom: 0; }

/* Milestone path */
.seat-path {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-3);
}
.seat-path-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.seat-path-item:last-child { border-bottom: 0; }
.seat-path-item.is-gate { background: rgba(232, 120, 72, 0.08); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 10px; }
.seat-path-vol {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.seat-path-name { font-weight: 700; letter-spacing: -0.02em; }
.seat-path-blurb { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.seat-path-pay {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.seat-path-pay small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 640px) {
  .seat-path-item { grid-template-columns: 1fr; gap: 4px; }
  .seat-path-pay { text-align: left; }
}

.seat-pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 720px) {
  .seat-pay { grid-template-columns: 1fr; }
}

.seat-milestone-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--space-3) 0;
}
.seat-ms {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: var(--text-sm);
}
.seat-ms.reached { border-color: transparent; background: rgba(26, 122, 60, 0.08); }
.seat-ms.current { border-color: #e87848; background: rgba(232, 120, 72, 0.08); }
.seat-ms.next { border-style: dashed; }
.seat-ms .ms-name { font-weight: 600; }
.seat-ms .ms-meta { color: var(--text-muted); font-size: 0.8rem; }
.seat-ms .ms-pay { font-family: var(--font-mono); font-weight: 600; }

.seat-lane {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.seat-lane.mine {
  background: rgba(232, 120, 72, 0.06);
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
}
.seat-round-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}
.seat-lane-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: baseline;
  margin-bottom: 8px;
  font-size: var(--text-sm);
}
.seat-lane-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}
.seat-lane-bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e87848, #c45c32);
  transition: width 0.4s ease;
}
.seat-lane-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.seat-where { display: flex; flex-direction: column; gap: 0; }
.seat-where-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.seat-where-row .k { color: var(--text-muted); flex: 0 0 7rem; }
.seat-where-row .v { text-align: right; word-break: break-all; }
.seat-exec {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: var(--text-sm);
}
/* Coordinated X raid panel. */
.seat-raidx {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  border: 2px solid var(--accent, #e0447c);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, #e0447c) 8%, var(--surface));
}
.raidx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.raidx-top strong { font-size: var(--text-md, 1rem); }
.raidx-count {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent, #e0447c);
  border: 1px solid var(--accent, #e0447c);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.raidx-post {
  margin: 8px 0;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: var(--text-sm);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.raidx-tip { color: var(--muted, #6b7280); margin-top: 8px; }
.raidx-lib { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 12px; }
.raidx-lib-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.raidx-add-btn { cursor: pointer; }
.raidx-lib-note { color: var(--muted, #6b7280); font-size: var(--text-sm); margin: 4px 0 10px; }
.raidx-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.raidx-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.raidx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.raidx-thumb:hover { border-color: var(--accent, #e0447c); }
.raidx-lib-status { margin-top: 8px; color: var(--muted, #6b7280); }
.raidx-lib-status.is-err { color: #b45309; }
/* Final mint step — the one signature that actually stamps the chair NFT.
   Make it unmistakable so nobody closes the tab one prompt early. */
.seat-exec.is-final {
  border-color: var(--accent, #e0447c);
  border-width: 2px;
  background: color-mix(in srgb, var(--accent, #e0447c) 10%, var(--surface));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #e0447c) 18%, transparent);
  animation: seatFinalPulse 1.6s ease-in-out infinite;
}
@keyframes seatFinalPulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #e0447c) 14%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent, #e0447c) 26%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .seat-exec.is-final { animation: none; }
}
.seat-final-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--accent, #e0447c);
  letter-spacing: 0.02em;
}
/* Wallet balance panel — "your money is here" so a half-finished sit never
   reads as lost funds. Colour shifts with readiness. */
.seat-wallet {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  font-size: var(--text-sm);
  line-height: 1.45;
}
.seat-wallet[hidden] { display: none; }
.seat-wallet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 4px;
}
.seat-wallet-head a { text-decoration: none; }
.seat-wallet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 22%, transparent);
  flex: 0 0 auto;
}
.seat-wallet-bal { font-size: var(--text-lg, 1.05rem); margin: 2px 0; }
.seat-wallet-usd { color: var(--muted, #6b7280); font-weight: 500; }
.seat-wallet-note { margin-top: 4px; }
.seat-wallet.is-ready {
  border-color: #16a34a;
  background: color-mix(in srgb, #16a34a 8%, var(--surface));
}
.seat-wallet.is-short {
  border-color: #d97706;
  background: color-mix(in srgb, #d97706 9%, var(--surface));
}
.seat-wallet.is-short .seat-wallet-dot { background: #d97706; box-shadow: 0 0 0 3px color-mix(in srgb, #d97706 22%, transparent); }
.seat-wallet.is-empty .seat-wallet-dot { background: var(--muted, #9ca3af); box-shadow: none; }

/* Already-sat guard — this wallet already holds a chair (in the SeatVault). */
.seat-owned {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  border: 2px solid #16a34a;
  border-radius: 14px;
  background: color-mix(in srgb, #16a34a 8%, var(--surface));
  font-size: var(--text-sm);
  line-height: 1.5;
}
.seat-owned[hidden] { display: none; }
.seat-owned-val {
  font-size: var(--text-lg, 1.1rem);
  font-weight: 600;
  margin: 6px 0;
  color: #15803d;
}
.seat-owned-sub { font-size: var(--text-sm); font-weight: 500; color: var(--muted, #6b7280); }
.seat-owned .mono { text-decoration: none; }
.seat-owned.is-capped {
  border-color: #d97706;
  background: color-mix(in srgb, #d97706 9%, var(--surface));
}
.seat-owned-cap {
  margin: 6px 0;
  font-weight: 700;
  color: #b45309;
}

/* Resume nudge — wallet holds wrapped WETH but no chair minted yet. */
.seat-resume {
  margin: var(--space-3) 0;
  padding: var(--space-3);
  border: 2px solid var(--accent, #e0447c);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, #e0447c) 9%, var(--surface));
  font-size: var(--text-sm);
  line-height: 1.4;
}
.seat-resume[hidden] { display: none; }
.banner.err {
  background: var(--red-soft, #fde8e8);
  color: #8b1e1e;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: var(--space-3);
}
.seat-alerts { margin-top: var(--space-3); }
.seat-alerts .warn-item,
.seat-alerts .advice-item {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: var(--text-sm);
  margin-bottom: 8px;
  line-height: 1.4;
}
.seat-alerts .warn-item {
  background: var(--yellow-soft, #fff6e0);
  color: #6b4e00;
}
.seat-alerts .advice-item {
  background: rgba(232, 120, 72, 0.08);
  color: var(--text);
}

.seat-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 var(--space-3);
}
.seat-chip.is-active {
  border-color: #c45c32;
  color: #c45c32;
  background: rgba(232, 120, 72, 0.1);
}
/* Flagship (MCFL) book chip — the default, sanctioned marquis row. */
.seat-chip.is-flagship {
  border-color: var(--accent, #e0447c);
  color: var(--accent, #e0447c);
  font-weight: 600;
}
.seat-chip.is-flagship.is-active {
  background: color-mix(in srgb, var(--accent, #e0447c) 12%, var(--surface));
  border-color: var(--accent, #e0447c);
  color: var(--accent, #e0447c);
}
.seat-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-3);
}
.seat-logo-drop {
  width: 112px;
  height: 112px;
  border: 1.5px dashed var(--border);
  border-radius: 16px;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(232, 120, 72, 0.1), transparent 60%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.seat-logo-drop:hover,
.seat-logo-drop:focus-visible,
.seat-logo-drop.drag {
  border-color: #c45c32;
  outline: none;
}
.seat-logo-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #1a0a14;
}
.seat-logo-preview[hidden],
.seat-logo-placeholder[hidden],
.seat-logo-status[hidden] {
  display: none !important;
}
.seat-logo-drop.is-on {
  border-style: solid;
  border-color: var(--accent, #e0447c);
  background: #1a0a14;
}
.seat-logo-drop.is-on .seat-logo-preview {
  display: block !important;
}
.seat-logo-drop.is-need {
  animation: seat-logo-need 0.9s ease-in-out 4;
  border-color: var(--accent, #e0447c);
}
@keyframes seat-logo-need {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 68, 124, 0.0); }
  50% { box-shadow: 0 0 0 8px rgba(224, 68, 124, 0.28); }
}
.seat-logo-placeholder {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
  line-height: 1.3;
  pointer-events: none;
}
.seat-logo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
#seatLogoStatus.err { color: #8b1e1e; }
#seatLogoDownload[hidden],
#seatLogoClear[hidden] { display: none !important; }
.seat-lane-identity {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
.seat-lane-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: 0 0 auto;
  background: var(--surface);
}
#tokenHint.is-err { color: var(--red, #c03434); font-weight: 600; }
#token.is-err { border-color: var(--red, #c03434); }
#bookPicked.is-on { font-weight: 600; color: var(--text); }
.seat-book-paste {
  margin: 10px 0 4px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 8px 12px;
}
.seat-book-paste summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  list-style: revert;
}
.seat-book-paste[open] summary { margin-bottom: 8px; }

.seat-market { margin-top: var(--space-3); }
.seat-house {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.seat-house.mine {
  background: rgba(232, 120, 72, 0.06);
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
}
.seat-house.is-focus {
  outline: 1px solid rgba(232, 120, 72, 0.45);
  background: rgba(232, 120, 72, 0.08);
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
}
.seat-house-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
  font-size: var(--text-sm);
}
.seat-house .btn { margin-top: 8px; }
