/* =====================================================================
   duduangfree.buzz — today.css : หน้า "ดวงวันนี้" (แดชบอร์ด HUD)
   ใช้ตัวแปรสีจาก style.css เท่านั้น
   ===================================================================== */

/* ---------- Hero ---------- */
.td-hero h1 { margin-bottom: 10px; }
.td-hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 16px; }
.td-date { font-family: var(--font-head); color: var(--text-2); }
.td-clock { font-size: .9rem; color: var(--gold-2); text-shadow: 0 0 10px var(--gold-glow); min-width: 7.2em; text-align: left; }
.td-streak {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 14px; max-width: 100%;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-2); background: linear-gradient(90deg, rgba(168,85,247, .14), rgba(247, 197, 72, .1));
  font-family: var(--font-head); font-size: .95rem; box-shadow: 0 0 22px -8px var(--gold-glow);
}
.td-streak b { color: var(--gold); font-size: 1.1rem; text-shadow: 0 0 10px var(--gold-glow); }
.td-streak small { width: 100%; color: var(--text-3); font-size: .78rem; }
.td-fire { display: inline-block; animation: tdFlame 1.2s ease-in-out infinite; }
@keyframes tdFlame { 50% { transform: scale(1.18) rotate(-6deg); } }
.td-dots { display: inline-flex; gap: 4px; }
.td-dots i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: rgba(255, 255, 255, .12); }
.td-dots i.on { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.td-ticker { margin-top: 6px; }

/* ---------- ฟอร์ม ---------- */
.td-form-section { padding-top: 28px; padding-bottom: 20px; }
.td-form { max-width: 820px; margin: 0 auto; }
.td-tabs-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.td-birth-row { grid-template-columns: 1fr 1.6fr 1.2fr; }
.td-daypick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.td-day {
  --dc: var(--gold); display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; cursor: pointer;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(168,85,247, .05); color: var(--text);
  font-family: var(--font-head); font-size: .95rem; text-align: left; transition: border-color .2s, background .2s, transform .2s;
}
.td-day i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 10px var(--dc); border: 2px solid rgba(255, 255, 255, .25); }
.td-day:hover { border-color: rgba(168,85,247, .5); transform: translateY(-2px); }
.td-day.active { border-color: var(--gold); background: linear-gradient(180deg, rgba(247, 197, 72, .16), rgba(168,85,247, .1)); box-shadow: 0 0 0 1px var(--gold), var(--shadow-gold); }
.td-zgrid .zodiac-tile { cursor: pointer; font: inherit; color: inherit; }
.td-actions { justify-content: center; margin-top: 22px; }
.td-privacy { text-align: center; margin: 14px 0 0; }
.td-linkbtn { background: none; border: 0; padding: 0 2px; color: var(--gold-2); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- แผงสแกน ---------- */
.td-scan { max-width: 640px; margin: 0 auto 20px; text-align: center; }
.td-scan-log { margin-top: 16px; text-align: left; font-family: var(--font-body); font-size: .92rem; color: var(--gold-2); min-height: 9em; }
.td-scan-log div { padding: 2px 0; border-bottom: 1px dashed rgba(255, 255, 255, .05); overflow-wrap: anywhere; }

/* ---------- ผลลัพธ์ ---------- */
.td-result { padding-top: 12px; }
.td-result > * + * { margin-top: 22px; }
.td-result h3 { margin-bottom: 12px; }

/* พลังวันนี้ */
.td-power-grid { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center; }
.td-ring-wrap { position: relative; width: 230px; height: 230px; margin: 0 auto; }
.td-ring { width: 100%; height: 100%; overflow: visible; }
.td-ring circle { fill: none; }
.td-ring-ticks { stroke: rgba(247, 197, 72, .45); stroke-width: 6; stroke-dasharray: 1.6 9.08; animation: spin 40s linear infinite; transform-origin: 110px 110px; }
.td-ring-track { stroke: rgba(255, 255, 255, .07); stroke-width: 16; }
.td-ring-fill { stroke-width: 16; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 110px 110px; transition: stroke-dashoffset 1.5s var(--ease-out); filter: drop-shadow(0 0 8px rgba(168,85,247, .7)); }
.td-ring-inner { fill: rgba(7,3,15, .85) !important; stroke: rgba(168,85,247, .3); stroke-width: 1; }
.td-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.td-ring-num { font-size: 3.4rem; font-weight: 900; line-height: 1; color: #fff6dc; text-shadow: 0 0 6px #fff, 0 0 20px var(--gold), 0 0 40px var(--ember); }
.td-ring-lbl { font-family: var(--font-head); font-size: .85rem; color: var(--text-3); margin-top: 4px; }
.td-ring-band { font-family: var(--font-head); font-size: 1rem; font-weight: 500; margin-top: 2px; text-shadow: 0 0 10px currentColor; }
.td-who { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.td-status { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.6; color: var(--text); min-height: 3.2em; }
.td-taksa { font-size: .95rem; color: var(--text-2); }
.td-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.td-tiles .info-tile .big { font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-tiles .td-warn { border-color: rgba(168,85,247, .55); }
.td-tiles .td-warn .big { color: var(--red-2); text-shadow: 0 0 10px var(--red-glow); }
.td-moonline { grid-column: 1 / -1; margin: 4px 0 0; font-size: .88rem; color: var(--text-3); }
.td-subgauges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--border); }
.td-sg { text-align: center; min-width: 0; }
.td-sg-lbl { font-family: var(--font-head); font-size: .9rem; margin-top: 10px; }
.td-sg-note { font-size: .78rem; color: var(--text-3); }
.td-sg.invert .gauge::after { background: repeating-conic-gradient(rgba(168,85,247, .5) 0 1.2deg, transparent 1.2deg 15deg); }

/* ควรทำ / ไม่ควรทำ */
.td-dodont .hud-card, .td-lucky .hud-card { height: 100%; }
.td-dodont li { font-size: .98rem; }

/* สีเสื้อ */
.td-colors { display: grid; gap: 10px; }
.td-color { display: flex; align-items: center; gap: 12px; }
.td-color > i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255, 255, 255, .3); box-shadow: 0 0 14px var(--c); }
.td-color > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.td-color b { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; }
.td-color small { width: 100%; color: var(--text-3); font-size: .8rem; }
.td-ctag { font-size: .72rem; font-family: var(--font-head); padding: 1px 8px; border-radius: 999px; color: var(--gold-2); border: 1px solid var(--border-2); background: rgba(247, 197, 72, .08); }
.td-color.personal { padding-top: 10px; border-top: 1px dashed var(--border); }
.td-color.personal .td-ctag { color: var(--red-2); border-color: rgba(168,85,247, .45); background: rgba(168,85,247, .1); }
.td-avoid { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(168,85,247, .08); border: 1px solid rgba(168,85,247, .35); }
.td-avoid-lbl { width: 100%; font-family: var(--font-head); font-size: .82rem; color: var(--red-2); }
.td-avoid-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .92rem; text-decoration: line-through; text-decoration-color: var(--red); }
.td-avoid-chip i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255, 255, 255, .3); }

