.tan {
  --tan-night: #05040d;
  --tan-violet: #171026;
  --tan-violet-soft: #2b1b42;
  --tan-gold: #d9b360;
  --tan-gold-light: #ffe4a0;
  --tan-teal: #72cfc8;
  --tan-text: #f8f1e6;
  --tan-muted: #b9b0c0;
  position: relative;
  width: min(100%, 74rem);
  margin: 1rem auto 2.6rem;
  overflow: hidden;
  border: 1px solid rgba(217, 179, 96, .34);
  border-radius: 1.35rem;
  color: var(--tan-text);
  background:
    radial-gradient(circle at 9% 32%, rgba(66, 38, 95, .22), transparent 31rem),
    linear-gradient(145deg, #07050e, #0c0815 50%, #04040b);
  box-shadow: 0 2.2rem 6rem rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .035);
  isolation: isolate;
}
.tan *, .tan *::before, .tan *::after { box-sizing: border-box; }
.tan [hidden] { display: none !important; }
.tan button, .tan input { font: inherit; }
.tan button { -webkit-tap-highlight-color: transparent; }
.tan .tan-kicker {
  display: inline-block;
  color: var(--tan-gold-light);
  font: 800 .7rem/1.35 system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Portada */
.tan-hero {
  position: relative;
  min-height: clamp(34rem, 63vw, 45rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 179, 96, .25);
  background: #020208;
}
.tan-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.01);
}
.tan-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 7, .9) 0%, rgba(1, 1, 8, .58) 35%, rgba(2, 2, 9, .04) 72%),
    linear-gradient(180deg, rgba(0, 0, 5, .15), transparent 40%, rgba(0, 0, 6, .72));
}
.tan-hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.35rem, 5vw, 4rem);
  bottom: clamp(1.5rem, 6vw, 4rem);
  width: min(31rem, calc(100% - 2.7rem));
  text-shadow: 0 3px 18px rgba(0, 0, 0, .88);
}
.tan-hero-copy h2 {
  max-width: 8.5em;
  margin: .55rem 0 .85rem;
  color: #fff7e8;
  font: 500 clamp(2.35rem, 6vw, 4.35rem)/.96 Georgia, serif;
  letter-spacing: -.035em;
}
.tan-hero-copy > p {
  max-width: 29rem;
  margin: 0;
  color: rgba(244, 236, 227, .88);
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  line-height: 1.68;
}
.tan-hero-points { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; }
.tan-hero-points span {
  padding: .42rem .7rem;
  border: 1px solid rgba(255, 224, 153, .3);
  border-radius: 999px;
  color: #f6e4b9;
  font: 750 .68rem/1.3 system-ui, sans-serif;
  letter-spacing: .035em;
  background: rgba(5, 3, 12, .48);
  backdrop-filter: blur(8px);
}
/* Formulario */
.tan-body { padding: clamp(1.4rem, 5vw, 3.7rem); }
.tan-start { max-width: 48rem; margin: 0 auto; }
.tan-intro { max-width: 42rem; margin: 0 auto 2rem; text-align: center; }
.tan-intro h2 {
  margin: .5rem 0 .8rem;
  color: #fff8e9;
  font: 500 clamp(2rem, 5vw, 3.25rem)/1.05 Georgia, serif;
  letter-spacing: -.025em;
}
.tan-intro p { margin: 0; color: var(--tan-muted); line-height: 1.75; }
.tan-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem 1rem;
  align-items: end;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(217, 179, 96, .28);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(72, 41, 104, .35), transparent 19rem),
    rgba(10, 7, 17, .78);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 1.2rem 3rem rgba(0, 0, 0, .2);
}
.tan-form::before {
  content: "";
  position: absolute;
  inset: .45rem;
  border: 1px solid rgba(114, 207, 200, .07);
  border-radius: .72rem;
  pointer-events: none;
}
.tan-form > label {
  position: relative;
  z-index: 1;
  grid-column: 1;
  color: #eadbb9;
  font: 800 .72rem/1.35 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tan-date-wrap { position: relative; z-index: 1; grid-column: 1; }
.tan-date-wrap > span {
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 2;
  color: var(--tan-gold);
  transform: translateY(-50%);
  pointer-events: none;
}
.tan-date {
  width: 100%;
  min-height: 3.45rem;
  padding: .75rem 1rem .75rem 2.75rem;
  border: 1px solid rgba(218, 209, 228, .27);
  border-radius: .68rem;
  outline: none;
  color: #fff;
  color-scheme: dark;
  background: rgba(1, 1, 8, .66);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.tan-date:focus { border-color: var(--tan-teal); background: rgba(8, 8, 20, .84); box-shadow: 0 0 0 3px rgba(114, 207, 200, .12); }
.tan-primary {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.45rem;
  padding: .76rem 1.35rem;
  border: 1px solid #ffe09a;
  border-radius: 999px;
  color: #191006;
  font-weight: 850;
  cursor: pointer;
  background: linear-gradient(135deg, #ffe6a2, #d2a141);
  box-shadow: 0 .8rem 1.7rem rgba(191, 137, 39, .19), inset 0 1px rgba(255, 255, 255, .72);
  transition: transform .2s, filter .2s, box-shadow .2s;
}
.tan-primary:hover { transform: translateY(-2px); filter: brightness(1.055); box-shadow: 0 1rem 2rem rgba(191, 137, 39, .3); }
.tan-error { position: relative; z-index: 1; grid-column: 1/-1; margin: 0; color: #ffb4a5; font-size: .86rem; text-align: center; }
.tan-privacy { position: relative; z-index: 1; grid-column: 1/-1; margin: .2rem auto 0; color: #8e8495; font-size: .76rem; line-height: 1.55; text-align: center; }
.tan-privacy span { margin-right: .35rem; color: var(--tan-teal); }
.tan-primary:focus-visible, .tan-actions button:focus-visible, .tan-year-button:focus-visible, .tan-method summary:focus-visible { outline: 3px solid rgba(114, 207, 200, .65); outline-offset: 3px; }

/* Transición del cálculo */
.tan-casting { min-height: 28rem; display: grid; align-content: center; justify-items: center; gap: 1.25rem; text-align: center; }
.tan-casting-seal { position: relative; width: 13rem; aspect-ratio: 1; display: grid; place-items: center; }
.tan-casting-seal i { position: absolute; inset: 0; border: 1px solid rgba(217, 179, 96, .6); border-radius: 50%; animation: tan-spin 1.7s linear infinite; }
.tan-casting-seal i:nth-child(2) { inset: 14%; border-style: dashed; border-color: rgba(114, 207, 200, .48); animation: tan-spin-back 1.15s linear infinite; }
.tan-casting-seal i:nth-child(3) { inset: 29%; animation-duration: .8s; }
.tan-casting-seal strong { color: #fff0c6; font: 500 4.3rem/1 Georgia, serif; text-shadow: 0 0 1.7rem rgba(217, 179, 96, .62); animation: tan-pulse .8s ease-in-out infinite alternate; }
.tan-casting p { margin: 0; color: #d9d0de; letter-spacing: .06em; }

/* Resultado general */
.tan-result { max-width: 66rem; margin: 0 auto; scroll-margin-top: 1rem; }
.tan-result-head { max-width: 48rem; margin: 0 auto 2.2rem; text-align: center; }
.tan-result-head h2 { margin: .5rem 0 .65rem; color: #fff7e7; font: 500 clamp(2.25rem, 6vw, 3.9rem)/1 Georgia, serif; letter-spacing: -.035em; }
.tan-profile-summary { margin: 0; color: #c8bfcc; font-size: 1rem; line-height: 1.75; }
.tan-section-head { display: flex; justify-content: space-between; gap: 1.4rem; align-items: flex-end; margin-bottom: 1rem; }
.tan-section-head > div { display: flex; gap: .8rem; align-items: baseline; }
.tan-index { color: var(--tan-gold); font: 500 .85rem/1 Georgia, serif; letter-spacing: .12em; }
.tan-section-head h3 { margin: 0; color: #fff5df; font: 500 clamp(1.55rem, 4vw, 2.25rem)/1.08 Georgia, serif; }
.tan-section-head > p { max-width: 30rem; margin: 0; color: #92899a; font-size: .78rem; line-height: 1.55; text-align: right; }

/* Cartas permanentes */
.tan-birth {
  position: relative;
  padding: clamp(1rem, 3.5vw, 2rem);
  border: 1px solid rgba(217, 179, 96, .28);
  border-radius: 1rem;
  background: radial-gradient(circle at 50% 8%, rgba(73, 40, 106, .3), transparent 27rem), rgba(4, 3, 10, .52);
}
.tan-birth-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.6rem); align-items: start; }
.tan-birth-cards[data-count="1"] { grid-template-columns: minmax(0, 28rem); justify-content: center; }
.tan-birth-cards[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tan-birth-card {
  min-width: 0;
  text-align: center;
  animation: tan-card-rise .66s cubic-bezier(.18,.78,.22,1) both;
  animation-delay: calc(var(--tan-order) * 110ms);
}
.tan-card-figure { position: relative; width: min(100%, 14.5rem); aspect-ratio: 3/5; margin: 0 auto 1rem; perspective: 900px; }
.tan-card-halo { position: absolute; inset: 10% -10%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 179, 96, .3), rgba(88, 49, 120, .12) 45%, transparent 70%); filter: blur(15px); opacity: .8; }
.tan-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 225, 155, .65);
  border-radius: .7rem;
  box-shadow: 0 1.25rem 2.3rem rgba(0, 0, 0, .56), 0 0 0 .3rem rgba(31, 19, 42, .8);
}
.tan-role-personality .tan-card-image { transform: rotate(-1.1deg); }
.tan-role-soul .tan-card-image { transform: rotate(1.1deg); }
.tan-role-bridge .tan-card-figure { width: min(100%, 12.5rem); margin-top: 1.2rem; }
.tan-role-bridge .tan-card-image { border-color: rgba(114, 207, 200, .68); }
.tan-card-copy { max-width: 24rem; margin: 0 auto; }
.tan-card-role { display: inline-block; margin-bottom: .38rem; color: var(--tan-teal); font: 800 .65rem/1.35 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.tan-card-copy h4 { margin: 0 0 .28rem; color: #fff5df; font: 500 1.45rem/1.1 Georgia, serif; }
.tan-card-copy b { display: block; color: #ddbd72; font: 750 .7rem/1.45 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.tan-card-copy p { margin: .65rem 0 0; color: #b8afbe; font-size: .83rem; line-height: 1.64; }

/* Lectura de la combinación */
.tan-combination { margin-top: 2.2rem; }
.tan-reading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.tan-reading { display: flex; gap: .9rem; min-height: 9.2rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(207, 193, 217, .14); border-radius: .82rem; background: rgba(7, 5, 14, .66); }
.tan-reading > span { flex: none; display: grid; place-items: center; width: 2.35rem; aspect-ratio: 1; height: 2.35rem; border: 1px solid rgba(217, 179, 96, .42); border-radius: 50%; color: var(--tan-gold-light); }
.tan-reading h4 { margin: .05rem 0 .35rem; color: #e2c57d; font: 800 .68rem/1.4 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.tan-reading p { margin: 0; color: #c9c1cd; font-size: .88rem; line-height: 1.68; }
.tan-strength { background: linear-gradient(135deg, rgba(43, 33, 65, .68), rgba(7, 5, 14, .62)); }
.tan-tension { border-color: rgba(201, 111, 95, .25); }
.tan-tension > span { border-color: rgba(225, 139, 117, .45); color: #efad98; }
.tan-advice { border-color: rgba(114, 207, 200, .28); background: linear-gradient(135deg, rgba(28, 84, 82, .2), rgba(7, 5, 14, .66)); }
.tan-advice > span { color: #06201e; border-color: var(--tan-teal); background: var(--tan-teal); }

/* Años */
.tan-years { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(217, 179, 96, .2); }
.tan-year-now {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: clamp(1.2rem, 4vw, 2.3rem);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(217, 179, 96, .36);
  border-radius: 1rem;
  background: radial-gradient(circle at 12% 50%, rgba(69, 39, 98, .38), transparent 19rem), rgba(4, 3, 10, .58);
}
.tan-year-now-card { width: min(100%, 11.5rem); aspect-ratio: 3/5; margin: 0 auto; }
.tan-year-now-card img { width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(255, 226, 158, .56); border-radius: .6rem; box-shadow: 0 1rem 2rem rgba(0, 0, 0, .55); }
.tan-year-now-top { display: flex; flex-wrap: wrap; gap: .55rem .75rem; align-items: center; }
.tan-now-badge { padding: .3rem .62rem; border-radius: 999px; color: #071d1b; font: 850 .65rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: var(--tan-teal); }
.tan-year-now-top b { color: #b7acbb; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
.tan-year-now-copy > h4 { margin: .55rem 0 .45rem; color: #fff6e3; font: 500 clamp(2rem, 5vw, 3.1rem)/1 Georgia, serif; }
.tan-year-theme { margin: 0 0 1rem; color: #d9c07f; font-size: 1rem; line-height: 1.65; }
.tan-year-info { margin-top: .72rem; padding-top: .72rem; border-top: 1px solid rgba(206, 193, 216, .12); }
.tan-year-info > span { color: #9c90a3; font: 800 .65rem/1.35 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tan-year-info p { margin: .25rem 0 0; color: #c9c1ce; font-size: .86rem; line-height: 1.62; }
.tan-year-watch { border-color: rgba(210, 119, 101, .22); }
.tan-year-watch > span { color: #df9c8c; }
.tan-timeline-wrap { margin-top: 1.3rem; padding: 1rem; border: 1px solid rgba(207, 193, 217, .13); border-radius: .85rem; background: rgba(3, 2, 8, .46); }
.tan-timeline-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; color: #918697; font: 750 .67rem/1.4 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tan-timeline-label b { color: var(--tan-gold); }
.tan-timeline { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45rem; }
.tan-timeline::before { content: ""; position: absolute; top: 2.25rem; right: 4%; left: 4%; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 179, 96, .5) 8%, rgba(217, 179, 96, .5) 92%, transparent); }
.tan-year-button { position: relative; z-index: 1; min-width: 0; padding: .55rem .25rem .65rem; border: 1px solid transparent; border-radius: .65rem; color: #a99fac; cursor: pointer; background: transparent; transition: border-color .2s, background .2s, transform .2s; }
.tan-year-button:hover { transform: translateY(-2px); background: rgba(45, 28, 62, .42); }
.tan-year-button > span { display: block; margin-bottom: .45rem; font-size: .68rem; }
.tan-year-button > b { display: grid; place-items: center; width: 3.25rem; aspect-ratio: 1; margin: 0 auto .48rem; border: 1px solid rgba(217, 179, 96, .55); border-radius: 50%; color: #f1d18a; font: 500 .92rem/1 Georgia, serif; background: #0a0710; box-shadow: 0 0 0 .25rem rgba(10, 7, 16, .82); }
.tan-year-button > small { display: block; overflow: hidden; color: #ada4b1; font-size: .65rem; line-height: 1.25; text-overflow: ellipsis; }
.tan-year-button > i { display: inline-block; margin-top: .35rem; padding: .18rem .38rem; border-radius: 999px; color: #07201d; font: 800 .55rem/1 system-ui, sans-serif; font-style: normal; text-transform: uppercase; background: var(--tan-teal); }
.tan-year-button[aria-pressed="true"] { border-color: rgba(217, 179, 96, .38); background: rgba(57, 35, 77, .52); }
.tan-year-button[aria-pressed="true"] > b { color: #161006; border-color: #ffe1a0; background: linear-gradient(135deg, #ffe3a0, #c99636); box-shadow: 0 0 1.3rem rgba(217, 179, 96, .28); }
.tan-year-detail { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; align-items: start; margin-top: .8rem; padding: 1rem 1.1rem; border-left: 2px solid var(--tan-gold); border-radius: 0 .75rem .75rem 0; background: rgba(16, 11, 24, .66); }
.tan-year-detail figure { width: 6.3rem; aspect-ratio: 3/5; margin: 0; }
.tan-year-detail figure img { width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(217, 179, 96, .42); border-radius: .4rem; }
.tan-year-detail h4 { margin: .25rem 0 .55rem; color: #fff1d5; font: 500 1.65rem/1.08 Georgia, serif; }
.tan-year-detail .tan-year-info { margin-top: .48rem; padding-top: .48rem; }
.tan-year-question { border-color: rgba(114, 207, 200, .23); }
.tan-year-question > span { color: var(--tan-teal); }
.tan-year-question p { color: #e3ebea; font-style: italic; }

/* Método y acciones */
.tan-method { margin-top: 1.2rem; border: 1px solid rgba(207, 193, 217, .15); border-radius: .8rem; background: rgba(4, 3, 10, .45); }
.tan-method summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; color: #d8c892; font-size: .82rem; font-weight: 750; cursor: pointer; list-style: none; }
.tan-method summary::-webkit-details-marker { display: none; }
.tan-method summary span { color: var(--tan-teal); transition: transform .2s; }
.tan-method[open] summary span { transform: rotate(45deg); }
.tan-method > div { padding: 0 1.1rem 1.05rem; }
.tan-method p { margin: .65rem 0 0; color: #99909f; font-size: .78rem; line-height: 1.65; }
.tan-method .tan-calculation { padding: .65rem .75rem; border: 1px dashed rgba(217, 179, 96, .3); border-radius: .5rem; color: #e6d7b6; font-variant-numeric: tabular-nums; background: rgba(217, 179, 96, .045); }
.tan-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.35rem; }
.tan-actions button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .68rem 1.15rem; border: 1px solid rgba(217, 179, 96, .42); border-radius: 999px; color: #f7ead0; font-weight: 780; cursor: pointer; background: rgba(14, 9, 21, .8); transition: transform .2s, border-color .2s, background .2s; }
.tan-actions button:hover { transform: translateY(-2px); border-color: var(--tan-gold); background: rgba(44, 28, 59, .78); }
.tan-actions button:disabled { cursor: wait; opacity: .58; transform: none; }
.tan-share-status { min-height: 1.4rem; margin: .55rem 0 0; color: var(--tan-teal); font-size: .78rem; text-align: center; }

/* Guía persistente */
.tan-guide { display: grid; grid-template-columns: .85fr 1.2fr; gap: clamp(1.3rem, 4vw, 2.6rem); padding: clamp(1.4rem, 5vw, 3rem); border-top: 1px solid rgba(217, 179, 96, .2); background: linear-gradient(120deg, rgba(44, 27, 61, .42), rgba(3, 2, 9, .72)); }
.tan-guide h3 { margin: .45rem 0 .65rem; color: #fff5df; font: 500 clamp(1.55rem, 4vw, 2.25rem)/1.08 Georgia, serif; }
.tan-guide > div > p { margin: 0; color: #a99fad; font-size: .88rem; line-height: 1.68; }
.tan-guide ol { margin: 0; padding: 0; list-style: none; }
.tan-guide li { display: flex; gap: .85rem; align-items: flex-start; padding: .78rem 0; border-bottom: 1px solid rgba(207, 193, 217, .1); }
.tan-guide li:last-child { border-bottom: 0; }
.tan-guide li > span { flex: none; color: var(--tan-gold); font: 500 1.28rem/1 Georgia, serif; }
.tan-guide li p { margin: 0; }
.tan-guide li b { display: block; margin-bottom: .18rem; color: #eee6ee; font-size: .86rem; }
.tan-guide li small { display: block; color: #887e8e; font-size: .76rem; line-height: 1.5; }

@keyframes tan-spin { to { transform: rotate(360deg); } }
@keyframes tan-spin-back { to { transform: rotate(-360deg); } }
@keyframes tan-pulse { to { transform: scale(1.07); filter: brightness(1.15); } }
@keyframes tan-card-rise { from { opacity: 0; transform: translateY(1.5rem) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 850px) {
  .tan-hero-veil { background: linear-gradient(180deg, rgba(0,0,6,.05), rgba(0,0,7,.18) 43%, rgba(0,0,7,.94) 87%); }
  .tan-hero-copy { right: 1.35rem; width: auto; }
  .tan-hero-copy h2 { max-width: 11em; font-size: clamp(2.35rem, 9vw, 4rem); }
  .tan-hero-copy > p { max-width: 36rem; }
  .tan-reading-grid { grid-template-columns: 1fr; }
  .tan-reading { min-height: 0; }
  .tan-birth-cards[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
  .tan-birth-cards[data-count="3"] .tan-card-copy p { font-size: .76rem; }
  .tan-timeline-wrap { overflow: hidden; }
  .tan-timeline { grid-template-columns: repeat(7, minmax(7.2rem, 1fr)); overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .tan-year-button { scroll-snap-align: start; }
}

@media (max-width: 680px) {
  .tan { margin-top: .6rem; border-radius: 1rem; }
  .tan-hero { min-height: 34rem; }
  .tan-hero > img { object-position: 50% 46%; }
  .tan-hero-copy { left: 1rem; right: 1rem; bottom: 1.2rem; }
  .tan-hero-copy h2 { margin-bottom: .65rem; font-size: 2.6rem; }
  .tan-hero-points { gap: .35rem; margin-top: .85rem; }
  .tan-hero-points span { padding: .34rem .54rem; font-size: .6rem; }
  .tan-body { padding: 1.4rem .85rem 1.8rem; }
  .tan-form { grid-template-columns: 1fr; padding: 1rem; }
  .tan-form > label, .tan-date-wrap, .tan-primary { grid-column: 1; }
  .tan-primary { grid-row: auto; width: 100%; }
  .tan-section-head { display: block; }
  .tan-section-head > div { align-items: baseline; }
  .tan-section-head > p { margin-top: .55rem; text-align: left; }
  .tan-birth { padding: 1rem .75rem; }
  .tan-birth-cards, .tan-birth-cards[data-count="3"] { grid-template-columns: 1fr; gap: 1.2rem; }
  .tan-birth-card { display: grid; grid-template-columns: 7.7rem 1fr; gap: 1rem; align-items: center; text-align: left; }
  .tan-card-figure, .tan-role-bridge .tan-card-figure { width: 100%; margin: 0; }
  .tan-card-copy { max-width: none; margin: 0; }
  .tan-birth-cards[data-count="3"] .tan-card-copy p { font-size: .8rem; }
  .tan-card-copy h4 { font-size: 1.25rem; }
  .tan-card-copy p { font-size: .8rem; }
  .tan-year-now { grid-template-columns: 7.3rem 1fr; gap: 1rem; padding: 1rem; align-items: start; }
  .tan-year-now-copy > h4 { font-size: 1.75rem; }
  .tan-year-theme { font-size: .88rem; }
  .tan-year-info p { font-size: .8rem; }
  .tan-year-detail { grid-template-columns: 5rem 1fr; gap: .85rem; padding: .9rem; }
  .tan-year-detail figure { width: 4.7rem; }
  .tan-year-detail h4 { font-size: 1.35rem; }
  .tan-guide { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .tan-hero { min-height: 31rem; }
  .tan-hero-copy h2 { font-size: 2.25rem; }
  .tan-hero-copy > p { font-size: .84rem; line-height: 1.55; }
  .tan-intro h2 { font-size: 1.9rem; }
  .tan-birth-card { grid-template-columns: 6.5rem 1fr; gap: .8rem; }
  .tan-card-role { font-size: .57rem; }
  .tan-card-copy h4 { font-size: 1.12rem; }
  .tan-card-copy b { font-size: .61rem; }
  .tan-card-copy p { line-height: 1.5; }
  .tan-reading { padding: 1rem .85rem; gap: .7rem; }
  .tan-reading > span { width: 2rem; height: 2rem; }
  .tan-year-now { grid-template-columns: 1fr; text-align: center; }
  .tan-year-now-card { width: 8.5rem; }
  .tan-year-now-top { justify-content: center; }
  .tan-year-info { text-align: left; }
  .tan-actions { display: grid; }
  .tan-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tan *, .tan *::before, .tan *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
