/* HolySlots library design system, 2026-09-15. Original evidence-first interface. */
:root {
    --hs-violet: #8b5cf6;
    --hs-cyan: #38d9c5;
    --hs-soft-panel: #201534;
    --hs-raised: #2a1c43;
    --hs-shadow: 0 22px 60px rgba(5, 2, 12, .32);
}

body.theme-holyslots { background: radial-gradient(circle at 85% 0, rgba(94, 45, 142, .15), transparent 31rem), var(--slots-bg); }
.theme-holyslots .shell { width: min(1180px, calc(100% - 40px)); }
.theme-holyslots .hs-header { background: rgba(18, 10, 31, .94); backdrop-filter: blur(18px); }
.theme-holyslots .hs-header-row { min-height: 70px; }
.theme-holyslots .hs-mark span { letter-spacing: -.03em; }
.theme-holyslots .hs-mark::after { content: 'RESEARCH LIBRARY'; margin-left: 3px; color: var(--slots-gold); font-size: 8px; letter-spacing: .12em; }
.theme-holyslots .hs-nav a { transition: color .18s ease, background .18s ease; }

.hs-explore { position: relative; z-index: 12; border-block: 1px solid var(--slots-line); background: #0d0718; }
.hs-explore-row { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); align-items: stretch; padding-block: 9px; }
.hs-explore-label { align-self: center; padding-right: 18px; color: #7f719f; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hs-explore a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; padding: 8px 12px; border-left: 1px solid var(--slots-line); color: var(--slots-text); text-decoration: none; }
.hs-explore a:hover, .hs-explore a[aria-current] { background: var(--slots-panel); }
.hs-explore a[aria-current] { box-shadow: inset 0 -2px var(--slots-gold); }
.hs-explore-mark { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--slots-line); border-radius: 9px; color: var(--slots-gold); background: var(--slots-panel-2); font-size: 10px; font-weight: 900; }
.hs-explore strong, .hs-explore small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-explore strong { font-size: 11px; }
.hs-explore small { margin-top: 2px; color: var(--slots-muted); font-size: 8px; }

.theme-holyslots .hs-slots-hero,
.theme-holyslots .hs-library-hero,
.theme-holyslots .hs-doc-top { position: relative; overflow: hidden; padding-block: 54px 46px; text-align: left; background: radial-gradient(circle at 82% 18%, rgba(56, 217, 197, .10), transparent 22rem), radial-gradient(circle at 15% 0, rgba(139, 92, 246, .20), transparent 30rem), var(--slots-panel); }
.theme-holyslots .hs-slots-hero::after,
.theme-holyslots .hs-library-hero::after { content: ''; position: absolute; right: 8%; bottom: -90px; width: 280px; height: 280px; border: 1px solid rgba(245, 180, 0, .14); border-radius: 50%; box-shadow: 0 0 0 38px rgba(139, 92, 246, .05), 0 0 0 78px rgba(56, 217, 197, .035); pointer-events: none; }
.theme-holyslots .hs-slots-hero .shell,
.theme-holyslots .hs-library-hero .shell { position: relative; z-index: 1; }
.theme-holyslots .hs-slots-hero h1,
.theme-holyslots .hs-library-hero h1 { max-width: 780px; margin: 0 0 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -.035em; }
.theme-holyslots .hs-slots-hero .hs-lede,
.theme-holyslots .hs-slots-hero > .shell > p:last-child,
.theme-holyslots .hs-library-hero .hs-lede { max-width: 700px; margin: 0; color: var(--slots-muted); font-size: 17px; line-height: 1.65; }
.theme-holyslots .hs-trail { flex-wrap: wrap; margin-bottom: 25px; }
.theme-holyslots .hs-kicker, .theme-holyslots .eyebrow { color: var(--slots-gold); }

