.daily-tarot {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px 24px;
  width: 100%; max-width: 680px; box-sizing: border-box; padding: 24px;
  border: 1px solid #c6ac753d; border-radius: 16px; background: #0e1822;
  color: #dce5eb; font: 400 14px/1.75 "Segoe UI", "Microsoft YaHei", sans-serif;
}
.daily-tarot p, .daily-tarot h3 { margin: 0; }
.daily-tarot .tarot-date { color: #9ba9b5; font-size: 12px; margin-bottom: 8px; }
.daily-tarot .tarot-title { color: #f1e5c8; font-size: 20px; line-height: 1.5; font-weight: 600; }
.tarot-orientation { font-size: 12px; font-weight: 400; color: #b9c6d2; margin-left: 12px; }
.daily-tarot .tarot-keyword { color: #d5ba81; margin: 7px 0 12px; }
.daily-tarot .tarot-action-label { color: #afc8db; font-size: 12px; margin-top: 14px; }
.daily-tarot .tarot-footer { grid-column: 1 / -1; color: #8a9aa8; font-size: 11px; border-top: 1px solid #ffffff12; padding-top: 12px; }
body[data-ui-mode="full-body"] .battle-chat-mount .daily-tarot .tarot-date,
body[data-ui-mode="full-body"] .battle-chat-mount .daily-tarot .tarot-action-label { font-size: 12px; }
body[data-ui-mode="full-body"] .battle-chat-mount .daily-tarot .tarot-footer { font-size: 11px; }
.tarot-art { --tarot-accent: #d9bd7e; --tarot-shade: #4b3b26; height: 210px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 13px 8px; box-sizing: border-box; overflow: hidden; border: 1px solid #d9bd7e66; border-radius: 9px;
  color: var(--tarot-accent); background: radial-gradient(ellipse at center, var(--tarot-shade), #101724 78%);
}
.tarot-art::before { content: ''; position: absolute; inset: 5px; border: 1px solid #d9bd7e30; border-radius: 5px; pointer-events: none; }
.tarot-blue { --tarot-accent: #a2cce1; --tarot-shade: #203d59; }
.tarot-violet { --tarot-accent: #c6b0e9; --tarot-shade: #3c2a53; }
.tarot-rose { --tarot-accent: #e4b0bc; --tarot-shade: #4e2c3e; }
.tarot-green { --tarot-accent: #b0d2ba; --tarot-shade: #25483e; }
.tarot-numeral { font: 12px Georgia, serif; letter-spacing: 2px; }
.tarot-art-name { text-align: center; font: 8px/1.7 Georgia, serif; letter-spacing: 1px; max-width: 100%; }
.tarot-constellation { width: 94px; height: 116px; position: relative; display: grid; place-items: center; }
.tarot-constellation::before, .tarot-constellation::after { content: '✦'; position: absolute; font-size: 9px; top: 2px; left: 8px; opacity: .8; }
.tarot-constellation::after { top: auto; left: auto; bottom: 4px; right: 6px; }
.tarot-orbit { width: 74px; height: 74px; position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .25; }
.tarot-orbit::after { content: ''; position: absolute; inset: -9px 12px; border: 1px solid currentColor; transform: rotate(35deg); }
.tarot-symbol { font: 42px Georgia, serif; z-index: 1; text-shadow: 0 0 26px var(--tarot-accent); }
.tarot-art.reversed .tarot-constellation { transform: rotate(180deg); }
.tarot-illustration {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
  border-radius: 4px;
  background: #101724;
}
.tarot-art.reversed .tarot-illustration { transform: rotate(180deg); }
.vision-sidebar-footer > :is([data-daily-tarot], [data-tarot-focus]) { width: 100%; padding: 10px 12px; text-align: left; border: 1px solid #8ab8cd30; border-radius: 8px; background: #0d2130; color: #c7dce8; font: inherit; cursor: pointer; }
:is([data-daily-tarot], [data-tarot-focus]):disabled { opacity: .6; cursor: wait; }
.daily-tarot.tarot-spread { display: flex; flex-direction: column; max-width: 760px; gap: 18px; padding: 22px; }
.tarot-spread-heading .tarot-date { margin-bottom: 3px; }
.tarot-spread-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; isolation: isolate; }
.tarot-spread-slot { min-width: 0; margin: 0; text-align: center; --deal-x: 0px; --tilt: 0deg; }
.tarot-spread-slot:first-child { --deal-x: calc(100% + 16px); --tilt: -8deg; }
.tarot-spread-slot:last-child { --deal-x: calc(-100% - 16px); --tilt: 8deg; }
.daily-tarot .tarot-position { margin-bottom: 9px; color: #a8bdca; font-size: 12px; }
.tarot-deal-holder { height: 176px; width: 100%; perspective: 900px; }
.tarot-flipper { position: relative; width: 112px; height: 176px; margin: auto; transform-style: preserve-3d; }
.tarot-flipper > .tarot-art, .tarot-flipper > .tarot-back { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tarot-flipper > .tarot-back { transform: rotateY(180deg); }
.tarot-back { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  border: 1px solid #c9b18080; border-radius: 9px; color: #ddc994;
  background: repeating-linear-gradient(45deg, #d5bd7e06 0 1px, transparent 1px 10px), radial-gradient(ellipse at center, #34314b, #101c2b 80%);
  box-shadow: inset 0 0 0 5px #101a28, inset 0 0 0 6px #c9b18038;
}
.tarot-back-symbol { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #d2bb8060; border-radius: 50%; font: 35px Georgia, serif; }
.tarot-back-label { font: 7px Georgia, serif; letter-spacing: 2px; }
.tarot-card-button { display:block; width:100%; border:0; padding:0; background:transparent; color:inherit; cursor:pointer; border-radius:10px; }
.tarot-card-button:focus-visible { outline:2px solid #d6bd85; outline-offset:5px; }
.tarot-card-button:disabled { cursor:wait; }
.tarot-card-button:not(:disabled):hover .tarot-back { border-color:#ecd59c; box-shadow:inset 0 0 0 5px #101a28,inset 0 0 0 6px #c9b18038,0 0 22px #d5bd7e18; }
.tarot-session .tarot-flipper.is-face-down { transform:rotateY(180deg); }
.tarot-session .tarot-session-progress { color:#d2bf94; font-size:12px; margin-top:5px; }
.tarot-session .tarot-session-prompt { color:#a9bbc9; font-size:13px; }
.tarot-card-invitation { color:#bda77d; font-size:12px; }
.tarot-session .is-selected .tarot-position { color:#ecd59c; }
.tarot-current-reading { padding:16px 18px; border:1px solid #b7cbd51f; background:#172633; border-radius:12px; }
.daily-tarot .tarot-reading-eyebrow { color:#a9bfce; font-size:12px; margin:0 0 7px; }
.tarot-current-reading .tarot-reading-title { font-size:16px; color:#eadbbc; }
.tarot-session .tarot-current-reading .tarot-keyword { margin:5px 0 10px; }
.tarot-synthesis { padding:16px 0 0; border-top:1px solid #d4bc8029; }
.tarot-session .tarot-synthesis .tarot-summary { padding-top:0; border:0; }
.tarot-session-feedback { color:#cbb889; font-size:12px; }
.tarot-session-feedback:empty { display:none; }
.tarot-followup { border-top:1px solid #ffffff17; padding-top:12px; color:#baceD9; }
.tarot-followup > summary { cursor:pointer; font-size:13px; }
.tarot-followup-form { display:grid; gap:10px; margin-top:12px; }
.tarot-followup-label { display:grid; gap:7px; font-size:12px; color:#a9bdca; }
.tarot-followup-question { width:100%; min-height:68px; max-height:160px; resize:vertical; box-sizing:border-box;
  padding:10px; border:1px solid #ffffff26; border-radius:8px; background:#0b1721; color:#dce5eb; font:inherit; font-size:14px; }
.tarot-followup-submit { justify-self:end; border:1px solid #cfb87970; border-radius:8px; background:#302d28; color:#ead9ae; padding:8px 14px; cursor:pointer; font:inherit; font-size:13px; }
.tarot-followup-submit:disabled { opacity:.6; cursor:wait; }
.daily-tarot.tarot-focus-setup { grid-template-columns:minmax(0,1fr); gap:8px; max-width:640px; }
.tarot-focus-setup .tarot-session-prompt { color:#a9bbc9; font-size:13px; }
.tarot-focus-setup .tarot-followup-form { margin-top:8px; gap:12px; }
.tarot-focus-input { width:100%; box-sizing:border-box; padding:9px 10px; border:1px solid #ffffff26;
  border-radius:8px; background:#0b1721; color:#dce5eb; font:inherit; font-size:14px; }
textarea.tarot-focus-input { resize:vertical; min-height:66px; }
.tarot-birth-options { border:1px solid #ffffff26; border-radius:8px; }
.tarot-birth-options > summary { padding:9px 10px; color:#e4d7b5; font-size:13px; cursor:pointer; }
.tarot-birth-fields { min-width:0; margin:0; padding:0 10px 10px; border:0; }
.tarot-focus-setup .tarot-birth-tip { color:#a9bdca; font-size:12px; margin:0 0 10px; }
.tarot-birth-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.tarot-birth-calendar { grid-column:1 / -1; }
.tarot-focus-status { color:#baced9; font-size:13px; margin:6px 0 0; }
.daily-tarot .tarot-meter-note { color:#8fa4b3; font-size:11px; }
.tarot-session.is-drawing .is-new .tarot-flipper { animation:tarot-user-flip .75s both ease-in-out; }
.tarot-session.is-drawing .tarot-current-reading { animation:tarot-reading-in .25s .65s both ease-out; }
.tarot-session.is-drawing .tarot-synthesis { animation:tarot-reading-in .25s .85s both ease-out; }
@keyframes tarot-user-flip { 0%,12% { transform:rotateY(180deg); } 100% { transform:rotateY(0); } }
.tarot-card-caption { padding-top: 10px; }
.daily-tarot .tarot-card-name { display: inline; margin: 0; color: #eddfbf; font-size: 14px; font-weight: 600; }
.tarot-card-orientation { margin-left: 6px; color: #97aab9; font-size: 11px; white-space: nowrap; }
.daily-tarot .tarot-card-caption .tarot-keyword { margin: 4px 0 0; font-size: 12px; }
.tarot-readings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.daily-tarot .tarot-reading-title { margin: 0 0 6px; color: #c7d7e0; font-size: 13px; font-weight: 600; line-height: 1.7; }
.daily-tarot .tarot-summary { color: #cfbf9c; padding-top: 14px; border-top: 1px solid #ffffff12; white-space: pre-line; }
.daily-tarot .tarot-spread-action { padding: 12px 15px; background: #25344380; border-radius: 9px; }
.daily-tarot .tarot-spread-action .tarot-action-label { margin: 0 0 3px; }
.tarot-loading { padding: 22px; width: 100%; max-width: 760px; min-height: 210px; box-sizing: border-box; text-align: center; border: 1px solid #c6ac753d; border-radius: 16px; background: #0e1822; }
.tarot-shuffling-deck { position: relative; height: 118px; width: 78px; margin: 0 auto 20px; }
.tarot-shuffling-deck .tarot-back { position: absolute; inset: 0; animation: tarot-shuffle 1.1s ease-in-out infinite; --direction: 1; }
.tarot-shuffling-deck .tarot-back:nth-child(2) { --direction: -1; animation-delay: -.36s; }
.tarot-shuffling-deck .tarot-back:nth-child(3) { animation-delay: -.72s; }
.tarot-shuffling-deck .tarot-back-symbol { width: 36px; height: 36px; font-size: 26px; }
.tarot-loading .tarot-loading-title { color: #eadbbc; margin: 0 0 5px; font-size: 14px; }
.tarot-loading .tarot-loading-hint { color: #91a7b8; margin: 0; font-size: 12px; }
.is-revealing .tarot-deal-holder { animation: tarot-deal 1.35s calc(var(--card-index) * .13s) both cubic-bezier(.22,.6,.25,1); }
.is-revealing .tarot-flipper { animation: tarot-flip 1.35s calc(var(--card-index) * .13s) both ease-in-out; }
.is-revealing .tarot-card-caption { animation: tarot-reading-in .3s calc(1.1s + var(--card-index) * .13s) both ease-out; }
.is-revealing .tarot-summary, .is-revealing .tarot-readings, .is-revealing .tarot-spread-action,
.is-revealing .tarot-footer { animation: tarot-reading-in .35s 1.45s both ease-out; }
@keyframes tarot-shuffle { 0%,100% { transform: translateX(0) rotate(0); } 40% { transform: translateX(calc(var(--direction) * 28px)) rotate(calc(var(--direction) * 9deg)); } }
@keyframes tarot-deal { 0% { transform: translateX(var(--deal-x)) rotate(var(--tilt)) scale(.94); } 22% { transform: translateX(var(--deal-x)) rotate(3deg) scale(.94); } 58%,100% { transform: translateX(0) rotate(0) scale(1); } }
@keyframes tarot-flip { 0%,58% { transform: rotateY(180deg); } 92%,100% { transform: rotateY(0); } }
@keyframes tarot-reading-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) {
  .daily-tarot.tarot-spread { padding: 16px; gap: 16px; }
  .tarot-spread-cards { gap: 10px; }
  .tarot-spread-slot:first-child { --deal-x: calc(100% + 10px); }
  .tarot-spread-slot:last-child { --deal-x: calc(-100% - 10px); }
  .tarot-flipper { width: min(76px, 100%); height: 120px; }
  .tarot-deal-holder { height: 120px; }
  .tarot-card-orientation { display: block; margin: 0; }
  .tarot-readings { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tarot-flipper .tarot-back-symbol { width: 36px; height: 36px; font-size: 26px; }
  .tarot-flipper .tarot-back-label { font-size: 5px; letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .tarot-loading *, .is-revealing *, .tarot-session.is-drawing * { animation: none !important; }
}
@media (max-width: 560px) {
  .daily-tarot { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .tarot-art { height: 132px; padding: 10px 5px; }
  .tarot-constellation { width: 62px; height: 76px; }
  .tarot-symbol { font-size: 30px; }
  .tarot-orbit { width: 46px; height: 46px; }
  .tarot-art-name { font-size: 6px; letter-spacing: .5px; }
  .daily-tarot .tarot-title { font-size: 18px; }
  .tarot-orientation { margin-left: 8px; }
}

.tarot-joint-fallback { color: var(--text-muted, #91a7b4); font-size: .9em; line-height: 1.6; }
