:root {
  color-scheme: light;
  --ink: #10131a;
  --muted: #7b8494;
  --line: rgba(255, 255, 255, 0.12);
  --panel: #191f2a;
  --panel-soft: #222a37;
  --paper: #ffffff;
  --accent: #ff6a21;
  --gold: #ffbf3f;
  --green: #42d392;
  --cyan: #3bc6ff;
  --danger: #ff5f6d;
  --shadow: 0 22px 50px rgba(11, 14, 20, 0.28);
}

/* 2026-07-24 focused mini-program shell */
body {
  padding-bottom: 78px;
  background: #eef1f4;
  color: #161a20;
  letter-spacing: 0;
}

body[data-active-view="home"] .bottom-nav {
  display: grid;
}

.compact-shell {
  width: min(940px, 100%);
  padding: 0 12px 24px;
}

.compact-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 58px;
  margin: 0 -12px;
  padding: 8px 14px;
  border-bottom: 1px solid #dce1e7;
  background: rgba(248, 250, 252, 0.94);
  color: #161a20;
}

.brand-button {
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.brand-button .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #ff6a21;
  color: #fff;
}

.brand-button strong,
.brand-button small {
  display: block;
  letter-spacing: 0;
}

.brand-button strong {
  color: #15191f;
  font-size: 14px;
}

.brand-button small {
  margin-top: 1px;
  color: #7c8591;
  font-size: 10px;
  font-weight: 700;
}

.profile-chip {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #d6dde4;
  border-radius: 7px;
  background: #fff;
  color: #303843;
  font-size: 12px;
  font-weight: 850;
}

.profile-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27b27f;
  box-shadow: 0 0 0 4px rgba(39, 178, 127, 0.12);
}

.discovery-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  margin: 0 -12px;
  padding: 34px 18px 22px;
  background: #0c2630;
  color: #fff;
}

.discovery-hero-bg,
.discovery-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.discovery-hero-bg {
  object-fit: cover;
  object-position: 52% center;
}

.discovery-hero-shade {
  background: rgba(4, 18, 25, 0.54);
}

.discovery-copy,
.intent-panel {
  position: relative;
  z-index: 2;
}

.discovery-copy {
  max-width: 650px;
}

.live-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  background: rgba(8, 25, 33, 0.68);
  color: #dff9ef;
  font-size: 11px;
  font-weight: 850;
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42d392;
  box-shadow: 0 0 0 4px rgba(66, 211, 146, 0.14);
}

.discovery-copy h1 {
  max-width: 650px;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.discovery-copy h1 span {
  color: #ffcf66;
}

.discovery-copy p {
  max-width: 600px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.intent-panel {
  width: min(700px, 100%);
  margin-top: 26px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(8, 22, 29, 0.84);
  backdrop-filter: blur(12px);
}

.panel-label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 850;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.intent-card {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1px 7px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
}

.intent-card:hover,
.intent-card.is-selected {
  border-color: #ffba50;
  background: rgba(255, 186, 80, 0.15);
}

.intent-icon {
  display: grid;
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #ffba50;
  color: #1e2930;
  font-size: 14px;
}

.intent-card span,
.intent-card small {
  display: block;
  overflow: hidden;
  letter-spacing: 0;
}

.intent-card span {
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.intent-card small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  line-height: 1.3;
}

.taste-strip {
  margin: 10px 0;
}

.taste-strip > button {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 7px 10px;
  border: 1px solid rgba(66, 211, 146, 0.38);
  border-radius: 6px;
  background: rgba(24, 93, 75, 0.32);
  color: #fff;
  text-align: left;
}

.taste-art-stack {
  position: relative;
  display: block;
  width: 56px;
  height: 40px;
}

.taste-art-stack img {
  position: absolute;
  bottom: 0;
  width: 42px;
  height: 38px;
  object-fit: contain;
}

.taste-art-stack img:last-child {
  right: 0;
}

.taste-strip strong,
.taste-strip small {
  display: block;
}

.taste-strip strong {
  font-size: 12px;
}

.taste-strip small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.taste-strip b {
  color: #83e6bd;
  font-size: 24px;
}

.compact-query {
  display: block;
}

.compact-query > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.compact-query > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 7px;
}

.compact-query input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #15191f;
}

.compact-query input:focus {
  border-color: #ffba50;
  box-shadow: 0 0 0 3px rgba(255, 186, 80, 0.2);
}

.compact-query .primary-action {
  min-width: 0;
  min-height: 44px;
  border-radius: 6px;
  background: #ff6a21;
  box-shadow: none;
}

.seed-section {
  padding: 22px 0 18px;
}

.section-headline,
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.section-headline span,
.section-title span {
  color: #df5b1d;
  font-size: 10px;
  font-weight: 900;
}

.section-headline h2,
.section-title h2 {
  margin-top: 3px;
  color: #171c22;
  font-size: 20px;
  line-height: 1.2;
}

.section-headline small,
.section-title small {
  color: #77818c;
  font-size: 10px;
  text-align: right;
}

.seed-game-rail {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.seed-game {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  border-radius: 7px;
  background: #18232b;
  color: #fff;
  scroll-snap-align: start;
  text-align: left;
}

.seed-game img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  opacity: 0.78;
}

.seed-game::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: rgba(9, 16, 21, 0.76);
}

.seed-game > span {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 8px;
  left: 9px;
}

.seed-game strong,
.seed-game small {
  display: block;
}

.seed-game strong {
  font-size: 13px;
}

.seed-game small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
}

.compact-cruise {
  display: none;
  min-height: 520px;
  margin: 0;
  border-radius: 8px;
}

body.is-voyage-focus .compact-cruise,
.compact-cruise.is-sailing,
.compact-cruise.is-landed {
  display: block;
}

.current-voyage {
  margin: 0 0 18px;
}

.result-view,
.profile-view,
[data-view="log"] {
  padding-top: 10px;
}

.result-toolbar {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  margin-bottom: 12px;
}

.result-toolbar button {
  width: 36px;
  height: 36px;
  border: 1px solid #d5dbe1;
  border-radius: 7px;
  background: #fff;
  color: #2e3740;
  font-size: 17px;
}

.result-toolbar div span,
.result-toolbar div strong {
  display: block;
}

.result-toolbar div span {
  color: #7a8490;
  font-size: 10px;
}

.result-toolbar div strong {
  margin-top: 2px;
  color: #1b2026;
  font-size: 13px;
}

.result-section,
.profile-section {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dbe0e5;
  border-radius: 8px;
  background: #fff;
}

.decision-brief {
  color: #f8fafc;
}

.steam-nudge {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  border-left: 3px solid #2da97d;
  background: #e7f6f0;
  color: #1f3d34;
}

.steam-nudge span,
.steam-nudge strong,
.steam-nudge small {
  display: block;
}

.steam-nudge span {
  font-size: 10px;
  font-weight: 900;
}

.steam-nudge strong {
  margin-top: 3px;
  font-size: 13px;
}

.steam-nudge small {
  margin-top: 3px;
  color: #60766e;
  font-size: 10px;
}

.steam-nudge button {
  min-width: 72px;
  min-height: 34px;
  border-radius: 6px;
  background: #1d7f62;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.result-details {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce1e6;
  border-radius: 7px;
  background: #fff;
  color: #28313a;
}

.result-details summary {
  cursor: pointer;
  color: #596470;
  font-size: 11px;
  font-weight: 850;
}

.profile-intro {
  margin-bottom: 14px;
}

.profile-intro span {
  color: #db5b20;
  font-size: 10px;
  font-weight: 900;
}

.profile-intro h2 {
  margin-top: 4px;
  color: #1a2026;
  font-size: 22px;
}

.profile-intro p {
  margin-top: 7px;
  color: #65717c;
  font-size: 12px;
  line-height: 1.65;
}

.compatibility-elements {
  display: none !important;
}

.compact-bottom-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 62px;
  padding: 5px max(8px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom));
  border-top: 1px solid #d9dfe4;
  background: rgba(250, 251, 252, 0.96);
  backdrop-filter: blur(14px);
}

.compact-bottom-nav button {
  display: grid;
  align-content: center;
  gap: 1px;
  background: transparent;
  color: #7b8590;
}

.compact-bottom-nav button span,
.compact-bottom-nav button small {
  display: block;
}

.compact-bottom-nav button span {
  font-size: 18px;
  line-height: 1;
}

.compact-bottom-nav button small {
  font-size: 9px;
  font-weight: 800;
}

.compact-bottom-nav button.is-active {
  color: #df5b1d;
}

.taste-quiz-sheet .quiz-panel {
  color: #f8fafc;
}

.taste-quiz-panel {
  width: min(680px, calc(100% - 20px));
  max-height: min(760px, calc(100vh - 20px));
  border-radius: 8px;
  background: #111820;
}

