:root {
  color-scheme: light;
  --bg: #f4f1ec;
  --ink: #1f2933;
  --muted: #66727c;
  --panel: #ffffff;
  --line: #d9d2c7;
  --green: #167464;
  --green-dark: #105849;
  --blue: #315f9d;
  --rose: #b64e63;
  --gold: #b4862f;
  --shadow: 0 18px 45px rgba(45, 39, 32, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Yu Gothic UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.15;
}

h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

p {
  line-height: 1.75;
}

.kicker,
.label {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-copy,
.panel,
.trust-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 28px;
}

.hero-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.trust-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-left: 5px solid var(--gold);
}

.trust-panel span,
.trust-panel small {
  color: var(--muted);
  line-height: 1.6;
}

.trust-panel strong {
  font-size: 20px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.panel {
  padding: 22px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.progress-pill,
.type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--green-dark);
  background: #e5f2ee;
  border: 1px solid #b9dcd1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

form {
  display: grid;
  gap: 18px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #35434d;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfaf8;
  border: 1px solid #cfc7bb;
  border-radius: 7px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 116, 100, 0.14);
}

.question-stack {
  display: grid;
  gap: 14px;
}

.question-card {
  padding: 14px;
  background: #fbfaf8;
  border: 1px solid #ddd5ca;
  border-radius: 8px;
}

.question-card strong {
  display: block;
  margin-bottom: 12px;
}

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

.option-grid label {
  min-height: 48px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
  border-radius: 7px;
  font-weight: 600;
}

.option-grid input {
  width: auto;
  min-height: 0;
  margin-right: 8px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 7px;
  font-weight: 800;
  border: 1px solid transparent;
}

.primary-button {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.primary-button:hover {
  background: var(--green-dark);
}

.ghost-button {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.route-list {
  display: grid;
  gap: 10px;
}

.route-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #ddd5ca;
  border-radius: 8px;
  background: #fbfaf8;
}

.route-item strong {
  font-size: 15px;
}

.route-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.result-section {
  margin-top: 18px;
}

.hidden {
  display: none !important;
}

.result-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border-left: 5px solid var(--green);
}

.result-hero p {
  margin-bottom: 0;
  color: var(--muted);
}

.score-card {
  display: grid;
  place-items: center;
  width: 120px;
  aspect-ratio: 1;
  border: 8px solid #d7eadf;
  border-radius: 50%;
}

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

.score-card strong {
  font-size: 30px;
}

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

.wide {
  grid-column: 1 / -1;
}

.recommendation-card {
  background: #fffaf0;
  border-color: #d7b66a;
  border-left: 5px solid var(--gold);
}

.hope-card {
  background: #f9fdf7;
  border-color: #b9d7a8;
  border-left: 5px solid #8fb36d;
}

.hope-card p:last-child {
  margin-bottom: 0;
  color: #37424a;
}

.recommendation-card h3 {
  font-size: 22px;
}

.recommendation-card p:last-child {
  margin-bottom: 0;
  color: #37424a;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: #173f38;
  background: #e5f2ee;
  border: 1px solid #b9dcd1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.clean-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: #3c4953;
  line-height: 1.7;
}

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

.timeline-step {
  padding: 12px;
  background: #fbfaf8;
  border: 1px solid #ddd5ca;
  border-radius: 8px;
}

.timeline-step span {
  display: block;
  margin-bottom: 6px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
}

.timeline-step p {
  margin-bottom: 0;
  color: #3c4953;
  font-size: 13px;
  line-height: 1.6;
}

.offer-ladder {
  background: #fbfaf8;
}

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

.ladder-grid div {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #ddd5ca;
  border-radius: 8px;
}

.ladder-grid span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
}

.ladder-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.ladder-grid p {
  margin-bottom: 0;
  color: #3c4953;
  font-size: 13px;
  line-height: 1.65;
}

.bonus-panel {
  background: #f8fbff;
  border-color: #c9d9ee;
}

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

.bonus-grid div {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #d4e1ef;
  border-radius: 8px;
}

.bonus-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #234767;
  font-size: 15px;
}

.bonus-grid p {
  margin-bottom: 0;
  color: #3c4953;
  font-size: 13px;
  line-height: 1.65;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #17332e;
  color: #f7fbf9;
}

