/* Власний візуальний стиль розкладів; адаптивний і доступний з клавіатури. */
:root{--opr-ink:#130c25;--opr-deep:#10091f;--opr-night:#211334;--opr-violet:#8e65ca;--opr-lilac:#caa6f6;--opr-cream:#fff2d7;--opr-gold:#d4ae72;--opr-paper:#faf7f2}
html{scroll-padding-top:86px}body.home{background:var(--opr-paper)}.home .nav{background:#120b22;border-color:#302040;box-shadow:none;min-height:70px}.home .nav-brand,.home .nav-link,.home .opr-nav-tarot{color:var(--opr-cream)}.home .nav-brand{font-family:Georgia,serif;font-size:1.3rem;max-width:none}.home .nav-link:hover,.home .opr-nav-tarot:hover{color:var(--opr-lilac)}.home .nav-toggle span{background:var(--opr-cream)}.opr-nav-tarot{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;color:var(--opr-ink);font-size:14px;font-weight:700;text-decoration:none;border:1px solid #9c87b4;border-radius:24px;margin:0 10px 0 0}.opr-tarot-home{font-family:'Source Sans Pro',Arial,sans-serif;color:var(--opr-ink)}.opr-tarot-home h1,.opr-tarot-home h2,.opr-tarot-home h3,.opr-tarot-home h4,.opr-tarot-home h5{font-family:'Playfair Display',Georgia,serif;letter-spacing:-.035em;font-weight:400}.opr-tarot-home p{color:inherit}.opr-tarot-home button,.opr-tarot-home input,.opr-tarot-home textarea{font:inherit}.opr-tarot-home a:focus-visible,.opr-tarot-home button:focus-visible,.opr-tarot-home textarea:focus-visible,.opr-tarot-home input:focus-visible{outline:3px solid #a868e7;outline-offset:4px}.opr-tarot-shell{max-width:1220px;margin:0 auto;padding-left:28px;padding-right:28px}.opr-tarot-eyebrow{font-size:12px!important;font-weight:800;letter-spacing:.2em!important;line-height:1.4;text-transform:uppercase}.opr-tarot-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 72% 30%,#382254 0,transparent 42%),linear-gradient(130deg,#1f1135,#100a1e 70%);color:var(--opr-cream)}.opr-tarot-hero:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#fff9 1px,transparent 1px);background-size:64px 68px;opacity:.33;pointer-events:none}.opr-tarot-hero__grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;min-height:610px;position:relative}.opr-tarot-hero__copy{padding:72px 0 88px;z-index:2}.opr-tarot-hero__copy .opr-tarot-eyebrow{color:var(--opr-lilac)}.opr-tarot-hero h1{font-size:clamp(3rem,5.2vw,5.25rem);line-height:1.05;margin:20px 0 26px;max-width:650px;color:var(--opr-cream)}.opr-tarot-hero h1 em{display:block;color:var(--opr-lilac);font-weight:400}.opr-tarot-lead{font-size:19px;line-height:1.65;max-width:500px;color:#e4d9ec!important}.opr-tarot-actions{display:flex;align-items:center;flex-wrap:wrap;gap:25px;margin:35px 0 14px}.opr-tarot-button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:52px;padding:13px 23px;border-radius:100px;font-size:15px;font-weight:700;text-decoration:none!important;transition:transform .2s ease,background .2s ease,box-shadow .2s ease;cursor:pointer;border:1px solid transparent;white-space:nowrap}.opr-tarot-button:hover{transform:translateY(-3px)}.opr-tarot-button--primary{background:var(--opr-cream);color:#211334!important;box-shadow:0 8px 28px #05020a30}.opr-tarot-button--primary:hover{background:#fff9e9}.opr-tarot-button--outline{color:var(--opr-cream)!important;border-color:#9273ad;background:transparent}.opr-tarot-text-link{color:inherit!important;text-decoration:underline!important;text-underline-offset:6px;font-weight:700;font-size:15px}.opr-tarot-hero__note{font-size:13px;color:#bfaed1!important}.opr-tarot-hero__art{min-height:580px;position:relative;isolation:isolate}.opr-tarot-orbit{position:absolute;display:block;border:1px solid #a886c14d;border-radius:50%;aspect-ratio:1}.opr-tarot-orbit--one{width:510px;top:4%;left:2%}.opr-tarot-orbit--two{width:370px;top:16%;left:15%}.opr-tarot-hero-card{position:absolute;width:205px;height:315px;border:7px solid var(--opr-cream);outline:2px solid var(--opr-gold);outline-offset:-18px;border-radius:14px;background:radial-gradient(circle at center,#32204b 0,#1a1030 78%);box-shadow:0 25px 40px #05020a55;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:32px;color:var(--opr-cream);font-family:Georgia,serif;font-size:16px;letter-spacing:.13em;animation:opr-float 5s ease-in-out infinite}.opr-tarot-hero-card:before{content:'✦';position:absolute;top:16px;left:22px;font-size:14px}.opr-tarot-hero-card:after{content:'✦';position:absolute;bottom:16px;right:22px;font-size:14px}.opr-tarot-hero-card__icon{font-size:105px;font-weight:400;line-height:1;color:var(--opr-gold);text-shadow:0 0 36px #f6d5aa44}.opr-tarot-hero-card--left{left:6%;top:25%;transform:rotate(-19deg);animation-name:opr-float-left}.opr-tarot-hero-card--middle{left:34%;top:17%;transform:rotate(-4deg);z-index:2;animation-delay:-1.3s}.opr-tarot-hero-card--right{left:58%;top:27%;transform:rotate(17deg);z-index:3;animation-name:opr-float-right;animation-delay:-2.6s}.opr-tarot-hero__spark{position:absolute;color:var(--opr-lilac);font-size:28px}.opr-tarot-hero__spark--a{top:12%;left:20%}.opr-tarot-hero__spark--b{bottom:15%;right:5%}@keyframes opr-float{50%{translate:0 -13px}}@keyframes opr-float-left{50%{translate:0 -13px;rotate:-2deg}}@keyframes opr-float-right{50%{translate:0 -13px;rotate:2deg}}
.opr-tarot-band{display:flex;justify-content:center;gap:clamp(24px,6vw,100px);align-items:center;padding:18px 25px;background:#e9def3;color:#4c366b;font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.opr-tarot-section{padding-top:92px;padding-bottom:96px}.opr-tarot-section__intro{max-width:690px;margin-bottom:36px}.opr-tarot-section__intro .opr-tarot-eyebrow,.opr-tarot-explain .opr-tarot-eyebrow,.opr-tarot-journal .opr-tarot-eyebrow{color:#8058ab}.opr-tarot-section h2,.opr-tarot-journal h2{font-size:clamp(2.4rem,4vw,4rem);line-height:1.13;margin:10px 0 18px}.opr-tarot-section__intro>p:last-child{font-size:18px;line-height:1.65;color:#655b70}.opr-reading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.opr-reading-tile{min-height:265px;display:flex;flex-direction:column;text-align:left;padding:22px;border:1px solid #ddd2e5;border-radius:14px;background:#fff;color:var(--opr-ink);cursor:pointer;box-shadow:0 8px 30px #29173b08;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.opr-reading-tile:hover{transform:translateY(-7px);border-color:#a580c8;box-shadow:0 18px 36px #29173b18}.opr-reading-tile__top{display:flex;justify-content:space-between;gap:12px;color:#806a91;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.opr-reading-tile__symbol{font-family:Georgia,serif;font-size:55px;line-height:1.25;color:#8b65b2;margin:10px 0 2px}.opr-reading-tile__title{font-family:'Playfair Display',Georgia,serif;font-size:24px;line-height:1.2}.opr-reading-tile__description{color:#6b6171;font-size:14px;line-height:1.5;margin-top:9px}.opr-reading-tile__arrow{margin-top:auto;padding-top:20px;font-size:13px;font-weight:800;color:#6b3f96}
.opr-tarot-workspace{background:radial-gradient(ellipse at 50% 35%,#35204e 0,#190f2a 72%);color:var(--opr-cream);padding:80px 0 88px;position:relative;overflow:hidden}.opr-tarot-workspace:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 149px,#ffffff08 150px),repeating-linear-gradient(0deg,transparent 0 149px,#ffffff08 150px);pointer-events:none}.opr-tarot-workspace .opr-tarot-shell{position:relative}.opr-tarot-workspace__heading{display:flex;justify-content:space-between;gap:30px;align-items:end;border-bottom:1px solid #ffffff29;padding-bottom:22px}.opr-tarot-workspace__heading .opr-tarot-eyebrow,.opr-reading-result .opr-tarot-eyebrow{color:var(--opr-lilac)}.opr-tarot-workspace h2{font-size:clamp(2.3rem,4vw,3.9rem);margin:6px 0 0;color:var(--opr-cream)}.opr-tarot-status{font-size:14px;color:#d6c9e2!important;margin-bottom:8px}.opr-reading-intro{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px}.opr-reading-intro[hidden],.opr-reading-app[hidden],.opr-deck-stage[hidden],.opr-reading-result[hidden],.opr-choice-wrap[hidden],.opr-question-wrap[hidden],.opr-reading-app__shuffle button[hidden]{display:none!important}.opr-reading-intro__mark{font-family:Georgia,serif;font-size:80px;line-height:1;color:var(--opr-gold)}.opr-reading-intro p{font-size:17px;color:#e8dced!important}.opr-reading-app{padding-top:26px}.opr-reading-app__toolbar{display:flex;justify-content:space-between;gap:20px;align-items:start}.opr-reading-app__step{color:var(--opr-lilac)!important;font-size:12px;font-weight:800;letter-spacing:.16em}.opr-reading-app h3{font-size:2.3rem;color:var(--opr-cream);margin:5px 0}.opr-reading-app__toolbar p:last-child{color:#d9cfe2;margin:0}.opr-reading-reset{background:none;border:1px solid #8569a0;border-radius:25px;color:var(--opr-cream);padding:9px 16px;cursor:pointer;white-space:nowrap}.opr-reading-reset:hover{background:#ffffff15}.opr-question-wrap,.opr-choice-wrap{margin-top:28px;max-width:620px}.opr-question-wrap label,.opr-choice-wrap label{display:block;font-weight:700;margin-bottom:9px}.opr-question-wrap textarea,.opr-choice-wrap input{width:100%;display:block;border:1px solid #8e73a9;border-radius:9px;background:#f9f4fb;color:#241532;padding:14px 16px;resize:vertical}.opr-question-wrap p{color:#cbbdd7!important;font-size:13px;margin:7px 0}.opr-choice-wrap{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.opr-choice-wrap label:nth-of-type(2){grid-column:2;grid-row:1}.opr-choice-wrap input{grid-row:2}.opr-reading-app__shuffle{margin-top:28px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}.opr-reading-app__shuffle p{font-size:13px;color:#cfc0dc;max-width:430px}.opr-deck-stage{margin-top:40px}.opr-deck-stage__heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.opr-deck-stage h4{font-size:1.8rem;margin:0 0 20px;color:var(--opr-cream)}.opr-deck-stage__heading p{color:var(--opr-lilac);font-weight:700}.opr-card-deck{display:flex;overflow-x:auto;gap:0;min-height:210px;padding:16px 16px 30px;scroll-snap-type:x proximity;scrollbar-color:#9c7cba #261638}.opr-card-back{flex:0 0 90px;width:90px;height:155px;border:5px solid #f6e9d0;border-radius:9px;background:repeating-linear-gradient(45deg,#25133e 0 10px,#382052 10px 20px);color:#f7dfaa;margin-right:-24px;box-shadow:0 9px 20px #09031480;position:relative;cursor:pointer;scroll-snap-align:center;transition:transform .22s ease,margin .22s ease,opacity .3s ease}.opr-card-back:before{content:'';position:absolute;inset:7px;border:1px solid #e2c68f;border-radius:3px}.opr-card-back span{position:relative;display:grid;place-items:center;font-family:Georgia,serif;font-size:58px;height:100%;text-shadow:0 0 8px #000}.opr-card-back:hover,.opr-card-back:focus-visible{transform:translateY(-17px);z-index:2;margin-right:-10px}.opr-card-back.is-picked{opacity:.25;transform:translateY(24px);pointer-events:none}.opr-card-deck.is-shuffling .opr-card-back{animation:opr-card-deal .42s both;animation-delay:calc(var(--card-index) * 22ms)}@keyframes opr-card-deal{from{opacity:0;transform:translateY(-45px) rotate(-7deg)}to{opacity:1;transform:translateY(0) rotate(0)}}.opr-selected-cards{display:flex;flex-wrap:wrap;gap:18px;margin:0 0 24px}.opr-picked-card{width:115px;animation:opr-reveal .55s ease both;text-align:center}.opr-picked-card>span{display:block;color:#dbc6eb;font-size:12px;font-weight:700;margin-top:8px}@keyframes opr-reveal{from{opacity:0;transform:rotateY(90deg) translateY(20px)}to{opacity:1;transform:rotateY(0) translateY(0)}}.opr-card-face{width:160px;height:240px;background:radial-gradient(circle at 50% 43%,#fff7ea,#f3dfba);border:5px solid #fff9ec;outline:1px solid #bc9c6e;outline-offset:-13px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#422b4b;box-shadow:0 12px 22px #08030e35;padding:22px 14px;font-family:Georgia,serif}.opr-card-face__number{font-size:10px;letter-spacing:.18em}.opr-card-face__symbol{font-size:65px;line-height:1.3;color:#8157a8}.opr-card-face__family{font-size:8px;letter-spacing:.18em}.opr-card-face__name{font-size:16px;line-height:1.15;margin-top:8px}.opr-card-face--small{width:105px;height:150px;padding:12px 8px}.opr-card-face--small .opr-card-face__symbol{font-size:42px}.opr-card-face--small .opr-card-face__name{font-size:11px}.opr-card-face--small .opr-card-face__family{font-size:6px}.opr-reading-result{margin-top:42px;scroll-margin-top:90px}.opr-reading-result h4{font-size:clamp(2rem,3vw,3.1rem);margin:8px 0;color:var(--opr-cream)}.opr-reading-result__context{font-size:15px;color:#d5c7df!important;max-width:720px}.opr-result-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin:30px 0 42px}.opr-result-card{display:flex;gap:22px;align-items:center;background:#ffffff0f;border:1px solid #ffffff30;border-radius:12px;padding:22px;min-width:0}.opr-result-card .opr-card-face{flex:0 0 150px;width:150px;height:220px}.opr-result-card__position{color:var(--opr-lilac)!important;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:0 0 7px}.opr-result-card h5{font-size:22px;color:var(--opr-cream);margin:0 0 10px}.opr-result-card p:last-child{font-size:14px;line-height:1.55;color:#e0d6e8!important;margin:0}.opr-reading-result__partner{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:1px solid #ffffff37;padding-top:30px}.opr-reading-result__partner h5{font-size:28px;color:var(--opr-cream);margin:6px 0 10px}.opr-reading-result__partner p:last-child{font-size:14px;color:#d3c4df!important;max-width:650px}.opr-affiliate-note{font-size:12px;color:#c6b3d7!important;margin-top:14px}
.opr-tarot-explain{display:grid;grid-template-columns:1.15fr .85fr;gap:100px;align-items:center}.opr-tarot-explain p:not(.opr-tarot-eyebrow){font-size:17px;line-height:1.75;color:#655b70}.opr-tarot-explain__art{width:min(100%,380px);aspect-ratio:.85;margin:auto;border:2px solid #a884bd;outline:1px solid #a884bd;outline-offset:-18px;border-radius:200px 200px 12px 12px;background:radial-gradient(circle at 50% 35%,#efe0f9,#d8c5e6);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#4b2d68}.opr-tarot-explain__art span{font-family:Georgia,serif;font-size:95px;line-height:1}.opr-tarot-explain__art i{font-size:12px;font-style:normal;letter-spacing:.2em}.opr-tarot-explain__art strong{font-family:Georgia,serif;font-weight:400;font-size:85px;line-height:1.2}.opr-tarot-explain__art small{font-size:13px}.opr-tarot-journal{padding:76px 0 90px;background:#eee6f2}.opr-tarot-journal h2{margin-bottom:30px}.opr-tarot-journal__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.opr-journal-card{background:#fff;border-radius:10px;overflow:hidden}.opr-journal-card a{display:block;color:#211334;text-decoration:none}.opr-journal-card__image{display:block;height:190px;overflow:hidden;background:#d4c4df}.opr-journal-card img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.opr-journal-card:hover img{transform:scale(1.04)}.opr-journal-card__content{display:flex;flex-direction:column;gap:16px;padding:22px}.opr-journal-card__content strong{font-family:'Playfair Display',Georgia,serif;font-size:21px;line-height:1.3;font-weight:400}.opr-journal-card__content span{font-size:13px;font-weight:800;color:#764ba2}
@media(max-width:1100px){.opr-reading-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.opr-tarot-hero__grid{gap:15px}.opr-tarot-hero-card{width:170px;height:275px}.opr-tarot-hero-card--left{left:2%}.opr-tarot-hero-card--middle{left:30%}.opr-tarot-hero-card--right{left:55%}.opr-result-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.home .nav-links{background:#120b22;padding:0 0 20px}.home .opr-nav-tarot{margin:12px 0}.opr-tarot-hero__grid{grid-template-columns:1fr;min-height:0}.opr-tarot-hero__copy{padding:60px 0 20px}.opr-tarot-hero__art{min-height:430px;max-width:590px;width:100%;margin:auto}.opr-tarot-orbit--one{width:420px;left:10%;top:0}.opr-tarot-orbit--two{width:300px;left:22%;top:12%}.opr-tarot-hero-card--left{left:14%;top:18%}.opr-tarot-hero-card--middle{left:35%;top:12%}.opr-tarot-hero-card--right{left:56%;top:18%}.opr-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opr-tarot-band{gap:14px;flex-wrap:wrap}.opr-tarot-explain{grid-template-columns:1fr;gap:40px}.opr-tarot-journal__grid{grid-template-columns:repeat(2,1fr)}.opr-reading-result__partner{align-items:start;flex-direction:column}}
@media(max-width:560px){.opr-tarot-shell{padding-left:20px;padding-right:20px}.opr-tarot-hero__copy{padding-top:48px}.opr-tarot-hero h1{font-size:clamp(2.8rem,11vw,4rem)}.opr-tarot-lead{font-size:17px}.opr-tarot-hero__art{min-height:310px}.opr-tarot-orbit--one{width:290px;left:5%}.opr-tarot-orbit--two{width:220px;left:18%}.opr-tarot-hero-card{width:116px;height:190px;border-width:4px;outline-offset:-11px;font-size:10px;gap:14px}.opr-tarot-hero-card__icon{font-size:68px}.opr-tarot-hero-card--left{left:4%;top:20%}.opr-tarot-hero-card--middle{left:30%;top:15%}.opr-tarot-hero-card--right{left:56%;top:21%}.opr-tarot-band{font-size:10px;padding:12px}.opr-tarot-section{padding-top:62px;padding-bottom:65px}.opr-reading-grid{grid-template-columns:1fr}.opr-reading-tile{min-height:185px}.opr-reading-tile__symbol{font-size:38px;margin:4px 0}.opr-tarot-workspace{padding:55px 0}.opr-tarot-workspace__heading{align-items:start;flex-direction:column;gap:8px}.opr-reading-app__toolbar{flex-direction:column}.opr-choice-wrap{grid-template-columns:1fr}.opr-choice-wrap label:nth-of-type(2){grid-column:auto;grid-row:3}.opr-choice-wrap input{grid-row:auto}.opr-result-cards{grid-template-columns:1fr}.opr-result-card{gap:12px;padding:12px}.opr-result-card .opr-card-face{flex-basis:112px;width:112px;height:170px}.opr-result-card .opr-card-face__symbol{font-size:47px}.opr-result-card .opr-card-face__name{font-size:12px}.opr-tarot-journal__grid{grid-template-columns:1fr}.opr-tarot-explain__art{max-width:280px}}
@media(prefers-reduced-motion:reduce){.opr-tarot-home *, .opr-tarot-home *:before,.opr-tarot-home *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.opr-reading-result__question{font-size:16px;color:var(--opr-cream)!important;font-weight:700;margin:14px 0 24px}.opr-reading-result__question[hidden]{display:none}

/* Авторський орнамент звороту: однакова сорочка для всіх карт колоди. */
.opr-card-back{
  border:3px solid #f8e5bd;
  background:#211431 url('../images/tarot-card-back-ornament.svg') center / cover no-repeat;
  box-shadow:0 10px 22px #09031499,0 0 0 1px #b88f5a;
}
.opr-card-back::before,.opr-card-back span{display:none}
.opr-card-back::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:5px;
  background:linear-gradient(115deg,transparent 24%,#fff4d333 49%,transparent 72%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.opr-card-back:hover::after,.opr-card-back:focus-visible::after{opacity:1}
.opr-deck-stage{scroll-margin-top:110px}
@media(max-width:560px){
  .opr-deck-stage__heading{align-items:flex-start;flex-direction:column;gap:0}
  .opr-deck-stage h4{font-size:1.5rem;line-height:1.2;margin:0 0 5px}
}