.quiz-progress {
  height: 3px;
  margin: 0 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.quiz-progress i {
  display: block;
  width: 16.67%;
  height: 100%;
  background: #42d392;
  transition: width 180ms ease;
}

.taste-form {
  padding-top: 12px;
}

.taste-question {
  margin-bottom: 12px;
}

.taste-question span {
  color: #8fa1ae;
  font-size: 11px;
}

.taste-question h3 {
  margin-top: 4px;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
}

.choice-grid.taste-pair {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.taste-option {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 270px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #1c2630;
  color: #fff;
  text-align: left;
}

.taste-option.is-selected {
  border-color: #ffba50;
  box-shadow: 0 0 0 3px rgba(255, 186, 80, 0.16);
}

.taste-option img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 10px;
  background: #173443;
}

.taste-option span {
  display: block;
  padding: 11px 12px;
}

.taste-option strong,
.taste-option small {
  display: block;
}

.taste-option strong {
  color: #fff;
  font-size: 14px;
}

.taste-option small {
  margin-top: 4px;
  color: #91a0ab;
  font-size: 10px;
}

.taste-form .quiz-footer {
  grid-template-columns: 88px 1fr;
}

.taste-form .quiz-footer button {
  border-radius: 6px;
}

.price-channel-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.price-channel-state {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.price-channel-state span,
.price-channel-state strong,
.price-channel-state small {
  display: block;
}

.price-channel-state span {
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.price-channel-state strong {
  margin-top: 2px;
  color: #ffcf66;
  font-size: 9px;
}

.price-channel-state small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .compact-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .compact-topbar,
  .discovery-hero {
    margin-right: -10px;
    margin-left: -10px;
  }

  .discovery-hero {
    min-height: 660px;
    padding: 24px 12px 16px;
  }

  .discovery-copy h1 {
    font-size: 34px;
  }

  .discovery-copy p {
    font-size: 13px;
  }

  .intent-panel {
    margin-top: 20px;
    padding: 10px;
  }

  .intent-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intent-card {
    min-height: 62px;
  }

  .section-headline small,
  .section-title small {
    display: none;
  }

  .seed-game-rail {
    grid-auto-columns: 76%;
  }

  .choice-grid.taste-pair {
    grid-template-columns: 1fr 1fr;
  }

  .taste-option {
    min-height: 225px;
  }

  .taste-option img {
    height: 158px;
  }

  .price-channel-strip {
    grid-template-columns: 1fr;
  }

  .decision-report.is-compact .decision-card-grid,
  .decision-report.is-compact .bili-lane-grid,
  .decision-report.is-compact .bili-creator-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .discovery-copy h1 {
    font-size: 30px;
  }

  .intent-card small {
    display: none;
  }

  .intent-card {
    min-height: 52px;
  }

  .taste-option {
    min-height: 205px;
  }

  .taste-option img {
    height: 140px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 76px;
  color: #f7f8fb;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 106, 33, 0.22), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(59, 198, 255, 0.18), transparent 26%),
    #0d1017;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body[data-active-view="home"] .app-tabs {
  display: none;
}

body[data-active-view="home"] .bottom-nav {
  display: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.app-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -12px -12px 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 16, 23, 0.82);
  backdrop-filter: blur(16px);
}

.brand-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #1c1209;
  font-weight: 950;
}

.brand-row strong,
.brand-row span {
  display: block;
}

.brand-row strong {
  font-size: 15px;
}

.brand-row span {
  color: rgba(247, 248, 251, 0.64);
  font-size: 12px;
}

.topbar-action,
.primary-action,
.secondary-action {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.topbar-action,
.primary-action {
  background: linear-gradient(135deg, var(--accent), #ff9138);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 106, 33, 0.28);
}

.topbar-action {
  padding: 0 14px;
}

.app-tabs {
  position: sticky;
  top: 63px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: -2px 0 12px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(18, 23, 34, 0.86);
  backdrop-filter: blur(14px);
}

.app-tabs button,
.view-action {
  min-height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 248, 251, 0.72);
  font-size: 12px;
  font-weight: 950;
}

.app-tabs button.is-active,
.view-action {
  background: rgba(255, 106, 33, 0.18);
  color: #fff;
}

.app-view {
  display: none;
}

.app-view.is-active {
  display: block;
}

.app-view > .toolbar {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.store-hero {
  display: grid;
  gap: 10px;
}

.feature-card,
.deal-stack article,
.quick-grid button,
.source-strip,
.radar-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
}

.feature-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 16, 23, 0.96), rgba(13, 16, 23, 0.68) 48%, rgba(13, 16, 23, 0.12)),
    linear-gradient(0deg, rgba(13, 16, 23, 0.88), transparent 44%);
}

.feature-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 22px;
}

.live-badge {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(66, 211, 146, 0.16);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

h1 {
  max-width: 8em;
  margin-top: 76px;
  font-size: 40px;
  line-height: 1.02;
}

.feature-overlay p {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(247, 248, 251, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(460px, 100%);
  margin-top: 20px;
}

.deal-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.deal-stack article {
  position: relative;
  overflow: hidden;
  min-height: 138px;
}

.deal-stack img {
  width: 100%;
  height: 100%;
  min-height: 138px;
  object-fit: cover;
}

.deal-stack article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(13, 16, 23, 0.9), rgba(13, 16, 23, 0.1));
}

.deal-stack div {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
}

.deal-stack strong,
.deal-stack span {
  display: block;
}

.deal-stack strong {
  font-size: 15px;
}

.deal-stack span {
  margin-top: 4px;
  color: rgba(247, 248, 251, 0.7);
  font-size: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.quick-grid button {
  min-height: 86px;
  padding: 12px;
  color: #fff;
  text-align: left;
}

.quick-grid span,
.source-strip span,
.ad-slot span,
.section-title span,
.status,
.summary-band,
.eyebrow {
  color: var(--muted);
}

.quick-grid span,
.quick-grid strong {
  display: block;
}

.quick-grid span {
  font-size: 12px;
  font-weight: 850;
}

.quick-grid strong {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.25;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
}

.voyage-deck {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 14px;
  min-height: min(660px, calc(100vh - 104px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(9, 17, 28, 0.86), rgba(9, 31, 50, 0.62)),
    #101722;
  box-shadow: var(--shadow);
}

.voyage-deck::before,
.voyage-deck::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.voyage-deck::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.94), rgba(8, 12, 20, 0.5) 52%, rgba(8, 12, 20, 0.74)),
    radial-gradient(circle at 72% 12%, rgba(255, 191, 63, 0.24), transparent 30%),
    radial-gradient(circle at 36% 85%, rgba(59, 198, 255, 0.18), transparent 34%);
}

.voyage-deck::after {
  z-index: 1;
  opacity: 0.42;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.voyage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(1.08) contrast(1.06);
}

.voyage-copy {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  align-content: end;
  gap: 12px;
  padding: 34px 28px 0;
}

.voyage-deck .world-rules-panel {
  display: none;
}

.voyage-controls {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1;
  grid-row: 2;
  align-content: start;
  gap: 14px;
  padding: 0 28px 28px;
}

.voyage-copy h1 {
  max-width: 9em;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.02;
  margin-top: 0;
}

.voyage-copy h1 span {
  display: block;
  white-space: nowrap;
}

