body.page-oracle-table {
    min-height: 100dvh;
}

body.page-oracle-table .site-header,
body.page-oracle-table .site-footer {
    display: none;
}

body.page-oracle-table #mainContent {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: .5rem !important;
    overflow: hidden;
}

body.page-oracle-table #mainContent > .container,
body.page-oracle-table #mainContent > .container-fluid {
    display: grid;
    place-items: center;
    width: min(100%, 1540px);
    max-width: 1540px;
    height: 100%;
    padding: 0;
}

.oracle-table {
    --oracle-ink: #08060d;
    --oracle-panel: #120d19;
    --oracle-panel-soft: #1b1225;
    --oracle-plum: #4d245d;
    --oracle-amethyst: #9a77df;
    --oracle-gold: #d8b56b;
    --oracle-gold-light: #f3dda0;
    --oracle-ivory: #f8f0df;
    --oracle-muted: #b4a9be;
    position: relative;
    width: min(100%, 1540px);
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(216, 181, 107, .28);
    border-radius: 28px;
    color: var(--oracle-ivory);
    background:
        radial-gradient(circle at 84% 4%, rgba(126, 78, 155, .18), transparent 28rem),
        radial-gradient(circle at 4% 66%, rgba(124, 45, 95, .16), transparent 30rem),
        var(--oracle-ink);
    box-shadow: 0 42px 130px rgba(0, 0, 0, .58);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    isolation: isolate;
}

.oracle-table *,
.oracle-table *::before,
.oracle-table *::after { box-sizing: border-box; }
.oracle-table button,
.oracle-table input,
.oracle-table select,
.oracle-table textarea { font: inherit; }
.oracle-table [hidden] { display: none !important; }
.oracle-table button { -webkit-tap-highlight-color: transparent; }

.oracle-table::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .2;
    background-image:
        radial-gradient(rgba(239, 215, 155, .42) .7px, transparent .8px),
        radial-gradient(rgba(191, 152, 226, .32) .7px, transparent .8px);
    background-position: 0 0, 19px 22px;
    background-size: 41px 41px, 53px 53px;
    mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.oracle-table__header {
    position: relative;
    z-index: 50;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: .85rem;
    min-height: 76px;
    padding: .8rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(216, 181, 107, .14);
    background: rgba(8, 6, 13, .82);
    backdrop-filter: blur(20px);
}

.oracle-table__icon-button,
.oracle-table__sound,
.oracle-table__deck-link {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    color: #e8e0ed;
    background: rgba(255, 255, 255, .045);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.oracle-table__icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    font-size: 1.2rem;
}

.oracle-table__icon-button:hover,
.oracle-table__sound:hover,
.oracle-table__deck-link:hover {
    border-color: var(--oracle-gold);
    color: #fff;
    background: rgba(216, 181, 107, .08);
}

.oracle-table__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.oracle-table__brand-moon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(216, 181, 107, .46);
    border-radius: 50%;
    color: var(--oracle-gold-light);
    background: radial-gradient(circle, rgba(216, 181, 107, .12), transparent 68%);
    box-shadow: 0 0 28px rgba(216, 181, 107, .13);
    font-family: Georgia, serif;
    font-size: 1.5rem;
}

.oracle-table__brand strong {
    display: block;
    overflow: hidden;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    letter-spacing: .025em;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oracle-table__brand small {
    display: block;
    overflow: hidden;
    margin-top: .25rem;
    color: #94889e;
    font-size: .64rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.oracle-table__header-actions { display: flex; gap: .55rem; }
.oracle-table__deck-link { padding: 0 .9rem; font-size: .72rem; font-weight: 800; }
.oracle-table__sound {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: 0 .8rem;
    font-size: .7rem;
    font-weight: 800;
}
.oracle-table__sound span { color: var(--oracle-gold-light); font-size: 1rem; }
.oracle-table__sound b { font-weight: 800; }
.oracle-table__sound[aria-pressed="false"] { color: #746b7b; }

.oracle-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--oracle-gold);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.oracle-eyebrow i,
.oracle-reading__footer > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e24f72;
    box-shadow: 0 0 14px rgba(226, 79, 114, .9);
    animation: oracle-live 1s ease-in-out infinite alternate;
}

.oracle-setup {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
    gap: clamp(1.5rem, 5vw, 5.5rem);
    align-items: center;
    min-height: 744px;
    padding: clamp(1.25rem, 4vw, 4.5rem);
}

.oracle-setup__intro {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.oracle-setup__intro::before {
    position: absolute;
    z-index: -1;
    top: -10rem;
    left: -11rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(216, 181, 107, .1);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 3rem rgba(216, 181, 107, .02),
        0 0 0 7rem rgba(144, 99, 176, .015);
}

.oracle-setup h1 {
    margin: 1rem 0 1.35rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3.5rem, 6.7vw, 7.2rem);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: .83;
}

.oracle-setup h1 em {
    color: var(--oracle-gold-light);
    font-weight: 400;
    text-shadow: 0 0 42px rgba(216, 181, 107, .2);
}

.oracle-setup__intro > p {
    max-width: 570px;
    margin: 0;
    color: var(--oracle-muted);
    font-size: clamp(.98rem, 1.4vw, 1.13rem);
    line-height: 1.65;
}

.oracle-flow {
    display: grid;
    gap: .6rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.oracle-flow li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .75rem;
    align-items: center;
    max-width: 490px;
    padding: .6rem .7rem;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 12px;
    background: rgba(255, 255, 255, .022);
}

.oracle-flow li > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(216, 181, 107, .3);
    border-radius: 50%;
    color: var(--oracle-gold);
    font-family: Georgia, serif;
    font-size: .72rem;
}

