/* ==========================================
   Divine Horoscope - Classic / Divine Theme
   ========================================== */
:root {
  --ink: #1f1a17;
  --ink-soft: #4a433d;
  --ink-muted: #6e665f;
  --paper: #faf6f0;
  --paper-warm: #f3ece1;
  --paper-deep: #ebe1d1;
  --gold: #c9a44c;
  --gold-soft: #e3c97a;
  --gold-pale: #f6efdc;
  --maroon: #6b2f3a;
  --navy: #17142a;
  --navy-mid: #221d3a;
  --navy-soft: #2e2850;
  --line: rgba(90, 70, 40, 0.16);
  --line-light: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 28px rgba(40, 28, 18, 0.08);
  --shadow-soft: 0 2px 10px rgba(40, 28, 18, 0.05);
  --transition: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1220px;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(201, 164, 76, 0.18), transparent 70%),
    radial-gradient(ellipse 700px 500px at 85% 10%, rgba(120, 90, 180, 0.14), transparent 70%),
    linear-gradient(180deg, #1a1630 0%, #2a2348 22%, #4a3f5f 38%, #d8cfc0 52%, #f3ece1 60%, #faf6f0 100%);
  --hero-accent: #f2d98a;
  --card-bg: linear-gradient(180deg, #fffdf9 0%, #fbf6ee 100%);
}

/* Themes */
body[data-theme="classy"] {
  --paper:#f8f7f4; --paper-warm:#f1eeea; --paper-deep:#e8e2d9; --gold:#9c8a6a; --gold-soft:#d2c4a5; --navy:#1f1f22; --navy-mid:#2a2a2f; --ink:#1e1d1b;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(160,140,100,0.14), transparent 70%), linear-gradient(180deg, #1f1f22 0%, #3a3734 28%, #d6d0c8 55%, #f5f3ef 100%);
  --hero-accent:#e6dcc5; --card-bg: linear-gradient(180deg,#ffffff 0%,#f8f6f2 100%);
}
body[data-theme="royal"] {
  --paper:#fbf7f0; --paper-warm:#f5efe2; --gold:#d4af37; --gold-soft:#f0d98a; --navy:#2a1240; --navy-mid:#3d1d5a; --maroon:#6b1f3a;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(212,175,55,0.2), transparent 70%), radial-gradient(ellipse 700px 500px at 85% 10%, rgba(120,40,120,0.18), transparent 70%), linear-gradient(180deg, #1d0f2e 0%, #3a1f52 25%, #6b4a6a 45%, #eadfca 60%, #fbf7f0 100%);
  --hero-accent:#ffd86b; --card-bg: linear-gradient(180deg,#fffdf8 0%,#fbf3e3 100%);
}
body[data-theme="love"] {
  --paper:#fff7f8; --paper-warm:#fdeff1; --paper-deep:#f8e3e7; --gold:#d48aa0; --gold-soft:#f2c4d0; --navy:#4a1f35; --navy-mid:#6a2f4a; --ink:#3a222a;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(255,180,200,0.28), transparent 70%), radial-gradient(ellipse 700px 500px at 85% 10%, rgba(200,120,150,0.18), transparent 70%), linear-gradient(180deg, #3d1828 0%, #6a2f45 25%, #c98a9a 45%, #f7e8ea 60%, #fff7f8 100%);
  --hero-accent:#ffd7e3; --card-bg: linear-gradient(180deg,#fffafb 0%,#fff1f4 100%);
}
body[data-theme="pleasant"] {
  --paper:#f7fbf8; --paper-warm:#eef7f1; --paper-deep:#e3efe8; --gold:#7fa58f; --gold-soft:#b9d6c7; --navy:#1f3a33; --navy-mid:#2f5a4e; --ink:#22302a;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(170,220,190,0.22), transparent 70%), linear-gradient(180deg, #1f3a33 0%, #3f6a5d 28%, #b8d6c8 52%, #eef7f1 62%, #f7fbf8 100%);
  --hero-accent:#d9efe4; --card-bg: linear-gradient(180deg,#fbfffc 0%,#f2f9f5 100%);
}
body[data-theme="babypink"] {
  --paper:#fff8fb; --paper-warm:#ffeef4; --paper-deep:#f9dde8; --gold:#e7a9c0; --gold-soft:#f7d3df; --navy:#5a2f45; --navy-mid:#7a4560; --ink:#3d2832;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(255,210,225,0.35), transparent 70%), linear-gradient(180deg, #5a2f45 0%, #8a5a72 28%, #e8c2d0 50%, #fff0f5 62%, #fff8fb 100%);
  --hero-accent:#ffe6ef; --card-bg: linear-gradient(180deg,#fffafd 0%,#fff2f7 100%);
}
body[data-theme="ocean"] {
  --paper:#f5faff; --paper-warm:#ebf4fb; --paper-deep:#dcecf7; --gold:#7fb0d6; --gold-soft:#b9d8ee; --navy:#102a43; --navy-mid:#1d4468; --ink:#1f2f3d;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(140,200,255,0.2), transparent 70%), linear-gradient(180deg, #0f243a 0%, #1f4b73 28%, #9fc5e3 52%, #edf6fc 62%, #f5faff 100%);
  --hero-accent:#d8eefc; --card-bg: linear-gradient(180deg,#fbfdff 0%,#f0f7fc 100%);
}
body[data-theme="flashy"] {
  --paper:#fffaf2; --paper-warm:#fff1d6; --paper-deep:#ffe6b8; --gold:#ffb300; --gold-soft:#ffd36f; --navy:#3a0f4f; --navy-mid:#6a1b7a; --ink:#2a1a10;
  --bg-grad: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(255,200,0,0.28), transparent 70%), radial-gradient(ellipse 700px 500px at 85% 10%, rgba(255,0,150,0.18), transparent 70%), linear-gradient(180deg, #2a0a3a 0%, #7a1f6a 22%, #ff9a3c 45%, #ffe6b8 60%, #fffaf2 100%);
  --hero-accent:#ffe07a; --card-bg: linear-gradient(180deg,#fffdf7 0%,#fff6df 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
select { font: inherit; color: inherit; }
a { color: inherit; }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* Ambient sky background */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-grad);
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  opacity: 0.7;
}
.stars-a {
  background-image:
    radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 120px 140px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 220px 40px, rgba(255,230,170,0.95), transparent),
    radial-gradient(1px 1px at 320px 180px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 420px 90px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 560px 160px, rgba(255,230,170,0.8), transparent),
    radial-gradient(1px 1px at 640px 50px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 760px 200px, rgba(255,255,255,0.5), transparent);
  background-size: 800px 240px;
}
.stars-b {
  background-image:
    radial-gradient(1px 1px at 80px 100px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 200px 200px, rgba(255,240,200,0.7), transparent),
    radial-gradient(1px 1px at 360px 30px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 500px 130px, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 680px 100px, rgba(255,255,255,0.65), transparent);
  background-size: 900px 260px;
  opacity: 0.45;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.glow-1 {
  width: 520px; height: 520px;
  top: -100px; right: 8%;
  background: radial-gradient(circle, rgba(201,164,76,0.16) 0%, transparent 70%);
}
.glow-2 {
  width: 360px; height: 360px;
  top: 60px; left: 5%;
  background: radial-gradient(circle, rgba(180,160,255,0.10) 0%, transparent 70%);
}

/* Header */
.site-header {
  position: relative;
  padding: 22px 0;
  color: #f5efe6;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  font-size: 28px;
  color: var(--gold-soft);
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(201,164,76,0.35));
}
.brand-logo { width: 42px; height: 42px; flex: 0 0 42px; display:block; }
.brand-logo.small { width: 30px; height: 30px; flex-basis: 30px; }
.brand-name {
  margin: 0;
  font-family: "Cinzel", "Georgia", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f6f0e6;
}
.brand-tag {
  margin: 2px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d8cfc0;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.lang-icon { font-size: 0.95rem; line-height: 1; }
.lang-select {
  background: transparent;
  border: none;
  color: #f5efe6;
  font-size: 0.9rem;
  padding-right: 4px;
  outline: none;
  min-width: 90px;
}
.lang-select option { color: #1f1a17; background: #fff; }

/* Hero */
.hero {
  padding: 44px 0 28px;
  color: #f6f1e8;
  text-align: center;
}
.hero-inner { max-width: 820px; margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero-title {
  margin: 0;
  font-family: "Cinzel", "Georgia", serif;
  font-weight: 500;
  line-height: 1.15;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  letter-spacing: 0.01em;
}
.hero-title-line { display: block; }
.hero-title .accent {
  color: var(--hero-accent);
  font-style: italic;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 500;
  font-size: 1.15em;
  letter-spacing: 0;
  margin-top: 6px;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e6ddd0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.3rem;
}
.hero-date {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid rgba(227, 201, 122, 0.35);
  border-radius: 999px;
  background: rgba(20, 16, 38, 0.35);
  backdrop-filter: blur(4px);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.25rem;
  color: #f5eddc;
  letter-spacing: 0.02em;
}
.hero-date-ornament { color: var(--gold-soft); font-size: 1.1rem; }
.hero-moon {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: #e8dcc4;
  letter-spacing: 0.03em;
}
.hero-updated {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #d4cabb;
  letter-spacing: 0.04em;
}

/* Ad slots */
.ad-wrap { padding: 10px 0; }
.ad-slot {
  border: 1px solid rgba(201, 164, 76, 0.25);
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.7);
  padding: 10px 14px 14px;
  text-align: center;
  min-height: 100px;
}
.ad-label {
  margin: 0 0 8px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9085;
}
.ad-placeholder {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(140, 120, 90, 0.28);
  border-radius: 6px;
  color: #a89e90;
  font-size: 0.85rem;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(201, 164, 76, 0.03) 10px,
    rgba(201, 164, 76, 0.03) 20px
  );
  overflow: hidden;
}
.ad-placeholder-image {
  padding: 0;
  border: none;
  background: #1a1630;
}
.ad-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
#ad-top .ad-placeholder { min-height: 90px; }
#ad-bottom .ad-placeholder { min-height: 90px; }
#ad-top .ad-image, #ad-bottom .ad-image { height: 180px; }

/* Controls */
.controls {
  padding: 18px 0 10px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.controls-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.range-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.range-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d8cfc0;
  background: #fffaf3;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.range-btn:hover {
  border-color: #c9a44c;
  color: var(--ink);
  transform: translateY(-1px);
}
.range-btn.active {
  background: var(--navy);
  color: #f6f0e4;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(23, 20, 42, 0.18);
}
.range-icon { font-size: 0.9rem; line-height: 1; opacity: 0.9; }
.jump-group { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.jump-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
.jump-select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d8cfc0;
  background: #fffaf3;
  font-size: 0.9rem;
  min-width: 180px;
  color: var(--ink);
}
.range-note {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  min-height: 1.2em;
}

/* Section head */
.signs-section { padding: 28px 0 20px; }
.section-head { margin-bottom: 26px; text-align: center; }
.section-head .eyebrow { color: #8a6a2f; }
.section-title {
  margin: 0;
  font-family: "Cinzel", "Georgia", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: #2a231d;
}
.accent-inline {
  color: #8a5a2b;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.15em;
}

/* Signs grid */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.sign-card {
  background: var(--card-bg);
  border: 1px solid #e6dccb;
  border-radius: var(--radius);
  padding: 24px 22px 18px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sign-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sign-bg);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 45% auto;
  opacity: 0.10;
  pointer-events: none;
  filter: saturate(0.8);
}
.sign-card > * { position: relative; z-index: 1; }
.sign-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.sign-card:target {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.sign-icon-wrap { position: relative; flex: 0 0 52px; width: 52px; height: 52px; }
.sign-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff8e6, #efe2c6);
  border: 1px solid #e6d6ae;
  color: #7a5a28;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
  overflow: hidden;
}
.sign-icon svg {
  width: 28px;
  height: 28px;
  stroke: #7a5a28;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sign-png { width: 34px; height: 34px; object-fit: contain; display:block; }
.current-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d4af37;
  border: 2px solid #fffaf0;
  box-shadow: 0 0 0 1px rgba(180,140,60,0.35);
}
.current-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.58rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a5a1a;
  background: #f7ecd0;
  border: 1px solid #eadcae;
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
}
.sign-card.current-sign { box-shadow: 0 0 0 1px rgba(201,164,76,0.35), var(--shadow-soft); }
.sign-meta { min-width: 0; flex: 1; }
.sign-name {
  margin: 0;
  font-family: "Cinzel", "Georgia", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2b241e;
  letter-spacing: 0.02em;
}
.sign-date {
  margin: 3px 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.sign-element {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6d3a;
  background: #f6efdf;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #eadfbe;
}
.card-range-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6a58;
  background: #f5efe4;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ebe1cf;
  max-width: 42%;
  text-align: right;
  line-height: 1.3;
}
.overall-label {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6a3a;
}
.overall-text {
  margin: 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #3a332d;
  flex-grow: 1;
}

