/* Zodiac-specific layout, chart detail and continuous SVG motion. */
#bsi-insight-app.bsi-zodiac { --zodiac-lime: #b9ff24; }
#bsi-insight-app.bsi-zodiac .bsi-tool-head::after { display: none !important; content: none !important; }
#bsi-insight-app.bsi-zodiac .bsi-tool-head { overflow: visible; }
#bsi-insight-app.bsi-zodiac .bsi-tool-head::before {
  display:block!important;
  content:""!important;
  top:8px!important;
  right:-14%!important;
  width:min(34vw,360px)!important;
  opacity:.46!important;
}
.bsi-zodiac-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.bsi-zodiac-entry { display: grid; grid-template-columns: minmax(190px, 280px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.bsi-zodiac-entry form { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px; }
.bsi-zodiac-entry form > .bsi-num-step,
.bsi-zodiac-entry form > .bsi-zodiac-mode,
.bsi-zodiac-entry form > .bsi-zodiac-advanced,
.bsi-zodiac-entry form > button,
.bsi-zodiac-entry form > .bsi-privacy { grid-column: 1 / -1; }
.bsi-zodiac-entry label { min-width: 0; display: grid; gap: 9px; color: #dce5e1; font-size: 13px; font-weight: 800; }
.bsi-zodiac-entry input,
.bsi-zodiac-entry select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 52px; padding: 0 14px; border: 1px solid #3a4a43 !important; border-radius: 12px !important; background: #0d1310 !important; color: #fff !important; font: inherit !important; color-scheme: dark; }
.bsi-zodiac-entry input::placeholder { color: #738179; }
.bsi-zodiac-entry input:focus,
.bsi-zodiac-entry select:focus { border-color: var(--zodiac-lime) !important; outline: 2px solid #b9ff242b; }
.bsi-zodiac-entry .bsi-num-step { color: var(--zodiac-lime); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.bsi-zodiac-entry .bsi-zodiac-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#bsi-insight-app .bsi-zodiac-mode button { width: 100% !important; min-height: 48px !important; padding: 10px !important; font-size: 12px !important; }
#bsi-insight-app .bsi-zodiac-mode button.is-active { border-color: var(--zodiac-lime) !important; background: #202b1b !important; color: var(--zodiac-lime) !important; box-shadow: inset 0 0 22px #b9ff2412 !important; }
.bsi-zodiac-advanced { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bsi-zodiac-advanced[hidden],
.bsi-zodiac-manual[hidden],
.bsi-results[hidden] { display: none !important; }
.bsi-zodiac-manual { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bsi-zodiac-hint { grid-column: 1 / -1; margin: 0; color: #87958e; font-size: 12px; line-height: 1.55; }
.bsi-zodiac-entry form > button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border: 1px solid var(--zodiac-lime); border-radius: 12px; background: var(--zodiac-lime); color: #0b100d; font-weight: 900; cursor: pointer; }
#bsi-insight-app.bsi-zodiac .bsi-zodiac-entry form > button { border-color: var(--zodiac-lime) !important; background: var(--zodiac-lime) !important; color: #0b100d !important; box-shadow: 0 8px 24px #b9ff2424 !important; }
#bsi-insight-app.bsi-zodiac .bsi-zodiac-entry form > button:hover { background: #c7ff4d !important; color: #0b100d !important; transform: translateY(-1px) !important; }
.bsi-zodiac-entry form > button svg,
.bsi-result-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bsi-zodiac-entry form > button:disabled { opacity: .7; cursor: progress; }
.bsi-result-actions button:disabled { opacity: .72; cursor: progress; }
.bsi-ai-limit { margin: 14px 0 0; padding: 11px 13px; border: 1px solid #7d652c; border-radius: 10px; background: #241e10; color: #e5d29a; font-size: 12px; line-height: 1.55; }
.bsi-zodiac-entry .bsi-privacy { margin: 0; color: #87958e; font-size: 12px; line-height: 1.55; }
.bsi-zodiac-wheel { position: static; display: block; width: min(100%, 280px); height: auto; overflow: visible; margin: auto; border: 0; border-radius: 0; background: none; animation: none; }
.bsi-wheel-outer { fill: none; stroke: #b9ff244a; stroke-width: 1; }
.bsi-wheel-inner { fill: none; stroke: #b9ff242e; stroke-width: 1; stroke-dasharray: 2 5; }
.bsi-wheel-core { fill: #b9ff2410; stroke: #b9ff2470; stroke-width: 1; }
.bsi-wheel-star { fill: #dcffa0; filter: drop-shadow(0 0 9px #b9ff24b8); transform-box: fill-box; transform-origin: center; animation: bsiStarBreathe 3.8s ease-in-out infinite; }
.bsi-zodiac-orbit { pointer-events: none; }
.bsi-zodiac-glyph { color: var(--zodiac-lime); fill: none; stroke: currentColor; stroke-width: 1; filter: drop-shadow(0 0 4px #b9ff2470); }
.bsi-zodiac-loading { min-height: 230px; display: grid; place-content: center; justify-items: center; gap: 20px; color: var(--zodiac-lime); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-align: center; }
.bsi-zodiac-loading svg { width: 64px; height: 64px; color: var(--zodiac-lime); fill: none; stroke: currentColor; stroke-width: 2; filter: drop-shadow(0 0 14px #b9ff2470); animation: bsiLoadingOrbit 4s linear infinite; }
.bsi-zodiac-loading i { position: absolute; width: 104px; height: 104px; border: 1px solid #b9ff2480; border-right-color: transparent; border-radius: 50%; animation: bsiLoadingOrbit 1.8s linear infinite; }
.bsi-result-head h2 { display: flex; align-items: center; gap: 10px; }
.bsi-sign-icon { flex: 0 0 1.1em; width: 1.1em; height: 1.1em; color: var(--zodiac-lime); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; filter: drop-shadow(0 0 7px #b9ff2440); }
.bsi-zodiac-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.bsi-zodiac-summary > article { min-width: 0; padding: 18px; border: 1px solid #2d3c35; border-radius: 16px; background: #111914; }
.bsi-zodiac-summary small { display: block; color: #819087; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.bsi-zodiac-summary strong { display: flex; align-items: center; gap: 7px; margin: 9px 0; color: #fff; font-size: clamp(15px, 1.5vw, 20px); }
.bsi-zodiac-summary p { margin: 0; color: #9ba9a3; font-size: 12px; line-height: 1.5; }
.bsi-chart-card { margin-top: 18px; padding: clamp(14px, 3vw, 28px); overflow: hidden; border: 1px solid #34443b; border-radius: 18px; background: radial-gradient(ellipse at 50% 42%, #24321b70, transparent 53%), #0e1511; }
.bsi-chart-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.bsi-chart-card > header h3 { margin: 7px 0 0; color: #fff; font-size: clamp(20px, 3vw, 28px); }
.bsi-chart-card > header small { max-width: 45%; color: #89978f; font-size: 11px; text-align: right; line-height: 1.5; }
.bsi-chart-wheel { display: block; width: min(100%, 540px); height: auto; margin: 4px auto 14px; overflow: visible; }
.bsi-chart-outline { fill: #101713a8; stroke: #718f38; stroke-opacity: .48; stroke-width: 1; }
.bsi-chart-zodiac-orbit { pointer-events: none; }
.bsi-chart-sign-ring { fill: none; stroke: #b9ff24; stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 3 8; }
.bsi-chart-house-ring { fill: none; stroke: #b9ff243d; stroke-width: 1; stroke-dasharray: 2 6; }
.bsi-chart-core-ring { fill: #b9ff2406; stroke: #b9ff2450; stroke-width: 1; }
.bsi-chart-cusp { stroke: #83907e45; stroke-width: 1; }
.bsi-chart-cusp.is-asc { stroke: #b9ff24; stroke-width: 1.5; }
.bsi-chart-house { fill: #9eaca3; font: 10px "Plus Jakarta Sans", Arial, sans-serif; text-anchor: middle; dominant-baseline: central; }
.bsi-chart-sign { color: #b9ff24; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px #b9ff2450); }
.bsi-chart-aspect { stroke-width: 1.5; stroke-opacity: .7; }
.bsi-chart-aspect.is-conjunction { stroke: #caff67; stroke-dasharray: 2 4; }
.bsi-chart-aspect.is-sextile { stroke: #70c9b0; }
.bsi-chart-aspect.is-square { stroke: #ff7777; }
.bsi-chart-aspect.is-trine { stroke: #7bb8ff; }
.bsi-chart-aspect.is-opposition { stroke: #d59bff; stroke-dasharray: 4 3; }
.bsi-chart-planet circle { fill: #142018; stroke: #b9ff24a8; stroke-width: 1; }
.bsi-chart-planet text { fill: #f4f8f4; font: 700 9px "Plus Jakarta Sans", Arial, sans-serif; text-anchor: middle; }
.bsi-chart-angle { fill: #b9ff24; font: 800 10px "Plus Jakarta Sans", Arial, sans-serif; text-anchor: middle; paint-order: stroke; stroke: #0d1410; stroke-width: 3px; }
.bsi-chart-angle.is-mc { fill: #d5e7bb; }
.bsi-chart-core { fill: #121c15; stroke: #91b844; stroke-width: 1; }
.bsi-chart-core-label { fill: #b9ff24; font: 800 8px "Plus Jakarta Sans", Arial, sans-serif; text-anchor: middle; letter-spacing: 1px; }
.bsi-planet-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bsi-planet-grid article { min-width: 0; display: grid; align-content: start; gap: 6px; padding: 12px; border: 1px solid #2d3c35; border-radius: 12px; background: #111914; }
.bsi-planet-grid article small { color: #84928a; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.bsi-planet-grid article strong { color: #edf2ee; font-size: 12px; }
.bsi-planet-grid article span { display: flex; align-items: center; gap: 6px; color: #b9ff24; font-size: 11px; }
.bsi-planet-grid .bsi-sign-icon { width: 18px; height: 18px; }
.bsi-aspect-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.bsi-aspect-list h4 { grid-column: 1 / -1; margin: 0 0 2px; color: #eef3ef; font-size: 14px; }
.bsi-aspect-list > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 10px; border: 1px solid #29372f; border-radius: 10px; color: #c4d0c9; font-size: 11px; }
.bsi-aspect-list > span small { margin-left: auto; color: #93aa7a; }
.bsi-aspect-list p { grid-column: 1 / -1; margin: 0; color: #94a198; font-size: 12px; }
.bsi-chart-note,.bsi-chart-warning { margin: 14px 0 0; color: #87958e; font-size: 11px; line-height: 1.6; }
.bsi-chart-warning { padding: 12px 14px; border: 1px solid #7a6335; border-radius: 12px; color: #e2c982; }
.bsi-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.bsi-result-actions .bsi-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--zodiac-lime); border-radius: 12px; background: var(--zodiac-lime); color: #0b100d; font-weight: 900; text-decoration: none; }
.bsi-result-actions .bsi-action.is-secondary { border-color: #394840; background: #18211d; color: #e5ece8; }

@keyframes bsiZodiacOrbit { to { transform: rotate(360deg); } }
@keyframes bsiZodiacCounter { to { transform: rotate(-360deg); } }
@keyframes bsiChartRingSpin { to { transform: rotate(360deg); } }
@keyframes bsiChartGlyphCounter { to { transform: rotate(-360deg); } }
@keyframes bsiLoadingOrbit { to { transform: rotate(360deg); } }
@keyframes bsiStarBreathe { 50% { opacity: .62; transform: scale(.82) rotate(12deg); } }

@media (max-width: 860px) {
  .bsi-zodiac-entry { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
  .bsi-planet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsi-zodiac-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bsi-zodiac-entry { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bsi-zodiac-wheel { width: min(64vw, 230px); }
  .bsi-zodiac-entry form { grid-template-columns: minmax(0, 1fr); }
  .bsi-zodiac-entry form > .bsi-num-step,
  .bsi-zodiac-entry form > .bsi-zodiac-mode,
  .bsi-zodiac-entry form > .bsi-zodiac-advanced,
  .bsi-zodiac-entry form > button,
  .bsi-zodiac-entry form > .bsi-privacy { grid-column: auto; }
  .bsi-zodiac-advanced { grid-template-columns: minmax(0, 1fr); }
  .bsi-zodiac-manual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsi-chart-card > header { flex-direction: column; }
  .bsi-chart-card > header small { max-width: 100%; text-align: left; }
  .bsi-chart-wheel { width: min(100%, 470px); margin-top: 10px; }
  .bsi-planet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 390px) {
  .bsi-zodiac-entry .bsi-zodiac-mode { grid-template-columns: minmax(0, 1fr); }
  .bsi-zodiac-manual { grid-template-columns: minmax(0, 1fr); }
  .bsi-zodiac-summary { gap: 7px; }
  .bsi-zodiac-summary > article { padding: 13px; }
  .bsi-planet-grid { gap: 6px; }
  .bsi-planet-grid article { padding: 9px; }
  .bsi-aspect-list { grid-template-columns: minmax(0, 1fr); }
  .bsi-aspect-list h4 { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bsi-wheel-star,
  .bsi-zodiac-loading svg,
  .bsi-zodiac-loading i { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .bsi-zodiac-orbit animateTransform,
  .bsi-zodiac-glyph-counter animateTransform,
  .bsi-chart-zodiac-orbit animateTransform,
  .bsi-chart-sign-counter animateTransform { display: none; }
}

/* Zodiac page visual repair: stable heading rhythm and a continuous page background. */
html body.bigstep-insight-page,
html body.bigstep-insight-page.bigstep-graphite-lime-theme #haru-main#haru-main,
html body.bigstep-insight-page.bigstep-graphite-lime-theme #bigstep-main#bigstep-main,
html body.bigstep-insight-page.bigstep-graphite-lime-theme #haru-content-main#haru-content-main ,
html body.bigstep-insight-page.bigstep-graphite-lime-theme #bigstep-content-main#bigstep-content-main {
  background-color:#080a0b!important;
  background-image:radial-gradient(circle,rgba(89,99,95,.24) 1px,transparent 1.2px)!important;
  background-size:24px 24px!important;
  background-position:0 0!important;
}
#bsi-insight-app.bsi-zodiac {
  background: transparent !important;
}
#bsi-insight-app.bsi-zodiac .bsi-tool-head {
  max-width: 900px;
  padding-bottom: clamp(28px, 4vw, 44px) !important;
}
#bsi-insight-app.bsi-zodiac .bsi-tool-head h1 {
  max-width: 880px;
  margin: 18px 0 20px;
  font-size: clamp(42px, 5.25vw, 70px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}
#bsi-insight-app.bsi-zodiac .bsi-tool-head h1 em {
  display: block;
  line-height: 1.08;
}
#bsi-insight-app.bsi-zodiac .bsi-tool-head > p {
  max-width: 760px;
  line-height: 1.65;
}
#bsi-insight-app.bsi-zodiac .bsi-zodiac-entry {
  background:
    radial-gradient(circle at 12% 45%, rgba(185,255,36,.08), transparent 28%),
    linear-gradient(145deg, rgba(20,29,24,.98), rgba(11,17,14,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.025);
}
#bsi-insight-app.bsi-zodiac .bsi-privacy {
  max-width: 680px;
  color: #94a39b;
  font-size: 12px;
}
@media (max-width: 640px) {
  #bsi-insight-app.bsi-zodiac .bsi-tool-head h1 {
    font-size: clamp(36px, 11.5vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
  }
  #bsi-insight-app.bsi-zodiac .bsi-tool-head h1 em { line-height: 1.08; }
  #bsi-insight-app.bsi-zodiac .bsi-tool-head > p { font-size: 15px; line-height: 1.6; }
  #bsi-insight-app.bsi-zodiac .bsi-zodiac-entry { padding: 20px 16px; border-radius: 18px; }
}