.cta-panel .label,
.cta-panel p {
  color: #c7e3da;
}

.cta-panel p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero,
  .workspace,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    order: -1;
  }

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

  .ladder-grid,
  .bonus-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .app {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .topbar,
  .result-hero,
  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 24px;
  }

  .field-grid,
  .option-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .score-card {
    width: 100px;
  }
}

html[data-theme="senrigan"] {
  --bg: #120808;
  --ink: #f7eddd;
  --muted: #d2bea4;
  --panel: #21100f;
  --line: #7f6131;
  --green: #d9b15e;
  --green-dark: #f0cb73;
  --blue: #a23d44;
  --rose: #d95c65;
  --gold: #d8a94d;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  background:
    repeating-linear-gradient(90deg, rgba(216, 169, 77, 0.07) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #0d0505 0%, #2a1010 44%, #140808 100%);
}

html[data-theme="senrigan"] body {
  background: transparent;
  color: var(--ink);
}

html[data-theme="senrigan"] .topbar {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 169, 77, 0.42);
}

html[data-theme="senrigan"] h1,
html[data-theme="senrigan"] h2,
html[data-theme="senrigan"] h3 {
  color: #fff5e8;
}

html[data-theme="senrigan"] .hero-copy,
html[data-theme="senrigan"] .panel,
html[data-theme="senrigan"] .trust-panel {
  background: linear-gradient(180deg, rgba(44, 19, 18, 0.96), rgba(25, 10, 9, 0.96));
  border-color: rgba(216, 169, 77, 0.52);
}

html[data-theme="senrigan"] .hero-copy {
  border-top: 5px solid var(--gold);
}

html[data-theme="senrigan"] .trust-panel {
  border-left-color: #b0353d;
}

html[data-theme="senrigan"] input,
html[data-theme="senrigan"] select,
html[data-theme="senrigan"] textarea,
html[data-theme="senrigan"] .question-card,
html[data-theme="senrigan"] .route-item,
html[data-theme="senrigan"] .timeline-step,
html[data-theme="senrigan"] .ladder-grid div,
html[data-theme="senrigan"] .bonus-grid div {
  color: #f7eddd;
  background: #160b0b;
  border-color: rgba(216, 169, 77, 0.38);
}

html[data-theme="senrigan"] .option-grid label {
  color: #f7eddd;
  background: #24100f;
  border-color: rgba(216, 169, 77, 0.45);
}

