
.sundeli-tarot{width:100%!important;max-width:1400px!important;margin:24px auto!important;padding:28px!important;position:relative!important;display:block!important;box-sizing:border-box!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#45205e!important;background:linear-gradient(135deg,#fff,#fff9fd)!important;border-radius:28px!important;box-shadow:0 10px 40px rgba(91,43,107,.08)!important}
.sundeli-tarot *{box-sizing:border-box!important}
.sundeli-tarot .st-head{display:grid!important;grid-template-columns:180px minmax(0,1fr) 120px!important;align-items:center!important;gap:20px!important;padding:8px 4px 24px!important;border-bottom:1px solid #eadcf0!important}
.sundeli-tarot .st-brand{font-family:Georgia,serif!important;font-size:25px!important;letter-spacing:5px!important}.sundeli-tarot .st-school{font-size:11px!important;letter-spacing:2px!important}.sundeli-tarot .st-head-center{text-align:center!important}.sundeli-tarot .st-head h2{font-family:Georgia,serif!important;font-size:34px!important;margin:0!important;color:#54206d!important}.sundeli-tarot .st-head p{text-align:center!important;margin:5px 0!important;color:#704b7f!important}.sundeli-tarot .st-lang{justify-self:end!important;border:1px solid #eadcf0!important;border-radius:14px!important;padding:10px 14px!important}
.sundeli-tarot .st-filters{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:20px 0!important}.sundeli-tarot button{font:inherit!important}.sundeli-tarot .st-filters button,.sundeli-tarot .st-panel button{background:#fff!important;border:1px solid #e3cfe9!important;color:#51226a!important;border-radius:13px!important;padding:11px 17px!important;font-weight:700!important;cursor:pointer!important}.sundeli-tarot .st-filters button.active,.sundeli-tarot .st-panel .st-random{background:#54206d!important;color:#fff!important}
.sundeli-tarot .st-instruction{padding:16px 20px!important;background:#fff3ff!important;border:1px solid #ecd9f1!important;border-radius:16px!important;margin-bottom:20px!important}
.sundeli-tarot .st-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;gap:22px!important;align-items:start!important}.sundeli-tarot .st-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important;align-items:start!important;width:100%!important}
.sundeli-tarot .st-card{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;cursor:pointer!important;position:relative!important}
.sundeli-tarot .st-card-inner{position:relative!important;width:100%!important;aspect-ratio:2/3!important}
.sundeli-tarot .st-face{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;border:1px solid #dfc9e5!important;box-shadow:0 4px 14px rgba(74,32,90,.12)!important}
.sundeli-tarot .st-front{display:block!important;z-index:1!important}.sundeli-tarot .st-back{display:none!important;z-index:5!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:20px!important;background:linear-gradient(160deg,#fff8ff,#f3e8f7)!important}
.sundeli-tarot .st-card.flipped .st-front{display:none!important}.sundeli-tarot .st-card.flipped .st-back{display:flex!important}
.sundeli-tarot .st-front img{display:block!important;width:100%!important;height:calc(100% - 38px)!important;object-fit:cover!important;margin:0!important;padding:0!important}
.sundeli-tarot .st-card-name{height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:800!important;font-size:12px!important;text-align:center!important;background:#fff!important;color:#4b205f!important}
.sundeli-tarot .st-back-title{font-family:Georgia,serif!important;font-size:20px!important;font-weight:800!important;margin-bottom:14px!important;color:#54206d!important}.sundeli-tarot .st-meaning{font-size:15px!important;line-height:1.55!important;color:#45205e!important}.sundeli-tarot .st-back small{margin-top:20px!important;opacity:.65!important}
.sundeli-tarot .st-panel{border:1px solid #eadcf0!important;border-radius:20px!important;padding:22px!important;background:#fff!important;position:sticky!important;top:20px!important}.sundeli-tarot .st-panel h3{font-family:Georgia,serif!important;font-size:24px!important;margin-top:0!important}.sundeli-tarot .st-panel p{line-height:1.5!important}.sundeli-tarot .st-panel button{display:block!important;width:100%!important;margin-top:9px!important}.sundeli-tarot .st-tip{margin-top:18px!important;background:#fff3ff!important;border:1px solid #eadcf0!important;padding:15px!important;border-radius:15px!important;line-height:1.5!important}.sundeli-tarot .st-card.hidden{display:none!important}
@media(max-width:1100px){.sundeli-tarot .st-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.sundeli-tarot .st-layout{grid-template-columns:minmax(0,1fr) 250px!important}}
@media(max-width:800px){.sundeli-tarot{padding:16px!important}.sundeli-tarot .st-head{grid-template-columns:1fr!important;text-align:center!important}.sundeli-tarot .st-lang{justify-self:center!important}.sundeli-tarot .st-layout{grid-template-columns:1fr!important}.sundeli-tarot .st-panel{position:static!important}.sundeli-tarot .st-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:520px){.sundeli-tarot .st-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.sundeli-tarot .st-card-name{font-size:10px!important}}

.sundeli-tarot .st-modal{display:none!important;position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;background:rgba(49,20,62,.48)!important;z-index:999999!important;align-items:center!important;justify-content:center!important;padding:24px!important}
.sundeli-tarot .st-modal.open{display:flex!important}
.sundeli-tarot .st-modal-box{position:relative!important;width:min(560px,92vw)!important;max-height:85vh!important;overflow:auto!important;background:#fffaff!important;border:1px solid #e5cbe9!important;border-radius:28px!important;padding:42px 38px 34px!important;box-shadow:0 25px 80px rgba(40,15,50,.3)!important;text-align:center!important}
.sundeli-tarot .st-modal-close{position:absolute!important;right:16px!important;top:12px!important;width:42px!important;height:42px!important;border:0!important;background:transparent!important;color:#54206d!important;font-size:32px!important;line-height:1!important;cursor:pointer!important}
.sundeli-tarot .st-modal-suit{font-size:11px!important;letter-spacing:3px!important;color:#a477b3!important;margin-bottom:10px!important}
.sundeli-tarot .st-modal-title{font-family:Georgia,serif!important;font-size:30px!important;color:#54206d!important;margin:0 0 22px!important}
.sundeli-tarot .st-modal-meaning{font-size:20px!important;line-height:1.65!important;color:#45205e!important;font-weight:600!important}
.sundeli-tarot .st-modal-hint{margin-top:28px!important;font-size:12px!important;color:#8a6b91!important}

.sundeli-tarot .st-modal-card-wrap{display:flex;justify-content:center;margin:0 auto 18px}
.sundeli-tarot .st-modal-card-img{display:block;width:180px;height:272px;object-fit:cover;border-radius:14px;border:1px solid #dfc9e5;box-shadow:0 8px 24px rgba(74,32,90,.16);margin:0!important}