.voyage-copy > p {
  max-width: 560px;
  color: rgba(247, 248, 251, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.world-rules-panel {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  padding: 14px;
  border: 1px solid rgba(255, 191, 63, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.14), rgba(59, 198, 255, 0.08)),
    rgba(7, 13, 21, 0.64);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.world-rules-panel > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.world-rules-panel strong {
  color: rgba(247, 248, 251, 0.92);
  font-size: 14px;
  line-height: 1.35;
}

.world-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.world-rule-grid em {
  min-height: 34px;
  padding: 9px 8px;
  border: 1px solid color-mix(in srgb, var(--rule-color, #ffbf3f) 36%, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--rule-color, #ffbf3f) 16%, transparent), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.82);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
}

.voyage-input {
  display: grid;
  gap: 8px;
  max-width: 620px;
  color: rgba(247, 248, 251, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.voyage-question {
  display: grid;
  gap: 9px;
  width: min(620px, 100%);
}

.voyage-question > span {
  color: rgba(247, 248, 251, 0.86);
  font-size: 14px;
  font-weight: 950;
}

.voyage-intents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.voyage-intents button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.78);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.voyage-intents button.is-selected {
  border-color: rgba(255, 191, 63, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.18), rgba(255, 106, 33, 0.1)),
    rgba(255, 255, 255, 0.08);
  color: #fff6d9;
  box-shadow: 0 10px 24px rgba(255, 191, 63, 0.1);
}

.voyage-intents button:active,
.primary-action:active,
.secondary-action:active {
  transform: translateY(1px);
}

.voyage-input input,
.voyage-input textarea {
  min-height: 52px;
  border-color: rgba(59, 198, 255, 0.22);
  background: rgba(7, 13, 21, 0.72);
}

.voyage-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  width: min(620px, 100%);
}

.cruise-stage {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 520px;
  margin: 16px 16px 16px 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 191, 63, 0.14), transparent 22%),
    radial-gradient(circle at 74% 24%, rgba(59, 198, 255, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(59, 198, 255, 0.22), rgba(13, 89, 126, 0.5) 44%, rgba(6, 43, 68, 0.98)),
    #092b44;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 80px rgba(66, 211, 146, 0.08),
    0 28px 50px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.voyage-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.voyage-focus-toolbar {
  display: none;
}

body.is-voyage-focus {
  overflow: hidden;
}

body.is-voyage-focus .cruise-stage {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: voyage-focus-enter 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.is-voyage-focus .voyage-focus-toolbar {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 20px;
  left: 20px;
  z-index: 8;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}

.voyage-focus-toolbar > * {
  pointer-events: auto;
}

.voyage-focus-toolbar > div {
  display: grid;
  gap: 2px;
  width: fit-content;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(5, 13, 23, 0.58);
  backdrop-filter: blur(12px);
}

.voyage-focus-toolbar span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.voyage-focus-toolbar strong {
  overflow: hidden;
  color: rgba(247, 248, 251, 0.84);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voyage-focus-back,
.voyage-focus-result {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(5, 13, 23, 0.68);
  color: #fff6d9;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.voyage-focus-back {
  width: 44px;
  padding: 0;
  font-size: 22px;
}

.voyage-focus-result {
  padding: 0 18px;
  border-color: rgba(255, 191, 63, 0.38);
  background: linear-gradient(135deg, rgba(255, 106, 33, 0.96), rgba(255, 191, 63, 0.9));
  color: #101722;
}

body.is-voyage-focus .voyage-hud {
  top: max(82px, calc(env(safe-area-inset-top) + 66px));
  right: 20px;
  left: 20px;
}

body.is-voyage-focus .cruise-status {
  right: max(20px, calc((100vw - 760px) / 2));
  bottom: max(22px, env(safe-area-inset-bottom));
  left: max(20px, calc((100vw - 760px) / 2));
  padding: 13px 16px;
  text-align: center;
  backdrop-filter: blur(14px);
}

@keyframes voyage-focus-enter {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  body.is-voyage-focus .voyage-focus-toolbar {
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .voyage-focus-toolbar > div {
    padding: 7px 9px;
  }

  .voyage-focus-toolbar strong {
    font-size: 11px;
  }

  .voyage-focus-back {
    width: 40px;
    min-height: 40px;
  }

  .voyage-focus-result {
    min-height: 40px;
    max-width: 118px;
    padding: 0 10px;
    font-size: 12px;
  }

  body.is-voyage-focus .voyage-hud {
    top: max(66px, calc(env(safe-area-inset-top) + 54px));
    right: 10px;
    left: 10px;
  }
}

.voyage-hud {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  pointer-events: none;
}

.voyage-hud > span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 191, 63, 0.24);
  border-radius: 10px;
  background: rgba(5, 13, 23, 0.62);
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 0 24px rgba(255, 191, 63, 0.12);
  backdrop-filter: blur(10px);
}

.voyage-live-feed {
  display: grid;
  gap: 5px;
  width: min(260px, 62%);
  padding: 8px 10px;
  border: 1px solid rgba(66, 211, 146, 0.18);
  border-radius: 11px;
  background: rgba(5, 13, 23, 0.54);
  box-shadow: 0 0 22px rgba(66, 211, 146, 0.1);
  backdrop-filter: blur(10px);
}

.voyage-live-feed em {
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.voyage-live-feed strong {
  overflow: hidden;
  color: rgba(247, 248, 251, 0.86);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voyage-event-stream {
  display: grid;
  gap: 3px;
}

.voyage-event-stream span {
  overflow: hidden;
  color: rgba(247, 248, 251, 0.56);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-grid,
.current-lines,
.scan-beam,
.fog-bank,
.compass-ring,
.rule-gate {
  position: absolute;
  pointer-events: none;
}

.stage-grid {
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(540px) rotateX(58deg) translateY(34px) scale(1.2);
  transform-origin: center bottom;
  animation: grid-drift 7s linear infinite;
}

.sun {
  position: absolute;
  top: 34px;
  right: 36px;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffdf7e, #ff9d35 68%, rgba(255, 157, 53, 0.1));
  box-shadow: 0 0 54px rgba(255, 191, 63, 0.44);
}

.compass-ring {
  top: 34px;
  left: 30px;
  z-index: 1;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px dashed rgba(255, 191, 63, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 22px rgba(255, 191, 63, 0.13), 0 0 28px rgba(255, 191, 63, 0.12);
  animation: compass-spin 12s linear infinite;
}

.compass-ring::before,
.compass-ring::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(59, 198, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.compass-ring::after {
  inset: 42px;
  background: rgba(255, 191, 63, 0.72);
  box-shadow: 0 0 18px rgba(255, 191, 63, 0.6);
}

.compass-ring span {
  color: rgba(255, 246, 217, 0.78);
  font-size: 10px;
  font-weight: 950;
  transform: rotate(12deg);
}

.scan-beam {
  inset: -28% -20% 18% 20%;
  z-index: 1;
  opacity: 0.36;
  background: conic-gradient(from 210deg at 26% 72%, transparent 0 68deg, rgba(66, 211, 146, 0.36) 76deg, transparent 92deg 360deg);
  filter: blur(1px);
  animation: scan-sweep 4.8s ease-in-out infinite;
}

.current-lines {
  right: -12%;
  bottom: 82px;
  left: -12%;
  z-index: 1;
  height: 130px;
  opacity: 0.32;
  background:
    repeating-linear-gradient(168deg, transparent 0 22px, rgba(255, 255, 255, 0.18) 24px 26px, transparent 28px 54px);
  animation: current-flow 9s linear infinite;
}

.fog-bank {
  z-index: 2;
  width: 190px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 248, 251, 0.22), rgba(247, 248, 251, 0.06) 60%, transparent 72%);
  filter: blur(8px);
  animation: fog-drift 8s ease-in-out infinite alternate;
}

.fog-left {
  top: 188px;
  left: 28px;
}

.fog-right {
  right: 52px;
  bottom: 166px;
  animation-delay: -3s;
}

.route-line {
  position: absolute;
  right: 13%;
  bottom: 186px;
  left: 16%;
  z-index: 3;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 10px, transparent 10px 20px);
  box-shadow: 0 0 18px rgba(59, 198, 255, 0.18);
  transform: rotate(-7deg);
}

.route-line::after {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--accent));
  box-shadow: 0 0 18px rgba(255, 191, 63, 0.6);
  content: "";
}

.cruise-stage.is-sailing .route-line::after {
  animation: route-progress 3.2s ease-in-out infinite;
}

.cruise-stage.is-landed .route-line::after {
  width: 100%;
}

.rule-gate {
  z-index: 4;
  display: grid;
  min-width: 78px;
  min-height: 34px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(5, 13, 23, 0.58);
  box-shadow: 0 0 28px rgba(59, 198, 255, 0.12);
  backdrop-filter: blur(10px);
}

.rule-gate::after {
  position: absolute;
  bottom: -54px;
  left: 50%;
  width: 2px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 191, 63, 0.88), transparent);
  content: "";
}

.rule-gate span {
  color: rgba(247, 248, 251, 0.86);
  font-size: 11px;
  font-weight: 950;
}

.gate-noise {
  left: 24%;
  bottom: 238px;
}

.gate-spoiler {
  left: 45%;
  bottom: 258px;
  border-color: rgba(255, 95, 109, 0.24);
}

.gate-source {
  right: 16%;
  bottom: 224px;
  border-color: rgba(66, 211, 146, 0.24);
}

.cruise-stage.is-sailing .rule-gate {
  animation: gate-pulse 1.8s ease-in-out infinite;
}

.cruise-stage.is-sailing .gate-spoiler {
  animation-delay: 0.35s;
}

.cruise-stage.is-sailing .gate-source {
  animation-delay: 0.7s;
}

.ship {
  position: absolute;
  bottom: 150px;
  left: 9%;
  z-index: 5;
  width: 118px;
  height: 104px;
  transform-origin: center bottom;
  transition: transform 0.65s cubic-bezier(0.2, 0.72, 0.22, 1);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.28));
}

.ship-wake {
  position: absolute;
  right: 68px;
  bottom: 13px;
  width: 92px;
  height: 22px;
  border-radius: 999px;
  opacity: 0;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.42), transparent 70%);
  transform: rotate(6deg);
}

.mast {
  position: absolute;
  left: 52px;
  bottom: 27px;
  width: 4px;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d28a, #7d4b25);
}

.flag {
  position: absolute;
  left: 55px;
  bottom: 78px;
  width: 38px;
  height: 22px;
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  transform-origin: left center;
  animation: flag-wave 1.6s ease-in-out infinite alternate;
}

