.nr-edition .nr-formal-step,
.nr-edition .nr-formal-temple,
.nr-edition .nr-formal-reading,
.nr-formal-overlay {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif JP", serif;
  color: #3d3026;
}
.nr-edition .nr-formal-step { padding: clamp(1.45rem,5vw,3.8rem) clamp(.7rem,4vw,2rem); text-align:center; }
.nr-formal-kicker { color: #74552e; font-size:.74rem; font-weight:600; letter-spacing:.22em; text-align:center; }
.nr-edition .nr-formal-step h3 { color:inherit; margin:.75rem 0 .65rem; font-size:clamp(1.4rem,5.6vw,2.7rem); line-height:1.35; }
.nr-formal-hint { font-size:.9rem; line-height:1.8; }
.nr-formal-themes,.nr-formal-count,.nr-formal-choices { display:flex; justify-content:center; gap:clamp(.38rem,2vw,1.15rem); }
.nr-formal-themes,.nr-formal-count,.nr-formal-choices { margin:1.6rem auto .9rem; }
.nr-edition .nr-formal-theme { width: min(33%,12rem); padding:0; display:grid; border:1px solid #a78960; overflow:hidden; background:#fff9ef; color:#3d3026; border-radius:.35rem; cursor:pointer; }
.nr-formal-theme img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; display:block; }
.nr-formal-theme span { display:grid; place-items:center; min-height:3.2rem; padding:.3rem .18rem; font-size:clamp(.71rem,3.2vw,1rem); line-height:1.35; }
.nr-formal-theme.is-selected { box-shadow:0 0 19px 5px #d7ab72; }
.nr-edition .nr-formal-button { display:inline-grid; place-content:center; min-height:44px; padding:.65rem .9rem; border:1px solid #9a7951; border-radius:.22rem; background:#fffaf1; color:#4d3423; cursor:pointer; line-height:1.35; }
.nr-formal-button small { margin-top:.4rem; font-size:.71rem; }
.nr-formal-button:hover { background:#f2e3cc; }
.nr-edition .nr-formal-small { min-height:44px; padding:.4rem .15rem; display:inline-grid; place-items:center; border:0; background:transparent; color:inherit; text-decoration:underline; text-underline-offset:.28em; cursor:pointer; font-size:.82rem; }
.nr-formal-step button:focus-visible,.nr-formal-reading :is(button,a):focus-visible,.nr-formal-skip:focus-visible { outline:2px solid #b68b4c; outline-offset:4px; }

.nr-edition .nr-formal-altar {
  position:relative;
  isolation:isolate;
  min-height:clamp(23rem,49vw,35rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  margin:0;
  border-radius:.55rem;
  background:#12101b url("tarot-formal/altar.webp") 50% 50% / cover;
  color:#fff4de;
  text-shadow:0 2px 10px #090711;
}
.nr-formal-altar::before {
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit;
  background:radial-gradient(ellipse at 17% 10%,#b7752e36,transparent 40%), linear-gradient(#09071138,#09071120 55%,#090711c0);
  animation:nr-formal-candle 5s ease-in-out infinite alternate;
}
@keyframes nr-formal-candle { from{opacity:.72} to{opacity:1} }
.nr-formal-altar .nr-formal-kicker { color:#efd29d; }
.nr-formal-altar .nr-formal-hint { margin:0; }
.nr-formal-choices { width:min(100%,700px); padding:.5rem .1rem; }
.nr-edition .nr-formal-pick { position:relative; flex:1; min-width:0; padding:0; border:0; border-radius:5%; background:transparent; cursor:pointer; transition:opacity .38s,filter .28s,transform .28s; }
.nr-formal-art { display:block; width:100%; height:auto; aspect-ratio:2/3; border-radius:4%; }
.nr-formal-art.is-reversed { transform:rotate(180deg); }
.nr-formal-pick img { box-shadow:0 .5rem 1rem #0009; }
.nr-formal-pick:hover,.nr-formal-pick:focus-visible { transform:translateY(-4px); }
.nr-formal-pick.is-selected { filter:drop-shadow(0 0 8px #f7d38cc0); }
.nr-formal-choices.is-opening .nr-formal-pick { opacity:.06; }
.nr-formal-status { min-height:1.25em; margin:.38rem 0; font-size:.82rem; }

body.nr-formal-motion-open { overflow:hidden; }
.nr-formal-overlay { position:fixed; z-index:2147483000; inset:0; display:grid; place-items:center; isolation:isolate; color:#fff6e2; }
.nr-formal-overlay::before { content:""; position:absolute; inset:0; background:#0a111b; animation:nr-formal-scene 400ms both; }
.nr-formal-palm { width:min(100vw,66.666dvh,660px); height:min(150vw,100dvh,990px); aspect-ratio:2/3; position:relative; }
.nr-formal-palm > img { display:block; width:100%; height:100%; object-fit:fill; mask-image:linear-gradient(transparent,#000 5%,#000 93%,transparent); animation:nr-formal-scene 400ms both; }
@keyframes nr-formal-scene { from{opacity:0} to{opacity:1} }
.nr-formal-flight {
  position:absolute; left:50%; top:43%; width:clamp(75px,29%,198px); aspect-ratio:2/3;
  perspective:820px; transform:translate(-50%,-50%);
  animation:nr-formal-float 2300ms both; isolation:isolate;
}
@keyframes nr-formal-float {
  0%{transform:translate(-50%,-50%) translate(var(--from-x),var(--from-y)) scale(var(--from-scale));}
  17.39%{transform:translate(-50%,-50%) translateY(6%);}
  34.78%{transform:translate(-50%,-50%) translateY(-1.5%);}
  79%,100%{transform:translate(-50%,-50%) translateY(-4%);}
}
.nr-formal-turn { position:absolute; inset:0; will-change:transform; transform-style:preserve-3d; animation:nr-formal-flip 1s .8s cubic-bezier(.42,0,.48,1) both; }
@keyframes nr-formal-flip { from{transform:rotateY(0deg)} to{transform:rotateY(180deg)} }
.nr-formal-side {
  position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  border-radius:5%; box-shadow:0 9px 16px #000b,0 0 13px 2px #deb67289,0 0 40px #ebb06854;
}
.nr-formal-side img { width:100%; height:100%; }
.nr-formal-side-front { transform:rotateY(180deg); }
.nr-formal-orbit {
  position:absolute; pointer-events:none; z-index:-1; inset:0 -40%; border-radius:50%;
  box-shadow:0 4px 17px #e1b0699c,0 5px 28px #c28242a0,inset 0 0 15px #eec58c44;
  transform:rotate(-34deg) scaleY(.36); animation:nr-formal-orbit 1.9s .4s both;
}
@keyframes nr-formal-orbit { 0%,100%{opacity:0} 27%{opacity:.68} 73%{opacity:.33} }
.nr-formal-particles { position:absolute; inset:0; pointer-events:none; }
.nr-formal-spark {
  position:absolute; top:54%; left:50%; width:3px; height:3px; border-radius:50%; background:#fdf0c2;
  box-shadow:0 0 7px 2px #e7ad5fbb; animation:nr-formal-spark 1.6s calc(.58s + var(--d)) both;
}
@keyframes nr-formal-spark {
  0%{opacity:0;transform:translate(30%,10%) scale(.2)}
  25%{opacity:.85}
  74%{opacity:.4}
  100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.45)}
}
.nr-formal-white { position:absolute; inset:0; background:#fff9e9; pointer-events:none; animation:nr-formal-white .7s 2.3s both; }
@keyframes nr-formal-white { 0%{opacity:0} 100%{opacity:1} }
.nr-formal-skip {
  position:absolute; right:max(12px,env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom));
  min-height:44px; padding:.55rem .9rem; color:#fff6e5; font:inherit;
  border:1px solid #c8aa77b0; border-radius:.25rem; background:#161625e8; cursor:pointer;
}

.nr-tarot-report-open :is(.nr-hub-tools,#nr-luna-numerology,.nr-hub-note-bottom) { display:none!important; }
.nr-formal-reading > .nr-tarot-enter { animation:nr-formal-in .45s calc(var(--nr-tarot-order,0) * 90ms) both; }
@keyframes nr-formal-in { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
@media(max-width:540px){
  .nr-formal-altar { background-position:45% 50%; }
}
@media(prefers-reduced-motion:reduce){
  .nr-formal-overlay *, .nr-formal-altar::before, .nr-formal-reading > .nr-tarot-enter { animation:none!important; }
  .nr-formal-pick { transition:none!important; }
}

/* The result has its own full-bleed sanctuary and transparent goldwork. */
.nr-celestial-result-open :is(.nr-header, .site-header, .nr-hub-hero) { display:none; }
.nr-celestial-result-open main { padding:0; }
.nr-edition.nr-tarot-report {
  --celestial-gold:#ad864e;
  --celestial-ink:#452819;
  --celestial-paper:#fff8ea;
  --celestial-serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif CJK JP","Noto Serif JP",serif;
  max-width:48rem;
  margin:0 auto 2rem;
  border:0;
  border-radius:0;
  box-shadow:0 13px 65px #78522719;
  background:#fff9ed;
}
.nr-tarot-report .nr-edition-body { padding:0; }
.nr-tarot-report .nr-edition-result {
  position:relative;
  isolation:isolate;
  padding:0 0 clamp(2.5rem,10vw,4.5rem);
  background:
    linear-gradient(to bottom,#fff8eb00 0%,#fff8eb00 28%,#fff8eb10 63%,#fff8ebc9 85%,#fff8eb 100%) center top / 100% min(150vw,72rem) no-repeat,
    url("tarot-formal/celestial/sanctuary.webp") center top / 100% auto no-repeat,
    linear-gradient(to bottom,#fff8eb 0 70%,#f8ecd8 100%);
}
.nr-tarot-report .nr-edition-result::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:.45rem .44rem;
  border:1px solid #cda2698c;
  box-shadow:inset 0 0 0 2px #ffefd56b,inset 0 0 0 3px #bf924d49;
  pointer-events:none;
  background:
    url("tarot-formal/celestial/corner-bottom.webp") left bottom / clamp(1.5rem,6vw,3rem) auto no-repeat,
    url("tarot-formal/celestial/corner-bottom-right.webp") right bottom / clamp(1.5rem,6vw,3rem) auto no-repeat;
}
.nr-edition .nr-formal-temple {
  position:relative;
  display:grid;
  justify-items:center;
  gap:0;
  text-align:center;
  font-family:var(--celestial-serif);
  color:var(--celestial-ink);
}
.nr-celestial-masthead {
  display:grid;
  grid-template-columns:minmax(2.35rem,1fr) minmax(0,2.65fr) minmax(2.35rem,1fr);
  align-items:center;
  justify-items:center;
  position:relative;
  z-index:2;
  width:100%;
  padding:.24rem clamp(.56rem,2.6vw,1.2rem) .18rem;
  background:linear-gradient(100deg,#fff9eecc,#fff7e3e8 51%,#fff9eecc);
  border-bottom:1px solid #e4bd7cb3;
  box-shadow:0 1px 0 #fff5dd,0 5px 24px #ae783326;
  color:#805820;
}
.nr-celestial-masthead-right { display:flex; align-items:center; justify-self:end; gap:clamp(.05rem,1vw,.45rem); }
.nr-celestial-menu { justify-self:start; }
.nr-celestial-wordmark { display:grid; position:relative; line-height:.96; white-space:nowrap; }
.nr-celestial-wordmark span { font:500 clamp(1.1rem,4.9vw,2.2rem)/1.02 Georgia,"Times New Roman",serif; letter-spacing:.065em; }
.nr-celestial-wordmark small { margin-top:.1rem; font:500 clamp(.64rem,2.6vw,1.05rem)/1 Georgia,"Times New Roman",serif; letter-spacing:.11em; }
.nr-celestial-wordmark::before,.nr-celestial-wordmark::after {
  content:""; position:absolute; pointer-events:none; top:8%; height:88%; width:26%;
  background:url("tarot-formal/celestial/vine.webp") center / contain no-repeat;
}
.nr-celestial-wordmark::before { right:102%; }
.nr-celestial-wordmark::after { left:102%; transform:scaleX(-1); }
.nr-celestial-icon {
  display:grid; place-items:center; position:relative; z-index:1;
  width:44px; height:44px; color:inherit; cursor:pointer; list-style:none;
}
.nr-celestial-icon::-webkit-details-marker { display:none; }
.nr-celestial-bars { width:18px; height:1.6px; background:currentColor; box-shadow:0 -5px currentColor,0 5px currentColor; }
.nr-celestial-search { position:relative; width:14px; height:14px; margin:0 3px 3px 0; border:1.6px solid currentColor; border-radius:50%; }
.nr-celestial-search::after { content:""; position:absolute; height:1.6px; width:8px; top:11px; left:9px; transform:rotate(45deg); transform-origin:left center; background:currentColor; }
.nr-celestial-moon { flex:none; font:clamp(.95rem,3.7vw,1.6rem)/1 Georgia,serif; }
.nr-celestial-popover {
  display:grid; position:absolute; z-index:6; top:100%; left:.75rem; width:min(13.5rem,75vw);
  background:#fff9eb; border:1px solid #c6a169; box-shadow:0 10px 25px #54331626; padding:.3rem;
}
.nr-celestial-jump .nr-celestial-popover { left:auto; right:.75rem; }
.nr-edition .nr-celestial-popover-action {
  min-height:44px; text-align:left; border:0; background:transparent; color:#62401e; font:inherit; font-size:.89rem; cursor:pointer;
}
.nr-edition .nr-celestial-popover-action:hover { background:#f1e1c5; }
.nr-celestial-intro { margin:clamp(.44rem,2.15vw,1.4rem) 0 clamp(.52rem,1.9vw,.9rem); }
.nr-edition .nr-celestial-title {
  margin:0; color:#593415; font-size:clamp(1.33rem,5.3vw,2.4rem); line-height:1.12; font-weight:700; letter-spacing:.08em;
  text-shadow:0 1px 2px #fffdf3;
}
.nr-edition .nr-celestial-subtitle {
  display:flex; justify-content:center; align-items:center; gap:.4em; margin:.27em 0 0;
  font-size:clamp(.66rem,2.75vw,1.1rem); letter-spacing:.08em; color:#68411e;
}
.nr-celestial-subtitle::before,.nr-celestial-subtitle::after {
  content:""; display:block; width:1.5em; height:1px; background:linear-gradient(90deg,#ae813944,#aa7331);
}
.nr-celestial-subtitle::after { transform:scaleX(-1); }
.nr-formal-frame {
  position:relative; width:49.8%; max-width:23.5rem; padding:clamp(.15rem,.58vw,.34rem); margin:0;
  background:linear-gradient(155deg,#b68034,#f8e6ad 18%,#8e5a26 58%,#e9bb5f 89%,#fff4c6);
  border-radius:3.3%;
  box-shadow:0 0 1px 1px #fff5c9,0 0 9px 3px #ffebb6bd,0 11px 22px #82501736;
}
.nr-formal-frame::after {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:url("tarot-formal/celestial/card-frame.webp") center / 100% 100% no-repeat;
}
.nr-formal-frame .nr-formal-art { width:100%; height:auto; aspect-ratio:2/3; border-radius:2.3%; }
.nr-formal-temple-copy { width:100%; padding:0 .75rem; margin-top:clamp(.72rem,2.5vw,1.3rem); }
.nr-edition .nr-formal-temple h3 {
  color:#512817; font-weight:700; font-size:clamp(1.45rem,6.15vw,3.1rem); line-height:1.15;
  margin:0; padding:0; border:0; background:none; text-shadow:0 1px 1px #fffdf0;
}
.nr-edition .nr-formal-position {
  display:inline-grid; place-items:center; min-width:min(46%,16rem); min-height:1.95rem;
  padding:.24rem 1.25rem; margin:clamp(.4rem,1.45vw,.75rem) 0 .1rem; color:#5b361b;
  background:url("tarot-formal/celestial/plaque.webp") center / 100% 100% no-repeat;
  font-size:clamp(.81rem,3.3vw,1.24rem); font-weight:700; letter-spacing:.16em;
}
.nr-edition .nr-formal-reading {
  color:#3f2b21; font-family:var(--celestial-serif); max-width:43rem;
  margin:auto; padding:0 clamp(.85rem,5vw,2.3rem); line-height:1.9;
}
.nr-formal-reading :is(h4,h5) { color:#5c321c; line-height:1.43; background:none; border:0; padding:0; }
.nr-edition .nr-formal-reading h4 { margin:0 0 .6rem; font-size:clamp(1.04rem,4.2vw,1.74rem); }
.nr-formal-reading .nr-tarot-chapter { margin:0 auto 1.7rem; }
.nr-formal-reading .nr-formal-lead { text-align:center; margin:clamp(.75rem,2.6vw,1.3rem) auto .55rem; padding:0; }
.nr-edition .nr-formal-lead h4 {
  position:relative; z-index:0; padding:0 clamp(.8rem,7vw,3.1rem) clamp(.65rem,2.8vw,1.25rem);
  margin:0 0 .25rem; font-size:clamp(1.03rem,4.45vw,1.86rem); font-weight:700; text-wrap:balance;
}
.nr-formal-lead h4::after {
  content:""; position:absolute; z-index:-1; inset:auto 0 -.2rem;
  height:clamp(1.7rem,8vw,3.25rem); pointer-events:none;
  background:url("tarot-formal/celestial/divider.webp") center bottom / 100% 100% no-repeat;
}
.nr-edition .nr-formal-lead p {
  color:#39281f; margin:.4rem auto 0; max-width:34rem; font-size:clamp(.87rem,3.55vw,1.04rem);
  padding:0 clamp(.15rem,2vw,1.15rem); line-height:1.88; text-wrap:pretty;
}
.nr-celestial-more { margin:.4rem auto clamp(.8rem,3vw,1.55rem); }
.nr-celestial-more > summary {
  display:flex; width:fit-content; align-items:center; justify-content:center; gap:.4rem; list-style:none;
  margin:auto; padding:0 .5rem; min-height:44px; cursor:pointer; font-size:.73rem; color:#795430;
}
.nr-celestial-more > summary::-webkit-details-marker { display:none; }
.nr-celestial-more > summary::after { content:"＋"; color:#9a6b35; }
.nr-celestial-more[open] > summary::after { content:"−"; }
.nr-celestial-more .nr-tarot-chapter { max-width:33rem; }
.nr-formal-interpretation-entry { display:flow-root; }
.nr-formal-interpretation-entry + .nr-formal-interpretation-entry { border-top:1px solid #dfc6a0; margin-top:1.3rem; padding-top:1rem; }
.nr-formal-interpretation-entry .nr-formal-frame { width:clamp(75px,30%,135px); float:right; margin:0 0 .65rem .65rem; }
.nr-formal-interpretation-entry .nr-formal-kicker { text-align:left; }
.nr-formal-motif,.nr-formal-detail { color:#775c42; font-size:.85rem; }
.nr-formal-swatch { display:inline-block; height:.7rem; width:.7rem; margin-right:.35rem; border-radius:50%; border:1px solid #8f7549; }
.nr-formal-action { font-weight:600; }
.nr-formal-reading .nr-lucky-single-slot { margin:0 auto clamp(1.5rem,5vw,3rem); max-width:32rem; }
.nr-formal-reading .nr-lucky-single {
  border:1px solid #b48b57a3; border-radius:.44rem; background:#fffaf0d9;
  box-shadow:inset 0 0 0 3px #fbefdb; padding:clamp(.8rem,3.5vw,1.5rem);
}
.nr-formal-reading .nr-lucky-single-kicker { color:#825824; }
.nr-formal-reading .nr-lucky-single-head { margin-bottom:.43rem; }
.nr-formal-reading .nr-formal-luna {
  position:relative; isolation:isolate; width:100%; max-width:35rem;
  border:1px solid #bc965a; border-radius:.51rem; box-shadow:inset 0 0 0 2px #fff5df,inset 0 0 0 3px #d4aa6e8f,0 3px 14px #97703917;
  background:radial-gradient(ellipse at 50% 45%,#fffdf7,#f9edda);
  padding:clamp(.92rem,3.8vw,1.75rem) clamp(1.1rem,6vw,2.6rem);
  text-align:center; margin:0 auto clamp(1.65rem,6vw,3rem);
}
.nr-formal-luna::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:-1;
  background:
    url("tarot-formal/celestial/corner.webp") left .12rem top .12rem / clamp(1.55rem,8vw,3.05rem) auto no-repeat,
    url("tarot-formal/celestial/corner-right.webp") right .12rem top .12rem / clamp(1.55rem,8vw,3.05rem) auto no-repeat,
    url("tarot-formal/celestial/corner-bottom.webp") left .12rem bottom .12rem / clamp(1.55rem,8vw,3.05rem) auto no-repeat,
    url("tarot-formal/celestial/corner-bottom-right.webp") right .12rem bottom .12rem / clamp(1.55rem,8vw,3.05rem) auto no-repeat;
}
.nr-formal-luna::after {
  content:""; position:absolute; top:-.57rem; left:50%; transform:translateX(-50%); width:1.3rem; height:1.16rem;
  background:#fcf1dd url("tarot-formal/celestial/crest.webp") center / contain no-repeat;
}
.nr-edition .nr-formal-luna h4 { color:#80521f; font:600 clamp(.86rem,3.9vw,1.22rem)/1.2 Georgia,serif; letter-spacing:.2em; margin:0 0 .55rem; }
.nr-edition .nr-formal-luna p { margin:0; font-size:clamp(.86rem,3.7vw,1.08rem); line-height:1.82; text-wrap:balance; }
.nr-tarot-shared { margin:0; background:#fff7e9; }
.nr-tarot-shared #nr-luna-reading { width:100%; }
.nr-shared-placeholder { margin:auto; padding:1.5rem; max-width:48rem; text-align:center; }
.nr-shared-placeholder img { display:block; width:100%; height:auto; margin:.7rem 0; }

.nr-celestial-result-open :is(summary,button,a):focus-visible { outline:2px solid #9b682f; outline-offset:2px; }

/* The draw and reveal share the ivory sanctuary used by the reading. */
.nr-edition:has(.nr-formal-altar) { border:0; border-radius:0; box-shadow:none; }
.nr-edition:has(.nr-formal-altar) .nr-edition-body { padding:0; }
.nr-edition .nr-formal-altar {
  min-height:clamp(24rem,74vw,41rem); padding:clamp(1.15rem,4vw,2.5rem) .35rem .85rem;
  justify-content:space-evenly; border-radius:0; color:#4e301b; text-shadow:0 1px #fffcf4;
  background:linear-gradient(#fff8e966 0%,#fff8e913 62%,#fff8e9e6 89%),
    url("tarot-formal/celestial/sanctuary.webp") center 38% / cover;
}
.nr-formal-altar::before { background:radial-gradient(ellipse at 50% 48%,#fff4dabc,transparent 69%); }
.nr-formal-altar .nr-formal-kicker { color:#825824; }
.nr-formal-altar .nr-formal-hint { padding:.15rem .5rem; }
.nr-formal-choices {
  width:min(100%,34rem); display:flex; align-items:center; justify-content:center; gap:0;
  margin:.85rem auto .55rem; padding:1rem 0 .8rem;
}
.nr-edition .nr-formal-pick {
  flex:0 0 24%; position:relative; max-width:8.2rem;
  transform:translateY(var(--fan-drop,0)) rotate(var(--fan-turn,0deg)); outline-offset:1px;
}
.nr-formal-pick + .nr-formal-pick { margin-inline-start:-5%; }
.nr-formal-pick:nth-child(1) { --fan-turn:-12deg; --fan-drop:15px; }
.nr-formal-pick:nth-child(2) { --fan-turn:-6deg; --fan-drop:5px; }
.nr-formal-pick:nth-child(4) { --fan-turn:6deg; --fan-drop:5px; }
.nr-formal-pick:nth-child(5) { --fan-turn:12deg; --fan-drop:15px; }
.nr-formal-pick img { box-shadow:0 7px 13px #5f371f63,0 0 0 1px #a47846; }
.nr-formal-pick:is(:hover,:focus-visible,.is-selected) {
  transform:translateY(calc(var(--fan-drop,0px) - 10px)) rotate(var(--fan-turn,0deg));
  z-index:1;
}
.nr-formal-pick.is-selected { filter:drop-shadow(0 0 12px #ffcc64) drop-shadow(0 0 4px #fff9da); }
.nr-formal-pick.is-selected::after {
  content:""; position:absolute; inset:-.8rem; pointer-events:none; border-radius:50%;
  background:radial-gradient(circle at 14% 35%,#fff8de 0 2px,transparent 4px),
    radial-gradient(circle at 82% 8%,#fff8de 0 2px,transparent 4px),
    radial-gradient(circle at 92% 70%,#ffe09e 0 3px,transparent 5px);
  animation:nr-gather .7s ease-out both;
}
@keyframes nr-gather { from{opacity:0;transform:scale(1.65)} to{opacity:1;transform:scale(1)} }
.nr-formal-order {
  position:absolute; left:50%; bottom:.3rem; transform:translateX(-50%);
  display:grid; place-content:center; width:1.38rem; height:1.38rem;
  background:#fff6dc; color:#65401d; border:1px solid #a47231; border-radius:50%; font-weight:bold;
}
.nr-formal-altar .nr-formal-status { min-height:1.5em; color:#533919; font-weight:700; }
.nr-formal-overlay { color:#634019; }
.nr-formal-overlay::before { background:#f6e7cf; }
.nr-formal-flight { top:45%; animation:nr-formal-float 1.45s both; }
.nr-formal-turn { animation-delay:.28s; }
.nr-formal-side { box-shadow:0 9px 16px #65401e51,0 0 13px 2px #efbd65bb,0 0 40px #eabc70; }
.nr-formal-white { animation:none; opacity:0; }
.nr-formal-white.is-visible { animation:nr-formal-white .43s both; }
.nr-formal-orbit { animation-duration:1.14s; animation-delay:.15s; }
.nr-formal-spark { animation-delay:calc(.12s + var(--d)); animation-duration:1.2s; background:#fff3c6; }
.nr-formal-skip { background:#fff9e8; color:#664624; border-color:#a67b45; }
.nr-formal-revealed {
  display:flex; justify-content:center; gap:.55rem; position:absolute; inset: auto 0 max(3.6rem,calc(env(safe-area-inset-bottom) + 3.3rem));
  margin:0; padding:0 .7rem; list-style:none; pointer-events:none; z-index:1;
}
.nr-formal-revealed:empty { display:none; }
.nr-formal-revealed li { width:clamp(2.25rem,12vw,4.55rem); padding:.19rem; text-align:center; border:1px solid #bc8d49; border-radius:.28rem; background:#fff6e4; box-shadow:0 4px 10px #7751282e; }
.nr-formal-revealed li:not(.is-open) img { opacity:.64; }
.nr-formal-revealed span { font-size:.71rem; }
.nr-formal-reveal-status {
  position:absolute; top:max(.65rem,env(safe-area-inset-top)); margin:0;
  padding:.15rem .7rem; background:#fff9e8d9; border-radius:1em; font-size:.83rem; letter-spacing:.06em;
}

/* The three full faces, orientation and role are visible before the readings. */
.nr-celestial-spread { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.34rem,1.8vw,.9rem); width:min(93%,34rem); margin:.5rem 0 .85rem!important; padding:0!important; list-style:none; }
.nr-celestial-spread-card { display:grid; grid-template-rows:auto auto 1fr auto; justify-items:center; padding:0; min-width:0; }
.nr-celestial-spread .nr-formal-frame { width:100%; max-width:10rem; }
.nr-celestial-spread-card .nr-formal-kicker { margin:.48rem 0 .23rem; font-size:.71rem; }
.nr-celestial-spread-name { font-size:clamp(.74rem,3.4vw,1.21rem); font-weight:700; margin:0; overflow-wrap:anywhere; line-height:1.32; padding:.12rem 0; }
.nr-celestial-spread-card .nr-formal-position { min-width:80%; min-height:1.55rem; font-size:.68rem; padding:.16rem .42rem; }
.nr-edition .nr-celestial-temple:has(.nr-celestial-spread) h3 { font-size:clamp(1.08rem,4.4vw,2rem); margin:.16rem .65rem .2rem; }

.nr-formal-reading .nr-tarot-chapter:not(.nr-formal-luna):not(.nr-formal-lead) { padding:0 clamp(.4rem,2.2vw,1.2rem) .7rem; margin:0 auto 1.45rem; }
.nr-formal-reading .nr-tarot-chapter:not(.nr-formal-luna):not(.nr-formal-lead) h4 {
  padding:.65rem .1rem .4rem; border-top:1px solid #caa36d76; font-size:clamp(.98rem,4.1vw,1.52rem); letter-spacing:.04em;
}
.nr-formal-reading .nr-formal-lead { margin-bottom:1.55rem; }
.nr-formal-reading .nr-tarot-chapter p { line-height:1.93; font-size:clamp(.87rem,3.55vw,.99rem); text-wrap:pretty; }
.nr-formal-reading .nr-formal-interpretation-entry { padding:.55rem 0; }
.nr-formal-reading .nr-formal-interpretation-entry .nr-formal-kicker,
.nr-formal-reading .nr-formal-interpretation-entry h5 { text-align:center; }
.nr-formal-reading .nr-formal-interpretation-entry .nr-reading-paragraph { text-align:left; }
.nr-formal-reading .nr-formal-interpretation-entry h5 { margin:.35rem 0; font-size:clamp(.96rem,4vw,1.22rem); }
@media (min-width:601px) {
  .nr-formal-reading .nr-lucky-single-image { width:min(55%,10rem); }
  .nr-formal-reading .nr-lucky-single-image img { max-height:10rem; }
}
@media(prefers-reduced-motion:reduce) {
  .nr-formal-pick.is-selected::after { animation:none; }
}

.nr-formal-reading .nr-lucky-single-region { margin-bottom:1.2rem; }
.nr-formal-reading .nr-lucky-single-region .nr-lucky-single { border:0; border-radius:0; background:none; padding-bottom:.35rem; }
