/* Visual theme only. Geometry and animation transforms remain in style.css. */
body.celestial-theme {
 --paper:#081222;--ink:#f0e7d3;--muted:#b5bccb;--rust:#dfc18b;--gold:#d3b073;--line:#b79c692e;
 background:#081222;color:var(--ink);isolation:isolate;color-scheme:dark;
}
.celestial-theme:before {
 content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:1;
 background-image:url('/tarot/assets/starfield.svg'),radial-gradient(ellipse at 0 8%,#29476b55,transparent 36%),radial-gradient(ellipse at 100% 77%,#31466b55,transparent 34%),radial-gradient(ellipse at 43% 38%,#101d37,transparent 64%);
 background-size:1200px 1000px,100% 100%,100% 100%,100% 100%;
}
.celestial-theme:after {content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:url('/tarot/assets/celestial-nebula.svg'),linear-gradient(90deg,transparent,#07101d33 30% 70%,transparent);background-size:cover,100% 100%}
.celestial-theme .top{min-height:94px;border-color:#ba9a5f40}
.celestial-theme .brand img{filter:sepia(.7) saturate(.8) brightness(1.45);opacity:.95}
.celestial-theme .brand-name{color:#f1e6cb;letter-spacing:.2px}
.celestial-theme .brand-name small{color:#d1b781;letter-spacing:2px}
.celestial-theme .nav a,.celestial-theme .nav .lang{color:#d8c9aa}
.celestial-theme .nav a:hover,.celestial-theme .footer-links a:hover{color:#fff0c9}
.celestial-theme .celestial-return{font-family:var(--serif);font-size:13px;letter-spacing:1px}
.celestial-theme .breadcrumbs{font-size:10px;color:#c6b48e;margin-top:22px;opacity:.8}
.celestial-theme .tool-head{grid-template-columns:minmax(0,1fr) 440px;gap:22px;padding:14px 0 28px;min-height:270px}
.celestial-theme .tool-head h1{font-size:clamp(54px,6vw,78px);letter-spacing:4px;font-weight:400;line-height:1.2;margin:20px 0 18px;color:#f4e6c7}
.celestial-theme .tool-head p{color:#d3d3d4;line-height:1.9;max-width:600px}
.celestial-theme .tool-head .tool-meta{font-size:10px;letter-spacing:1.6px;color:#d5b475;margin-top:17px}
.celestial-theme .celestial-hero{display:block;width:100%;height:auto;max-height:295px;object-fit:contain;pointer-events:none}
.celestial-theme .eyebrow{color:#ddc08b}
.celestial-theme .tarot-usage{background:linear-gradient(90deg,#0b162960,#101d3250,#0b162940);padding:0 24px;border-color:#d0ac6d45}
.celestial-theme .tarot-usage summary{padding:21px 0}
.celestial-theme .usage-title{font-size:24px;color:#eadcbd}
.celestial-theme .usage-toggle{color:#cfbc96}
.celestial-theme .usage-number{color:#d7bb82;text-shadow:0 0 16px #cba66326}
.celestial-theme .tarot-usage h3{color:#eadfc6}
.celestial-theme .tarot-usage p,.celestial-theme .usage-questions{color:#bdc3d0}
.celestial-theme .usage-kicker{color:#c6aa77}
.celestial-theme .workbench{
 background:linear-gradient(130deg,#14213be8,#0b1529ed 52%,#111e35ed);border:1px solid #c8a76b9c;
 border-radius:9px;box-shadow:0 18px 70px #0000002b,inset 0 0 65px #6580ad09;padding:34px 34px 29px;
}
.celestial-theme .bench-label{color:#c8b38e;letter-spacing:1.6px}
.celestial-theme .segmented{border-color:#b8a27a6b;background:#b9c4df0b;border-radius:5px;overflow:hidden}
.celestial-theme .segmented button{color:#d9dce4;min-height:43px;padding:9px 23px}
.celestial-theme .segmented button.active{background:linear-gradient(110deg,#b18a54,#efd49e 63%,#c3a16b);color:#192234;box-shadow:inset 0 0 0 1px #eed39e}
.celestial-theme .checkbox-label{color:#d9d9df}
.celestial-theme input[type=checkbox]{accent-color:#d2b27b}
.celestial-theme .deck-preview-link{color:#d8c39b}
.celestial-theme .deck-preview-link:hover{color:#fff0cc}
.celestial-theme .primary{background:linear-gradient(110deg,#be985e,#efdab0 58%,#c9a972);color:#172235;border:1px solid #f1d4a1;box-shadow:0 0 25px #c59a5e16;border-radius:6px;font-family:var(--serif);letter-spacing:.5px}
.celestial-theme .primary:hover{background:linear-gradient(110deg,#d0ae79,#f7e4bc 58%,#d7bb89);box-shadow:0 0 30px #c59a5e24}
.celestial-theme .primary:disabled{opacity:.65}
.celestial-theme .text-btn{color:#d8c39b}
.celestial-theme .text-btn:hover{color:#ffedc8}
.celestial-theme .hint{color:#b4bdd0;line-height:1.8}
.celestial-theme .selection-heading{color:#e2c895}
.celestial-theme .selected-cards{border-color:#d2b27638}
.celestial-theme .selection-slot .position-name{color:#dec79c;letter-spacing:.8px}
.celestial-theme .selection-slot .slot-note{color:#b4bed0}
.celestial-theme .empty-slot{background:#cbd6f305;border-color:#bb9d6650;color:#a5adc1;border-radius:6px}
.celestial-theme .locked-deck{border-color:#a9b9d642;background:#a7bfd609;border-radius:5px}
.celestial-theme .locked-deck>summary{color:#dfcfad;padding:13px 15px}
.celestial-theme .rest-card,.celestial-theme .shuffle-card,.celestial-theme .deck-position,.celestial-theme .slot-back,.celestial-theme .card-turn-back{
 background:#101b31;color:#d7b777;border:1px solid #ceac70;border-radius:6px;
 box-shadow:0 0 0 2px #e0bd7812,0 0 20px #d7a75b16,0 8px 25px #0000004d;
}
.celestial-theme .rest-card:before,.celestial-theme .shuffle-card:before,.celestial-theme .deck-position:before,.celestial-theme .slot-back:before,.celestial-theme .card-turn-back:before{content:none}
.celestial-theme .rest-card>svg,.celestial-theme .shuffle-card>svg{padding:0;width:100%;height:100%;display:block}
.celestial-theme .slot-back,.celestial-theme .card-turn-back{padding:0;overflow:hidden}
.celestial-theme .slot-back>svg,.celestial-theme .card-turn-back>svg{display:block;width:100%;height:100%;max-height:none}
.celestial-theme .slot-back>span,.celestial-theme .card-turn-back-label{display:none}
.celestial-theme .slot-back:not(:disabled){outline:1px solid #e3c18a80;outline-offset:5px}
.celestial-theme .slot-back:not(:disabled):hover{box-shadow:0 0 28px #ddba7433,0 12px 25px #0006}
.celestial-theme .deck-position>svg{inset:0;width:100%;height:100%;opacity:1}
.celestial-theme .deck-position{border-color:#bc9c6277}
.celestial-theme .deck-position:not(:disabled):hover{border-color:#f3dca3;box-shadow:0 0 16px #ddbb6c55}
.celestial-theme .deck-number{color:#ddc58d;background:#0b1529cd;border-radius:3px;padding:0 4px;bottom:7px;left:50%;width:auto;transform:translateX(-50%);font-size:8px;line-height:1.6}
.celestial-theme .deck-position.is-selected{background:#13223b;border-color:#ba9d676b;box-shadow:none}
.celestial-theme .deck-position.is-selected>svg{opacity:0}
.celestial-theme .selection-badge{color:#e6d0a3;background:#25344e;border-color:#c8aa77}
.celestial-theme .draw-flight{box-shadow:0 0 25px #d4b27032,0 20px 35px #0009!important}
.celestial-theme .shuffle-halo{border-color:#c5a77725;background:radial-gradient(ellipse,#52688a22,transparent 68%)}
.celestial-theme .shuffle-shadow{background:#0007}
.celestial-theme .shuffle-announcement{color:#ebd6ae}
.celestial-theme .shuffle-progress{background:#a2acc11a}
.celestial-theme .shuffle-progress>span{background:linear-gradient(90deg,#a27c46,#f0d7a1,#a27c46)}
.celestial-theme .card-sheet{--ink:#354b41;color:#354b41;border-color:#cbb382;box-shadow:0 0 0 2px #c9a67116,0 9px 24px #0005}
.celestial-theme .card-state{color:#cfdfd8;background:#61827820;border-color:#8ba99870}
.celestial-theme .card-state.is-reversed{color:#e4c598;background:#a9825526;border-color:#c09b6c80}
.celestial-theme .card-readable-name{color:#e4d7ba}
.celestial-theme .card-readable-name>span:last-child{color:#b6bfd1}
.celestial-theme .drawn-card .orientation{color:#c9b58d}
.celestial-theme .drawn-card p{color:#bfc5d1}
.celestial-theme .drawn-card .reflection{color:#e2d3b5}
.celestial-theme .result-title h2,.celestial-theme .method h2,.celestial-theme .policy h1,.celestial-theme .policy h2{color:#e5d1a9}
.celestial-theme .combination-panel,.celestial-theme .reading-combination,.celestial-theme .combination-reading{background:#14213b80;border-color:#bca16b66}
.celestial-theme .combo-reading{background:linear-gradient(135deg,#17243bc9,#0d1729e0);border-color:#ba9d6866;padding:28px 24px}
.celestial-theme .combo-reading h2,.celestial-theme .combo-reading h3{color:#e5d0a7}
.celestial-theme .combo-reading p,.celestial-theme .combo-reading li{color:#c1c8d6}
.celestial-theme .combo-reading strong{color:#e9d9bb}
.celestial-theme .combo-columns aside{background:#7285a412;border-color:#b59b6755}
.celestial-theme .combo-question{border-color:#b59b6744}
.celestial-theme .catalogue-orientation{border-color:#b6a17966;background:#10203b}
.celestial-theme .catalogue-orientation button{color:#d2c5ab}
.celestial-theme .catalogue-orientation button[aria-pressed=true]{background:#d4b57c;color:#172237}
.celestial-theme .catalogue-filters button{color:#aeb8ca}
.celestial-theme .catalogue-filters button[aria-pressed=true]{color:#e4c690;border-color:#d2b075}
.celestial-theme .catalogue-card>p,.celestial-theme .method p,.celestial-theme .method li,.celestial-theme .policy p{color:#b8c1d0}
.celestial-theme .policy a,.celestial-theme .method strong{color:#e6cd9c}
.celestial-theme footer{border-color:#bfa16b40;color:#aeb6c7}
.celestial-theme .footer-links a{color:#d3bf98}
.celestial-theme .skip{background:#d5ba86;color:#101d33}
.celestial-theme :focus-visible{outline-color:#f6daa3}
@media(min-width:1400px){.celestial-theme .tool-head{min-height:320px}}
@media(max-width:900px){.celestial-theme .tool-head{grid-template-columns:minmax(0,1fr) 300px;gap:6px}.celestial-theme .tool-head h1{font-size:60px}.celestial-theme .workbench{padding:28px 24px}}
@media(max-width:640px){
 .celestial-theme .top{min-height:86px;gap:12px}.celestial-theme .brand{gap:8px}.celestial-theme .brand img{width:36px;height:36px}.celestial-theme .brand-name{font-size:20px}.celestial-theme .brand-name small{font-size:7px;letter-spacing:1px}
 .celestial-theme .nav{gap:12px}.celestial-theme .nav .lang{padding-left:13px;font-size:10px}.celestial-theme .celestial-return{font-size:10px;letter-spacing:0}
 .celestial-theme .breadcrumbs{font-size:9px;margin-top:20px}.celestial-theme .tool-head{grid-template-columns:minmax(0,1fr) 125px;gap:4px;padding:25px 0 30px;min-height:230px}.celestial-theme .tool-head h1{font-size:48px;margin:16px 0;letter-spacing:3px}.celestial-theme .tool-head p{font-size:11px;line-height:1.9}.celestial-theme .tool-head .tool-meta{font-size:8px;letter-spacing:.5px}.celestial-theme .tool-head .eyebrow{font-size:8px;letter-spacing:1px}.celestial-theme .celestial-hero{width:190px;max-width:none;margin-left:-22px;opacity:.85}.celestial-theme .tool-head{overflow:hidden}
 .celestial-theme .tarot-usage{padding:0 15px;margin-bottom:22px}.celestial-theme .tarot-usage summary{gap:12px;padding:18px 0}.celestial-theme .usage-title{font-size:21px}.celestial-theme .usage-toggle{font-size:9px}.celestial-theme .usage-kicker{font-size:8px}
 .celestial-theme .workbench{padding:22px 15px;border-radius:6px}.celestial-theme .bench-label{font-size:8px;letter-spacing:.8px;gap:10px}.celestial-theme .segmented button{padding:8px 17px;font-size:11px}.celestial-theme .checkbox-label{font-size:10px}.celestial-theme .deck-preview-link{font-size:10px}
 .celestial-theme .deck-position{border-width:1px;border-radius:3px}.celestial-theme .deck-number{font-size:6px;bottom:4px;padding:0 2px}.celestial-theme .selection-badge{font-size:7px}
 .celestial-theme .primary{font-size:12px;letter-spacing:0}.celestial-theme .selection-heading{font-size:9px;letter-spacing:.5px}.celestial-theme .selection-slot .position-name{font-size:8px;letter-spacing:0}.celestial-theme .slot-back>span,.celestial-theme .card-turn-back-label{font-size:5px;letter-spacing:.5px}.celestial-theme .slot-back:not(:disabled){outline-offset:3px}
 .celestial-theme .hint{font-size:10px}.celestial-theme .locked-deck>summary{font-size:10px;padding:11px}.celestial-theme .tarot-catalogue>summary{font-size:21px}
 .celestial-theme .combo-reading{padding:23px 16px}
}
@media(max-width:370px){.celestial-theme .brand-name{font-size:17px}.celestial-theme .brand img{width:30px;height:30px}.celestial-theme .nav{gap:9px}.celestial-theme .nav .lang{padding-left:9px}.celestial-theme .celestial-return{font-size:9px}.celestial-theme .tool-head{grid-template-columns:minmax(0,1fr) 95px}.celestial-theme .celestial-hero{width:155px}.celestial-theme .usage-title{font-size:19px}}