.sail {
  position: absolute;
  left: 56px;
  bottom: 30px;
  width: 48px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px 26px 9px 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(59, 198, 255, 0.4)),
    rgba(247, 248, 251, 0.94);
  clip-path: polygon(0 0, 100% 22%, 20% 100%, 0 100%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
}

.hull {
  position: absolute;
  right: 7px;
  bottom: 14px;
  left: 2px;
  height: 30px;
  border-radius: 8px 9px 40px 40px;
  background:
    linear-gradient(90deg, #5f321e, #ff8a3c 52%, #ffd36a),
    #9a562a;
  box-shadow: inset 0 -8px 0 rgba(31, 16, 8, 0.24);
}

.hull::before {
  position: absolute;
  top: 7px;
  left: 16px;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 246, 217, 0.46);
  content: "";
}

.cruise-stage.is-sailing .ship {
  animation: sail-route 3.4s cubic-bezier(0.42, 0, 0.21, 1) infinite alternate;
}

.cruise-stage.is-sailing .ship-wake {
  opacity: 1;
  animation: wake-flow 1.4s ease-in-out infinite alternate;
}

.cruise-stage.is-landed .ship {
  transform: translateX(var(--sail-distance)) translateY(var(--sail-rise)) rotate(-3deg);
}

.wave {
  position: absolute;
  right: -10%;
  bottom: 26px;
  left: -10%;
  z-index: 3;
  height: 72px;
  opacity: 0.72;
  background:
    radial-gradient(50px 28px at 40px 18px, rgba(255, 255, 255, 0.24), transparent 70%),
    radial-gradient(60px 34px at 120px 24px, rgba(255, 255, 255, 0.18), transparent 70%);
  background-size: 160px 72px;
  animation: wave-flow 7s linear infinite;
}

.wave-two {
  bottom: 0;
  opacity: 0.42;
  animation-duration: 11s;
  animation-direction: reverse;
}

.island {
  position: absolute;
  display: grid;
  z-index: 4;
  width: 86px;
  height: 54px;
  place-items: center;
  border-radius: 50% 50% 42% 42%;
  background:
    radial-gradient(circle at 50% 10%, rgba(66, 211, 146, 0.95), rgba(66, 211, 146, 0.22) 52%, transparent 54%),
    linear-gradient(180deg, #d3aa63, #9d6938);
  color: #fff6d9;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
  opacity: 0.72;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.island-a {
  right: 31%;
  bottom: 240px;
}

.island-b {
  right: 12%;
  bottom: 188px;
}

.island-c {
  right: 42%;
  bottom: 164px;
}

.cruise-stage.is-landed .island {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 0 7px rgba(255, 191, 63, 0.14), 0 16px 30px rgba(0, 0, 0, 0.28);
}

.cruise-status {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 6;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 13, 23, 0.62);
  color: rgba(247, 248, 251, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.current-voyage,
.identity-nudge {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.current-voyage.is-empty {
  display: none;
}

.identity-nudge {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(23, 29, 39, 0.94);
  box-shadow: var(--shadow);
}

.identity-nudge.is-quiet,
.app-view[data-view="content"] .island-ad,
.app-view[data-view="content"] .compact-block {
  display: none;
}

.identity-nudge p:last-child {
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.identity-nudge button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(59, 198, 255, 0.14);
  color: var(--cyan);
  font-weight: 950;
}

@keyframes sail-route {
  from {
    transform: translateX(0) translateY(0) rotate(-2deg);
  }
  to {
    transform: translateX(var(--sail-distance)) translateY(var(--sail-rise)) rotate(3deg);
  }
}

@keyframes route-progress {
  0% {
    width: 10%;
  }
  60% {
    width: 74%;
  }
  100% {
    width: 100%;
  }
}

@keyframes scan-sweep {
  0%,
  100% {
    transform: rotate(-8deg) translateX(-18px);
    opacity: 0.24;
  }
  50% {
    transform: rotate(9deg) translateX(20px);
    opacity: 0.48;
  }
}

@keyframes current-flow {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 260px;
  }
}

@keyframes fog-drift {
  from {
    transform: translateX(-12px) translateY(0);
    opacity: 0.5;
  }
  to {
    transform: translateX(18px) translateY(-8px);
    opacity: 0.76;
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 38px 38px;
  }
}

@keyframes compass-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gate-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 198, 255, 0.12);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 191, 63, 0.34);
    transform: translateY(-3px);
  }
}

@keyframes flag-wave {
  from {
    transform: skewY(-5deg);
  }
  to {
    transform: skewY(8deg);
  }
}

@keyframes wake-flow {
  from {
    transform: rotate(6deg) translateX(0) scaleX(0.84);
    opacity: 0.35;
  }
  to {
    transform: rotate(6deg) translateX(-20px) scaleX(1.18);
    opacity: 0.66;
  }
}

@keyframes wave-flow {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 320px;
  }
}

.steam-connect {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(59, 198, 255, 0.12), transparent 44%),
    var(--panel);
  box-shadow: var(--shadow);
}

.steam-copy {
  display: grid;
  gap: 6px;
}

.steam-copy p:last-child {
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.steam-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.steam-form button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #1b75d0;
  color: #fff;
  font-weight: 950;
}

.steam-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.freshness-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 191, 63, 0.16);
  border-radius: 11px;
  background: rgba(255, 191, 63, 0.07);
}

.freshness-strip span {
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.freshness-strip button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(255, 191, 63, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.bind-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bind-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(13, 16, 23, 0.34);
}

.bind-card.is-primary {
  border-color: rgba(66, 211, 146, 0.24);
  background:
    linear-gradient(135deg, rgba(66, 211, 146, 0.12), rgba(59, 198, 255, 0.06)),
    rgba(13, 16, 23, 0.36);
}

.bind-card > span {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 191, 63, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.bind-card h3 {
  font-size: 16px;
}

.bind-card p {
  color: rgba(247, 248, 251, 0.66);
  font-size: 12px;
  line-height: 1.48;
}

.bind-card > button {
  min-height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #071019;
  font-size: 13px;
  font-weight: 950;
}

.steam-bind-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.steam-bind-status span,
.steam-bind-status a {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.72);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.steam-bind-status a {
  color: var(--cyan);
}

.steam-overview {
  display: grid;
  gap: 10px;
}

.share-panel {
  display: grid;
  gap: 10px;
}

.share-card,
.shared-report-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 106, 33, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 106, 33, 0.14), rgba(255, 191, 63, 0.08)),
    rgba(13, 16, 23, 0.44);
}

.share-card span,
.shared-report-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.share-card strong,
.shared-report-card strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
}

.share-card p,
.shared-report-card p {
  margin-top: 5px;
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.share-actions button,
.share-actions a {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 106, 33, 0.18);
  color: #ffb184;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.share-actions a {
  background: rgba(66, 211, 146, 0.16);
  color: var(--green);
}

.voyage-result-card,
.history-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 191, 63, 0.18);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.12), rgba(59, 198, 255, 0.06)),
    #171d27;
}

.voyage-result-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.voyage-result-head span,
.voyage-result-head em,
.history-card span,
.history-islands em,
.history-treasures span,
.treasure-mini-list span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.76);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.voyage-result-head span {
  background: rgba(255, 191, 63, 0.14);
  color: var(--gold);
}

.voyage-result-head strong,
.history-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voyage-result-head em {
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
}

.voyage-result-card p,
.history-card p {
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.harness-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(66, 211, 146, 0.16);
  border-radius: 11px;
  background: rgba(5, 13, 23, 0.38);
}

.harness-strip span,
.harness-strip em {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.harness-strip span {
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
}

.harness-strip em {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 248, 251, 0.78);
}