.oracle-flow strong { display: block; font-size: .82rem; }
.oracle-flow small { display: block; margin-top: .15rem; color: #8e8296; font-size: .68rem; }

.oracle-setup__browse {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .75rem;
    align-items: center;
    width: min(100%, 490px);
    min-height: 62px;
    padding: .55rem .75rem;
    border: 1px solid rgba(216, 181, 107, .23);
    border-radius: 14px;
    color: var(--oracle-ivory);
    background: linear-gradient(100deg, rgba(216, 181, 107, .06), rgba(144, 99, 176, .05));
    text-align: left;
    cursor: pointer;
}

.oracle-mini-back {
    display: block;
    width: 28px;
    height: 44px;
    border: 1px solid var(--oracle-gold);
    border-radius: 4px;
    background: url("/public/assets/images/games/tarot-reading/card-back.webp") center / cover;
    box-shadow: 0 6px 13px rgba(0, 0, 0, .4);
    transform: rotate(-5deg);
}

.oracle-setup__browse strong { display: block; font-family: Georgia, serif; font-size: .9rem; font-weight: 500; }
.oracle-setup__browse small { display: block; margin-top: .18rem; color: #90849a; font-size: .64rem; }
.oracle-setup__browse b { color: var(--oracle-gold); font-size: 1.1rem; transition: transform .18s ease; }
.oracle-setup__browse:hover b { transform: translateX(3px); }

.oracle-form {
    position: relative;
    z-index: 2;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border: 1px solid rgba(216, 181, 107, .21);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(27, 18, 37, .97), rgba(11, 8, 16, .985));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .035);
}