.hs-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.hs-use-card { position: relative; padding: 18px 18px 18px 58px; border: 1px solid var(--slots-line); border-radius: 14px; background: linear-gradient(145deg, var(--slots-panel), rgba(36, 26, 61, .72)); }
.hs-use-card > span { position: absolute; top: 17px; left: 17px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #190f06; background: var(--slots-gold); font-size: 10px; font-weight: 900; }
.hs-use-card strong { display: block; margin-bottom: 5px; font-size: 13px; }
.hs-use-card p { margin: 0; color: var(--slots-muted); font-size: 11px; line-height: 1.5; }

.theme-holyslots .hs-slots-shell, .theme-holyslots .hs-provider-catalog, .theme-holyslots .hs-catalog-wrap { padding-block: 34px 84px; }
.theme-holyslots .hs-filter { box-shadow: var(--hs-shadow); }
.theme-holyslots .hs-catalog-summary { margin: 0 0 16px; padding: 13px 15px; border: 1px solid var(--slots-line); border-radius: 12px; background: rgba(28, 18, 48, .65); }
.theme-holyslots .hs-catalog-card { box-shadow: 0 14px 35px rgba(5, 2, 12, .14); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.theme-holyslots .hs-catalog-card:hover { transform: translateY(-2px); box-shadow: var(--hs-shadow); }
.theme-holyslots .hs-catalog-media::after, .theme-holyslots .hs-provider-card-media::after, .theme-holyslots .hs-guide-media::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); border-radius: inherit; pointer-events: none; }
.theme-holyslots .hs-slot-cta { background: linear-gradient(135deg, var(--slots-cta), #c52f7d); box-shadow: 0 9px 22px rgba(255, 61, 113, .18); }
.theme-holyslots .hs-landing-body { margin-top: 36px; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--slots-line); border-radius: 18px; background: rgba(28, 18, 48, .62); }
.theme-holyslots .hs-landing-body > :first-child { margin-top: 0; }

.hs-library { padding: 0 0 84px; }
.hs-library-main { padding-top: 34px; }
.hs-library-head { max-width: 760px; margin: 0; text-align: left; }
.hs-library-head h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.035em; }
.hs-library-head span { display: block; line-height: 1.65; }
.theme-holyslots .hs-chips { justify-content: flex-start; margin: 0 0 28px; }
.theme-holyslots .hs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs-guide-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--slots-line); border-radius: 16px; background: var(--slots-panel); transition: transform .18s ease, border-color .18s ease; }
.hs-guide-card:hover { transform: translateY(-3px); border-color: rgba(245, 180, 0, .65); }
.hs-guide-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 30% 20%, #513477, #211434 72%); }
.hs-guide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hs-guide-card:hover .hs-guide-media img { transform: scale(1.025); }
.hs-guide-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--slots-gold); font-size: 42px; font-weight: 900; }
.hs-guide-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.hs-guide-body h2 { margin: 8px 0 10px; font-size: 19px; line-height: 1.28; }
.hs-guide-body h2 a { color: var(--slots-text); text-decoration: none; }
.hs-guide-body p { margin: 0 0 18px; color: var(--slots-muted); font-size: 13px; line-height: 1.55; }
.hs-guide-link { margin-top: auto; color: var(--slots-gold); font-size: 12px; font-weight: 800; text-decoration: none; }

.theme-holyslots .hs-provider-grid { gap: 16px; }
.theme-holyslots .hs-provider-card { box-shadow: 0 14px 35px rgba(5, 2, 12, .16); }
.theme-holyslots .hs-provider-card-media { position: relative; }
.hs-provider-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 24px; align-items: center; margin-bottom: 28px; padding: 22px; border: 1px solid var(--slots-line); border-radius: 16px; background: var(--slots-panel); }
.hs-provider-intro h2 { margin: 0 0 8px; font-size: 22px; }
.hs-provider-intro p { margin: 0; color: var(--slots-muted); font-size: 13px; line-height: 1.6; }
.hs-provider-intro ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: provider-step; }
.hs-provider-intro li { counter-increment: provider-step; display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; color: var(--slots-text); font-size: 11px; }
.hs-provider-intro li::before { content: counter(provider-step); display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; color: #1a1206; background: var(--slots-gold); font-size: 9px; font-weight: 900; }

.hs-series-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 34px; align-items: start; }
.hs-series-copy { position: sticky; top: 110px; padding: 26px; border: 1px solid var(--slots-line); border-radius: 16px; background: var(--slots-panel); }
.hs-series-copy > :first-child { margin-top: 0; }
.hs-series-results .hs-catalog-summary { margin-bottom: 16px; }

.theme-holyslots .hs-entity-hero { background: radial-gradient(circle at 85% 10%, rgba(56, 217, 197, .08), transparent 25rem), radial-gradient(ellipse at 18% 0, #2b1b48, var(--slots-panel) 62%); }
.theme-holyslots .hs-entity-visual { box-shadow: var(--hs-shadow); }
.theme-holyslots .hs-facts-card { box-shadow: 0 16px 38px rgba(5,2,12,.18); }
.theme-holyslots .hs-doc-layout aside { padding: 18px; border: 1px solid var(--slots-line); border-radius: 14px; background: var(--slots-panel); }

@media (max-width: 980px) {
    .hs-explore-row { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
    .hs-explore-label { display: none; }
    .hs-explore a:first-of-type { border-left: 0; }
    .theme-holyslots .hs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-series-layout { grid-template-columns: 1fr; }
    .hs-series-copy { position: static; }
}

@media (max-width: 720px) {
    .theme-holyslots .shell { width: min(100% - 28px, 1180px); }
    .theme-holyslots .hs-mark::after { display: none; }
    .theme-holyslots .hs-slots-hero, .theme-holyslots .hs-library-hero { padding-block: 38px 34px; }
    .theme-holyslots .hs-slots-hero h1, .theme-holyslots .hs-library-hero h1 { font-size: 34px; }
    .hs-use-grid, .theme-holyslots .hs-cards, .hs-provider-intro { grid-template-columns: 1fr; }
    .hs-explore-row { width: 100%; padding-inline: 14px; }
    .hs-explore a { grid-template-columns: 24px minmax(0, 1fr); padding-inline: 9px; }
    .hs-explore-mark { width: 24px; height: 24px; }
    .hs-explore small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-holyslots *, .theme-holyslots *::before, .theme-holyslots *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