.island-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.island-strip button {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 0%, rgba(66, 211, 146, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
}

.island-strip span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.island-strip strong {
  font-size: 22px;
}

.island-strip small {
  color: rgba(247, 248, 251, 0.62);
  font-size: 11px;
}

.treasure-mini-list,
.history-islands,
.history-treasures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.treasure-mini-list span,
.history-treasures span {
  background: rgba(59, 198, 255, 0.1);
  color: rgba(214, 244, 255, 0.9);
}

.voyage-result-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.voyage-result-actions button {
  min-height: 38px;
  border-radius: 10px;
  background: rgba(255, 106, 33, 0.16);
  color: #ffb184;
  font-size: 12px;
  font-weight: 950;
}

.voyage-history {
  display: grid;
  gap: 10px;
}

.history-card > div:first-child {
  display: grid;
  gap: 6px;
}

.decision-brief,
.decision-report {
  display: grid;
  gap: 12px;
}

.decision-report {
  padding: 14px;
  border: 1px solid rgba(255, 191, 63, 0.22);
  border-radius: 13px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 191, 63, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(66, 211, 146, 0.1), rgba(59, 198, 255, 0.06)),
    #171d27;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.decision-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.decision-topline span {
  display: inline-grid;
  width: fit-content;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 191, 63, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.decision-topline h4 {
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.decision-topline p,
.decision-note {
  margin-top: 6px;
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.decision-topline > strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(66, 211, 146, 0.22);
  border-radius: 16px;
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
  font-size: 21px;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(66, 211, 146, 0.1);
}

.decision-topline > strong b {
  align-self: end;
  font-size: 21px;
}

.decision-topline > strong small {
  align-self: start;
  color: rgba(247, 248, 251, 0.56);
  font-size: 9px;
  font-weight: 800;
}

.decision-verdict {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(66, 211, 146, 0.18);
  border-radius: 11px;
  background: rgba(5, 13, 23, 0.36);
}

.decision-verdict em {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.decision-verdict p {
  color: rgba(247, 248, 251, 0.82);
  font-size: 13px;
  line-height: 1.58;
}

.decision-evidence-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(66, 211, 146, 0.18);
  border-radius: 11px;
  background: rgba(66, 211, 146, 0.08);
}

.decision-evidence-status div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.decision-evidence-status strong {
  color: var(--green);
  font-size: 12px;
}

.decision-evidence-status span {
  color: rgba(247, 248, 251, 0.64);
  font-size: 11px;
}

.decision-evidence-status em {
  flex: none;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(66, 211, 146, 0.13);
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.decision-evidence-status.is-partial,
.decision-evidence-status.is-insufficient {
  border-color: rgba(255, 169, 97, 0.2);
  background: rgba(255, 169, 97, 0.08);
}

.decision-evidence-status.is-partial strong,
.decision-evidence-status.is-partial em,
.decision-evidence-status.is-insufficient strong,
.decision-evidence-status.is-insufficient em {
  color: #ffb06f;
}

.decision-evidence-status.is-partial em,
.decision-evidence-status.is-insufficient em {
  background: rgba(255, 169, 97, 0.12);
}

.coverage-gap-note {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(255, 169, 97, 0.24);
  border-radius: 12px;
  background: rgba(255, 169, 97, 0.08);
}

.coverage-gap-note span {
  color: #ffb06f;
  font-size: 11px;
  font-weight: 950;
}

.coverage-gap-note strong {
  color: var(--ink);
  font-size: 16px;
}

.coverage-gap-note p,
.coverage-gap-note small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.decision-why,
.decision-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.decision-why span,
.decision-rules span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 248, 251, 0.76);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.decision-card-grid,
.decision-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.decision-fact,
.decision-source-grid span {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

.decision-fact span,
.decision-source-grid em {
  color: rgba(247, 248, 251, 0.56);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.decision-fact strong,
.decision-source-grid strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.28;
}

.decision-fact p,
.decision-source-grid small {
  color: rgba(247, 248, 251, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.decision-fact.is-gold {
  border-color: rgba(255, 191, 63, 0.2);
  background: rgba(255, 191, 63, 0.1);
}

.decision-fact.is-cyan {
  border-color: rgba(59, 198, 255, 0.2);
  background: rgba(59, 198, 255, 0.1);
}

.decision-fact.is-danger {
  border-color: rgba(255, 95, 109, 0.2);
  background: rgba(255, 95, 109, 0.1);
}

.decision-route-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.decision-route-list button {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 106, 33, 0.13), rgba(59, 198, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
}

.decision-route-list span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.decision-route-list strong {
  font-size: 13px;
  line-height: 1.25;
}

.decision-route-list small {
  color: rgba(247, 248, 251, 0.6);
  font-size: 11px;
  line-height: 1.42;
}

.bili-validation {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(251, 114, 153, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 114, 153, 0.16), transparent 34%),
    rgba(5, 13, 23, 0.34);
}

.bili-validation-head {
  display: grid;
  gap: 5px;
}

.bili-validation-head span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(251, 114, 153, 0.14);
  color: #fb7299;
  font-size: 11px;
  font-weight: 950;
}

.bili-validation-head strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.bili-validation-head p {
  color: rgba(247, 248, 251, 0.66);
  font-size: 12px;
  line-height: 1.5;
}

.bili-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bili-lane-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

.bili-lane-card > div {
  display: grid;
  gap: 4px;
}

.bili-lane-card > div span {
  color: #fb7299;
  font-size: 11px;
  font-weight: 950;
}

.bili-lane-card > div strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.bili-lane-card p,
.bili-lane-card a span {
  color: rgba(247, 248, 251, 0.62);
  font-size: 11px;
  line-height: 1.42;
}

.bili-lane-card a em {
  color: rgba(247, 248, 251, 0.48);
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
}

.bili-lane-card > em {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.72);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.bili-lane-card a {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(251, 114, 153, 0.16);
  border-radius: 9px;
  background: rgba(251, 114, 153, 0.08);
  color: #fff;
  text-decoration: none;
}

.bili-lane-card a b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bili-lane-card a small {
  color: rgba(251, 114, 153, 0.9);
  font-size: 10px;
  font-weight: 900;
}

.bili-creator-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bili-creator-strip span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(5, 13, 23, 0.38);
}

.bili-creator-strip b {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bili-creator-strip em,
.bili-creator-strip small {
  color: rgba(247, 248, 251, 0.64);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.island-ad {
  margin: 0 0 12px;
}

.shared-report-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.shared-report-card img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.shared-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.shared-stats em {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.overview-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(66, 211, 146, 0.18);
  border-radius: 12px;
  background: rgba(66, 211, 146, 0.08);
}

.overview-card img {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  object-fit: cover;
}

.avatar-fallback {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #1c1209;
  font-size: 15px;
  font-weight: 950;
}

.agent-head .avatar-fallback {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.overview-card span,
.overview-card p {
  color: rgba(247, 248, 251, 0.64);
  font-size: 12px;
  line-height: 1.4;
}

.overview-card strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 14px;
}

.overview-card p {
  margin-top: 4px;
}

.overview-card button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(66, 211, 146, 0.18);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.agent-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #151b26;
}

.agent-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.agent-head img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  background: #222a37;
}

.agent-head p,
.memory-block p {
  margin-top: 5px;
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.agent-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.agent-stats span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
}

.agent-stats strong {
  color: #fff;
  font-size: 18px;
}

.construct-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(59, 198, 255, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(59, 198, 255, 0.14), rgba(66, 211, 146, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.construct-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.construct-head p,
.construct-grid p,
.construct-caution p {
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.48;
}

.construct-head p {
  margin-top: 5px;
}

.construct-head > strong {
  flex: 0 0 auto;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: rgba(59, 198, 255, 0.16);
  color: var(--cyan);
  font-size: 16px;
}

.construct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.construct-grid article,
.construct-caution,
.hunting-brief,
.signal-matrix,
.persona-timeline {
  padding: 10px;
  border-radius: 10px;
  background: rgba(13, 16, 23, 0.32);
}

.construct-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
}

.construct-caution {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 191, 63, 0.18);
}

.construct-caution p {
  margin-top: 0;
}

.hunting-brief {
  display: grid;
  gap: 8px;
}

.signal-matrix,
.persona-timeline {
  display: grid;
  gap: 10px;
}

.signal-matrix h4,
.persona-timeline h4 {
  color: rgba(247, 248, 251, 0.9);
  font-size: 13px;
}

.signal-matrix article {
  display: grid;
  gap: 7px;
}

.signal-row-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.signal-row-head strong {
  color: #fff;
  font-size: 12px;
}

.signal-row-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.signal-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.signal-bar::before {
  display: block;
  width: var(--signal);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  content: "";
}

.signal-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.signal-factors em {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(59, 198, 255, 0.1);
  color: rgba(214, 244, 255, 0.82);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.persona-timeline article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.persona-timeline article > span {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 191, 63, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.persona-timeline strong,
.persona-timeline em,
.persona-timeline p {
  display: block;
}

.persona-timeline strong {
  color: #fff;
  font-size: 12px;
}

.persona-timeline em,
.persona-timeline p {
  margin-top: 4px;
  color: rgba(247, 248, 251, 0.64);
  font-size: 11px;
  font-style: normal;
  line-height: 1.42;
}

.hunting-brief div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hunting-brief span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(59, 198, 255, 0.12);
  color: rgba(247, 248, 251, 0.82);
  font-size: 11px;
  font-weight: 850;
}

.achievement-board {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 191, 63, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.13), rgba(59, 198, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.achievement-head,
.achievement-stats,
.achievement-progress article,
.historical-anchors div {
  display: flex;
  gap: 10px;
}

.achievement-head {
  justify-content: space-between;
  align-items: start;
}

.achievement-head p {
  margin-top: 5px;
  color: rgba(247, 248, 251, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.achievement-head > strong {
  flex: 0 0 auto;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 191, 63, 0.16);
  color: var(--gold);
  font-size: 16px;
}

.achievement-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.achievement-stats span {
  display: grid;
  gap: 4px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(13, 16, 23, 0.36);
  color: rgba(247, 248, 251, 0.62);
  font-size: 11px;
}

.achievement-stats strong {
  color: #fff;
  font-size: 16px;
}

.achievement-progress {
  display: grid;
  gap: 8px;
}

.achievement-progress article {
  display: grid;
  gap: 7px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(13, 16, 23, 0.32);
}

.achievement-progress article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.achievement-progress strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.achievement-progress span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.progress-line {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-line::before {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--green));
  content: "";
}

.trophy-section {
  display: grid;
  gap: 8px;
}

.trophy-section h4 {
  color: rgba(247, 248, 251, 0.88);
  font-size: 13px;
}

.trophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.trophy-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: rgba(13, 16, 23, 0.34);
}

.trophy-section.is-rare .trophy-card {
  border: 1px solid rgba(255, 191, 63, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.12), rgba(13, 16, 23, 0.34)),
    rgba(13, 16, 23, 0.34);
}

.trophy-card img,
.trophy-fallback {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
}

.trophy-card img {
  object-fit: cover;
}

.trophy-fallback {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 20px;
}

.trophy-card span,
.trophy-card p,
.trophy-card em {
  color: rgba(247, 248, 251, 0.62);
  font-size: 11px;
  line-height: 1.42;
}

.trophy-card strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trophy-card p {
  margin-top: 5px;
}

.trophy-card em {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 191, 63, 0.12);
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.memory-block {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(66, 211, 146, 0.1);
}

.memory-chips,
.insight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.memory-chips span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(66, 211, 146, 0.13);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-grid article,
.agent-plan,
.content-strategy,
.historical-anchors,
.steam-shelf-section {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.insight-grid strong,
.insight-grid span,
.agent-plan p {
  display: block;
}

.insight-grid strong {
  color: #fff;
  font-size: 13px;
}

.insight-grid span,
.agent-plan p {
  margin-top: 5px;
  color: rgba(247, 248, 251, 0.64);
  font-size: 12px;
  line-height: 1.45;
}

.agent-plan {
  display: grid;
  gap: 6px;
}

.agent-plan p {
  margin-top: 0;
}

.content-strategy {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(59, 198, 255, 0.18);
  background: rgba(59, 198, 255, 0.08);
}

.content-strategy p,
.historical-anchors span {
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.content-strategy p {
  margin-top: 0;
}

.historical-anchors {
  display: grid;
  gap: 8px;
}

.historical-anchors div {
  flex-wrap: wrap;
}

.historical-anchors span {
  display: inline-grid;
  gap: 3px;
  min-width: 148px;
  padding: 8px;
  border-radius: 9px;
  background: rgba(13, 16, 23, 0.3);
}

.historical-anchors strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-shelf-section {
  display: grid;
  gap: 9px;
}

.steam-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.steam-shelf article {
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.steam-shelf img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.steam-shelf strong,
.steam-shelf span {
  display: block;
  padding: 0 8px;
}

.steam-shelf strong {
  overflow: hidden;
  margin-top: 7px;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-shelf span {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.source-strip span {
  width: 100%;
  font-size: 12px;
  font-weight: 900;
}

.source-strip strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.radar-panel {
  margin-top: 12px;
  padding: 14px;
}

.toolbar,
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.eyebrow {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-top: 4px;
  font-size: 24px;
}

.status {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.summary-band,
.ad-slot {
  margin-top: 14px;
  border-radius: 12px;
  background: var(--panel-soft);
}

.summary-band {
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.65;
}

.ad-slot {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 191, 63, 0.22);
  background: linear-gradient(135deg, rgba(255, 191, 63, 0.14), rgba(255, 106, 33, 0.08));
}

.ad-slot span {
  font-size: 12px;
  font-weight: 950;
}

.ad-slot strong {
  color: rgba(247, 248, 251, 0.84);
  font-size: 13px;
  line-height: 1.45;
}

.section-block {
  margin-top: 24px;
}

h3 {
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.game-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #171d27;
}

.game-image {
  width: 100%;
  aspect-ratio: 16 / 7.6;
  object-fit: cover;
  background: #202733;
}

.game-body {
  display: grid;
  gap: 10px;
  padding: 11px;
}

.game-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

h4 {
  font-size: 16px;
}

.verdict {
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.score {
  display: grid;
  min-width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
  font-weight: 950;
}

.game-card p {
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.48;
}

.meta-row,
.source-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill,
.source-mini span {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.78);
  font-size: 11px;
  font-weight: 850;
}

.meta-row .pill:first-child {
  background: rgba(66, 211, 146, 0.15);
  color: var(--green);
}

.warning {
  background: rgba(255, 95, 109, 0.14);
  color: #ff9aa4;
}

.source-mini span {
  background: rgba(59, 198, 255, 0.12);
  color: var(--cyan);
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.actions button,
.content-item button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 248, 251, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.content-list {
  display: grid;
  gap: 9px;
}

.treasure-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 191, 63, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.12), rgba(59, 198, 255, 0.06)),
    #171d27;
}

.treasure-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.treasure-head span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 191, 63, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.treasure-head strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
  font-size: 13px;
}

.treasure-card h4 {
  color: #fff;
  font-size: 15px;
  line-height: 1.36;
}

.treasure-card p {
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.treasure-risks span {
  background: rgba(255, 255, 255, 0.08);
}

.treasure-actions {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 7px;
}

.treasure-actions a,
.treasure-actions button {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 106, 33, 0.16);
  color: #ffb184;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.treasure-actions button {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 248, 251, 0.84);
}

.scout-board {
  display: grid;
  gap: 10px;
}

.scout-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(59, 198, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(59, 198, 255, 0.12), rgba(66, 211, 146, 0.06)),
    #171d27;
}

.scout-summary p {
  color: rgba(247, 248, 251, 0.74);
  font-size: 13px;
  line-height: 1.55;
}

.scout-summary div,
.scout-filter-strip,
.scout-rules,
.voyage-lanes,
.treasure-risks,
.share-treasures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scout-summary span,
.scout-filter-strip span,
.scout-rules span,
.voyage-lanes span,
.treasure-risks span,
.share-treasures em {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.76);
  font-size: 11px;
  font-weight: 850;
}

.scout-filter-strip {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 191, 63, 0.08);
}

.scout-filter-strip span {
  background: rgba(255, 191, 63, 0.12);
  color: rgba(255, 224, 158, 0.92);
}

.voyage-lanes span {
  background: rgba(66, 211, 146, 0.12);
  color: var(--green);
}

.share-treasures {
  margin-top: 9px;
}

.share-treasures em {
  background: rgba(255, 191, 63, 0.12);
  color: rgba(255, 224, 158, 0.92);
  font-style: normal;
}

.scout-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scout-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #171d27;
}

