:root{--bg:#f7f4ec;--panel:#fffdf8;--panel2:#f4efe3;--muted:#686d72;--white:#27394b;--gold:#9f7739;--gold2:#805d2e;--line:#d9c9a8;--teal:#557787}
body{background:#f7f4ec;color:#263849;font-size:15px;line-height:1.65}
body:before{background:radial-gradient(ellipse at 92% 5%,#badbf057,transparent 46%),radial-gradient(ellipse at 0% 70%,#f4e8d8a0,transparent 48%)}
aside{background:#fdfbf6e8;border-color:#dfd5c2;box-shadow:5px 0 30px #544b3610}
.logo{border-bottom:1px solid var(--line)}.mark{background:#f3e8cd;border:1px solid #b89964;color:#77582e;box-shadow:inset 0 0 0 3px #fffaf0}.logot{color:#273e55}.logos,.navlabel,.aside-bottom{color:#797d7b}.nav{color:#526273}.nav span.ico{color:#a38456}.nav.active,.nav:hover{background:#e8eff2;color:#24425a}.nav.active{box-shadow:inset 3px 0 #a78955}.dot{background:#7ba897}.top{color:#687c85}.top .tag{color:#83673e;border-color:#cbb893}.eyebrow{color:#9e7640}
.hero{min-height:430px;padding:48px clamp(30px,5vw,65px);background:linear-gradient(115deg,#e9f2f3 0%,#f9f5e9 55%,#e2e9e3 100%);border:1px solid #d5c6a4;box-shadow:0 18px 44px #576d7117}
.hero:before{right:7%;top:10%;width:350px;height:350px;box-shadow:0 0 0 25px #bca37612,0 0 0 60px #bca3760a;border-color:#bda87a66}.hero:after{content:"✦";font-size:180px;color:#bea46730;right:30%;top:0}
.hero-copy{width:58%;position:relative;z-index:2}.hero h1{font-size:clamp(36px,4vw,55px);color:#2e4c5c;letter-spacing:.1em;line-height:1.42}.hero p{font-size:15px;color:#526773;line-height:1.95}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero button{margin:0}
.hero-art{position:absolute;inset:0 0 0 55%;pointer-events:none}.hero-card{position:absolute;width:min(38%,190px);height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:11px;box-shadow:0 20px 35px #263e4655,0 0 0 5px #fff8e7;top:50%;left:20%;transform:translateY(-49%) rotate(-10deg)}.hero-card-back{left:49%;transform:translateY(-45%) rotate(12deg)}.hero-card-front{z-index:1}.hero-spark{position:absolute;right:9%;top:14%;font-size:72px;color:#bf9d61}
.primary{background:#315c74;border-color:#315c74;color:#fffdf7;box-shadow:0 5px 15px #30546f2e}.primary:hover{background:#24485d}.ghost{background:#fffdf899;border-color:#c6b28d;color:#395367}.ghost:hover{border-color:#9c773b;background:white}
.deck-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:37px 0 15px;color:#806035;font-family:'Noto Serif TC',serif;letter-spacing:.1em}.deck-intro span:last-child{font-family:inherit;font-size:13px;color:#788389}
.deck-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.deck-tile{min-width:0;display:flex;align-items:center;gap:16px;padding:15px;text-align:left;background:#fffdf8;border:1px solid #d9c8a6;border-radius:16px;color:#314756;box-shadow:0 8px 20px #5268780e;transition:transform .2s,box-shadow .2s}.deck-tile:hover{transform:translateY(-4px);box-shadow:0 15px 28px #52687825}.deck-tile img,.deck-tarot-art{width:38%;max-width:112px;aspect-ratio:2/3;object-fit:cover;border-radius:6px;box-shadow:0 6px 16px #465b6840}.deck-tile>span:last-child{min-width:0;display:flex;flex-direction:column;gap:7px}.deck-tile small,.tarot-banner small{font-size:10px;letter-spacing:.16em;color:#997749}.deck-tile strong{font-family:'Noto Serif TC',serif;font-size:19px;letter-spacing:.07em}.deck-tile em{font-style:normal;font-size:12px;color:#697a82;line-height:1.5}.deck-tarot-art{display:flex;flex-direction:column;justify-content:space-around;align-items:center;border:5px double #b9a174;background:radial-gradient(circle at center,#7390a0,#34556f 75%);color:#f8e7b9;font-family:Georgia,serif;font-size:28px}.deck-tarot-art i{font-size:17px;line-height:1.1;text-align:center;font-style:normal;letter-spacing:.14em}
.sectionhead h2,.panel h3{color:#304a59}.toolcard,.panel{background:#fffdf9;border-color:#ded0b7;box-shadow:0 8px 22px #53626a0d}.toolcard:hover{border-color:#bca070;box-shadow:0 12px 22px #53626a20}.toolcard .sym,.arrow,.guide .big{color:#a58353}.toolcard h3{color:#334e5f}.toolcard p,.muted,.panel p{color:#66727a}.pill{color:#816137;background:#f8f1e5;border-color:#d6be91}.field{color:#425667;font-size:14px}.field input,.field select,.field textarea{background:#fbfaf6;border-color:#cfccbe;color:#243746;color-scheme:light}.field input:focus,.field select:focus,.field textarea:focus{border-color:#98743c;box-shadow:0 0 0 3px #c1a56b33}.field input[type=date],.field input[type=datetime-local]{color-scheme:light}.result{background:#f5f1e8;border-color:#dccdb3;color:#3f4f5a;font-size:14px}.notice{background:#f5f0e6;color:#59686e}.source,.source a,.copyhint,.faint{color:#74613f}.tarotread{color:#475963}.tarotread strong{color:#79592f}.entry{background:#f9f6f0}.entry .delete{color:#9d4a4a}.quick button{background:#f8f2e7;color:#735b3a}.footer{color:#6f7a7d}
.tarot-banner{display:flex;gap:20px;align-items:center;margin:20px 0;padding:15px;background:linear-gradient(100deg,#e8eff0,#faf4e7);border:1px solid #d5c49f;border-radius:14px}.tarot-banner-art{width:100px;height:130px;flex:none;display:grid;place-items:center;color:#f5e8be;font-size:65px;background:radial-gradient(circle,#6b8a9a,#2d526b);border:5px double #d8ba7e;border-radius:9px}.tarot-banner strong{display:block;font-family:'Noto Serif TC',serif;font-size:19px;color:#375363;margin:5px 0}.tarot-banner p{margin:0;font-size:13px}
.tarotcard{min-height:235px;border:4px double #b99b63;border-radius:10px;background:radial-gradient(circle at 50% 42%,#7191a1 0%,#355975 55%,#203e57 100%);box-shadow:inset 0 0 0 6px #e5d7ac,inset 0 0 0 8px #6b89a0,0 8px 20px #36516c35;overflow:hidden}.tarotcard:after{content:"✦　✧　✦";position:absolute;bottom:9px;left:0;right:0;color:#e9d5a5;font-size:10px;letter-spacing:.15em}.tarotcard:before{content:"☾ ✧ ☽";font-size:35px;color:#f8e3a7;white-space:nowrap}.tarotcard strong{font-size:18px;color:#fff4d6;margin-top:16px;text-shadow:0 2px 8px #1b3a56}.tarotcard small,.tarotcard em{color:#f1e4c6;font-size:12px}.tarotcard.reverse:before{transform:rotate(180deg)}
.oracle-card{background:#fffdf8;border-color:#d8c59f;box-shadow:0 8px 18px #52616a1a}.oracle-card figcaption,.oracle-pair strong,.oracle-status,.oracle-group{color:#76572b}.oracle-card small{color:#61717a}.oracle-grid img{background:#e7e2d5}
@media(max-width:1100px){.deck-grid{grid-template-columns:1fr 1fr}.deck-tile:last-child{grid-column:1/-1}.hero-copy{width:62%}.hero-art{left:57%}}
@media(max-width:680px){aside{background:#fffcf5f2;box-shadow:0 3px 15px #42536018}.logo{border:0}.nav{color:#516878;font-size:12px}.top{font-size:11px}.hero{min-height:500px;align-items:flex-start;padding:29px 23px}.hero-copy{width:100%}.hero h1{font-size:35px;max-width:330px}.hero p{font-size:13px;max-width:310px}.hero-art{inset:auto 0 0 0;height:190px;opacity:.92}.hero-card{width:105px;top:8px;left:auto;right:35%;transform:rotate(-9deg)}.hero-card-back{right:15%;transform:rotate(12deg)}.hero-spark{font-size:42px;right:7%;top:8px}.hero:before{width:200px;height:200px;right:5%;top:55%}.hero:after{display:none}.deck-intro{margin-top:28px;display:block}.deck-intro span{display:block}.deck-intro span:last-child{margin-top:4px}.deck-grid{grid-template-columns:1fr;gap:10px}.deck-tile:last-child{grid-column:auto}.deck-tile img,.deck-tarot-art{width:78px;max-width:none;flex:none}.deck-tile{padding:11px}.deck-tile strong{font-size:18px}.tarot-banner-art{width:68px;height:90px;font-size:42px}.tarot-banner strong{font-size:15px}.tarot-banner p{font-size:12px}.sectionhead .muted{display:none}}
@media(prefers-reduced-motion:reduce){.deck-tile,.toolcard{transition:none}}
.oracle-grid.grand{grid-template-columns:repeat(9,minmax(108px,1fr));overflow-x:auto;max-width:100%;gap:8px;padding-bottom:12px}.oracle-grid.grand .oracle-card{min-width:108px}.oracle-grid.grand figcaption{font-size:12px;padding:6px;line-height:1.3}.oracle-grid.grand small{font-size:10px;overflow-wrap:anywhere}.method-notes a{text-decoration:underline;color:#805d2e}.method-notes li{padding:3px 0}
