/* Extended PC Web SEO hub pages: layered on base.css + discovery.css + seo.css. */

/* Subtle header anchor */
.topbar {
  border-bottom: 1px solid rgba(236, 227, 217, 0.08);
  background: rgba(11, 10, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* CJK typography polish */
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
}
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2, html[lang="zh-Hant"] h3 {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", Georgia, serif;
}

/* ======================================================================
   Editorial Split Hero System (replaces generic centered text-only hero)
   ====================================================================== */
.hub-hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 4vw, 56px) 0 clamp(42px, 5.5vw, 72px);
}
.hub-hero::before {
  content: "";
  position: absolute;
  inset: -15% -5% auto 25%;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(48% 58% at 72% 38%, rgba(110, 36, 48, 0.34), transparent 72%),
    radial-gradient(36% 42% at 54% 68%, rgba(201, 162, 75, 0.11), transparent 74%);
}
.hub-hero.compact {
  padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 4vw, 48px);
}
.hub-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.hub-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

/* Eyebrow & language switcher */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 11.5px/1.3 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hub-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}
.lang-switch { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.lang-switch a {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(236, 227, 217, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lang-switch a:hover, .lang-switch a[aria-current="page"] {
  color: var(--gold-bright);
  background: rgba(201, 162, 75, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.55);
}

.hub-hero-copy h1 {
  font: 400 clamp(30px, 3.5vw, 46px)/1.12 var(--serif);
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 19ch;
  text-wrap: balance;
}
html[lang="ja"] .hub-hero-copy h1,
html[lang="zh-Hant"] .hub-hero-copy h1 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.24;
  max-width: 18ch;
}
.hub-hero.compact .hub-hero-copy h1 {
  font-size: clamp(28px, 3.1vw, 42px);
  max-width: 21ch;
}
.hub-hero-copy .lede {
  margin-top: 16px;
  max-width: 50ch;
  color: #b7aca4;
  font-size: 15.5px;
  line-height: 1.66;
}
.hub-hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.hub-hero-actions .btn:not(.btn-ghost) {
  box-shadow: 0 10px 28px rgba(201, 162, 75, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hub-hero-actions .btn:not(.btn-ghost):hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(201, 162, 75, 0.28);
}
.hub-hero-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--faint);
}
.hub-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hub-hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.55);
}

/* Stage A: Staggered 3-Portrait Editorial Triptych (Alternatives / Hubs / i18n) */
.hero-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  padding: 4px 0 36px;
}
.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 0.63;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.56), inset 0 0 0 1px rgba(236, 227, 217, 0.14);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}
.hero-poster:nth-child(2) { margin-top: 22px; }
.hero-poster:nth-child(3) { margin-top: 44px; }
.hero-poster:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(201, 162, 75, 0.55);
}
.hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-poster:hover img { transform: scale(1.05); }
.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 12, 0.08) 0%, transparent 38%, rgba(10, 8, 10, 0.58) 70%, rgba(10, 8, 10, 0.96) 100%);
}
.hero-poster-tag {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  background: rgba(11, 10, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.26);
}
.hero-poster-cap {
  position: absolute;
  z-index: 2;
  left: 11px;
  right: 11px;
  bottom: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-poster-cap small {
  font-size: 10.5px;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-poster-cap strong {
  font: 400 16px/1.18 var(--serif);
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stage B: Fanned 3-Card Deck (Interactive Tools) */
.hero-fan {
  position: relative;
  height: 300px;
  width: min(100%, 410px);
  margin-inline: auto;
}
.hero-fan-card {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 178px;
  aspect-ratio: 3 / 4.2;
  border-radius: 11px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(236, 227, 217, 0.16);
  transform-origin: 50% 95%;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease, box-shadow 0.3s ease;
}
.hero-fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero-fan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(9, 8, 10, 0.94));
}
.hero-fan-card span {
  position: absolute;
  z-index: 2;
  left: 11px;
  right: 11px;
  bottom: 10px;
  transition: opacity 0.25s ease;
}
.hero-fan-card:not(:first-child) span { opacity: 0; }
.hero-fan-card:hover span { opacity: 1; }
.hero-fan-card strong { display: block; font: 400 15px/1.2 var(--serif); color: var(--text); }
.hero-fan-card small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--gold-bright); }
.hero-fan-card:nth-child(1) { z-index: 3; transform: translateX(-50%) rotate(-1deg); }
.hero-fan-card:nth-child(2) { z-index: 2; transform: translateX(-6%) rotate(8deg) scale(0.92); filter: brightness(0.72); }
.hero-fan-card:nth-child(3) { z-index: 1; transform: translateX(-94%) rotate(-9deg) scale(0.9); filter: brightness(0.62); }
.hero-fan:hover .hero-fan-card:nth-child(2) { transform: translateX(4%) rotate(11deg) scale(0.94); filter: brightness(0.9); }
.hero-fan:hover .hero-fan-card:nth-child(3) { transform: translateX(-104%) rotate(-12deg) scale(0.92); filter: brightness(0.84); }
.hero-fan-card:hover { z-index: 4; filter: brightness(1) !important; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(201, 162, 75, 0.55); }