html[data-theme="senrigan"] .primary-button {
  color: #21100f;
  background: linear-gradient(180deg, #f2cf75, #c78d31);
  border-color: #f2cf75;
}

html[data-theme="senrigan"] .ghost-button {
  color: #f7eddd;
  background: #1a0b0b;
  border-color: rgba(216, 169, 77, 0.48);
}

html[data-theme="senrigan"] .progress-pill,
html[data-theme="senrigan"] .type-pill,
html[data-theme="senrigan"] .tag-list span {
  color: #2a1010;
  background: #efd188;
  border-color: #f2cf75;
}

html[data-theme="senrigan"] .recommendation-card {
  background: linear-gradient(180deg, rgba(72, 27, 24, 0.98), rgba(35, 13, 12, 0.98));
  border-color: #d8a94d;
  border-left-color: #d8a94d;
}

html[data-theme="senrigan"] .hope-card {
  background:
    linear-gradient(90deg, rgba(224, 184, 90, 0.11), transparent 54%),
    linear-gradient(180deg, rgba(44, 18, 12, 0.98), rgba(18, 6, 5, 0.98));
  border-color: rgba(224, 184, 90, 0.62);
  border-left-color: #d7a043;
}

html[data-theme="senrigan"] .hope-card p:last-child {
  color: #ead3ae;
}

html[data-theme="senrigan"] .bonus-panel {
  background: linear-gradient(180deg, rgba(28, 13, 14, 0.98), rgba(19, 8, 8, 0.98));
  border-color: rgba(216, 169, 77, 0.5);
}

html[data-theme="senrigan"] .bonus-grid strong {
  color: #f2cf75;
}

html[data-theme="senrigan"] .clean-list,
html[data-theme="senrigan"] .timeline-step p,
html[data-theme="senrigan"] .ladder-grid p,
html[data-theme="senrigan"] .bonus-grid p,
html[data-theme="senrigan"] .recommendation-card p:last-child {
  color: #dbc8ad;
}

html[data-theme="senrigan"] .cta-panel {
  background: linear-gradient(180deg, #4a1618, #210b0b);
  border-color: #d8a94d;
}

html[data-theme="senrigan"] {
  --bg: #070202;
  --ink: #fff3df;
  --muted: #d5c0a0;
  --panel: #1c0808;
  --line: #b58437;
  --green: #e0b85a;
  --green-dark: #f4d783;
  --rose: #d23f48;
  --gold: #e0b85a;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  background:
    linear-gradient(90deg, rgba(224, 184, 90, 0.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(224, 184, 90, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(113, 24, 24, 0.55), transparent 46%),
    linear-gradient(180deg, #050101 0%, #210909 45%, #080202 100%);
  background-size: 18px 18px, 18px 18px, auto, auto;
}

html[data-theme="senrigan"] body {
  font-family:
    "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", system-ui, sans-serif;
}

html[data-theme="senrigan"] .app {
  width: min(1080px, calc(100% - 28px));
  padding-top: 20px;
}

html[data-theme="senrigan"] .topbar {
  position: relative;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(141, 24, 24, 0.38), rgba(32, 7, 7, 0.92)),
    linear-gradient(180deg, #2c0b0b, #120404);
  border: 1px solid rgba(224, 184, 90, 0.72);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 183, 0.16),
    0 14px 38px rgba(0, 0, 0, 0.34);
}

html[data-theme="senrigan"] .topbar::before,
html[data-theme="senrigan"] .topbar::after {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(244, 215, 131, 0.9), transparent);
}

html[data-theme="senrigan"] .topbar::before {
  top: 6px;
}

html[data-theme="senrigan"] .topbar::after {
  bottom: 6px;
}

html[data-theme="senrigan"] .topbar > div::before {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  margin-bottom: 8px;
  color: #2a0d0d;
  content: "占い師監修";
  background: linear-gradient(180deg, #ffe8a7, #c58b31);
  border: 1px solid #ffe5a2;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 900;
}

html[data-theme="senrigan"] h1,
html[data-theme="senrigan"] h2,
html[data-theme="senrigan"] h3 {
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-weight: 900;
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(224, 184, 90, 0.16);
}

html[data-theme="senrigan"] h1 {
  color: #fff4df;
  font-size: 32px;
}

html[data-theme="senrigan"] .kicker,
html[data-theme="senrigan"] .label {
  color: #f2cf75;
  letter-spacing: 0.12em;
}

html[data-theme="senrigan"] .hero {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
}

html[data-theme="senrigan"] .hero-copy,
html[data-theme="senrigan"] .trust-panel,
html[data-theme="senrigan"] .panel {
  border: 1px solid rgba(224, 184, 90, 0.68);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 183, 0.10),
    inset 0 0 36px rgba(0, 0, 0, 0.26),
    0 18px 40px rgba(0, 0, 0, 0.26);
}

html[data-theme="senrigan"] .hero-copy {
  position: relative;
  padding: 34px 30px;
  background:
    linear-gradient(90deg, rgba(109, 15, 18, 0.34), transparent 42%),
    linear-gradient(180deg, #32100f, #180505);
  border-top: 1px solid rgba(224, 184, 90, 0.86);
}

html[data-theme="senrigan"] .hero-copy::before {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 12px;
  margin-bottom: 12px;
  color: #ffe9aa;
  content: "鑑定受付";
  background: #7c151b;
  border: 1px solid rgba(224, 184, 90, 0.75);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

html[data-theme="senrigan"] .hero-copy .label {
  display: none;
}

html[data-theme="senrigan"] .hero-copy h2 {
  font-size: 34px;
  line-height: 1.35;
}

html[data-theme="senrigan"] .hero-copy p:last-child,
html[data-theme="senrigan"] .trust-panel span,
html[data-theme="senrigan"] .trust-panel small {
  color: #dfc6a2;
}

html[data-theme="senrigan"] .trust-panel {
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(75, 14, 15, 0.95), rgba(22, 5, 5, 0.98));
  border-left: 1px solid rgba(224, 184, 90, 0.68);
}

html[data-theme="senrigan"] .trust-panel span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  color: #ffe9aa;
  background: #81171c;
  border: 1px solid rgba(224, 184, 90, 0.56);
  font-size: 12px;
  font-weight: 900;
}

html[data-theme="senrigan"] .trust-panel strong {
  color: #fff3df;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 22px;
}

html[data-theme="senrigan"] .panel-head {
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(224, 184, 90, 0.35);
}

html[data-theme="senrigan"] .panel-head h3 {
  margin-bottom: 0;
}

html[data-theme="senrigan"] .form-panel,
html[data-theme="senrigan"] .map-panel,
html[data-theme="senrigan"] .result-grid .panel {
  background:
    linear-gradient(180deg, rgba(44, 12, 12, 0.98), rgba(18, 5, 5, 0.98));
}

html[data-theme="senrigan"] label {
  color: #ead3ae;
}

html[data-theme="senrigan"] input,
html[data-theme="senrigan"] select,
html[data-theme="senrigan"] textarea {
  min-height: 46px;
  color: #fff3df;
  background: #0d0303;
  border: 1px solid rgba(224, 184, 90, 0.5);
  border-radius: 3px;
}

html[data-theme="senrigan"] input:focus,
html[data-theme="senrigan"] select:focus,
html[data-theme="senrigan"] textarea:focus {
  border-color: #f2cf75;
  box-shadow: 0 0 0 3px rgba(224, 184, 90, 0.22);
}

html[data-theme="senrigan"] .question-card {
  padding: 0;
  overflow: hidden;
  background: #150606;
  border-color: rgba(224, 184, 90, 0.52);
  border-radius: 4px;
}

html[data-theme="senrigan"] .question-card strong {
  padding: 12px 14px;
  margin-bottom: 0;
  color: #ffe9aa;
  background: linear-gradient(90deg, #7a151b, #2c0b0b);
  border-bottom: 1px solid rgba(224, 184, 90, 0.42);
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

html[data-theme="senrigan"] .option-grid {
  padding: 12px;
}

html[data-theme="senrigan"] .option-grid label {
  min-height: 52px;
  background: linear-gradient(180deg, #240a0a, #130404);
  border-color: rgba(224, 184, 90, 0.4);
  border-radius: 3px;
}

html[data-theme="senrigan"] .option-grid label:hover {
  border-color: #f2cf75;
  box-shadow: inset 0 0 0 1px rgba(242, 207, 117, 0.18);
}

html[data-theme="senrigan"] .route-item {
  background: linear-gradient(180deg, #220909, #130404);
  border-color: rgba(224, 184, 90, 0.52);
  border-radius: 3px;
}

html[data-theme="senrigan"] .route-item strong {
  color: #fff1d6;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

html[data-theme="senrigan"] .primary-button,
html[data-theme="senrigan"] .ghost-button {
  min-height: 46px;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

html[data-theme="senrigan"] .primary-button {
  color: #260b0b;
  background: linear-gradient(180deg, #fff0b7 0%, #d7a043 48%, #9e5d1e 100%);
  border-color: #ffe3a0;
}

html[data-theme="senrigan"] .ghost-button {
  color: #fff3df;
  background: linear-gradient(180deg, #351010, #170606);
  border-color: rgba(224, 184, 90, 0.62);
}

html[data-theme="senrigan"] .result-hero {
  background:
    linear-gradient(90deg, rgba(123, 18, 24, 0.44), transparent 48%),
    linear-gradient(180deg, #2b0d0d, #140404);
  border-left: 6px solid #d7a043;
}

html[data-theme="senrigan"] .score-card {
  background: #0f0404;
  border: 7px double #d7a043;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(123, 18, 24, 0.35);
}

html[data-theme="senrigan"] .score-card span {
  color: #ffe6a5;
}

html[data-theme="senrigan"] .score-card strong {
  color: #fff3df;
}

html[data-theme="senrigan"] .timeline-step,
html[data-theme="senrigan"] .ladder-grid div,
html[data-theme="senrigan"] .bonus-grid div {
  background: linear-gradient(180deg, #210909, #100303);
  border-color: rgba(224, 184, 90, 0.46);
  border-radius: 3px;
}

html[data-theme="senrigan"] .timeline-step span,
html[data-theme="senrigan"] .ladder-grid span {
  color: #f2cf75;
}

html[data-theme="senrigan"] .tag-list span {
  color: #2b0d0d;
  background: linear-gradient(180deg, #fff0b7, #d7a043);
  border-color: #ffe3a0;
  border-radius: 3px;
}

html[data-theme="senrigan"] .bonus-panel {
  background:
    linear-gradient(90deg, rgba(80, 14, 17, 0.22), transparent 44%),
    linear-gradient(180deg, #1d0808, #0f0303);
}

html[data-theme="senrigan"] .cta-panel {
  background:
    linear-gradient(90deg, rgba(157, 30, 38, 0.42), transparent 52%),
    linear-gradient(180deg, #3b0e10, #170505);
}

html[data-theme="hoshi"] {
  --bg: #fff6f0;
  --ink: #2e2938;
  --muted: #75646d;
  --panel: #fffdf9;
  --line: #ead4cc;
  --green: #8b5a8e;
  --green-dark: #6f4673;
  --blue: #496a9f;
  --rose: #c95c79;
  --gold: #d8a55d;
  --shadow: 0 18px 45px rgba(87, 62, 74, 0.12);
  background:
    linear-gradient(90deg, rgba(216, 165, 93, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, #fff8f1 0%, #f7edf6 44%, #eef4ff 100%);
  background-size: 22px 22px, auto;
}

html[data-theme="hoshi"] body {
  background: transparent;
  color: var(--ink);
}

html[data-theme="hoshi"] .topbar {
  padding: 14px 0;
}

html[data-theme="hoshi"] h1 {
  color: #453052;
}

html[data-theme="hoshi"] .kicker,
html[data-theme="hoshi"] .label {
  color: #9a5b8f;
}

html[data-theme="hoshi"] .hero-copy,
html[data-theme="hoshi"] .panel,
html[data-theme="hoshi"] .trust-panel {
  background: rgba(255, 253, 249, 0.93);
  border-color: rgba(216, 165, 93, 0.35);
  box-shadow: 0 18px 40px rgba(90, 62, 76, 0.12);
}

html[data-theme="hoshi"] .hero-copy {
  border-top: 5px solid #d8a55d;
}

html[data-theme="hoshi"] .trust-panel {
  border-left-color: #c95c79;
}

html[data-theme="hoshi"] input,
html[data-theme="hoshi"] select,
html[data-theme="hoshi"] textarea {
  background: #fffaf6;
  border-color: #e5cfc5;
}

html[data-theme="hoshi"] .question-card,
html[data-theme="hoshi"] .route-item,
html[data-theme="hoshi"] .timeline-step,
html[data-theme="hoshi"] .ladder-grid div,
html[data-theme="hoshi"] .bonus-grid div {
  background: #fffaf6;
  border-color: #ead6cc;
}

html[data-theme="hoshi"] .option-grid label {
  background: #fffdf9;
  border-color: #ead6cc;
}

html[data-theme="hoshi"] .primary-button {
  color: #ffffff;
  background: linear-gradient(180deg, #b9608c, #7d568f);
  border-color: #b9608c;
}

html[data-theme="hoshi"] .ghost-button {
  color: #453052;
  background: #fffdf9;
  border-color: #e2c7be;
}

html[data-theme="hoshi"] .progress-pill,
html[data-theme="hoshi"] .type-pill,
html[data-theme="hoshi"] .tag-list span {
  color: #52365f;
  background: #f7e7f1;
  border-color: #e8c7dc;
}

html[data-theme="hoshi"] .result-hero {
  border-left-color: #c95c79;
}

html[data-theme="hoshi"] .score-card {
  border-color: #f0d4df;
  background: #fffaf6;
}

html[data-theme="hoshi"] .recommendation-card {
  background: #fff7ed;
  border-color: #e2bd80;
  border-left-color: #d8a55d;
}

html[data-theme="hoshi"] .hope-card {
  background: #fbfff7;
  border-color: #cfe2bd;
  border-left-color: #9fbd75;
}

html[data-theme="hoshi"] .bonus-panel {
  background: #f7fbff;
  border-color: #cbdced;
}

html[data-theme="hoshi"] .bonus-grid strong {
  color: #496a9f;
}

html[data-theme="hoshi"] .cta-panel {
  background: linear-gradient(180deg, #4b375a, #2f2938);
}