/* เลขนำโชค */
.td-slot-wrap { display: flex; justify-content: center; margin: 6px 0 16px; }
.td-slot-wrap .slot { --slot-h: 84px; }
.td-slot-wrap .slot-reel { --slot-h: 84px; }
.td-subnums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.td-subnum { text-align: center; padding: 8px 4px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(168,85,247, .05); min-width: 0; }
.td-subnum span { display: block; font-size: 1.4rem; font-weight: 700; color: var(--gold-2); text-shadow: 0 0 10px var(--gold-glow); }
.td-subnum small { font-size: .72rem; }

/* เข็มทิศ */
.td-compass { position: relative; width: 150px; height: 150px; margin: 4px auto 14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247, .12), transparent 60%), repeating-conic-gradient(rgba(247, 197, 72, .35) 0 1deg, transparent 1deg 22.5deg);
  border: 1px solid var(--border-2); box-shadow: 0 0 30px -10px var(--gold-glow), inset 0 0 24px rgba(0, 0, 0, .7); }
.td-compass::before { content: ''; position: absolute; inset: 18px; border-radius: 50%; border: 1px dashed rgba(168,85,247, .35); }
.td-cn { position: absolute; font-family: var(--font-latin); font-size: .7rem; color: var(--text-3); }
.td-cn.n { top: 4px; left: 50%; transform: translateX(-50%); color: var(--red-2); }
.td-cn.s { bottom: 4px; left: 50%; transform: translateX(-50%); }
.td-cn.e { right: 6px; top: 50%; transform: translateY(-50%); }
.td-cn.w { left: 6px; top: 50%; transform: translateY(-50%); }
.td-needle { --deg: 0deg; position: absolute; left: 50%; top: 50%; width: 6px; height: 58px; margin-left: -3px; margin-top: -58px; transform-origin: 50% 100%;
  transform: rotate(var(--deg)); border-radius: 3px 3px 0 0; background: linear-gradient(0deg, transparent, var(--gold) 30%, #fff6dc); box-shadow: 0 0 12px var(--gold); }
.td-needle.bad { width: 4px; margin-left: -2px; height: 44px; margin-top: -44px; background: linear-gradient(0deg, transparent, var(--red)); box-shadow: 0 0 10px var(--red); opacity: .8; }
.td-compass::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.td-compass.on .td-needle { animation: tdNeedle 1.6s var(--ease-out) both; }
@keyframes tdNeedle { 0% { transform: rotate(calc(var(--deg) - 540deg)); } 70% { transform: rotate(calc(var(--deg) + 14deg)); } 100% { transform: rotate(var(--deg)); } }
.td-dir { padding: 6px 0; }
.td-dir b { display: block; font-family: var(--font-head); font-weight: 500; }
.td-dir.good b { color: var(--gold-2); }
.td-dir.bad b { color: var(--red-2); }
.td-dir small { font-size: .8rem; }

/* ---------- ชั่วโมงทอง ---------- */
.td-golden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.td-gh { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(168,85,247, .05); min-width: 0; }
.td-gh.top { border-color: var(--gold); background: linear-gradient(180deg, rgba(247, 197, 72, .14), rgba(168,85,247, .06)); box-shadow: var(--shadow-gold); }
.td-gh.past { opacity: .55; }
.td-gh.live { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 26px -4px var(--gold-glow); }
.td-gh-rank { position: absolute; top: 8px; right: 10px; font-size: .7rem; color: var(--text-3); }
.td-gh-time { font-size: 1.1rem; font-weight: 700; color: var(--gold-2); text-shadow: 0 0 10px var(--gold-glow); }
.td-gh-planet { font-family: var(--font-head); font-size: .92rem; }
.td-gh-tip { font-size: .82rem; color: var(--text-2); }
.td-gh-state { font-size: .76rem; color: var(--text-3); margin-top: 4px; }
.td-gh.live .td-gh-state { color: var(--gold); }

.td-timeline-wrap { position: relative; padding-top: 26px; }
.td-timeline { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; align-items: end; height: 120px; padding: 0 0 2px; border-bottom: 1px solid var(--border-2);
  background: linear-gradient(rgba(168,85,247, .06) 1px, transparent 1px) 0 0 / 100% 30px; }
.td-bar { position: relative; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: flex-end; min-width: 0; }
.td-bar i { display: block; width: 100%; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(0deg, rgba(168,85,247, .35), var(--bc)); opacity: .75; transition: opacity .2s, filter .2s; }
.td-bar:hover i, .td-bar.sel i { opacity: 1; filter: brightness(1.25); }
.td-bar.gold i { background: linear-gradient(0deg, var(--ember), var(--gold-2)); opacity: 1; box-shadow: 0 0 12px var(--gold-glow); }
.td-bar.gold::before { content: '★'; position: absolute; left: 50%; bottom: calc(var(--h) + 2px); transform: translateX(-50%); font-size: .62rem; color: var(--gold); text-shadow: 0 0 6px var(--gold); }
.td-bar.sel::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; background: var(--gold-2); }
.td-now { position: absolute; top: 0; bottom: 0; width: 0; left: 0; border-left: 2px solid var(--red); box-shadow: 0 0 10px var(--red); pointer-events: none; transition: left .6s; }
.td-now span { position: absolute; top: 0; left: 0; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-head); font-size: .72rem; padding: 1px 8px; border-radius: 999px; background: var(--red); color: #fff; box-shadow: 0 0 10px var(--red-glow); }
.td-now::after { content: ''; position: absolute; left: -5px; bottom: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.2s steps(2, start) infinite; }
.td-axis { display: flex; justify-content: space-between; font-size: .64rem; color: var(--text-3); margin-top: 6px; }
.td-hourinfo { margin: 12px 0 6px; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(247, 197, 72, .07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; min-height: 2.6em; }

/* ---------- เซียมซี ---------- */
.td-ss-grid { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; }
.td-ss-stage { position: relative; height: 240px; display: flex; align-items: flex-end; justify-content: center; }
.td-tube { position: relative; width: 110px; height: 200px; transform-origin: 50% 90%; }
.td-tube-body { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; border-radius: 10px 10px 18px 18px;
  background: linear-gradient(90deg, #3a1470, #7e22ce 30%, #b97cf9 48%, #7e22ce 66%, #2a1048);
  border: 2px solid var(--gold-3); box-shadow: 0 0 30px -6px var(--red-glow), inset 0 -10px 20px rgba(0, 0, 0, .4); display: grid; place-items: center; }
.td-tube-body::before, .td-tube-body::after { content: ''; position: absolute; left: -2px; right: -2px; height: 10px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3)); border-radius: 3px; }
.td-tube-body::before { top: 10px; } .td-tube-body::after { bottom: 14px; }
.td-tube-body span { font-size: 2.4rem; color: var(--gold-2); text-shadow: 0 0 10px rgba(255, 220, 140, .8); }
.td-sticks { position: absolute; left: 14px; right: 14px; bottom: 120px; height: 80px; display: flex; justify-content: space-between; align-items: flex-end; }
.td-sticks i { display: block; width: 7px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #c4a1ff 0 12px, #e8c27a 12px, #b8862b); box-shadow: 0 0 6px rgba(0, 0, 0, .5); }
.td-sticks i:nth-child(1) { height: 62px; transform: rotate(-9deg); } .td-sticks i:nth-child(2) { height: 74px; transform: rotate(-6deg); }
.td-sticks i:nth-child(3) { height: 68px; transform: rotate(-3deg); } .td-sticks i:nth-child(4) { height: 80px; transform: rotate(-1deg); }
.td-sticks i:nth-child(5) { height: 72px; } .td-sticks i:nth-child(6) { height: 78px; transform: rotate(2deg); }
.td-sticks i:nth-child(7) { height: 66px; transform: rotate(4deg); } .td-sticks i:nth-child(8) { height: 76px; transform: rotate(7deg); }
.td-sticks i:nth-child(9) { height: 60px; transform: rotate(10deg); }
.td-tube.shaking { animation: tdShake .16s linear infinite; }
.td-tube.shaking .td-sticks i { animation: tdJiggle .12s linear infinite alternate; }
.td-tube.shaking .td-sticks i:nth-child(odd) { animation-delay: -.06s; }
.td-tube.hard { animation-duration: .09s; }
@keyframes tdShake { 0% { transform: rotate(-12deg) translateY(0); } 25% { transform: rotate(-4deg) translateY(-6px); } 50% { transform: rotate(-14deg) translateY(2px); } 75% { transform: rotate(-6deg) translateY(-4px); } 100% { transform: rotate(-12deg); } }
@keyframes tdJiggle { to { translate: 0 -8px; } }
.td-fallen { position: absolute; left: 50%; bottom: 8px; width: 150px; height: 14px; margin-left: -10px; border-radius: 3px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, #a855f7 0 26px, #e8c27a 26px, #b8862b); box-shadow: 0 0 14px var(--gold-glow); display: flex; align-items: center; padding-left: 4px; }
.td-fallen span { font-size: .62rem; font-weight: 900; color: #fff; }
.td-fallen.drop { animation: tdDrop .75s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes tdDrop { 0% { opacity: 1; transform: translate(-40px, -170px) rotate(-75deg); } 60% { opacity: 1; transform: translate(0, 0) rotate(-4deg); } 80% { transform: translate(0, -10px) rotate(-6deg); } 100% { opacity: 1; transform: translate(0, 0) rotate(-4deg); } }
.td-ss-ctrl h3 { margin-bottom: 8px; }
.td-hold { position: relative; overflow: hidden; min-width: 240px; min-height: 58px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
.td-hold-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2)); opacity: .55; pointer-events: none; }
.td-hold-txt { position: relative; pointer-events: none; }
.td-ss-extra { margin-top: 12px; }
#td-motion.on { color: #2a1503; background: var(--gold); }
.td-slip { margin-top: 22px; }
.td-slip-paper { position: relative; max-width: 560px; margin: 0 auto; padding: 22px 22px 16px; border-radius: 6px; color: #3a1208;
  background: linear-gradient(180deg, #fff3d6, #f6dfae); border: 2px solid var(--gold-3); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 0 40px -10px var(--gold-glow); }
.td-slip-paper::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(126,34,206, .45); border-radius: 3px; pointer-events: none; }
.td-slip-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.td-slip-no { font-family: var(--font-head); color: #4c1d95; }
.td-slip-no b { font-size: 1.5rem; color: #7e22ce; }
.td-slip-seal { width: 74px; height: 74px; font-size: 1.1rem; flex-direction: column; line-height: 1.1; }
.td-slip-seal small { font-family: var(--font-head); font-size: .62rem; color: inherit; }
.td-slip-title { font-family: var(--font-head); font-size: 1.3rem; color: #4c1d95; margin: 6px 0 10px; }
.td-slip-poem { padding: 10px 14px; border-left: 3px solid #7e22ce; background: rgba(126,34,206, .06); }
.td-slip-poem p { margin: 0; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.75; }
.td-slip-mean, .td-slip-tip { margin: 10px 0 0; font-size: .96rem; }
.td-slip-paper .help { color: #7a4a2a; }
.td-slip-paper .actions { margin-top: 14px; }
.td-slip-paper .neon-btn.gold { color: #4c1d95; border-color: #7e22ce; text-shadow: none; background: rgba(126,34,206, .06); box-shadow: none; }
.td-slip-paper.lv-care .td-slip-seal { filter: grayscale(.4); }

/* ---------- การ์ดคำเตือน (share card) ---------- */
.td-share-sec { margin-top: 40px !important; }
.td-share-sec .section-title { margin-bottom: 18px; }
.td-share-card { position: relative; max-width: 440px; margin: 0 auto; padding: 26px 24px 20px; border-radius: 6px; overflow: hidden;
  background: radial-gradient(400px 220px at 50% 0, rgba(168,85,247, .3), transparent 70%),
    linear-gradient(rgba(168,85,247, .07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(168,85,247, .07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, #150a24, #07030f);
  border: 1px solid var(--border-2); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .95), 0 0 50px -16px var(--red-glow); }
.td-sc-top { display: flex; justify-content: space-between; gap: 8px; font-size: .66rem; letter-spacing: .14em; color: var(--red-2); }
.td-sc-who { margin-top: 12px; font-family: var(--font-head); font-size: .86rem; color: var(--text-2); }
.td-sc-msg { margin: 14px 0 16px; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.55; color: #fff6dc; text-shadow: 0 0 14px rgba(247, 197, 72, .3); overflow-wrap: anywhere; }
.td-sc-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.td-sc-stats div { position: relative; text-align: center; padding: 6px 2px 8px; border: 1px solid var(--border); border-radius: 4px; background: rgba(7,3,15, .6); overflow: hidden; }
.td-sc-stats span { display: block; font-size: 1.05rem; font-weight: 700; color: var(--gold-2); }
.td-sc-stats small { font-size: .7rem; }
.td-sc-stats i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: linear-gradient(90deg, var(--red), var(--gold)); }
.td-sc-stats div:last-child span { color: var(--red-2); }
.td-sc-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: .8rem; color: var(--text-2); }
.td-sc-foot .latin { font-size: .6rem; color: var(--red-2); }
.td-more { margin-top: 34px !important; }
.td-disclaimer { margin-top: 18px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .td-subgauges { grid-template-columns: repeat(3, 1fr); }
  .td-golden { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .td-power-grid { grid-template-columns: 1fr; gap: 16px; }
  .td-ss-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .td-ss-stage { height: 220px; }
}
@media (max-width: 640px) {
  .td-daypick { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .td-birth-row { grid-template-columns: 1fr 1fr; }
  .td-birth-row label:first-child { grid-column: 1 / -1; }
  .td-tiles { grid-template-columns: 1fr 1fr; }
  .td-tiles .info-tile:first-child { grid-column: 1 / -1; }
  .td-status { font-size: 1.02rem; }
  .td-timeline { height: 100px; gap: 1px; }
  .td-hold { width: 100%; min-width: 0; }
  .td-sc-msg { font-size: 1.15rem; }
  .td-tabs-wrap .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .td-tabs-wrap .tabs button { padding: 9px 4px; font-size: .86rem; line-height: 1.3; }
}
@media (max-width: 400px) {
  .td-ring-wrap { width: 200px; height: 200px; }
  .td-ring-num { font-size: 2.9rem; }
  .td-subgauges { grid-template-columns: repeat(2, 1fr); }
  .td-subgauges .td-sg:last-child { grid-column: 1 / -1; }
  .td-sc-stats span { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .td-tube.shaking { animation: none; transform: rotate(-8deg); }
  .td-ring-ticks, .td-fire { animation: none; }
}