/* Stage C: Studio / Migration / Creator Card */
.hero-studio {
  position: relative;
  border-radius: 14px;
  padding: 22px 24px;
  background: linear-gradient(155deg, rgba(29, 23, 27, 0.96), rgba(16, 13, 16, 0.98));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(201, 162, 75, 0.24);
  display: grid;
  gap: 16px;
}
.hero-studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-studio-avatars { display: flex; align-items: center; }
.hero-studio-avatars a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #181316;
  margin-left: -10px;
  transition: transform 0.2s ease;
}
.hero-studio-avatars a:first-child { margin-left: 0; }
.hero-studio-avatars a:hover { transform: translateY(-2px); z-index: 2; }
.hero-studio-avatars img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-studio-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
}
.hero-studio-rows { display: grid; gap: 10px; }
.hero-studio-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(11, 10, 12, 0.58);
  box-shadow: inset 0 0 0 1px rgba(236, 227, 217, 0.08);
  font-size: 13px;
}
.hero-studio-row .from { color: var(--muted); }
.hero-studio-row .arrow { color: var(--gold); font-size: 13px; }
.hero-studio-row .to { color: var(--text); font-weight: 500; }
.hero-studio-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.hero-studio-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.11);
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.26);
}

/* Stage D: Featured Plot / Guide Story Spotlight Card */
.hero-spotlight {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(236, 227, 217, 0.14);
}
.hero-spotlight-art {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
}
.hero-spotlight-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.45s ease;
}
.hero-spotlight-art:hover img { transform: scale(1.05); }
.hero-spotlight-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-spotlight-body .kicker { font-size: 13.5px; }
.hero-spotlight-body h2 { font-size: 21px; line-height: 1.22; }
.hero-spotlight-body p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.hero-spotlight-quote {
  margin: 2px 0 0;
  padding-left: 12px;
  border-left: 2px solid rgba(201, 162, 75, 0.55);
  font: italic 15.5px/1.45 var(--serif);
  color: var(--text);
}
.hero-spotlight-body .text-link { margin-top: auto; padding-top: 4px; align-self: flex-start; }