.oracle-form__heading {
    margin-bottom: 1rem;
    padding: .2rem .2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.oracle-form__heading h2 { margin: .35rem 0 .25rem; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.oracle-form__heading p { margin: 0; color: #8f8497; font-size: .72rem; line-height: 1.5; }

.oracle-form__step {
    min-width: 0;
    margin: 0 0 .8rem;
    padding: .9rem;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
}

.oracle-form__step legend {
    display: flex;
    align-items: center;
    gap: .6rem;
    float: none;
    width: auto;
    margin: 0 0 .8rem;
    padding: 0;
    color: #eee7f0;
    font-size: .8rem;
    font-weight: 800;
}
.oracle-form__step legend > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(216, 181, 107, .32);
    border-radius: 8px;
    color: var(--oracle-gold);
    background: rgba(216, 181, 107, .05);
    font-family: Georgia, serif;
    font-size: .7rem;
}
.oracle-form__step legend small { display: block; margin-bottom: .08rem; color: #776d7e; font-size: .54rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.oracle-label {
    display: block;
    margin: .65rem 0 .35rem;
    color: #bcb1c2;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.oracle-input {
    display: flex;
    align-items: center;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(5, 4, 9, .52);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.oracle-input:focus-within,
.oracle-select:focus,
.oracle-form textarea:focus {
    border-color: var(--oracle-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(216, 181, 107, .09);
}
.oracle-input > span:first-child { padding-left: .8rem; color: var(--oracle-gold); font-weight: 900; }
.oracle-input input {
    min-width: 0;
    flex: 1;
    height: 42px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}
.oracle-input--name input { padding: 0 .75rem; }
.oracle-input--diamonds { padding-left: .75rem; }
.oracle-input--diamonds i {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-right: .55rem;
    background: linear-gradient(135deg, #f1feff, #5ae4ff 45%, #0a8cd4);
    clip-path: polygon(50% 0, 95% 38%, 72% 100%, 28% 100%, 5% 38%);
    filter: drop-shadow(0 0 6px rgba(64, 215, 255, .55));
}
.oracle-input--diamonds input { padding: 0; }
.oracle-input--diamonds span { padding: 0 .75rem; color: #756c7c; font-size: .64rem; font-weight: 800; text-transform: uppercase; }

.oracle-select,
.oracle-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: #fff;
    background: rgba(5, 4, 9, .52);
}
.oracle-select { min-height: 44px; padding: 0 .75rem; color-scheme: dark; }
.oracle-form textarea { min-height: 74px; padding: .65rem .75rem; resize: vertical; line-height: 1.45; }
.oracle-form input::placeholder,
.oracle-form textarea::placeholder { color: #625a68; }
.oracle-form__counter { margin-top: .25rem; color: #6e6574; font-size: .58rem; text-align: right; }

.oracle-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 13px;
    color: #281b16;
    background: linear-gradient(105deg, #c89c51, #f0daa0 58%, #d0a55b);
    box-shadow: 0 14px 36px rgba(216, 181, 107, .18);
    font-weight: 900;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease, opacity .18s ease;
}
.oracle-primary:not(:disabled):hover { filter: brightness(1.08); transform: translateY(-1px); }
.oracle-primary:disabled { opacity: .32; filter: saturate(.3); cursor: not-allowed; }
.oracle-primary b { font-family: Georgia, serif; font-size: 1.15rem; }
.oracle-primary--compact { min-height: 54px; margin-top: 1rem; }
.oracle-form__status { min-height: 18px; margin: .55rem 0 0; color: #817687; font-size: .65rem; text-align: center; }
.oracle-form__status.is-error { color: #ff8ba6; }
.oracle-disclaimer { color: #726a77; font-size: .6rem; line-height: 1.45; }
.oracle-form > .oracle-disclaimer { margin: .55rem 0 0; text-align: center; }

.oracle-reading { min-height: 744px; }
.oracle-reading__topbar {
    display: grid;
    grid-template-columns: minmax(145px, .8fr) minmax(280px, 2fr) minmax(145px, .8fr);
    gap: 1rem;
    align-items: center;
    min-height: 78px;
    padding: .7rem clamp(1rem, 2.5vw, 1.6rem);
    border-bottom: 1px solid rgba(216, 181, 107, .12);
    background: rgba(13, 9, 18, .9);
}
.oracle-reading__topbar > div { min-width: 0; }
.oracle-reading__topbar > div:last-child { text-align: right; }
.oracle-reading__topbar small { display: block; margin-bottom: .18rem; color: #776c7e; font-size: .57rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.oracle-reading__topbar strong { display: block; overflow: hidden; color: #eee5ef; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.oracle-reading__question { text-align: center; }
.oracle-reading__question strong { font-family: Georgia, serif; font-size: clamp(.85rem, 1.5vw, 1.05rem); font-weight: 500; }

.oracle-reading__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    min-height: 690px;
}

.oracle-stage {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 690px;
    overflow: hidden;
    isolation: isolate;
}
.oracle-stage__art,
.oracle-stage__veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.oracle-stage__art { z-index: -3; object-fit: cover; }
.oracle-stage__veil {
    z-index: -2;
    background:
        radial-gradient(ellipse at center, transparent 25%, rgba(7, 2, 10, .18) 72%),
        linear-gradient(rgba(8, 2, 12, .06), rgba(8, 2, 12, .24));
}

.oracle-ritual {
    position: relative;
    z-index: 3;
    align-self: center;
    justify-self: center;
    width: min(90%, 390px);
    padding: 1.6rem;
    border: 1px solid rgba(216, 181, 107, .3);
    border-radius: 20px;
    background: rgba(16, 8, 22, .78);
    box-shadow: 0 25px 80px rgba(0, 0, 0, .48);
    backdrop-filter: blur(16px);
    text-align: center;
}
.oracle-ritual h2 { margin: .45rem 0 .4rem; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.oracle-ritual p { margin: 0; color: #ad9fb4; font-size: .78rem; line-height: 1.55; }
.oracle-ritual.is-cutting { animation: oracle-ritual-out .62s ease forwards; }

.oracle-deck-stack {
    position: relative;
    width: 90px;
    height: 142px;
    margin: 0 auto 1.25rem;
    perspective: 700px;
}
.oracle-deck-stack span {
    position: absolute;
    inset: 0;
    border: 2px solid #d8bd75;
    border-radius: 9px;
    background: url("/public/assets/images/games/tarot-reading/card-back.webp") center / cover;
    box-shadow: 0 13px 30px rgba(0, 0, 0, .48);
}
.oracle-deck-stack span:nth-child(1) { transform: translate(-11px, 7px) rotate(-8deg); }
.oracle-deck-stack span:nth-child(2) { transform: translate(9px, 4px) rotate(6deg); }
.oracle-deck-stack span:nth-child(3) { animation: oracle-deck-breathe 2.8s ease-in-out infinite; }

.oracle-spread {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.7rem, 2.4vw, 2rem);
    align-self: center;
    justify-self: center;
    width: min(88%, 860px);
    padding: 1rem 0 5.6rem;
}

.oracle-card {
    position: relative;
    display: grid;
    grid-template-rows: 42px auto;
    gap: .45rem;
    min-width: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    perspective: 1100px;
    cursor: pointer;
    animation: oracle-card-deal .62s cubic-bezier(.2, .75, .2, 1) both;
    animation-delay: calc(var(--deal-index) * 130ms);
}
.oracle-card__position { align-self: end; text-align: center; }
.oracle-card__position strong { display: block; color: var(--oracle-gold-light); font-family: Georgia, serif; font-size: clamp(.9rem, 1.7vw, 1.1rem); font-weight: 500; }
.oracle-card__position small { display: block; margin-top: .1rem; color: rgba(238, 222, 239, .6); font-size: .54rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.oracle-card__inner {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 8;
    border-radius: clamp(8px, 1.2vw, 14px);
    transform-style: preserve-3d;
    transition: transform .85s cubic-bezier(.2, .72, .2, 1);
}
.oracle-card__back,
.oracle-card__front {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.oracle-card__back {
    border: 2px solid #e0c680;
    background:
        linear-gradient(rgba(8, 10, 30, .06), rgba(8, 10, 30, .06)),
        url("/public/assets/images/games/tarot-reading/card-back.webp") center / cover;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .54), 0 0 0 1px rgba(5, 2, 10, .5);
}
.oracle-card__back i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 34%;
    aspect-ratio: 1;
    border: 1px solid rgba(244, 221, 158, .68);
    border-radius: 50%;
    color: #f1d68c;
    background: rgba(7, 10, 30, .48);
    box-shadow: 0 0 24px rgba(240, 208, 122, .2);
    font-family: Georgia, serif;
    font-size: clamp(1rem, 3vw, 2.1rem);
    font-style: normal;
    transform: translate(-50%, -50%);
}
.oracle-card__front { background: #ead9b8; transform: rotateY(180deg); }
.oracle-card.is-revealed .oracle-card__inner { transform: rotateY(180deg); }
.oracle-card.is-next .oracle-card__back {
    box-shadow: 0 18px 38px rgba(0, 0, 0, .54), 0 0 0 3px rgba(241, 213, 139, .2), 0 0 35px rgba(241, 213, 139, .22);
    animation: oracle-next-card 1.5s ease-in-out infinite alternate;
}
.oracle-card.is-revealed:hover .oracle-card__inner { transform: rotateY(180deg) translateY(-5px); }

.tarot-face {
    --suit-color: #825a92;
    --suit-soft: #d6bbd9;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #2a1c28;
    background: #ead9b8;
}
.tarot-face--major { --suit-color: #644272; --suit-soft: #d8bce0; }
.tarot-face--wands { --suit-color: #a94d2f; --suit-soft: #e9b16f; }
.tarot-face--cups { --suit-color: #336f96; --suit-soft: #86c1d9; }
.tarot-face--swords { --suit-color: #566176; --suit-soft: #bbc4d2; }
.tarot-face--pentacles { --suit-color: #53704a; --suit-soft: #b6c993; }
.tarot-face__canvas {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 8% 8% 7%;
    border: clamp(2px, .25vw, 4px) solid #d0a85c;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .76), transparent 31%),
        repeating-linear-gradient(112deg, rgba(84, 47, 26, .025) 0 1px, transparent 1px 5px),
        linear-gradient(155deg, #f9efd6, #e8d0a4);
    box-shadow: inset 0 0 0 3px rgba(77, 45, 42, .33), inset 0 0 32px rgba(89, 48, 34, .16);
    transform-origin: center;
}
.tarot-face__canvas::before {
    position: absolute;
    inset: 4.5%;
    border: 1px solid rgba(98, 58, 52, .5);
    border-radius: 50% 50% 8px 8px / 20% 20% 8px 8px;
    content: "";
    pointer-events: none;
}
.tarot-face__corner {
    position: absolute;
    z-index: 4;
    display: grid;
    justify-items: center;
    color: var(--suit-color);
    line-height: .9;
}
.tarot-face__corner strong { font-family: Georgia, serif; font-size: clamp(.64rem, 1.7vw, 1.15rem); }
.tarot-face__corner span { margin-top: .18rem; font-size: clamp(.58rem, 1.5vw, 1rem); }
.tarot-face__corner--top { top: 7%; left: 7%; }
.tarot-face__corner--bottom { right: 7%; bottom: 7%; }
.tarot-face__artwork {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 78%;
    aspect-ratio: .76;
    align-self: center;
    justify-self: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--suit-color) 55%, transparent);
    border-radius: 48% 48% 14px 14px / 25% 25% 12px 12px;
    background:
        radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--suit-soft) 58%, #fff), transparent 28%),
        linear-gradient(165deg, color-mix(in srgb, var(--suit-soft) 72%, #f4e7c8), #d8bd93);
    box-shadow: inset 0 0 25px rgba(64, 32, 42, .11);
}
.tarot-face__artwork::before,
.tarot-face__artwork::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}
.tarot-face__artwork::before {
    top: 10%;
    right: 9%;
    width: 6px;
    height: 6px;
    background: var(--suit-color);
    box-shadow: -34px 19px 0 -1px var(--suit-color), -12px 47px 0 -2px var(--suit-color), 8px 72px 0 -1px var(--suit-color);
    opacity: .42;
}
.tarot-face__artwork::after {
    right: -15%;
    bottom: -9%;
    left: -15%;
    height: 42%;
    border: 1px solid color-mix(in srgb, var(--suit-color) 28%, transparent);
    box-shadow: 0 -12px 0 -11px var(--suit-color), 0 -25px 0 -24px var(--suit-color);
}
.tarot-face__title {
    position: relative;
    z-index: 4;
    display: grid;
    justify-items: center;
    align-self: end;
    min-height: 16%;
    padding: 4% 14% 1%;
    color: #342232;
    text-align: center;
}
.tarot-face__title strong { font-family: Georgia, serif; font-size: clamp(.54rem, 1.45vw, .98rem); font-weight: 600; line-height: 1.05; }
.tarot-face__title small { margin-top: .18rem; color: var(--suit-color); font-size: clamp(.31rem, .75vw, .5rem); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.tarot-face__orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--suit-color) 55%, transparent); border-radius: 50%; }
.tarot-face__orbit--outer { width: 76%; aspect-ratio: 1; transform: rotate(17deg); }
.tarot-face__orbit--inner { width: 48%; aspect-ratio: 1; border-style: dashed; transform: rotate(-23deg); }
.tarot-face__major-sigil {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 45%;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--suit-color) 52%, transparent);
    border-radius: 50%;
    color: var(--suit-color);
    background: rgba(249, 237, 211, .42);
    box-shadow: 0 0 0 8px rgba(95, 55, 100, .045), 0 0 25px rgba(95, 55, 100, .1);
    font-family: Georgia, serif;
    font-size: clamp(1.3rem, 4vw, 3rem);
}
.tarot-face__horizon { position: absolute; right: 7%; bottom: 18%; left: 7%; height: 18%; border-top: 1px solid rgba(85, 50, 77, .35); border-radius: 50%; }
.tarot-face__pips {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2% 18%;
    place-items: center;
    width: 73%;
    height: 76%;
    padding: 6% 0;
}
.tarot-face__pips--1 { grid-template-columns: 1fr; }
.tarot-face__pips--3,
.tarot-face__pips--5,
.tarot-face__pips--7,
.tarot-face__pips--9 { grid-template-columns: repeat(3, 1fr); gap: 1% 4%; }
.tarot-face__pip { color: var(--suit-color); font-size: clamp(.8rem, 2.6vw, 1.8rem); text-shadow: 0 2px 0 rgba(255, 255, 255, .45); }
.tarot-face__court {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 60%;
    aspect-ratio: .78;
    border: 1px solid color-mix(in srgb, var(--suit-color) 52%, transparent);
    border-radius: 50% 50% 12px 12px / 25% 25% 12px 12px;
    color: var(--suit-color);
    background: rgba(249, 237, 211, .44);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .08);
}
.tarot-face__court strong { font-family: Georgia, serif; font-size: clamp(1.4rem, 4vw, 3rem); line-height: .8; }
.tarot-face__court-crown { font-size: clamp(.8rem, 2vw, 1.3rem); }
.tarot-face__court-suit { font-size: clamp(.9rem, 2.5vw, 1.6rem); }

.oracle-reveal-bar {
    position: absolute;
    z-index: 5;
    right: clamp(1rem, 3vw, 2rem);
    bottom: 1.25rem;
    left: clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 62px;
    padding: .6rem .65rem .6rem 1rem;
    border: 1px solid rgba(216, 181, 107, .24);
    border-radius: 15px;
    background: rgba(15, 8, 20, .76);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .35);
    backdrop-filter: blur(14px);
}
.oracle-reveal-bar p { margin: 0; color: #ad9fb4; font-size: .7rem; }
.oracle-reveal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 195px;
    min-height: 48px;
    padding: 0 1rem;
    border: 0;
    border-radius: 11px;
    color: #2b1b12;
    background: linear-gradient(105deg, #c89c51, #efd99e);
    font-size: .76rem;
    font-weight: 900;
    cursor: pointer;
}
.oracle-reveal:hover { filter: brightness(1.08); }

.oracle-reading-panel {
    position: relative;
    z-index: 6;
    min-width: 0;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    border-left: 1px solid rgba(216, 181, 107, .15);
    background:
        radial-gradient(circle at 50% 0, rgba(124, 78, 147, .12), transparent 18rem),
        linear-gradient(180deg, rgba(24, 16, 31, .98), rgba(10, 7, 14, .99));
}
.oracle-reading-panel.is-complete { background: radial-gradient(circle at 50% 5%, rgba(216, 181, 107, .1), transparent 20rem), #100b16; }
.oracle-reading-panel__empty { display: grid; justify-items: center; align-content: center; height: 100%; min-height: 500px; text-align: center; }
.oracle-reading-panel__moon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(216, 181, 107, .35);
    border-radius: 50%;
    color: var(--oracle-gold-light);
    background: radial-gradient(circle, rgba(216, 181, 107, .12), transparent 70%);
    box-shadow: 0 0 55px rgba(216, 181, 107, .1);
    font-family: Georgia, serif;
    font-size: 3rem;
}
.oracle-reading-panel__empty h2 { margin: .55rem 0 .45rem; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.oracle-reading-panel__empty > p { max-width: 300px; margin: 0; color: #9e91a5; font-size: .76rem; line-height: 1.55; }
.oracle-position-key { display: flex; gap: .45rem; margin-top: 1.35rem; }
.oracle-position-key span { display: flex; align-items: center; gap: .35rem; color: #786e7e; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.oracle-position-key i { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(216,181,107,.24); border-radius: 50%; color: var(--oracle-gold); font-family: Georgia, serif; font-style: normal; }

.oracle-card-reading,
.oracle-synthesis { animation: oracle-panel-in .42s ease both; }
.oracle-card-reading__position { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.oracle-card-reading__position span { color: var(--oracle-gold); font-size: .64rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.oracle-card-reading__position small { color: #756b7b; font-size: .6rem; }
.oracle-card-reading__title { display: flex; align-items: center; gap: .85rem; margin: 1.2rem 0 1rem; }
.oracle-card-reading__title > span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(216, 181, 107, .35);
    border-radius: 50%;
    color: var(--oracle-gold-light);
    background: rgba(216, 181, 107, .055);
    font-family: Georgia, serif;
    font-size: 1.7rem;
}
.oracle-card-reading__title h2 { margin: 0; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; line-height: 1.02; }
.oracle-card-reading__title p { margin: .3rem 0 0; color: #a989b0; font-size: .61rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.oracle-keywords { display: flex; flex-wrap: wrap; gap: .38rem; margin-bottom: 1rem; }
.oracle-keywords span { padding: .3rem .55rem; border: 1px solid rgba(216, 181, 107, .19); border-radius: 999px; color: #cbb7cf; background: rgba(216, 181, 107, .035); font-size: .58rem; font-weight: 800; text-transform: capitalize; }
.oracle-card-reading__meaning { color: #d4cad8; font-family: Georgia, serif; font-size: 1.04rem; line-height: 1.7; }
.oracle-card-reading__guidance,
.oracle-next-step { margin-top: 1.2rem; padding: .9rem; border: 1px solid rgba(216, 181, 107, .19); border-radius: 12px; background: rgba(216, 181, 107, .045); }
.oracle-card-reading__guidance small,
.oracle-next-step small { color: var(--oracle-gold); font-size: .56rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.oracle-card-reading__guidance p,
.oracle-next-step p { margin: .35rem 0 0; color: #bfb2c4; font-size: .74rem; line-height: 1.55; }

.oracle-synthesis > h2 { margin: .5rem 0 .75rem; color: var(--oracle-gold-light); font-family: Georgia, serif; font-size: clamp(1.65rem, 2.7vw, 2.15rem); font-weight: 500; line-height: 1.04; }
.oracle-synthesis > p { color: #c1b6c6; font-size: .76rem; line-height: 1.62; }
.oracle-synthesis__flow { padding-bottom: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #e7dfea !important; font-family: Georgia, serif; font-size: .94rem !important; }
.oracle-patterns { display: grid; gap: .48rem; margin-top: 1rem; }
.oracle-patterns > div { display: grid; grid-template-columns: 24px 1fr; gap: .55rem; align-items: start; }
.oracle-patterns span { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(216, 181, 107, .26); border-radius: 50%; color: var(--oracle-gold); font-family: Georgia, serif; font-size: .62rem; }
.oracle-patterns p { margin: 0; color: #9d919f; font-size: .66rem; line-height: 1.45; }
.oracle-synthesis > .oracle-disclaimer { margin-top: .75rem; }
.oracle-synthesis__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.oracle-synthesis__actions button { min-height: 42px; border: 1px solid rgba(216, 181, 107, .25); border-radius: 10px; color: #d7cbdc; background: rgba(216, 181, 107, .055); font-size: .65rem; font-weight: 850; cursor: pointer; }
.oracle-synthesis__actions button:hover { border-color: var(--oracle-gold); color: #fff; }

.oracle-reading__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: .7rem clamp(1rem, 2.5vw, 1.6rem);
    border-top: 1px solid rgba(216, 181, 107, .12);
    background: #0d0912;
}
.oracle-reading__footer > span { display: flex; align-items: center; gap: .5rem; color: #776d7d; font-size: .58rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.oracle-reading__footer button { min-height: 42px; padding: 0 .9rem; border: 1px solid rgba(216, 181, 107, .23); border-radius: 10px; color: #d9cedd; background: rgba(216, 181, 107, .045); font-size: .68rem; font-weight: 850; cursor: pointer; }
.oracle-reading__footer button b { margin-left: .5rem; color: var(--oracle-gold); }
.oracle-reading__footer button:hover { border-color: var(--oracle-gold); color: #fff; }

.oracle-deck-dialog {
    width: min(94vw, 1180px);
    max-width: 1180px;
    max-height: 90vh;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(216, 181, 107, .34);
    border-radius: 22px;
    color: var(--oracle-ivory);
    background: #100b16;
    box-shadow: 0 35px 120px rgba(0, 0, 0, .75);
}
.oracle-deck-dialog::backdrop { background: rgba(3, 1, 6, .78); backdrop-filter: blur(8px); }
.oracle-deck-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 86px; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(90deg, rgba(216,181,107,.06), rgba(131,82,154,.08)); }
.oracle-deck-dialog__header h2 { margin: .25rem 0 0; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.oracle-deck-dialog__header > button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #ddd2e0; background: rgba(255,255,255,.04); font-size: 1.5rem; cursor: pointer; }
.oracle-deck-filters { display: flex; gap: .45rem; padding: .75rem 1.25rem; overflow-x: auto; border-bottom: 1px solid rgba(255,255,255,.07); scrollbar-width: thin; }
.oracle-deck-filters button { flex: 0 0 auto; min-height: 36px; padding: 0 .7rem; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #9e93a4; background: rgba(255,255,255,.025); font-size: .62rem; font-weight: 850; cursor: pointer; }
.oracle-deck-filters button span { margin-left: .3rem; color: #6f6574; }
.oracle-deck-filters button[aria-pressed="true"] { border-color: var(--oracle-gold); color: #24180e; background: var(--oracle-gold); }
.oracle-deck-filters button[aria-pressed="true"] span { color: #5f4523; }
.oracle-deck-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(95px, 1fr));
    gap: .85rem;
    max-height: calc(90vh - 190px);
    padding: 1rem 1.25rem 2rem;
    overflow-y: auto;
}
.oracle-deck-card { min-width: 0; margin: 0; }
.oracle-deck-card .tarot-face { width: 100%; aspect-ratio: 5 / 8; height: auto; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, .38); }
.tarot-face--compact .tarot-face__corner strong { font-size: .72rem; }
.tarot-face--compact .tarot-face__corner span { font-size: .62rem; }
.tarot-face--compact .tarot-face__title strong { font-size: .7rem; }
.tarot-face--compact .tarot-face__title small { font-size: .39rem; }
.tarot-face--compact .tarot-face__major-sigil { font-size: 1.7rem; }
.tarot-face--compact .tarot-face__pip { font-size: 1rem; }
.tarot-face--compact .tarot-face__court strong { font-size: 1.8rem; }
.tarot-face--compact .tarot-face__court-crown,
.tarot-face--compact .tarot-face__court-suit { font-size: .9rem; }
.oracle-deck-card figcaption { padding: .45rem .15rem 0; text-align: center; }
.oracle-deck-card figcaption strong { display: block; overflow: hidden; font-family: Georgia, serif; font-size: .7rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.oracle-deck-card figcaption small { display: block; overflow: hidden; margin-top: .2rem; color: #756b7c; font-size: .48rem; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.oracle-deck-dialog__note { margin: 0; padding: .7rem 1.25rem; border-top: 1px solid rgba(255,255,255,.07); color: #746a79; background: #0c0911; font-size: .56rem; text-align: center; }
.oracle-dialog-open { overflow: hidden; }

@keyframes oracle-live { to { opacity: .45; transform: scale(.8); } }
@keyframes oracle-deck-breathe { 50% { filter: brightness(1.12); transform: translateY(-4px); } }
@keyframes oracle-ritual-out { to { opacity: 0; transform: scale(.9) translateY(-20px); } }
@keyframes oracle-card-deal { from { opacity: 0; transform: translateY(-70px) rotate(calc((var(--deal-index) - 1) * 8deg)); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes oracle-next-card { to { filter: brightness(1.11); transform: translateY(-3px); } }
@keyframes oracle-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 992px) {
    .oracle-table {
        display: grid;
        grid-template-rows: clamp(54px, 7vh, 64px) minmax(0, 1fr);
        height: min(920px, calc(100dvh - 1rem));
    }

    .oracle-table__header {
        min-height: 0;
        height: 100%;
        padding: .4rem clamp(.8rem, 2vw, 1.4rem);
    }
    .oracle-table__icon-button,
    .oracle-table__sound,
    .oracle-table__deck-link { min-height: 38px; }
    .oracle-table__icon-button { width: 38px; }
    .oracle-table__brand-moon { width: 34px; height: 34px; font-size: 1.25rem; }
    .oracle-table__brand strong { font-size: 1.06rem; }
    .oracle-table__brand small { margin-top: .14rem; font-size: .56rem; }

    .oracle-setup {
        height: 100%;
        min-height: 0;
        gap: clamp(1rem, 3vw, 3rem);
        padding: clamp(.65rem, 1.7vh, 1.1rem) clamp(1rem, 3vw, 3rem);
        overflow: hidden;
    }
    .oracle-setup h1 {
        margin: .5rem 0 .65rem;
        font-size: clamp(3rem, 5vw, 5.6rem);
        line-height: .82;
    }
    .oracle-setup__intro > p { font-size: .87rem; line-height: 1.45; }
    .oracle-flow { gap: .35rem; margin: .75rem 0; }
    .oracle-flow li {
        grid-template-columns: 32px 1fr;
        gap: .55rem;
        padding: .38rem .5rem;
        border-radius: 10px;
    }
    .oracle-flow li > span { width: 28px; height: 28px; font-size: .61rem; }
    .oracle-flow strong { font-size: .72rem; }
    .oracle-flow small { margin-top: .08rem; font-size: .57rem; }
    .oracle-setup__browse {
        grid-template-columns: 30px 1fr auto;
        min-height: 46px;
        padding: .38rem .6rem;
    }
    .oracle-mini-back { width: 22px; height: 34px; }
    .oracle-setup__browse strong { font-size: .78rem; }
    .oracle-setup__browse small { margin-top: .1rem; font-size: .54rem; }

    .oracle-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        align-content: center;
        padding: clamp(.65rem, 1.5vh, .9rem);
        border-radius: 18px;
    }
    .oracle-form__heading,
    .oracle-form__step--intention,
    .oracle-form > .oracle-primary,
    .oracle-form > .oracle-form__status,
    .oracle-form > .oracle-disclaimer { grid-column: 1 / -1; }
    .oracle-form__heading {
        margin: 0;
        padding: 0 .1rem .5rem;
    }
    .oracle-form__heading h2 { margin: .18rem 0 .08rem; font-size: 1.35rem; }
    .oracle-form__heading p { font-size: .62rem; line-height: 1.35; }
    .oracle-form__step {
        margin: 0;
        padding: .55rem .65rem;
        border-radius: 11px;
    }
    .oracle-form__step legend {
        gap: .45rem;
        margin-bottom: .35rem;
        font-size: .7rem;
    }
    .oracle-form__step legend > span { width: 25px; height: 25px; }
    .oracle-form__step legend small { font-size: .46rem; }
    .oracle-label { margin: .32rem 0 .2rem; font-size: .58rem; }
    .oracle-input { min-height: 36px; }
    .oracle-input input { height: 34px; }
    .oracle-select { min-height: 36px; padding-inline: .6rem; }
    .oracle-form__step--intention {
        display: grid;
        grid-template-columns: minmax(160px, .72fr) minmax(0, 1.28fr);
        column-gap: .65rem;
        row-gap: .18rem;
    }
    .oracle-form__step--intention legend { grid-column: 1 / -1; }
    .oracle-form__step--intention label[for="tarotFocus"] { grid-column: 1; grid-row: 2; }
    .oracle-form__step--intention #tarotFocus { grid-column: 1; grid-row: 3; }
    .oracle-form__step--intention label[for="tarotQuestion"] { grid-column: 2; grid-row: 2; }
    .oracle-form__step--intention #tarotQuestion {
        grid-column: 2;
        grid-row: 3;
        min-height: 50px;
        height: 50px;
        padding: .5rem .6rem;
        resize: none;
    }
    .oracle-form__step--intention .oracle-form__counter {
        grid-column: 2;
        grid-row: 4;
        margin-top: 0;
    }
    .oracle-form > .oracle-primary { min-height: 44px; padding-inline: .9rem; }
    .oracle-form > .oracle-form__status,
    .oracle-form > .oracle-disclaimer { min-height: 0; margin: 0; line-height: 1.3; }

    .oracle-reading {
        display: grid;
        grid-template-rows: clamp(50px, 6.5vh, 60px) minmax(0, 1fr) clamp(44px, 5.5vh, 52px);
        height: 100%;
        min-height: 0;
    }
    .oracle-reading__topbar {
        min-height: 0;
        height: 100%;
        padding: .35rem clamp(.8rem, 1.6vw, 1.2rem);
    }
    .oracle-reading__layout {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 450px);
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }
    .oracle-stage { min-height: 0; height: 100%; }
    .oracle-ritual { width: min(86%, 340px); padding: 1rem; border-radius: 15px; }
    .oracle-ritual h2 { margin: .3rem 0; font-size: 1.35rem; }
    .oracle-ritual p { font-size: .68rem; line-height: 1.4; }
    .oracle-deck-stack { width: 64px; height: 102px; margin-bottom: .7rem; }
    .oracle-primary--compact { min-height: 44px; margin-top: .7rem; }
    .oracle-spread {
        width: min(84%, 760px);
        gap: clamp(.55rem, 1.5vw, 1.2rem);
        padding: .4rem 0 clamp(3.8rem, 8vh, 4.5rem);
    }
    .oracle-card { grid-template-rows: 34px auto; gap: .3rem; }
    .oracle-card__position strong { font-size: clamp(.78rem, 1.2vw, .96rem); }
    .oracle-card__position small { font-size: .46rem; }
    .oracle-reveal-bar {
        right: .75rem;
        bottom: .55rem;
        left: .75rem;
        min-height: 50px;
        padding: .4rem .45rem .4rem .8rem;
        border-radius: 12px;
    }
    .oracle-reveal { min-height: 40px; }

    .oracle-reading-panel {
        min-height: 0;
        padding: clamp(.75rem, 1.35vw, 1.15rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
    .oracle-reading-panel__empty { min-height: 0; }
    .oracle-reading-panel__moon { width: 60px; height: 60px; margin-bottom: .65rem; font-size: 2rem; }
    .oracle-reading-panel__empty h2 { margin: .35rem 0 .25rem; font-size: 1.35rem; }
    .oracle-position-key { margin-top: .75rem; }
    .oracle-card-reading__position { padding-bottom: .55rem; }
    .oracle-card-reading__title { margin: .7rem 0 .55rem; }
    .oracle-card-reading__title > span { width: 42px; height: 42px; font-size: 1.3rem; }
    .oracle-card-reading__title h2 { font-size: 1.4rem; }
    .oracle-keywords { gap: .28rem; margin-bottom: .55rem; }
    .oracle-keywords span { padding: .22rem .42rem; font-size: .52rem; }
    .oracle-card-reading__meaning { margin-bottom: .6rem; font-size: .9rem; line-height: 1.48; }
    .oracle-card-reading__guidance,
    .oracle-next-step { margin-top: .65rem; padding: .65rem; }
    .oracle-card-reading__guidance p,
    .oracle-next-step p { margin-top: .25rem; font-size: .66rem; line-height: 1.4; }
    .oracle-synthesis > h2 { margin: .3rem 0 .5rem; font-size: 1.55rem; }
    .oracle-synthesis > p { margin-block: .45rem; font-size: .68rem; line-height: 1.42; }
    .oracle-synthesis__flow { padding-bottom: .55rem; font-size: .82rem !important; line-height: 1.4 !important; }
    .oracle-patterns { gap: .3rem; margin-top: .55rem; }
    .oracle-patterns > div { grid-template-columns: 20px 1fr; gap: .42rem; }
    .oracle-patterns span { width: 19px; height: 19px; font-size: .54rem; }
    .oracle-patterns p { font-size: .58rem; line-height: 1.35; }
    .oracle-synthesis > .oracle-disclaimer { margin-top: .45rem; }
    .oracle-synthesis__actions { gap: .4rem; margin-top: .55rem; }
    .oracle-synthesis__actions button { min-height: 36px; }
    .oracle-reading__footer {
        min-height: 0;
        height: 100%;
        padding: .3rem clamp(.8rem, 1.6vw, 1.2rem);
    }
    .oracle-reading__footer button { min-height: 36px; }
}

@media (max-width: 1180px) {
    .oracle-setup { grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr); gap: 2rem; }
    .oracle-reading__layout { grid-template-columns: minmax(0, 1fr) 370px; }
    .oracle-deck-grid { grid-template-columns: repeat(6, minmax(90px, 1fr)); }
}

@media (max-width: 991.98px) {
    body.page-oracle-table #mainContent {
        display: block;
        height: auto;
        min-height: 100dvh;
        padding: .5rem !important;
        overflow: visible;
    }
    body.page-oracle-table #mainContent > .container,
    body.page-oracle-table #mainContent > .container-fluid {
        display: block;
        width: 100%;
        height: auto;
    }
    .oracle-table { display: block; height: auto; max-height: none; }
    .oracle-setup { grid-template-columns: 1fr; align-items: start; }
    .oracle-setup__intro { max-width: none; }
    .oracle-setup__intro > p { max-width: 720px; }
    .oracle-flow { grid-template-columns: repeat(3, 1fr); }
    .oracle-flow li { grid-template-columns: 36px 1fr; }
    .oracle-setup__browse { width: 100%; max-width: 720px; }
    .oracle-reading__layout { grid-template-columns: 1fr; }
    .oracle-stage { min-height: 680px; }
    .oracle-reading-panel { min-height: 470px; border-top: 1px solid rgba(216, 181, 107, .15); border-left: 0; }
    .oracle-reading-panel__empty { min-height: 420px; }
    .oracle-deck-grid { grid-template-columns: repeat(5, minmax(90px, 1fr)); }
}

@media (max-width: 767.98px) {
    .oracle-table__header { grid-template-columns: 42px 1fr auto; }
    .oracle-table__deck-link {
        display: grid;
        place-items: center;
        width: 42px;
        padding: 0;
        font-size: 0;
    }
    .oracle-table__deck-link::before { content: "78"; font-size: .66rem; font-weight: 900; }
    .oracle-table__sound b { display: none; }
    .oracle-table__sound { width: 42px; justify-content: center; padding: 0; }
    .oracle-setup { padding: 1.2rem; }
    .oracle-setup h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); }
    .oracle-flow { grid-template-columns: 1fr; }
    .oracle-reading__topbar { grid-template-columns: 1fr 1fr; }
    .oracle-reading__question { grid-column: 1 / -1; grid-row: 2; padding-top: .55rem; border-top: 1px solid rgba(255,255,255,.07); }
    .oracle-reading__topbar > div:nth-child(1) { text-align: left; }
    .oracle-spread { width: 95%; gap: .5rem; }
    .oracle-card { grid-template-rows: 38px auto; }
    .oracle-reveal-bar { flex-direction: column; align-items: stretch; padding: .65rem; }
    .oracle-reveal-bar p { text-align: center; }
    .oracle-reveal { width: 100%; }
    .oracle-deck-grid { grid-template-columns: repeat(4, minmax(75px, 1fr)); gap: .65rem; }
}

@media (max-width: 575.98px) {
    .oracle-table { width: calc(100% + .7rem); margin-inline: -.35rem; border-radius: 18px; }
    .oracle-table__header { min-height: 66px; padding: .65rem .75rem; }
    .oracle-table__brand-moon { display: none; }
    .oracle-table__brand small { max-width: 55vw; }
    .oracle-setup { padding: 1rem .8rem 1.35rem; }
    .oracle-setup h1 { margin-top: .85rem; font-size: clamp(3rem, 16vw, 4.6rem); }
    .oracle-form { padding: .85rem; border-radius: 18px; }
    .oracle-form__step { padding: .75rem; }
    .oracle-reading__topbar { padding: .7rem .75rem; }
    .oracle-stage { min-height: 570px; }
    .oracle-stage__art { object-position: center; }
    .oracle-ritual { width: calc(100% - 1.5rem); padding: 1.25rem; }
    .oracle-spread { align-self: start; width: 98%; padding-top: 1.5rem; padding-bottom: 8.5rem; gap: .3rem; }
    .oracle-card { grid-template-rows: 36px auto; }
    .oracle-card__position strong { font-size: .82rem; }
    .oracle-card__position small { font-size: .43rem; }
    .tarot-face__title strong { font-size: clamp(.42rem, 2.6vw, .68rem); }
    .tarot-face__title small { font-size: .29rem; }
    .tarot-face__corner strong { font-size: clamp(.48rem, 2.8vw, .72rem); }
    .tarot-face__corner span { font-size: clamp(.44rem, 2.7vw, .68rem); }
    .tarot-face__major-sigil { font-size: clamp(1rem, 7vw, 1.65rem); }
    .tarot-face__pip { font-size: clamp(.58rem, 4vw, .95rem); }
    .oracle-reveal-bar { right: .55rem; bottom: .65rem; left: .55rem; }
    .oracle-reading-panel { padding: 1.25rem 1rem; }
    .oracle-reading__footer { align-items: stretch; flex-direction: column; }
    .oracle-reading__footer > span { justify-content: center; }
    .oracle-reading__footer button { width: 100%; }
    .oracle-deck-dialog { width: 98vw; max-height: 94vh; border-radius: 15px; }
    .oracle-deck-grid { grid-template-columns: repeat(3, minmax(72px, 1fr)); max-height: calc(94vh - 190px); padding: .75rem; }
    .oracle-deck-dialog__header { padding: .8rem; }
    .oracle-deck-dialog__header h2 { font-size: 1.3rem; }
    .oracle-deck-filters { padding-inline: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .oracle-table *,
    .oracle-table *::before,
    .oracle-table *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