.scout-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.scout-card-head span,
.scout-card-head em {
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.scout-card-head span {
  background: rgba(59, 198, 255, 0.12);
  color: var(--cyan);
}

.scout-card-head strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scout-card-head em {
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
}

.scout-card h4 {
  color: #fff;
  font-size: 14px;
  line-height: 1.32;
}

.scout-card p {
  color: rgba(247, 248, 251, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.scout-rules span {
  background: rgba(59, 198, 255, 0.08);
  color: rgba(247, 248, 251, 0.72);
}

.scout-card a {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 106, 33, 0.16);
  color: #ffb184;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.mission-intro {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 13px;
  border: 1px solid rgba(59, 198, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(59, 198, 255, 0.14), rgba(66, 211, 146, 0.06)),
    #171d27;
}

.mission-intro strong {
  color: #fff;
  font-size: 15px;
}

.mission-intro p {
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.mission-board {
  display: block;
}

.voyage-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mission-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #171d27;
}

.mission-card.is-reported {
  border-color: rgba(66, 211, 146, 0.22);
  background:
    linear-gradient(135deg, rgba(66, 211, 146, 0.1), transparent 48%),
    #171d27;
}

.mission-head,
.mission-lane,
.mission-meta,
.mission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.mission-head {
  justify-content: space-between;
}

.mission-head span,
.mission-head strong,
.mission-lane span,
.mission-lane em,
.mission-meta span {
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 950;
}

.mission-head span {
  background: rgba(59, 198, 255, 0.12);
  color: var(--cyan);
}

.mission-head strong {
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
}

.mission-lane {
  justify-content: space-between;
}

.mission-lane span {
  background: rgba(255, 191, 63, 0.12);
  color: var(--gold);
}

.mission-lane em {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.76);
  font-style: normal;
}

.mission-card h4 {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.mission-card p,
.mission-callback {
  color: rgba(247, 248, 251, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.mission-meta span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.72);
}

.mission-callback {
  padding: 9px;
  border-radius: 10px;
  background: rgba(255, 191, 63, 0.08);
  color: rgba(255, 224, 158, 0.9);
}

.mission-evidence {
  display: grid;
  gap: 7px;
}

.mission-evidence a {
  display: grid;
  gap: 4px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(13, 16, 23, 0.36);
  color: #fff;
  text-decoration: none;
}

.mission-evidence em,
.mission-evidence small {
  color: var(--cyan);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.mission-evidence span {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-actions a,
.mission-actions button {
  display: grid;
  min-height: 34px;
  flex: 1 1 110px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 106, 33, 0.16);
  color: #ffb184;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.mission-actions button {
  background: rgba(66, 211, 146, 0.16);
  color: var(--green);
}

.live-digest {
  display: grid;
  gap: 10px;
}

.digest-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(66, 211, 146, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(66, 211, 146, 0.12), rgba(59, 198, 255, 0.06)),
    #171d27;
}

.digest-summary p {
  color: rgba(247, 248, 251, 0.74);
  font-size: 13px;
  line-height: 1.55;
}

.digest-summary div,
.digest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.digest-summary span,
.digest-meta span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(66, 211, 146, 0.1);
  color: rgba(207, 255, 232, 0.88);
  font-size: 11px;
  font-weight: 850;
}

.curation-brief {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 191, 63, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.12), rgba(255, 106, 33, 0.06)),
    #171d27;
}