@media (max-width: 960px) {
  .hub-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hub-hero-copy h1 { max-width: 24ch; }
  .hero-triptych { max-width: 520px; padding-bottom: 24px; }
  .hero-poster:nth-child(2) { margin-top: 14px; }
  .hero-poster:nth-child(3) { margin-top: 28px; }
}
@media (max-width: 600px) {
  .hub-hero { padding: 20px 0 34px; }
  .hub-hero-actions { width: 100%; }
  .hub-hero-actions .btn { width: 100%; }
  .hub-hero-meta { gap: 4px 12px; font-size: 12px; }
  .hero-triptych { gap: 8px; padding-bottom: 18px; }
  .hero-poster { aspect-ratio: 0.66; border-radius: 8px; }
  .hero-poster:nth-child(2) { margin-top: 10px; }
  .hero-poster:nth-child(3) { margin-top: 20px; }
  .hero-poster-tag { display: none; }
  .hero-poster-cap { left: 8px; right: 8px; bottom: 8px; }
  .hero-poster-cap strong { font-size: 14px; }
  .hero-poster-cap small { font-size: 9.5px; }
  .hero-fan { height: 248px; }
  .hero-fan-card { width: 142px; }
  .hero-spotlight { grid-template-columns: 1fr; }
  .hero-spotlight-art { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-studio { padding: 18px; }
  .hero-studio-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hero-studio-row .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-poster, .hero-poster img, .hero-fan-card, .hero-spotlight-art img { transition: none; }
}

/* Feature / scenario / highlight bento grids */
.hub-section { padding-top: clamp(48px, 7vw, 84px); scroll-margin-top: 72px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hub-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px;
  border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
a.hub-card:hover { box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.45); }
.hub-card .eyebrow { font-size: 12px; color: var(--gold-bright); letter-spacing: 0.03em; text-transform: uppercase; }
.hub-card h3 { font-size: 20px; line-height: 1.25; }
.hub-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.hub-card .stat { font: 400 clamp(26px, 2.8vw, 34px)/1.1 var(--serif); color: var(--gold-bright); }
.hub-card .text-link { margin-top: auto; padding-top: 6px; align-self: flex-start; }
@media (max-width: 960px) { .hub-grid, .hub-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hub-grid, .hub-grid.two, .hub-grid.four { grid-template-columns: 1fr; } }

/* Card source/manga micro badges */
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.badge {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 5px;
  font-size: 11px; line-height: 1.4; color: var(--gold-bright); background: rgba(201, 162, 75, 0.12);
}
.badge.soft { color: var(--muted); background: rgba(236, 227, 217, 0.07); }

/* Interactive tool panels (Prompt Generator, Bio Template Builder, Creator Mode Preview) */
.tool-panel {
  margin-top: clamp(20px, 3vw, 36px); padding: clamp(22px, 3vw, 34px);
  border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 64px rgba(0, 0, 0, 0.42);
}
.tool-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-controls.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; color: var(--muted); }
.field select, .field input, .field textarea {
  width: 100%; border-radius: 9px; border: 1px solid rgba(236, 227, 217, 0.18);
  background: var(--bg); color: var(--text); font: 14.5px/1.45 var(--sans); padding: 10px 12px;
}
.field textarea { min-height: 82px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.tool-output {
  margin-top: 22px; padding: 22px; border-radius: 12px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.25);
}
.tool-output h3 { font-size: 22px; margin-bottom: 10px; }
.tool-pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #e4d8cb; background: var(--bg); padding: 16px; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tool-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tool-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-btn {
  cursor: pointer; border: 0; padding: 7px 13px; border-radius: 8px; font-size: 13px;
  background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.chip-btn:hover, .chip-btn[aria-pressed="true"] {
  color: var(--text); background: rgba(201, 162, 75, 0.16); box-shadow: inset 0 0 0 1px var(--gold);
}
.tool-status { font-size: 13px; color: var(--gold-bright); min-height: 20px; }
@media (max-width: 900px) {
  .tool-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .tool-controls, .tool-controls.two { grid-template-columns: 1fr; } }

