/* Kartomancja Tarot Hub 0.5.1 — all selectors scoped, no theme globals. */
.kme-hub{--kh-ink:#272039;--kh-muted:#5d566b;--kh-plum:#543174;--kh-berry:#7c448f;--kh-lilac:#eee5fa;--kh-warm:#faf5eb;--kh-gold:#c5a46a;color:var(--kh-ink);font-family:inherit;line-height:1.55;max-width:1160px;margin:0 auto 48px;box-sizing:border-box}
.kme-hub *, .kme-hub *::before, .kme-hub *::after{box-sizing:border-box}
.kme-hub [hidden]{display:none!important}
.kme-hub a{text-decoration:none!important}
.kme-hub h2,.kme-hub h3,.kme-hub p{margin-top:0}
.kme-hub h2{font-size:clamp(1.55rem,2.6vw,2.45rem);line-height:1.17;letter-spacing:-.028em;color:#281b3a;margin:0 0 13px;font-weight:750}
.kme-hub-hero{position:relative;background:linear-gradient(121deg,#fff9ef 3%,#f7edfc 49%,#ebe0f6 100%);border:1px solid #d9c6e9;border-radius:27px;padding:clamp(26px,5vw,65px);display:grid;grid-template-columns:minmax(0,1.12fr) minmax(210px,.8fr);gap:22px;overflow:hidden;isolation:isolate;box-shadow:0 12px 48px rgba(75,40,104,.08)}
.kme-hub-hero::before{content:"✦";position:absolute;right:32%;top:16px;color:#c8a66a;font-size:24px;opacity:.6}
.kme-hub-eyebrow,.kme-hub-overline{display:block;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#79598a;margin-bottom:15px}
.kme-hub-hero h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.3rem,4.15vw,4.3rem);line-height:1.06;color:#372149;max-width:700px;margin:0 0 22px;font-weight:700}
.kme-hub-hero-copy>p{font-size:1.09rem;color:#524662;max-width:570px;margin-bottom:27px;line-height:1.78}
.kme-hub-hero-actions{display:flex;flex-wrap:wrap;gap:11px;align-items:center;margin:0 0 20px}
.kme-hub-primary,.kme-hub-secondary{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:50px;padding:12px 23px;border-radius:13px;font-weight:800;font-size:1rem;transition:transform .2s,box-shadow .2s,background .2s}
.kme-hub a.kme-hub-primary{background:linear-gradient(135deg,#704193,#4b276c);color:#fff!important;box-shadow:0 7px 17px rgba(79,43,116,.22)}
.kme-hub a.kme-hub-secondary{background:#fff;color:#4f3072!important;border:1px solid #cdb7db}
.kme-hub-primary:hover,.kme-hub-secondary:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(68,35,104,.17)}
.kme-hub-hero-micro{color:#745f7f;font-size:.83rem}
.kme-hub-art{position:relative;align-self:stretch;min-height:295px}
.kme-hub-art::before{content:"";position:absolute;inset:10% 1% 0;border:1px solid rgba(173,122,193,.4);border-radius:50%;transform:rotate(-25deg)}
.kme-hub-art::after{content:"✧";position:absolute;top:-5%;right:5%;color:#b691be;font-size:60px;opacity:.65}
.kme-hub-art-card{position:absolute;top:50%;left:50%;height:auto;max-width:none;width:46%;aspect-ratio:3/5;object-fit:cover;border:5px solid #fff6e8;border-radius:11px;box-shadow:0 16px 34px rgba(54,26,70,.23);background:#e2d2e9}
.kme-hub-art-card-left{transform:translate(-107%,-50%) rotate(-16deg)}
.kme-hub-art-card-middle{transform:translate(-50%,-53%) rotate(-2deg);z-index:2}
.kme-hub-art-card-right{transform:translate(15%,-49%) rotate(13deg);z-index:1}
.kme-hub-intro{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:48px 3px 15px}
.kme-hub-intro p,.kme-hub-tools>p{color:var(--kh-muted);max-width:680px;margin-bottom:0}
.kme-hub-count{min-width:120px;display:grid;justify-items:center;padding:12px 18px;background:#f5effa;border:1px solid #e0d2ec;border-radius:16px}
.kme-hub-count strong{font-size:2rem;color:#53316f;line-height:1}
.kme-hub-count small{font-size:.75rem;color:#6a5776;text-align:center}
.kme-hub-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 56px}
.kme-hub a.kme-hub-featured-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e0d3eb;border-radius:19px;padding:25px;box-shadow:0 6px 26px rgba(62,37,85,.04);color:var(--kh-ink)!important;transition:transform .2s,box-shadow .2s,border-color .2s}
.kme-hub a.kme-hub-featured-card:hover,.kme-hub a.kme-hub-tool-card:hover{transform:translateY(-3px);border-color:#b69acb;box-shadow:0 12px 27px rgba(69,37,91,.11)}
.kme-hub-fc-symbol{display:grid;place-items:center;background:#efe5f7;border:1px solid #dfccec;border-radius:13px;width:48px;height:48px;color:#78439a;font-size:1.55rem;margin-bottom:17px}
.kme-hub-fc-overline{font-weight:750;letter-spacing:.07em;color:#78578a;font-size:.68rem;margin-bottom:8px}
.kme-hub-featured-card strong{font-size:1.24rem;color:#30223d;margin:0 0 8px}
.kme-hub-featured-card>span:not(.kme-hub-fc-overline){color:#6a5a71;font-size:.91rem;line-height:1.65}
.kme-hub-featured-card em{margin-top:auto;padding-top:20px;color:#663d85;font-style:normal;font-weight:800;font-size:.9rem}
.kme-hub-tools{scroll-margin-top:45px;margin:0 0 55px}
.kme-hub-tools>h2{margin-bottom:6px}
.kme-hub-controls{margin-top:24px;background:#f9f5fb;border:1px solid #e3d7ec;padding:18px;border-radius:18px}
.kme-hub-search-label{display:block;font-size:.84rem;font-weight:800;color:#574363;margin:0 0 9px}
.kme-hub input.kme-hub-search{display:block;width:100%;max-width:none;height:49px;background:#fff!important;border:1px solid #cdb9da!important;border-radius:11px!important;padding:11px 15px;color:#30243c!important;box-shadow:none!important;font-size:1rem}
.kme-hub-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.kme-hub .kme-hub-filters button{background:#fff;color:#5e456d;border:1px solid #d7c8e0;border-radius:30px;padding:9px 16px;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;min-height:40px;transition:background .17s}
.kme-hub .kme-hub-filters button:hover{background:#eee2f8}
.kme-hub .kme-hub-filters button.is-current{background:#684080;color:#fff;border-color:#684080}
.kme-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.kme-hub a.kme-hub-tool-card{display:flex;flex-direction:column;min-width:0;min-height:210px;background:#fff;color:#30233c!important;border:1px solid #e7dceb;border-radius:16px;padding:22px;transition:transform .2s,box-shadow .2s,border-color .2s}
.kme-hub-tool-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;color:#836696;font-weight:750;font-size:.75rem;margin-bottom:12px}
.kme-hub-dot{font-size:.87rem;color:#b393be}
.kme-hub-card-count{margin-left:auto;background:#f3edf6;border-radius:12px;padding:2px 8px;color:#644a72;white-space:nowrap;font-weight:650}
.kme-hub-tool-card strong{display:block;color:#32213f;font-size:1.14rem;margin-bottom:7px}
.kme-hub-card-desc{color:#695b70;line-height:1.62;font-size:.88rem}
.kme-hub-tool-action{display:block;margin-top:auto;padding-top:17px;color:#684487;font-size:.88rem;font-weight:800}
.kme-hub-empty,.kme-hub-waiting{padding:22px;color:#624e72;background:#f3ebfa;border-radius:12px;margin-top:16px}
.kme-hub-method{display:grid;grid-template-columns:1.35fr .7fr;gap:28px;align-items:center;background:linear-gradient(115deg,#fff8ef,#f9f1e4);border:1px solid #e9d6b6;border-radius:20px;padding:clamp(23px,4vw,42px);margin:0 0 55px}
.kme-hub-method p{color:#675a63;line-height:1.72;margin-bottom:10px}
.kme-hub-method-box{display:grid;justify-items:center;text-align:center;background:#fffdf8;border:1px solid #e6d3b4;border-radius:18px;padding:26px 19px}
.kme-hub-method-box>span{color:#b99d67;font-size:2.6rem}
.kme-hub-method-box strong{font-size:1.21rem;color:#4b354c}
.kme-hub-method-box p{font-size:.92rem;margin:8px 0 0}
.kme-hub-learning{border:1px solid #e2d5ea;border-radius:20px;padding:clamp(20px,4vw,38px);margin:0 0 36px}
.kme-hub-learning details{border-top:1px solid #ece4f1;padding:16px 0}
.kme-hub-learning details:first-of-type{margin-top:12px}
.kme-hub-learning summary{cursor:pointer;color:#3d2b50;font-weight:760;font-size:1rem}
.kme-hub-learning details p{padding:10px 0 0;color:#61566b;margin:0;line-height:1.65}
.kme-hub-disclaimer{font-size:.81rem;color:#776c7e;text-align:center;margin:26px auto 0;max-width:900px;line-height:1.7}
.kme-hub a:focus-visible,.kme-hub button:focus-visible,.kme-hub input:focus-visible,.kme-hub summary:focus-visible{outline:3px solid #6d398d;outline-offset:3px}
@media (max-width:850px){.kme-hub-hero{grid-template-columns:1fr .72fr;padding:35px 26px}.kme-hub-art{min-height:245px}.kme-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kme-hub-method{grid-template-columns:1fr}.kme-hub-method-box{max-width:none}}
@media (max-width:640px){.kme-hub{margin-bottom:30px}.kme-hub-hero{grid-template-columns:1fr;gap:4px;border-radius:18px;padding:27px 20px 20px}.kme-hub-hero h2{font-size:clamp(2rem,9vw,3rem)}.kme-hub-hero-copy>p{font-size:1rem}.kme-hub-art{min-height:196px}.kme-hub-art-card{width:28%;max-width:132px;min-width:87px}.kme-hub-art-card-left{transform:translate(-106%,-49%) rotate(-14deg)}.kme-hub-art-card-middle{transform:translate(-50%,-50%) rotate(-2deg)}.kme-hub-art-card-right{transform:translate(7%,-46%) rotate(14deg)}.kme-hub-intro{align-items:start;padding-top:35px}.kme-hub-count{min-width:88px;padding:9px}.kme-hub-count strong{font-size:1.5rem}.kme-hub-count small{font-size:.65rem}.kme-hub-featured{grid-template-columns:1fr;margin-bottom:36px}.kme-hub-grid{grid-template-columns:1fr}.kme-hub-controls{padding:12px}.kme-hub-tool-card{min-height:0!important}.kme-hub-method,.kme-hub-learning{border-radius:15px}.kme-hub-hero-actions a{width:100%}.kme-hub-search{min-width:0}}
@media (prefers-reduced-motion:reduce){.kme-hub a,.kme-hub button{transition:none!important}}