.curation-brief header {
  display: grid;
  gap: 5px;
}

.curation-brief header span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.curation-brief header p {
  color: rgba(247, 248, 251, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.curation-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.curation-lane {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(13, 16, 23, 0.34);
}

.curation-lane.is-must {
  border-color: rgba(66, 211, 146, 0.2);
}

.curation-lane.is-risk {
  border-color: rgba(255, 95, 109, 0.2);
}

.curation-lane > div {
  display: grid;
  gap: 4px;
}

.curation-lane strong {
  color: #fff;
  font-size: 13px;
}

.curation-lane > div span {
  color: rgba(247, 248, 251, 0.58);
  font-size: 11px;
  line-height: 1.35;
}

.curation-lane p {
  display: grid;
  gap: 4px;
  color: rgba(247, 248, 251, 0.68);
  font-size: 11px;
  line-height: 1.42;
}

.curation-lane em,
.curation-lane small {
  font-style: normal;
}

.curation-lane em {
  width: fit-content;
  padding: 4px 6px;
  border-radius: 7px;
  background: rgba(255, 191, 63, 0.12);
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
}

.curation-lane.is-risk em {
  background: rgba(255, 95, 109, 0.13);
  color: #ff9aa4;
}

.curation-lane b {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.curation-lane small {
  color: rgba(247, 248, 251, 0.5);
}

.curation-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.curation-rules span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.68);
  font-size: 11px;
  font-weight: 850;
}

.digest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-coverage,
.price-signals {
  margin: 16px 0;
}

.result-subhead,
.price-game-head,
.price-offer,
.price-offer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.result-subhead {
  margin-bottom: 10px;
}

.result-subhead strong,
.price-game-head strong {
  display: block;
  color: #f4fbff;
}

.result-subhead span,
.price-game-head span,
.price-game-head small,
.price-offer span,
.source-state small {
  color: rgba(225, 240, 245, 0.66);
  font-size: 12px;
}

.source-coverage-grid,
.price-game-list {
  display: grid;
  gap: 8px;
}

.source-coverage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-state,
.price-game-card {
  border: 1px solid rgba(128, 211, 198, 0.2);
  background: rgba(7, 27, 36, 0.72);
  border-radius: 8px;
}

.source-state {
  min-width: 0;
  padding: 10px;
}

.source-state span,
.source-state strong,
.source-state small {
  display: block;
}

.source-state strong {
  margin: 5px 0;
  color: #78e6ba;
}

.source-state.is-restricted strong,
.source-state.is-degraded strong {
  color: #f0c66d;
}

.price-game-card {
  padding: 12px;
}

.price-offer-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.price-offer {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.price-offer strong,
.price-offer span {
  display: block;
}

.price-offer-actions em {
  color: #f0c66d;
  font-style: normal;
}

.price-offer-actions a,
.price-watch {
  border: 1px solid rgba(76, 222, 171, 0.42);
  background: rgba(34, 159, 122, 0.18);
  color: #8df0c8;
  border-radius: 6px;
  padding: 7px 10px;
  text-decoration: none;
}

.price-watch {
  width: 100%;
  margin-top: 10px;
}

.price-watch.is-subscribed {
  border-color: rgba(240, 198, 109, 0.5);
  color: #f0c66d;
}

.price-failure {
  margin: 8px 0 0;
  color: rgba(240, 198, 109, 0.78);
  font-size: 12px;
}

.digest-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #171d27;
}

.digest-card.is-positive {
  border-color: rgba(66, 211, 146, 0.18);
}

.digest-card.is-negative {
  border-color: rgba(255, 95, 109, 0.22);
}

.digest-card.is-neutral {
  border-color: rgba(255, 191, 63, 0.18);
}

.digest-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.digest-head span,
.digest-head em {
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.digest-head span {
  background: rgba(66, 211, 146, 0.12);
  color: var(--green);
}

.digest-card.is-negative .digest-head span {
  background: rgba(255, 95, 109, 0.12);
  color: #ff9aa4;
}

.digest-head strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.digest-head em {
  background: rgba(59, 198, 255, 0.12);
  color: var(--cyan);
}

.digest-decision {
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.digest-decision strong {
  color: var(--gold);
  font-size: 12px;
}

.digest-decision span {
  color: rgba(247, 248, 251, 0.66);
  font-size: 11px;
  line-height: 1.42;
}

.digest-decision.is-negative strong {
  color: #ff9aa4;
}

.digest-decision.is-video strong {
  color: var(--cyan);
}

.digest-decision.is-forum strong {
  color: var(--gold);
}

.digest-card p {
  color: rgba(247, 248, 251, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.digest-takeaway {
  display: block;
  color: rgba(247, 248, 251, 0.9);
  font-size: 13px;
  line-height: 1.42;
}

.digest-link {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(59, 198, 255, 0.12);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.content-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #171d27;
}

.source-badge {
  min-width: 58px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.content-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.content-copy a {
  overflow: hidden;
  color: #f7f8fb;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-copy span {
  color: var(--muted);
  font-size: 12px;
}

.content-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.content-reasons em {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(59, 198, 255, 0.1);
  color: var(--cyan);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.evidence-score {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: rgba(66, 211, 146, 0.14);
  color: var(--green);
  font-size: 13px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.quiz-sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.ad-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
}

.ad-gate.is-open {
  display: block;
}

.ad-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
}

.ad-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid rgba(255, 191, 63, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 191, 63, 0.12), rgba(255, 106, 33, 0.08)),
    #151b26;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
}

.ad-panel span {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 191, 63, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.ad-panel p {
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.source-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(59, 198, 255, 0.16);
  border-radius: 12px;
  background: rgba(5, 13, 23, 0.42);
}

.source-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.source-preview-grid span,
.source-query strong {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(59, 198, 255, 0.1);
  color: rgba(214, 244, 255, 0.88);
  font-size: 11px;
  font-weight: 950;
}

.source-preview p {
  margin: 0;
  color: rgba(247, 248, 251, 0.76);
}

.source-query {
  display: grid;
  gap: 7px;
}

.source-query code {
  display: block;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
}

.source-preview em {
  color: rgba(247, 248, 251, 0.62);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.ad-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.ad-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.3s ease;
}

.ad-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 8px;
}

.ad-actions button {
  min-height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.82);
  font-size: 12px;
  font-weight: 950;
}

.ad-actions button:last-child {
  background: rgba(255, 106, 33, 0.18);
  color: #ffb184;
}

.quiz-sheet.is-open {
  display: block;
}

.quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
}

.quiz-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 18px;
  max-height: 88vh;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px 20px 0 0;
  background: #121722;
  box-shadow: 0 -24px 58px rgba(0, 0, 0, 0.38);
}

.quiz-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.quiz-form {
  display: grid;
  gap: 16px;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: grid;
  gap: 14px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-grid button {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #1b2230;
  color: #f7f8fb;
  font-weight: 900;
  text-align: left;
}

.choice-grid button.is-selected {
  border-color: rgba(255, 106, 33, 0.8);
  background: rgba(255, 106, 33, 0.16);
  color: #fff;
}

.quiz-step label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 12px;
  background: #1b2230;
  color: #f7f8fb;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 106, 33, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 106, 33, 0.14);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quiz-footer {
  position: sticky;
  bottom: -18px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 18px;
  background: #121722;
}

.is-hidden {
  display: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.bottom-nav {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(19, 24, 34, 0.9);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.bottom-nav a,
.bottom-nav button {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  color: rgba(247, 248, 251, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.bottom-nav button {
  background: var(--accent);
  color: #fff;
}

.bottom-nav button[data-view-target] {
  background: transparent;
  color: rgba(247, 248, 251, 0.72);
}

.bottom-nav button.is-active {
  background: rgba(255, 106, 33, 0.92);
  color: #fff;
}

@media (min-width: 800px) {
  body {
    padding-bottom: 24px;
  }

  .app-shell {
    padding: 24px;
  }

  .topbar {
    margin: -24px -24px 18px;
    padding: 16px 24px;
  }

  .app-tabs {
    top: 73px;
  }

  .store-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  h1 {
    font-size: 56px;
  }

  .deal-stack {
    grid-template-columns: 1fr;
  }

  .deal-stack article {
    min-height: 210px;
  }

  .deal-stack img {
    min-height: 210px;
  }

  .source-strip span {
    width: auto;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-panel {
    right: 50%;
    left: auto;
    width: min(540px, calc(100% - 32px));
    transform: translateX(50%);
  }

  .bottom-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    padding-bottom: 92px;
  }

  .app-shell {
    padding: 10px;
  }

  .topbar {
    margin: -10px -10px 10px;
    padding: 10px;
  }

  .app-tabs {
    display: none;
  }

  .feature-card,
  .feature-overlay {
    min-height: 400px;
  }

  h1 {
    font-size: 36px;
  }

  .quick-grid,
  .hero-actions,
  .ad-actions,
  .voyage-actions,
  .decision-topline,
  .decision-card-grid,
  .decision-route-list,
  .decision-source-grid,
  .identity-nudge,
  .share-actions,
  .voyage-result-actions,
  .steam-form,
  .bind-options,
  .overview-card,
  .shared-report-card,
  .freshness-strip,
  .choice-grid,
  .field-grid,
  .quiz-footer {
    grid-template-columns: 1fr;
  }

  .voyage-deck {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
    border-radius: 14px;
  }

  .voyage-copy {
    grid-column: auto;
    grid-row: auto;
    order: 1;
    gap: 8px;
    padding: 16px 16px 10px;
  }

  .voyage-controls {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    gap: 10px;
    padding: 0 14px 14px;
  }

  .voyage-copy h1 {
    max-width: 9em;
    font-size: 31px;
  }

  .voyage-copy h1 span {
    white-space: normal;
  }

  .voyage-copy > p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .live-badge {
    padding: 6px 8px;
    font-size: 11px;
  }

  .voyage-question {
    gap: 7px;
  }

  .voyage-question > span,
  .voyage-input {
    font-size: 12px;
  }

  .world-rule-grid {
    grid-template-columns: 1fr 1fr;
  }

  .voyage-intents {
    grid-template-columns: repeat(3, minmax(108px, 1fr));
    margin-right: -14px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .voyage-intents::-webkit-scrollbar {
    display: none;
  }

  .voyage-intents button {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .voyage-input {
    gap: 6px;
  }

  .voyage-input input,
  .voyage-input textarea {
    min-height: 44px;
    font-size: 13px;
  }

  .voyage-actions .secondary-action {
    display: none;
  }

  .primary-action {
    min-height: 44px;
  }

  .cruise-stage {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    min-height: 250px;
    margin: 0 10px 10px;
    border-radius: 12px;
  }

  .cruise-status {
    bottom: 10px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .voyage-hud {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .voyage-hud > span {
    max-width: 92px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .voyage-live-feed {
    width: min(196px, 62%);
    padding: 7px 8px;
  }

  .voyage-live-feed strong {
    font-size: 9px;
  }

  .voyage-event-stream span:nth-child(n + 3) {
    display: none;
  }

  .current-voyage {
    margin-top: 10px;
  }

  .bottom-nav {
    bottom: 10px;
    padding: 6px;
    border-radius: 16px;
  }

  .bottom-nav a,
  .bottom-nav button {
    min-height: 36px;
    border-radius: 11px;
  }

  .decision-report.is-compact {
    gap: 10px;
    padding: 12px;
  }

  .decision-report.is-compact .decision-topline {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .decision-report.is-compact .decision-topline h4 {
    font-size: 18px;
  }

  .decision-report.is-compact .decision-topline p,
  .decision-report.is-compact .decision-verdict p,
  .decision-report.is-compact .decision-fact p,
  .decision-report.is-compact .decision-route-list small,
  .decision-report.is-compact .decision-note {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .decision-report.is-compact .decision-topline p,
  .decision-report.is-compact .decision-fact p,
  .decision-report.is-compact .decision-route-list small,
  .decision-report.is-compact .decision-note {
    -webkit-line-clamp: 2;
  }

  .decision-report.is-compact .decision-verdict {
    padding: 10px;
  }

  .decision-report.is-compact .decision-verdict p {
    -webkit-line-clamp: 3;
  }

  .decision-report.is-compact .decision-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-report.is-compact .decision-route-list {
    grid-template-columns: 1fr;
  }

  .decision-report.is-compact .decision-route-list button {
    min-height: 0;
    padding: 9px;
  }

  .decision-report.is-compact .bili-validation {
    padding: 10px;
  }

  .decision-report.is-compact .bili-validation-head p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .decision-report.is-compact .bili-lane-grid {
    grid-template-columns: 1fr 1fr;
  }

  .decision-report.is-compact .bili-creator-strip {
    grid-template-columns: 1fr 1fr;
  }

  .decision-report.is-compact .bili-lane-card {
    gap: 7px;
    padding: 9px;
  }

  .decision-report.is-compact .bili-lane-card p,
  .decision-report.is-compact .bili-lane-card a span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .decision-report.is-compact .decision-why span:nth-child(n + 3),
  .decision-report.is-compact .decision-rules span:nth-child(n + 3) {
    display: none;
  }

  .island-strip {
    grid-template-columns: 1fr 1fr;
  }

  .island-a {
    right: 28%;
    bottom: 152px;
  }

  .island-b {
    right: 5%;
    bottom: 118px;
  }

  .island-c {
    right: 52%;
    bottom: 102px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .content-item {
    grid-template-columns: 1fr;
  }

  .scout-list {
    grid-template-columns: 1fr;
  }

  .digest-list {
    grid-template-columns: 1fr;
  }

  .mission-board {
    grid-template-columns: 1fr;
  }

  .voyage-map {
    grid-template-columns: 1fr;
  }

  .treasure-actions {
    grid-template-columns: 1fr 1fr;
  }

  .curation-lanes {
    grid-template-columns: 1fr;
  }

  .construct-grid {
    grid-template-columns: 1fr;
  }

  .evidence-score {
    width: 100%;
    height: 34px;
  }

  .steam-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievement-stats,
  .trophy-grid {
    grid-template-columns: 1fr;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .content-copy a {
    white-space: normal;
  }
}

/* Focused-shell cascade anchors. Keep these last because the legacy visual
   system still styles the retained animation and report components. */
html body {
  padding-bottom: 78px;
  background: #eef1f4;
  color: #161a20;
  letter-spacing: 0;
}

body[data-active-view="home"] nav.compact-bottom-nav {
  display: grid;
}

.app-shell.compact-shell {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 0 12px 24px;
}

.topbar.compact-topbar {
  top: 0;
  height: 58px;
  margin: 0 -12px;
  padding: 8px 14px;
  border-bottom: 1px solid #dce1e7;
  background: rgba(248, 250, 252, 0.94);
  color: #161a20;
}

.cruise-stage.compact-cruise {
  display: none;
  min-height: 520px;
  margin: 0;
  border-radius: 8px;
}

body.is-voyage-focus .cruise-stage.compact-cruise,
.cruise-stage.compact-cruise.is-sailing,
.cruise-stage.compact-cruise.is-landed {
  display: block;
}

#quizSheet .quiz-panel.taste-quiz-panel {
  width: min(680px, calc(100% - 20px));
  max-height: min(760px, calc(100vh - 20px));
  border-radius: 8px;
  background: #111820;
}

#profileForm.quiz-form.taste-form {
  padding-top: 12px;
}

#profileForm .choice-grid .taste-option {
  display: block;
  min-height: 270px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #1c2630;
  color: #fff;
  text-align: left;
}

#profileForm .choice-grid .taste-option.is-selected {
  border-color: #ffba50;
  background: #1c2630;
  box-shadow: 0 0 0 3px rgba(255, 186, 80, 0.16);
}

nav.bottom-nav.compact-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 62px;
  padding: 5px max(8px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom));
  border-top: 1px solid #d9dfe4;
  border-radius: 0;
  background: rgba(250, 251, 252, 0.96);
}

nav.bottom-nav.compact-bottom-nav button {
  min-height: 0;
  border-radius: 0;
  background: transparent;
  color: #7b8590;
}

nav.bottom-nav.compact-bottom-nav button.is-active {
  background: transparent;
  color: #df5b1d;
}

.seed-game.is-selected {
  outline: 3px solid #ff6a21;
  outline-offset: -3px;
}

@media (max-width: 720px) {
  .app-shell.compact-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .topbar.compact-topbar,
  .discovery-hero {
    margin-right: -10px;
    margin-left: -10px;
  }

  #profileForm .choice-grid .taste-option {
    min-height: 225px;
  }
}

.decision-fact[href] {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.decision-fact[href]:hover {
  border-color: rgba(66, 211, 146, 0.56);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .decision-report.is-compact .decision-card-grid {
    grid-template-columns: 1fr;
  }
}