/* Expand details */
.expand-toggle {
  margin-top: 16px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  border: none;
  background: transparent;
  color: #7a5728;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.expand-toggle:hover { color: #5a3d18; border-bottom-color: #c9a44c; }
.expand-toggle .chev {
  display: inline-block;
  transition: transform var(--transition);
  font-size: 0.75rem;
  line-height: 1;
}
.expand-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.details-panel {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #e8dcc8;
  display: none;
}
.details-panel.open { display: block; }

.detail-block { margin-bottom: 16px; }
.detail-block:last-child { margin-bottom: 0; }
.caution-block .detail-title { color: #8a4a2f; }
.caution-block .detail-text { color: #6a4a3a; }
.detail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.detail-icon { font-size: 0.95rem; line-height: 1; }
.detail-title {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a4a3a;
}
.detail-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #4a433d;
  padding-left: 24px;
}

/* Lucky row */
.lucky-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-left: 24px;
  margin-top: 4px;
}
.lucky-group { min-width: 120px; }
.lucky-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6a58;
  margin-bottom: 8px;
}
.lucky-numbers { display: flex; gap: 8px; flex-wrap: wrap; }
.lucky-num {
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6efde;
  border: 1px solid #e6d7b2;
  font-family: "Cinzel", "Georgia", serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6a4f22;
}
.lucky-colors { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.color-chip { display: inline-flex; align-items: center; gap: 7px; }
.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.4);
  flex: 0 0 20px;
}
.color-name { font-size: 0.86rem; color: #4a433d; }

/* Return CTA */
.return-cta {
  padding: 30px 0 50px;
}
.return-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 44px 28px;
  background: linear-gradient(180deg, #fdfaf4 0%, #f5eee2 100%);
  border: 1px solid #e6daca;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.return-mark {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1;
}
.return-title {
  margin: 0;
  font-family: "Cinzel", "Georgia", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  color: #2a231d;
}
.return-text {
  margin: 14px auto 0;
  max-width: 560px;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.2rem;
  line-height: 1.75;
  color: #4e463f;
}
.return-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--navy);
  color: #f6f0e4;
  border-color: var(--navy);
}
.btn-primary:hover { background: #2b2548; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: #5a4528;
  border-color: #ccb88a;
}
.btn-secondary:hover { background: #f9f3e6; }
.share-feedback {
  min-height: 1.2em;
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: #6a5a3a;
}

/* Footer */
.site-footer {
  padding: 36px 0 28px;
  background: #1a1630;
  color: #d8d0c2;
  margin-top: 10px;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .brand-name { font-size: 1.1rem; }
.footer-disclaimer {
  margin: 0 auto;
  max-width: 760px;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #bfb7a8;
}
.footer-meta {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #a9a195;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-sep { color: #7a746b; }
.footer-link {
  color: #e0c98a;
  text-decoration: none;
  border-bottom: 1px solid rgba(224,201,138,0.35);
}
.footer-link:hover { color: #f2de9a; }
.footer-admin {
  margin: 14px 0 0;
  font-size: 0.7rem;
}
.footer-admin a {
  color: #4a4560;
  text-decoration: none;
  padding: 4px 8px;
}
.footer-admin a:hover { color: #8a84a0; }

/* Feedback */
.feedback-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #eadfcb;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.feedback-q {
  font-size: 0.8rem;
  color: #6e6458;
  margin-right: 4px;
}
.feedback-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #ddd2bd;
  background: #fffaf3;
  color: #5a4a3a;
  font-size: 0.8rem;
  transition: all var(--transition);
}
.feedback-btn:hover { border-color: #c9a44c; background: #fbf5e8; }
.feedback-btn.selected {
  border-color: #b8923e;
  background: #f6edd8;
  color: #5a3f14;
  box-shadow: inset 0 0 0 1px #d8bf7a;
}
.feedback-btn .fb-icon { font-size: 0.9rem; line-height: 1; }
.feedback-thanks {
  font-size: 0.78rem;
  color: #7a6a3a;
  min-height: 1.1em;
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap; border: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .signs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .controls-inner { flex-direction: column; align-items: stretch; }
  .jump-group { margin-left: 0; justify-content: space-between; }
  .jump-select { flex: 1; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 32px, var(--max)); }
  .hero { padding: 30px 0 20px; }
  .hero-sub { font-size: 1.15rem; }
  .signs-grid { grid-template-columns: 1fr; }
  .range-group { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .range-btn { justify-content: center; padding: 10px 10px; }
  .card-range-badge { position: static; align-self: flex-start; margin-bottom: 10px; max-width: none; }
  .card-top { margin-top: 2px; }
  .return-inner { padding: 34px 20px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .header-actions { width: 100%; }
  .lang-label { width: 100%; justify-content: space-between; }
  .lang-select { flex: 1; }
}
@media (max-width: 420px) {
  .range-btn span[data-i18n] { font-size: 0.84rem; }
  .sign-card { padding: 20px 16px 16px; }
  .overall-text { font-size: 1.06rem; }
  .lucky-row { flex-direction: column; gap: 14px; }
  .ad-image, #ad-top .ad-image, #ad-bottom .ad-image { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}