
/* ── Reset & Base ── */
.rt-wrap { font-family: 'Noto Sans TC', sans-serif; color: #3e3e3e; max-width: 720px; margin: 0 auto; padding: 0 4px; }
.rt-wrap *, .rt-wrap *::before, .rt-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Header ── */
.rt-header { text-align: center; padding: 36px 0 28px; border-bottom: 1px solid #d8d0c0; }
.rt-header-rule { width: 48px; height: 2px; background: #ccb58a; margin: 0 auto 22px; }
.rt-eyebrow { font-size: 14px; letter-spacing: 0.3em; color: #93645d; text-transform: uppercase; margin-bottom: 10px; }
.rt-header-desc { font-size: 17px; color: #3e3e3e; line-height: 1.9; margin-top: 10px; }

/* ── Steps ── */
.rt-step { padding: 28px 0 22px; border-bottom: 1px solid #d8d0c0; }
.rt-step-label { font-size: 13px; letter-spacing: 0.3em; color: #ccb58a; text-transform: uppercase; margin-bottom: 8px; }
.rt-step-title { font-family: 'Noto Serif TC', serif; font-size: 21px; font-weight: 600; color: #3e3e3e; margin-bottom: 16px; }

/* ── Spread buttons ── */
.rt-spread-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .rt-spread-grid { grid-template-columns: 1fr; } }

.rt-spread-btn {
  background: #fdfaf4 !important;
  border: 2px solid #d8d0c0 !important;
  color: #3e3e3e !important;
  padding: 18px 10px;
  cursor: pointer; text-align: center;
  transition: all 0.2s;
  font-family: 'Noto Sans TC', sans-serif;
  display: block; width: 100%; border-radius: 2px;
}
.rt-spread-btn:hover {
  border-color: #a04044 !important;
  background: #fdf8f8 !important;
  color: #a04044 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(160,64,68,0.15);
}
.rt-spread-btn.rt-active {
  background: #a04044 !important;
  border-color: #a04044 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(160,64,68,0.2);
}
.rt-spread-icon { display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 8px; }
.rt-pip {
  width: 11px; height: 16px;
  border: 2px solid #c8bfaf;
  background: #f0ece0; border-radius: 2px;
  display: inline-block; transition: all 0.2s;
}
.rt-spread-btn.rt-active .rt-pip { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.3); }
.rt-spread-btn:hover:not(.rt-active) .rt-pip { border-color: #a04044; }

.rt-spread-name { font-size: 17px; font-weight: 600; color: #3e3e3e; margin-bottom: 4px; transition: color 0.2s; }
.rt-spread-desc { font-size: 14px; color: #6b5f5a; line-height: 1.5; transition: color 0.2s; }
.rt-spread-btn.rt-active .rt-spread-name { color: #ffffff; }
.rt-spread-btn.rt-active .rt-spread-desc { color: rgba(255,255,255,0.8); }
.rt-spread-btn:hover:not(.rt-active) .rt-spread-name { color: #a04044; }

/* ── Aspect selector ── */
.rt-aspect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 480px) { .rt-aspect-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
.rt-aspect-btn {
  background: #fdfaf4 !important;
  border: 2px solid #d8d0c0 !important;
  color: #3e3e3e !important;
  padding: 14px 6px;
  cursor: pointer; text-align: center; transition: all 0.2s;
  font-family: 'Noto Sans TC', sans-serif; display: block; width: 100%; border-radius: 2px;
}
.rt-aspect-btn:hover { border-color: #a04044 !important; background: #fdf8f8 !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(160,64,68,0.15); }
.rt-aspect-btn.rt-active { background: #a04044 !important; border-color: #a04044 !important; color: #ffffff !important; box-shadow: 0 0 0 3px rgba(160,64,68,0.2); }
.rt-aspect-icon { font-size: 22px; color: #93645d; margin-bottom: 6px; line-height: 1; transition: color 0.2s; }
.rt-aspect-name { font-size: 15px; font-weight: 600; color: #3e3e3e; transition: color 0.2s; }
.rt-aspect-btn.rt-active .rt-aspect-icon { color: rgba(255,255,255,0.9); }
.rt-aspect-btn.rt-active .rt-aspect-name { color: #ffffff; }
.rt-aspect-btn:hover:not(.rt-active) .rt-aspect-name { color: #a04044; }

.rt-result-aspect { font-size: 13px; color: #93645d; margin-top: 6px; letter-spacing: 0.1em; }

/* ── Toggle ── */
.rt-toggle-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; background: #fdfaf4;
  border: 1px solid #d8d0c0; cursor: pointer;
  user-select: none; margin-top: 10px; transition: border-color 0.2s;
}
.rt-toggle-row:hover { border-color: #a04044; }
.rt-toggle-sw {
  position: relative; width: 40px; height: 22px;
  background: #c8bfaf; border-radius: 11px;
  transition: background 0.2s; flex-shrink: 0;
}
.rt-toggle-sw::after {
  content: ''; position: absolute; width: 16px; height: 16px;
  background: white; border-radius: 50%; top: 3px; left: 3px; transition: transform 0.2s;
}
.rt-toggle-sw.rt-on { background: #a04044; }
.rt-toggle-sw.rt-on::after { transform: translateX(18px); }
.rt-toggle-text { font-size: 17px; color: #3e3e3e; font-weight: 500; }
.rt-toggle-sub { font-size: 13px; color: #6b5f5a; margin-top: 3px; }

/* ── Draw button ── */
.rt-draw-btn {
  display: block; width: 100%; padding: 20px;
  background: #a04044; color: white; border: none; cursor: pointer;
  font-family: 'Noto Serif TC', serif;
  font-size: 20px; font-weight: 600; letter-spacing: 0.1em;
  margin-top: 24px; transition: all 0.2s; border-radius: 2px;
}
.rt-draw-btn:hover { background: #7a2f32; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(160,64,68,0.3); }
.rt-draw-btn:active { transform: scale(0.99); }
.rt-draw-btn.rt-loading { background: #93645d; pointer-events: none; }
.rt-draw-btn.rt-loading .rt-draw-text { display: none; }
.rt-draw-btn.rt-loading .rt-draw-loading { display: inline !important; }

/* ── Result ── */
.rt-result { padding: 32px 0 48px; }
.rt-result-header { text-align: center; margin-bottom: 28px; }
.rt-result-title { font-family: 'Noto Serif TC', serif; font-size: 22px; font-weight: 700; color: #3e3e3e; margin-top: 8px; }

/* ── Cards row ── */
.rt-cards-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.rt-flip-hint { text-align: center; font-size: 13px; color: #93645d; margin-bottom: 24px; letter-spacing: 0.05em; }

.rt-card-item { flex: 0 0 auto; width: 130px; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.rt-card-item.rt-revealed { opacity: 1; transform: translateY(0); }
.rt-card-pos-label { font-size: 12px; letter-spacing: 0.16em; color: #93645d; text-align: center; margin-bottom: 8px; text-transform: uppercase; font-weight: 500; }

/* ── Card flip ── */
.rt-card-flip { width: 130px; height: 200px; perspective: 800px; cursor: pointer; }
.rt-card-flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.rt-card-flip.rt-flipped .rt-card-flip-inner { transform: rotateY(180deg); }
.rt-card-back, .rt-card-front {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden; border-radius: 4px;
  border: 1px solid #ccb58a; overflow: hidden;
}
.rt-card-back { background: #f5f3eb; display: flex; align-items: center; justify-content: center; }
.rt-card-back svg { width: 100%; height: 100%; }
.rt-card-front {
  background: linear-gradient(160deg, #2e1f1e 0%, #1a1010 100%);
  transform: rotateY(180deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 8px; position: relative;
}
.rt-card-front::before {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid rgba(204,181,138,0.3); border-radius: 2px; pointer-events: none;
}
.rt-card-num-face { font-size: 11px; color: rgba(204,181,138,0.7); letter-spacing: 0.12em; margin-bottom: 6px; font-family: 'Noto Serif TC', serif; }
.rt-card-glyph { font-size: 30px; margin-bottom: 8px; line-height: 1; }
.rt-card-zh { font-family: 'Noto Serif TC', serif; font-size: 17px; font-weight: 700; color: #f5edd8; margin-bottom: 3px; }
.rt-card-en { font-size: 9px; color: rgba(204,181,138,0.6); letter-spacing: 0.05em; }

/* ── Card label below — hidden until flipped ── */
.rt-card-label-below {
  text-align: center; margin-top: 8px;
  background: #fdfaf4; border: 1px solid #d8d0c0; padding: 7px 6px;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.35s 0.3s, transform 0.35s 0.3s;
  pointer-events: none;
}
.rt-card-item.rt-label-visible .rt-card-label-below {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.rt-card-label-name { font-family: 'Noto Serif TC', serif; font-size: 14px; font-weight: 600; color: #3e3e3e; }
.rt-card-label-orient {
  font-size: 11px; margin-top: 3px; letter-spacing: 0.1em;
  padding: 2px 8px; display: inline-block; border: 1px solid;
}
.rt-card-label-orient.rt-u { border-color: #ccb58a; color: #93645d; }
.rt-card-label-orient.rt-r { border-color: #be97a6; color: #be97a6; }

.rt-card-link { text-align: center; margin-top: 6px; }
.rt-card-link a { font-size: 12px; color: #a04044; text-decoration: none; border-bottom: 1px solid rgba(160,64,68,0.3); }
.rt-card-link a:hover { border-color: #a04044; }

/* ── Observe panel ── */
.rt-observe { background: #f5edd8; border: 1px solid #e8d8b8; border-left: 3px solid #ccb58a; padding: 20px 22px; margin-bottom: 28px; }
.rt-observe-title { font-family: 'Noto Serif TC', serif; font-size: 17px; font-weight: 600; color: #3e3e3e; margin-bottom: 6px; }
.rt-observe-sub { font-size: 14px; color: #3e3e3e; line-height: 1.8; margin-bottom: 16px; }
.rt-sym-label { font-size: 12px; letter-spacing: 0.14em; color: #93645d; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.rt-sym-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-sym-tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px;
  border: 1px solid #c8bfaf; background: #fdfaf4; cursor: pointer;
  font-size: 13px; color: #3e3e3e; border-radius: 2px; transition: all 0.15s; user-select: none;
}
.rt-sym-tag:hover { border-color: #ccb58a; background: #faf2e0; }
.rt-sym-tag.rt-sel { background: #ccb58a; border-color: #ccb58a; color: #2a1f1e; font-weight: 600; }
.rt-sym-check { font-size: 10px; opacity: 0; }
.rt-sym-tag.rt-sel .rt-sym-check { opacity: 1; }
.rt-observe-count { font-size: 13px; color: #3e3e3e; margin-top: 12px; }
.rt-observe-hint { display: none; font-size: 13px; color: #93645d; font-style: italic; margin-top: 10px; line-height: 1.8; }
.rt-observe-hint.rt-show { display: block; }

/* ── Reading blocks ── */
.rt-reading-wrap { border-top: 1px solid #d8d0c0; padding-top: 28px; }
.rt-reading-block { background: #fdfaf4; border: 1px solid #d8d0c0; border-left: 4px solid #a04044; padding: 26px 24px 22px; margin-bottom: 16px; }
.rt-reading-block:nth-child(2) { border-left-color: #ccb58a; }
.rt-reading-block:nth-child(3) { border-left-color: #be97a6; }
.rt-reading-block:nth-child(4) { border-left-color: #93645d; }
.rt-reading-block:nth-child(5) { border-left-color: #ccb58a; }
.rt-reading-pos { font-size: 11px; letter-spacing: 0.22em; color: #93645d; text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
.rt-reading-name { font-family: 'Noto Serif TC', serif; font-size: 22px; font-weight: 700; color: #3e3e3e; margin-bottom: 6px; }
.rt-badge { display: inline-block; font-size: 12px; padding: 3px 10px; border: 1px solid; letter-spacing: 0.1em; margin-bottom: 12px; }
.rt-badge-u { border-color: #ccb58a; color: #93645d; }
.rt-badge-r { border-color: #be97a6; color: #be97a6; }
.rt-reading-kw { font-size: 13px; color: #ccb58a; letter-spacing: 0.05em; margin-bottom: 12px; font-weight: 500; }
.rt-reading-text { font-size: 16px; color: #3e3e3e; line-height: 2; }

.rt-reading-link { display: inline-block; margin-top: 14px; font-size: 13px; color: #a04044; text-decoration: none; border-bottom: 1px solid rgba(160,64,68,0.3); }
.rt-reading-link:hover { border-color: #a04044; }

/* ── CTAs ── */
.rt-cta-div { display: flex; align-items: center; gap: 12px; margin: 32px 0 20px; }
.rt-cta-div::before, .rt-cta-div::after { content: ''; flex: 1; height: 1px; background: #d8d0c0; }
.rt-cta-div span { font-size: 11px; letter-spacing: 0.25em; color: #ccb58a; text-transform: uppercase; white-space: nowrap; }
.rt-cta { border: 1px solid #d8d0c0; padding: 24px 22px 20px; margin-bottom: 14px; }
.rt-cta-a { border-top: 3px solid #a04044; background: #fdfaf4; }
.rt-cta-b { border-top: 3px solid #ccb58a; background: #f5edd8; }
.rt-cta-tag { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.rt-cta-a .rt-cta-tag { color: #a04044; }
.rt-cta-b .rt-cta-tag { color: #93645d; }
.rt-cta-title { font-family: 'Noto Serif TC', serif; font-size: 18px; font-weight: 700; color: #3e3e3e; line-height: 1.5; margin-bottom: 8px; }
.rt-cta-desc { font-size: 14px; color: #6b5f5a; line-height: 1.9; margin-bottom: 16px; }
.rt-cta-btn { display: inline-block; color: white; font-size: 14px; font-weight: 600; padding: 12px 26px; text-decoration: none; letter-spacing: 0.06em; transition: all 0.2s; border-radius: 2px; }
.rt-cta-btn-red { background: #a04044; }
.rt-cta-btn-red:hover { background: #7a2f32; }
.rt-cta-btn-gold { background: #93645d; }
.rt-cta-btn-gold:hover { background: #7a4e49; }

/* ── Redraw ── */
.rt-redraw-wrap { text-align: center; padding: 24px 0 0; }
.rt-redraw-btn { background: transparent; border: 2px solid #d8d0c0; color: #6b5f5a; font-size: 14px; padding: 12px 28px; cursor: pointer; font-family: 'Noto Sans TC', sans-serif; transition: all 0.2s; border-radius: 2px; }
.rt-redraw-btn:hover { border-color: #a04044; color: #a04044; }

/* ── Footer ── */
.rt-footer { text-align: center; padding: 28px 0; border-top: 1px solid #d8d0c0; font-size: 12px; color: #6b5f5a; line-height: 2; margin-top: 8px; }
.rt-footer a { color: #a04044; text-decoration: none; }

@media (max-width: 500px) {
  .rt-card-item { width: 110px; }
  .rt-card-flip { width: 110px; height: 172px; }
  .rt-card-zh { font-size: 14px; }
  .rt-reading-block { padding: 20px 16px; }
}

/* ── Single aspect reading ── */
.rt-asp-single { background: #f5edd8; border: 1px solid #e8d8b8; border-left: 3px solid #ccb58a; padding: 16px 20px; margin-top: 16px; }
.rt-asp-single-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #93645d; margin-bottom: 8px; font-weight: 500; }
.rt-asp-single-text { font-size: 16px; color: #3e3e3e; line-height: 2; }

/* ── Card image ── */
.rt-card-front { padding: 0 !important; overflow: hidden; }
.rt-card-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.rt-card-img-rev { transform: rotate(180deg); }

/* ── Observe hint with meanings ── */
.rt-observe-hint { font-style: normal !important; }
.rt-observe-hint strong { color: #a04044; }

/* ── Download ── */
.rt-download-row { text-align: center; padding: 20px 0 8px; }
.rt-download-btn {
  background: #3e3e3e !important; color: white !important;
  border: none !important; padding: 13px 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'Noto Serif TC', serif; border-radius: 2px;
  transition: background 0.2s; letter-spacing: 0.06em;
  display: inline-block;
}
.rt-download-btn:hover { background: #1a1a1a !important; }
.rt-download-btn:disabled { background: #93645d !important; cursor: not-allowed; }
.rt-download-sub { font-size: 12px; color: #6b5f5a; margin-top: 8px; }

/* ── Symbol meaning display ── */
.rt-observe-hint { line-height: 2; }

/* ── Meditation prompt ── */
.rt-meditation { background: #f5edd8; border-left: 3px solid #ccb58a; padding: 14px 18px; margin-top: 22px; }
.rt-meditation-text { font-family: 'Noto Serif TC', serif; font-size: 17px; color: #3e3e3e; line-height: 1.8; letter-spacing: 0.04em; }

/* ── Timeframe ── */
.rt-timeframe-row { display: flex; align-items: center; gap: 12px; padding: 14px 0 0; flex-wrap: wrap; }
.rt-timeframe-label { font-size: 16px; color: #3e3e3e; font-weight: 500; white-space: nowrap; }
.rt-timeframe-select {
  background: #fdfaf4 !important; border: 1px solid #d8d0c0 !important;
  color: #3e3e3e !important; padding: 9px 14px; font-size: 14px;
  font-family: 'Noto Sans TC', sans-serif; cursor: pointer; border-radius: 2px;
  flex: 1; min-width: 180px;
}
.rt-timeframe-select:focus { outline: none; border-color: #a04044 !important; }

/* ── Result timeframe ── */
.rt-result-timeframe { font-size: 12px; color: #ccb58a; margin-top: 3px; letter-spacing: 0.08em; }

/* ── Personal interpretation ── */
.rt-personal { margin-top: 18px; padding: 18px 20px; background: #fdf8f8; border-left: 3px solid #a04044; border: 1px solid #e8d8d8; border-left-width: 3px; }
.rt-personal-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #a04044; margin-bottom: 8px; font-weight: 500; }
.rt-personal-text { font-size: 16px; color: #3e3e3e; line-height: 2.1; }

/* ── Asp box ── */
.rt-asp-box { margin-top: 14px; }

/* ── Mobile font sizes ── */
@media (max-width: 600px) {
  .rt-header-desc { font-size: 16px; }
  .rt-step-title { font-size: 19px; }
  .rt-spread-name { font-size: 16px; }
  .rt-spread-desc { font-size: 13px; }
  .rt-aspect-name { font-size: 14px; }
  .rt-aspect-icon { font-size: 20px; }
  .rt-toggle-text { font-size: 16px; }
  .rt-toggle-sub { font-size: 13px; }
  .rt-draw-btn { font-size: 19px; padding: 20px; }
  .rt-result-title { font-size: 22px; }
  .rt-flip-hint { font-size: 14px; }
  .rt-card-pos-label { font-size: 13px; }
  .rt-card-label-name { font-size: 15px; }
  .rt-card-label-orient { font-size: 12px; }
  .rt-reading-name { font-size: 21px; }
  .rt-reading-text { font-size: 16px; }
  .rt-reading-kw { font-size: 14px; }
  .rt-badge { font-size: 13px; }
  .rt-asp-single-text { font-size: 16px; }
  .rt-personal-text { font-size: 16px; }
  .rt-observe-sub { font-size: 15px; }
  .rt-observe-count { font-size: 14px; }
  .rt-sym-tag { font-size: 14px; padding: 8px 14px; }
  .rt-observe-hint { font-size: 14px; }
  .rt-cta-title { font-size: 19px; }
  .rt-cta-desc { font-size: 15px; }
  .rt-download-btn { font-size: 16px; padding: 14px 24px; }
  /* Bigger card on mobile */
  .rt-card-item { width: 140px; }
  .rt-card-flip { width: 140px; height: 215px; }
  .rt-card-zh { font-size: 16px; }
  .rt-card-en { font-size: 10px; }
}

/* ── Spread sub-type ── */
.rt-sub-label { font-size: 13px; color: #6b5f5a; margin-bottom: 8px; }
.rt-sub-row { display: flex; gap: 10px; }
.rt-sub-btn {
  flex: 1; padding: 11px 8px; border: 2px solid #d8d0c0; background: #fdfaf4 !important;
  color: #3e3e3e !important; cursor: pointer; font-size: 14px; font-weight: 500;
  font-family: 'Noto Sans TC', sans-serif; border-radius: 2px; transition: all 0.2s;
}
.rt-sub-btn:hover { border-color: #a04044 !important; color: #a04044 !important; }
.rt-sub-btn.rt-active { background: #a04044 !important; border-color: #a04044 !important; color: #ffffff !important; }

/* ── Symbol reading in block ── */
.rt-sym-reading { margin-top: 16px; padding: 16px 18px; background: #f5edd8; border: 1px solid #e8d8b8; border-left: 3px solid #ccb58a; }
.rt-sym-reading-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #93645d; margin-bottom: 10px; font-weight: 500; }
.rt-sym-item { display: block; font-size: 14px; color: #3e3e3e; line-height: 1.8; padding: 4px 0; border-bottom: 1px solid rgba(204,181,138,0.3); }
.rt-sym-item:last-child { border-bottom: none; }
.rt-sym-item strong { color: #a04044; margin-right: 6px; }

/* ── Desktop/mobile download toggle ── */
.rt-download-desktop { display: block; }
.rt-download-mobile { display: none; }
.rt-download-hint { font-size: 14px; color: #6b5f5a; text-align: center; padding: 16px 0; line-height: 1.8; }
@media (max-width: 600px) {
  .rt-download-desktop { display: none; }
  .rt-download-mobile { display: block; }
}

/* ── Observe panel: hide hint (shown in reading instead) ── */
.rt-observe-hint { display: none !important; }
.rt-observe-count { font-size: 13px; color: #6b5f5a; }

/* ── Mobile show image button ── */
.rt-show-img-btn {
  background: #3e3e3e !important; color: white !important;
  border: none !important; padding: 13px 24px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif; border-radius: 2px;
  width: 100%; transition: background 0.2s;
}
.rt-show-img-btn:hover { background: #1a1a1a !important; }
.rt-show-img-btn:disabled { background: #93645d !important; }




/* ── Brand strip (page, text only) ── */
.rt-brand-strip {
  background: #f5f3eb !important;
  border-top: 1px solid #d8d0c0;
  padding: 10px 16px;
  margin-top: 20px;
  text-align: center;
}
.rt-brand-inner { display: flex; justify-content: center; }
.rt-brand-text { font-size: 12px; color: #6b5f5a; line-height: 1.7; }

/* ── Symbol tag hover tooltip ── */
.rt-sym-tag {
  position: relative;
}
.rt-sym-tag::after {
  content: attr(data-meaning);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a1f1e;
  color: #f5edd8;
  font-size: 12px;
  line-height: 1.6;
  padding: 7px 12px;
  border-radius: 3px;
  white-space: normal;
  width: 200px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
  font-weight: 400;
}
.rt-sym-tag::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%; 
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #2a1f1e;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
}
.rt-sym-tag:hover::after,
.rt-sym-tag:hover::before {
  opacity: 1;
}
/* Mobile: show on tap via active state */
.rt-sym-tag:active::after,
.rt-sym-tag:active::before {
  opacity: 1;
}

/* ── Card SVG symbol dots ── */
.rt-sym-dot circle { transition: all 0.2s; }
.rt-sym-dot:hover circle:first-child { r: 5; fill: rgba(160,64,68,0.15); }
.rt-sym-dot-sel circle:first-child { fill: #a04044 !important; }
.rt-sym-dot-sel circle:last-child { fill: white !important; }
/* Pulse animation on unselected dots */
.rt-sym-dot:not(.rt-sym-dot-sel) circle:first-child {
  animation: sym-pulse 2.5s ease-in-out infinite;
}
@keyframes sym-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.45; }
}
