.three-progress { display:flex; align-items:center; gap:8px; font-size:10px; color:#567362; margin:12px 0 22px; }
.three-progress i { height:1px; flex:1; background:#dce9e0; }
.three-spread { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; scroll-margin-top:12px; }
.three-slot { min-width:0; text-align:center; }
.three-slot-art { aspect-ratio:4/7; border:1px dashed #b5cbbd; border-radius:8px; display:grid; place-items:center; background:#f4f9f5; overflow:hidden; perspective:600px; }
.three-slot-art button { position:relative; display:block; width:100%; height:100%; border:0; padding:0; background:none; cursor:pointer; }
.three-slot img { display:block; width:100%; height:100%; object-fit:contain; opacity:0; }
.three-slot.is-open img { opacity:1; }
.three-slot-loading { position:absolute; inset:0; display:grid; place-items:center; color:#597362; font:600 11px var(--font); }
.three-slot.is-open .three-slot-loading { display:none; }
.three-slot.is-image-error .three-slot-loading { color:#b42318; }
.three-slot em { font-size:25px; font-style:normal; color:#789782; }
.three-slot>span { display:block; font-size:10px; margin:8px 0 2px; color:#597362; }
.three-slot strong { display:block; font-size:12px; color:#234d33; line-height:1.5; }
.three-slot .three-remove { border:0; background:transparent; color:#69776e; text-decoration:underline; text-underline-offset:3px; font:500 10px var(--font); min-height:44px; padding:4px 10px; cursor:pointer; }
.three-swipe-hint { text-align:center; color:#69776e; font-size:11px; margin:0 0 8px; }
.three-pile { position:relative; display:flex; height:246px; overflow-x:auto; overflow-y:hidden; padding:16px 0 0; box-sizing:border-box; background:#eef6f0; border:1px solid #dce9e0; border-radius:8px; scrollbar-width:none; overscroll-behavior-x:contain; touch-action:pan-x pan-y; cursor:grab; user-select:none; -webkit-user-select:none; }
.three-pile::-webkit-scrollbar { display:none; }
.three-pile::before,.three-pile::after { content:''; flex:0 0 calc(50% - 28px); }
.three-pile.is-dragging { cursor:grabbing; }
.three-fan-card { position:relative; flex:0 0 56px; height:196px; z-index:1; transform:translateY(0); transition:transform 180ms cubic-bezier(0.23,1,0.32,1); }
.three-fan-card.is-centered { transform:translateY(-16px); z-index:2; }
.three-pile.is-keyboard .three-fan-card { transition:none; }
.three-fan-card button { position:absolute; top:6px; left:50%; margin-left:-52px; width:104px; height:182px; padding:0; border:0; border-radius:5px; background:#163d2a; cursor:inherit; overflow:hidden; transform-origin:50% 140%; transition:opacity 140ms ease-out; box-shadow:0 3px 8px #173c2d24; }
.three-fan-card img { display:block; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.three-fan-card button:disabled { opacity:.3; cursor:default; }
.three-page { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:6px 0 12px; font-size:11px; color:#567362; }
.three-page button { width:44px; height:44px; background:transparent; border:0; color:#087e39; font-size:22px; cursor:pointer; }
.three-page button:disabled { color:#aab7ad; }
.tarot-panel [data-tarot-select][hidden] { display:none; }
.tarot-panel [data-tarot-read] { width:100%; min-height:48px; }
.tarot-panel [data-tarot-read]:disabled { background:#dce8df; color:#546b5b; }
.three-count { display:flex; align-items:center; justify-content:space-between; color:#526f5b; font-size:12px; margin:12px 0; }
.three-count button { background:none; border:0; min-height:44px; color:#526b59; font:inherit; cursor:pointer; }
.three-count [data-tarot-reset] { width:44px; display:grid; place-items:center; border:1px solid #d1e8d1; border-radius:8px; color:#087e39; }
.three-reading-loader { display:flex; flex-direction:column; align-items:center; gap:10px; padding:40px 12px 26px; margin:12px 0; border:1px solid #586447; border-radius:8px; background:radial-gradient(ellipse at 50% 40%,#24493f,#102c26 65%,#0d221e); text-align:center; overflow:hidden; }
.three-reading-loader[hidden],.tarot-panel [data-tarot-read][hidden] { display:none; }
.three-reading-loader:focus { outline:none; }
.three-reading-loader strong { position:relative; font-size:14px; color:#f5e8bf; }
.three-reading-loader>span { position:relative; font-size:11px; color:#c2d5cc; }
.three-crystal { position:relative; isolation:isolate; width:146px; height:146px; margin:2px 0 52px; border:1px solid #b3cbb5; border-radius:50%; background:radial-gradient(ellipse at 24% 17%,#e9fff099,transparent 26%),radial-gradient(ellipse at 52% 84%,#b4dab77a,transparent 35%),radial-gradient(ellipse at 74% 36%,#567b7955,transparent 42%),radial-gradient(circle at 45% 44%,#29534f 5%,#152d31 57%,#071c20 83%,#8aa58e 100%); box-shadow:inset 2px 2px 5px #e2f5d680,inset -8px -12px 22px #020f17b3,inset 0 -2px 5px #b5e8c4,0 0 24px #84cbb82e,0 16px 24px #020e0d80; }
.three-crystal::before { content:''; position:absolute; inset:5px; border:1px solid #e9fff936; border-radius:50%; }
.three-crystal-aura { position:absolute; z-index:-1; inset:-38px; pointer-events:none; border-radius:50%; background:radial-gradient(ellipse at 30% 32%,#73edce70,transparent 50%),radial-gradient(ellipse at 76% 65%,#e8c98255,transparent 48%),radial-gradient(circle,#7bcfbb33,transparent 70%); animation:tarot-aura-breathe 2.4s linear infinite alternate; }
.three-crystal-aura::before,.three-crystal-aura::after { content:''; position:absolute; inset:6px; border-radius:50%; background:conic-gradient(from 35deg,transparent 0deg,#b7f9de66 65deg,transparent 115deg,transparent 180deg,#e7c98355 235deg,transparent 290deg); mask-image:radial-gradient(circle,transparent 32%,#000 55%,transparent 71%); animation:tarot-crystal-turn 6s linear infinite; }
.three-crystal-aura::after { inset:13px; animation-direction:reverse; animation-duration:8s; opacity:.6; }
.three-crystal-energy { position:absolute; z-index:2; width:218px; height:76px; top:35px; left:-37px; border-radius:50%; border:1px solid #edd69955; border-left-color:transparent; border-right-color:transparent; box-shadow:0 -3px 12px #9aecd222,inset 0 3px 10px #e6d18b18; pointer-events:none; animation:tarot-energy-orbit 6s linear infinite; }
.three-crystal-energy::before,.three-crystal-energy::after { content:''; position:absolute; width:5px; height:5px; border-radius:50%; background:#fff4c8; box-shadow:0 0 9px 3px #f8d58288; top:9px; left:23px; }
.three-crystal-energy::after { top:auto; left:auto; bottom:9px; right:23px; background:#a9f5d9; }
.three-crystal-sparks { position:absolute; z-index:2; inset:-28px; pointer-events:none; animation:tarot-sparks-rise 3s linear infinite; }
.three-crystal-sparks::before { content:''; position:absolute; top:44px; left:0; width:3px; height:3px; border-radius:50%; background:#ffeab1; box-shadow:12px 62px 3px #b6f3d8,25px -21px 2px #e4c984,142px 5px 2px #ffeab1,128px 65px 2px #c1f5dc,76px -17px 2px #fff4cc; }
.three-crystal-sparks::after { content:''; position:absolute; top:10px; right:7px; width:7px; height:7px; background:#f8e5ac; clip-path:polygon(50% 0,56% 44%,100% 50%,56% 56%,50% 100%,44% 56%,0 50%,44% 44%); }
.three-crystal-mist { position:absolute; inset:9px; border-radius:50%; background:radial-gradient(ellipse at 30% 65%,#a5d9d063,transparent 44%),radial-gradient(ellipse at 70% 30%,#c2b6db40,transparent 38%),conic-gradient(from 20deg,transparent,#80ab9a38,transparent 35%,#c8ce9e30,transparent 75%); animation:tarot-crystal-turn 12s linear infinite; }
.three-crystal-mist::after { content:''; position:absolute; inset:8px; border-radius:50%; background:radial-gradient(ellipse at 65% 65%,#d5e0a447,transparent 40%),radial-gradient(ellipse at 28% 40%,#7fabb459,transparent 46%); animation:tarot-crystal-turn 9s linear infinite reverse; }
.three-crystal-stars { position:absolute; inset:0; width:100%; height:100%; color:#ffe8a1; }
.crystal-star-main { transform-origin:51px 50px; animation:tarot-crystal-glow 1.4s linear infinite alternate; }
.three-crystal-glint { position:absolute; left:20px; top:14px; width:42px; height:13px; border-radius:50%; background:linear-gradient(150deg,#fff9,#fff0); transform:rotate(-38deg); }
.three-crystal-base { position:absolute; bottom:-43px; left:3px; width:140px; height:64px; filter:drop-shadow(0 7px 5px #020e0d80); }
@keyframes tarot-crystal-turn { to { transform:rotate(360deg); } }
@keyframes tarot-crystal-glow { from { opacity:.65; transform:scale(.94); } to { opacity:1; transform:scale(1); } }
@keyframes tarot-aura-breathe { from { opacity:.6; transform:scale(.94); } to { opacity:1; transform:scale(1.08); } }
@keyframes tarot-energy-orbit { from { transform:rotate(-24deg); opacity:.7; } 50% { transform:rotate(6deg); opacity:1; } to { transform:rotate(-24deg); opacity:.7; } }
@keyframes tarot-sparks-rise { 0% { opacity:0; transform:translateY(12px); } 25%,70% { opacity:1; } 100% { opacity:0; transform:translateY(-18px); } }
@media(prefers-reduced-motion:reduce) { .three-crystal-mist,.three-crystal-mist::after,.crystal-star-main,.three-crystal-aura,.three-crystal-aura::before,.three-crystal-aura::after,.three-crystal-energy,.three-crystal-sparks { animation:none; } }
.three-result .tarot-result { border-top:0; margin:0; padding:0; }
.three-overview { background:#f1f9f3; border:1px solid #d1e8d1; border-radius:8px; padding:18px 16px; margin:20px 0; }
.three-overview small { color:#087b39; font-size:11px; font-weight:700; }
.three-overview h3 { font-size:19px; line-height:1.5; color:#1c482f; letter-spacing:-.4px; margin:8px 0 12px; }
.three-overview p,.three-detail p { font-size:13px; color:#4d6354; line-height:1.85; margin:8px 0; }
.three-overview p strong,.three-detail p strong { color:#204d32; font-weight:800; }
.three-chain { display:flex; flex-wrap:wrap; gap:6px; align-items:center; justify-content:center; font-size:11px; color:#496d56; padding:14px 0; border-block:1px solid #dfebe2; margin-bottom:16px; }
.three-chain span { color:#789582; }
.three-detail { padding:15px 0; border-bottom:1px solid #e4ece6; }
.three-detail summary { cursor:pointer; font-size:13px; color:#1e482f; font-weight:750; min-height:44px; line-height:1.6; }
.three-detail small { color:#80682f; font-size:11px; }
@keyframes tarot-front-open { from { opacity:0; transform:rotateY(-85deg) scale(.94); } to { opacity:1; transform:rotateY(0) scale(1); } }
@media(prefers-reduced-motion:no-preference) { .three-slot.is-open img { animation:tarot-front-open .4s ease-out both; } }
@media(prefers-reduced-motion:reduce) { .three-fan-card,.three-fan-card button { transition:none; } }