/* Editorial guides & comparison takeaways */
.guide-layout {
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 40px;
  padding-top: clamp(36px, 5vw, 60px); align-items: start;
}
.guide-toc {
  position: sticky; top: 24px; padding: 18px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.guide-toc strong { display: block; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 10px; }
.guide-toc a { display: block; padding: 6px 0; font-size: 13.5px; color: var(--muted); }
.guide-toc a:hover { color: var(--text); }
.guide-article { max-width: 72ch; display: grid; gap: 34px; }
.guide-article section { display: grid; gap: 12px; scroll-margin-top: 72px; }
.guide-article h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.guide-article h3 { font-size: 18px; color: var(--gold-bright); margin-top: 6px; }
.guide-article p { color: #d5cac0; font-size: 15.5px; line-height: 1.72; }
.guide-article ul { display: grid; gap: 8px; padding-left: 18px; list-style: disc; color: #d5cac0; }
.callout {
  padding: 16px 18px; border-radius: 10px; background: rgba(201, 162, 75, 0.08);
  border-left: 3px solid var(--gold); color: var(--text); font-size: 14.5px;
}
@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-toc { position: static; }
}

/* Pros/fit two-column block */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.fit-box {
  padding: 20px 22px; border-radius: var(--radius); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fit-box h3 { font-size: 19px; margin-bottom: 10px; }
.fit-box.good h3 { color: var(--gold-bright); }
.fit-box ul { display: grid; gap: 8px; padding-left: 18px; list-style: disc; color: var(--muted); font-size: 14.5px; }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } }

/* Grouped SEO explore footer */
.footer-hub {
  border-top: 1px solid var(--line); padding: 42px var(--gutter) 44px;
  display: grid; gap: 28px; color: var(--muted); font-size: 13px;
}
.footer-cols {
  display: grid; grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(130px, 1fr)); gap: 24px 28px;
}
.footer-col h3 { font: 600 12px/1.4 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 10px; }
.footer-col ul { display: grid; gap: 7px; }
.footer-col a:hover { color: var(--text); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.footer-base nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-base nav a:hover { color: var(--text); }
.footer-hub small { display: block; color: var(--faint); font-size: 12px; margin-top: 6px; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }

/* Guest-friendly Import & Preview Bridge Workbench (/start/import-character/) */
.bridge-main { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 72px); }
.bridge-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.bridge-head h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
.bridge-steps {
  display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 6px 0 0;
}
.bridge-steps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.bridge-steps li[aria-current="step"] {
  color: var(--text); background: rgba(201, 162, 75, 0.14); box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.5);
}
.bridge-steps li strong {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 50%; font-size: 11.5px; background: rgba(236, 227, 217, 0.1); color: var(--gold-bright);
}
.bridge-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 28px; align-items: start;
}
.bridge-editor {
  display: grid; gap: 16px; padding: clamp(20px, 2.8vw, 28px);
  border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.bridge-upload-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bridge-file-btn { display: inline-flex; align-items: center; }
.bridge-paste-box {
  padding: 16px; border-radius: 12px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.22);
}
.bridge-privacy-inline { font-size: 12.5px; color: var(--muted); }
.bridge-fields { display: grid; gap: 14px; }
.bridge-wb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(201, 162, 75, 0.08); }
.bridge-preview-col { position: sticky; top: 20px; }
.bridge-preview-card {
  display: grid; gap: 16px; padding: 24px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.1) 0%, var(--surface) 44%, var(--surface-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.3), 0 24px 56px rgba(0, 0, 0, 0.45);
}
.bridge-preview-top { display: flex; align-items: center; gap: 14px; }
.bridge-monogram {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font: 600 24px/1 var(--serif);
  color: var(--bg); background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}
.bridge-preview-meta { min-width: 0; display: grid; gap: 4px; }
.bridge-preview-meta h2 { font-size: 22px; line-height: 1.2; word-break: break-word; }
.bridge-preview-story { font-size: 13px; color: var(--gold-bright); }
.bridge-preview-tagline { color: #e2d7cc; font-size: 14.5px; line-height: 1.55; }
.bridge-preview-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bridge-opening-box {
  padding: 14px 16px; border-radius: 12px; background: var(--bg);
  border-left: 3px solid var(--gold); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 6px;
}
.bridge-opening-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-bright); }
.bridge-opening-box p { font: 14px/1.6 var(--sans); color: #e5d9cc; white-space: pre-wrap; max-height: 180px; overflow-y: auto; }
.bridge-readiness { display: grid; gap: 8px; }
.bridge-readiness-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.bridge-readiness-head strong { color: var(--gold-bright); }
.bridge-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.bridge-check {
  padding: 3px 9px; border-radius: 6px; font-size: 11.5px;
  color: var(--muted); background: rgba(236, 227, 217, 0.06); box-shadow: inset 0 0 0 1px var(--line);
}
.bridge-check[data-done="1"] {
  color: var(--text); background: rgba(74, 180, 120, 0.16); box-shadow: inset 0 0 0 1px rgba(74, 180, 120, 0.45);
}
.bridge-cta-stack { display: grid; gap: 10px; padding-top: 4px; }
.bridge-primary-cta { width: 100%; justify-content: center; text-align: center; }
.bridge-reassure { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 920px) {
  .bridge-grid { grid-template-columns: 1fr; }
  .bridge-preview-col { position: static; }
}
