/* New world: the page tear on the home page, the jump through the portal and
   the promo page of the coming server (/new-world, new-world.tpl).
   Citadel tokens only (imperial-ui.css): violet — the portal and "soon",
   brass — values and the main button. Art: images/promo (siege scenes and the
   vortex generated for this page; Aden and Rune from the game's siege timer). */

/* ================================================================ home: the page tear
   The bottom-right corner of the home page is torn; through the hole the dark
   promo page and a turning portal show. A pale rim and a violet glow follow
   the torn line; a shadow falls into the hole. On phones the tear sits in the
   top-right corner (the copy fills the bottom). */
.mp-site .mp-world .mp-rift{
 position:absolute;right:0;bottom:0;z-index:6;display:block;width:clamp(240px,20vw,340px);aspect-ratio:1/.88;
 pointer-events:auto;text-decoration:none;color:inherit;transform-origin:100% 100%;
 transition:scale .5s cubic-bezier(.2,.8,.2,1),opacity .35s ease,visibility 0s linear 0s;
}
.mp-site .mp-world:is(.is-ready,[data-renderer=fallback]) .mp-rift{animation:mp-rift-tear 1s .55s cubic-bezier(.2,.9,.25,1.15) both}
/* Hover uses the scale property: the finished tear animation keeps holding transform. */
.mp-site .mp-world .mp-rift:hover,.mp-site .mp-world .mp-rift:focus-visible{scale:1.07}
.mp-site .mp-world:is(.is-footer-in,.is-diving) .mp-rift{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility 0s linear .35s}
.mp-site .mp-world .mp-rift:focus-visible{outline:none!important}
.mp-site .mp-rift__hole{position:absolute;inset:0;overflow:hidden;background:#06040b;clip-path:polygon(100% 100%,18.0% 100.0%,18.04% 97.74%,19.71% 95.57%,19.99% 93.38%,20.56% 91.22%,21.22% 89.1%,22.33% 87.07%,20.87% 84.6%,21.7% 82.53%,22.03% 80.36%,23.43% 78.48%,21.36% 75.58%,22.84% 73.74%,23.79% 71.76%,24.12% 69.54%,23.56% 66.92%,25.77% 65.51%,26.04% 63.22%,26.63% 61.07%,29.3% 60.07%,29.67% 57.83%,30.95% 56.12%,32.01% 54.28%,33.07% 52.45%,33.74% 50.32%,34.06% 47.9%,34.96% 45.88%,36.1% 44.05%,36.52% 41.55%,37.88% 39.88%,38.66% 37.63%,39.78% 35.67%,40.14% 32.84%,42.06% 31.72%,43.68% 30.28%,44.77% 28.17%,46.16% 26.39%,47.37% 24.34%,48.97% 22.8%,50.62% 21.33%,53.91% 22.61%,55.61% 21.35%,57.59% 20.62%,59.63% 20.05%,61.42% 19.01%,62.54% 16.51%,65.3% 17.69%,66.15% 14.32%,67.91% 13.08%,70.17% 13.25%,72.55% 13.91%,73.48% 9.94%,76.39% 12.69%,78.24% 11.79%,79.97% 10.26%,81.92% 9.66%,84.01% 9.82%,86.24% 11.06%,88.1% 9.98%,89.89% 8.03%,91.92% 7.98%,94.13% 10.65%,96.11% 11.11%,98.06% 11.33%,100.0% 8.0%)}
.mp-site .mp-rift__page{position:absolute;inset:0;background:radial-gradient(70% 70% at 66% 64%,#2a0f4d 0%,#12081f 55%,#06040b 100%)}
/* The portal itself: particles on a canvas (portal-vortex.js), centred at
   66 % / 64 % of the tear. */
.mp-site .mp-rift__vortex{position:absolute;inset:0;width:100%;height:100%;display:block;transition:filter .6s}
.mp-site .mp-rift:is(:hover,:focus-visible) .mp-rift__vortex{filter:brightness(1.25) saturate(1.15)}
.mp-site .mp-rift__shade{position:absolute;inset:0;background:radial-gradient(84% 94% at 100% 100%,transparent 66%,#05030aa6 88%,#000d 100%)}
.mp-site .mp-rift__text{position:absolute;right:9%;bottom:9%;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.mp-site .mp-rift__text small{font:700 9.5px/1.3 var(--ct-sans);letter-spacing:2px;text-transform:uppercase;color:var(--ct-violet-hi);text-shadow:0 0 10px #000}
.mp-site .mp-rift__text strong{font:600 clamp(20px,1.7vw,27px)/1.05 var(--ct-serif);color:var(--ct-brass-hi);text-shadow:0 0 18px #a85cffaa,0 2px 8px #000}
.mp-site .mp-rift__text em{margin-top:4px;font:600 10.5px/1.2 var(--ct-sans);font-style:normal;letter-spacing:.6px;color:var(--ct-text);opacity:0;transform:translateY(4px);transition:opacity .3s,transform .3s}
.mp-site .mp-rift:is(:hover,:focus-visible) .mp-rift__text em{opacity:.92;transform:none}
.mp-site .mp-rift__edge{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.mp-site .mp-rift__edge path{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
/* Shadow along the tear, cast into the hole. */
.mp-site .mp-rift__fibre{stroke:#000;stroke-opacity:.7;stroke-width:10;filter:blur(4px)}
/* The torn page: a pale strip of paper fibres of uneven width along the tear,
   casting a little shadow on the page; a violet glow seeps along the inner
   line, brighter on hover. */
.mp-site .mp-rift__paper{opacity:.92;filter:drop-shadow(-1px -1px 1.5px #0009)}
.mp-site .mp-rift__rim{stroke:var(--ct-violet-hi);stroke-opacity:.55;stroke-width:1.2;filter:drop-shadow(0 0 3px var(--ct-violet)) drop-shadow(0 0 9px #a85cff99);transition:stroke-opacity .3s,filter .3s}
.mp-site .mp-rift:is(:hover,:focus-visible) .mp-rift__rim{stroke-opacity:1;filter:drop-shadow(0 0 4px var(--ct-violet-hi)) drop-shadow(0 0 14px var(--ct-violet))}
@keyframes mp-rift-tear{0%{transform:scale(.18) rotate(-6deg);opacity:0}55%{opacity:1}75%{transform:scale(1.06) rotate(1deg)}100%{transform:none;opacity:1}}
@media(max-width:760px){
 .mp-site .mp-world .mp-rift{top:84px;bottom:auto;width:124px;transform-origin:100% 0}
 .mp-site .mp-rift :is(.mp-rift__hole,.mp-rift__edge){transform:scaleY(-1)}
 .mp-site .mp-rift :is(.mp-rift__page,.mp-rift__text){transform:scaleY(-1)}
 .mp-site .mp-rift__text{bottom:12%;right:8%}
 .mp-site .mp-rift__text small{font-size:8px;letter-spacing:1.4px}
 .mp-site .mp-rift__text strong{font-size:17px}
 .mp-site .mp-rift__text em{display:none}
}
@media(max-width:760px) and (max-height:640px){.mp-site .mp-world .mp-rift{width:100px;top:76px}}
@media(prefers-reduced-motion:reduce){
 .mp-site .mp-world:is(.is-ready,[data-renderer=fallback]) .mp-rift{animation:none}
}

/* ================================================================ the jump through the portal
   new-world.js: the world zooms into the portal's centre and darkens, the
   vortex grows over the whole screen and turns faster, its black core
   swallows the view, then the promo page opens. Compositor work only: the 3D
   canvas (its last frame, held) zooms with transform-origin at the portal,
   the copy, cards and tear fade out, and a black veil under the vortex fades
   in. No filter: zooming the whole world with blur(4px) re-rasterised its
   text at 3.4x and redrew the blur every frame (first frame 167 ms). */
.mp-site .mp-world.is-portal-pull .mp-world__canvas{transition:transform 1.4s cubic-bezier(.62,0,.88,.38);transform:scale(3.4) rotate(-5deg)}
.mp-site .mp-world.is-portal-pull>:not(.mp-world__canvas,.mp-world__shade){opacity:0!important;transition:opacity .35s ease!important}
.mp-site.is-portal-jumping .mp-nav{opacity:0;transition:opacity .35s}
.mp-portal-jump{position:fixed;inset:0;z-index:300;overflow:hidden;pointer-events:all;cursor:progress}
.mp-portal-jump::before{content:"";position:absolute;inset:0;background:#000;opacity:0;transition:opacity 1.4s cubic-bezier(.5,0,.8,.6)}
.mp-portal-jump.is-on::before{opacity:.6}
.mp-portal-jump canvas{position:absolute;inset:0;width:100%;height:100%;display:block}

/* Arrival on the promo page: out of the dark the vortex closes into a point
   while the page settles from a slight zoom (html[data-portal-entry] is set
   by route-boot.js before the first paint). */
.mp-portal-arrive{display:none}
html[data-portal-entry] .mp-portal-arrive{display:block;position:fixed;inset:0;z-index:300;pointer-events:none;background:#000;animation:mp-arrive-clear .5s 1.05s ease forwards}
.mp-portal-arrive__vortex{position:absolute;inset:0;width:100%;height:100%;display:block}
html[data-portal-entry] .np{animation:mp-arrive-page 1.5s .2s cubic-bezier(.2,.7,.2,1) both}
@keyframes mp-arrive-clear{to{opacity:0;visibility:hidden}}
@keyframes mp-arrive-page{from{transform:scale(1.1);filter:brightness(.3) blur(6px)}to{transform:none;filter:none}}
@media(prefers-reduced-motion:reduce){
 html[data-portal-entry] .mp-portal-arrive{display:none}
 html[data-portal-entry] .np{animation:none}
}

/* ================================================================ promo page: /new-world
   The Citadel panorama introduces six chapters. Each chapter pairs an index
   of changes with an in-game screenshot or an illustrated feature. */
.mp-site:has([data-new-world]),html:has([data-new-world]){background:var(--ct-bg)}
.mp-site .np{position:relative;isolation:isolate;color:var(--ct-text);font:400 15px/1.6 var(--ct-sans);background:var(--ct-bg)}
.mp-site .np::after{content:"";position:absolute;left:0;right:0;bottom:-320px;height:640px;z-index:-1;pointer-events:none;background:radial-gradient(50% 50% at 70% 60%,#a85cff2b,transparent 70%),radial-gradient(40% 45% at 20% 70%,#c99a4c14,transparent 70%)}
.mp-site .np-wrap{width:100%;max-width:1240px;margin-inline:auto;padding-inline:var(--mp-gutter,40px);box-sizing:border-box}
.mp-site .np :where(h1,h2,h3,h4,p,ul,ol,dl,dd,figure){margin:0;padding:0}
.mp-site .np :where(ul,ol){list-style:none}
.mp-site .np-kicker{display:block;font:600 10.5px/1.4 var(--ct-sans);letter-spacing:2px;text-transform:uppercase;color:var(--ct-brass-hi)}
.mp-site .np-chip{display:inline-flex;align-items:center;gap:9px;padding:6px 12px;border:1px solid #a85cff6b;border-radius:3px;background:linear-gradient(90deg,#a85cff2e,#a85cff0d),#0b0910b3;font:700 11px/1.3 var(--ct-sans);letter-spacing:2px;text-transform:uppercase;color:var(--ct-violet-hi)}
.mp-site .np-chip::before{content:"";width:9px;height:9px;background:var(--ct-rivet) center/100% 100% no-repeat;filter:drop-shadow(0 0 5px var(--ct-violet))}

/* Marble hands (promo-hands.mjs): in scroll mode the canvas shares the first
   grid cell with the hero; in presentation mode it fills the stage between
   the shared night and the slides (in front of them while hands take a card
   or drag a page). */
.mp-site .np{display:grid;grid-template-columns:minmax(0,1fr)}
.mp-site :is(.np-hands,.np-hero){grid-area:1 / 1}
.mp-site .np-hands{display:block;width:100%;height:100%;min-height:0;pointer-events:none;opacity:0;transition:opacity 1.2s ease}
.mp-site .np-hands.is-ready{opacity:1}
.mp-site .np[data-new-world]{background:radial-gradient(48% 52% at 66% 34%,#2a0f4d99 0%,#140a2466 48%,transparent 78%) 0 0/100% min(100svh,1100px) no-repeat,linear-gradient(180deg,#06040a,var(--ct-bg)) 0 0/100% 700px no-repeat,var(--ct-bg)}
.mp-site .np-hero{position:relative;z-index:1;overflow:hidden;padding:150px 0 70px;text-align:center}
.mp-site .np-hero__copy{text-align:left}
.mp-site .np-hero__kicker{
 display:inline-flex;align-items:center;gap:16px;
 font:600 11px/1.4 var(--ct-sans);letter-spacing:3.4px;text-transform:uppercase;
 color:var(--ct-brass-hi);text-shadow:0 1px 6px var(--ct-bg);
}
.mp-site .np-hero__kicker::before{content:"";width:28px;height:1px;background:var(--ct-brass)}
.mp-site .np-hero h1{
 margin:12px 0 0;font:600 clamp(46px,7vw,112px)/1.05 var(--ct-serif);
 letter-spacing:.09em;text-transform:uppercase;color:var(--ct-title);text-shadow:0 2px 4px #0b091069,0 5px 28px #0b0910b3;
}
.mp-site .np-hero__copy>p{max-width:560px;margin:0;font-size:16.5px;line-height:1.55;color:var(--ct-text);text-shadow:0 1px 6px var(--ct-bg)}
.mp-site .np-ornament{
 display:block;width:115px;height:8px;margin:14px 0;
 background:var(--ct-rivet) left center/8px 8px no-repeat,linear-gradient(90deg,var(--ct-brass),transparent) right center/calc(100% - 12px) 1px no-repeat;
}
/* Arched chapter cards: art from the game in an arch-topped brass frame. */
.mp-site .np-arches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;max-width:1240px;margin-top:44px}
.mp-site .np-arch{
 position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;
 aspect-ratio:3/4.2;padding:0 12px 20px;overflow:hidden;text-decoration:none;color:var(--ct-text);
 border:1px solid var(--ct-brass-lo);border-radius:50% 50% var(--ct-radius) var(--ct-radius)/42% 42% var(--ct-radius) var(--ct-radius);
 background:linear-gradient(180deg,#0b09101a 0%,transparent 32%,#0b0910dc 76%,var(--ct-bg) 100%),var(--art,none) center/cover no-repeat,var(--ct-panel);
 box-shadow:0 10px 24px #0b091073;transition:transform .3s ease,border-color .3s,box-shadow .3s;
}
.mp-site .np-arch::before{content:"";position:absolute;inset:4px;border:1px solid var(--ct-inner);border-radius:inherit;pointer-events:none}
.mp-site .np-arch:hover,.mp-site .np-arch:focus-visible{transform:translateY(-4px);border-color:var(--ct-brass-hi);box-shadow:0 12px 28px #0b0910aa}
.mp-site .np-arch:hover::before,.mp-site .np-arch:focus-visible::before{border-color:var(--ct-brass)}
.mp-site .np-arch>span{position:relative}
.mp-site .np-arch__num{display:grid;place-items:center;width:36px;height:36px;margin-bottom:2px;border:1px solid var(--ct-brass-lo);border-radius:50%;background:var(--ct-panel-2);font:600 15px/1 var(--ct-serif);color:var(--ct-brass-hi);box-shadow:0 0 0 3px var(--ct-bg),0 0 0 4px var(--ct-inner)}
.mp-site .np-arch__title{display:grid;align-content:center;min-height:2.4em;font:600 17px/1.2 var(--ct-serif);color:var(--ct-title);text-shadow:0 2px 10px #000}
.mp-site .np-arch__count{font:600 10px/1.3 var(--ct-sans);letter-spacing:1.6px;text-transform:uppercase;color:var(--ct-violet-hi)}

/* Chapter head: centred — the numeral medallion, kicker, title and lead. */
.mp-site .np-chapter{padding:72px 0 8px;scroll-margin-top:90px}
.mp-site .np-chapter__head{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;max-width:720px;margin:0 auto}
.mp-site .np-numeral{display:grid;place-items:center;width:52px;height:52px;margin-bottom:6px;box-sizing:border-box;border:1px solid var(--ct-brass-lo);border-radius:50%;background:radial-gradient(circle,#2a0f4d,#0b0910);font:600 20px/1 var(--ct-serif);color:var(--ct-brass-hi);box-shadow:0 0 0 4px var(--ct-bg),0 0 0 5px #c9a25a40,0 0 30px #a85cff33}
.mp-site .np-chapter__head h2{font:600 clamp(30px,3.2vw,48px)/1.05 var(--ct-serif);letter-spacing:.06em;text-transform:uppercase;color:var(--ct-title)}
.mp-site .np-chapter__head>p{margin-top:6px;max-width:560px;font-size:15px;line-height:1.55;color:var(--ct-muted)}
.mp-site .np-chapter__head::after{content:"";display:block;width:min(320px,60%);height:12px;margin-top:14px;background:var(--ct-rivet) center/10px 10px no-repeat,linear-gradient(90deg,transparent,var(--ct-brass-lo) 40%,transparent 46%,transparent 54%,var(--ct-brass-lo) 60%,transparent) center/100% 1px no-repeat}

/* Showcase: numbered tabs on the left, one window on the right. */
.mp-site .np-showcase{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;margin-top:24px}
.mp-site .np-tabs{display:flex;flex-direction:column;gap:6px}
.mp-site .np-tabs [role=tab]{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:1px 10px;width:100%;padding:12px 14px;box-sizing:border-box;border:1px solid var(--ct-frame);border-radius:var(--ct-radius);background:#13101999;text-align:left;cursor:pointer;color:inherit;font:inherit;transition:border-color .2s,background-color .2s}
.mp-site .np-tabs [role=tab]:hover{border-color:#a85cff66}
.mp-site .np-tabs b{grid-row:1/3;font:600 14px/1 var(--ct-serif);color:var(--ct-brass-lo);transition:color .2s}
.mp-site .np-tabs span{font:600 15px/1.25 var(--ct-serif);color:var(--ct-muted);transition:color .2s}
.mp-site .np-tabs small{font:500 12px/1.3 var(--ct-sans);color:var(--ct-faint)}
.mp-site .np-tabs [aria-selected=true]{border-color:#a85cff80;background:linear-gradient(90deg,#a85cff30,#a85cff0a),var(--ct-panel);box-shadow:inset 3px 0 0 var(--ct-violet)}
.mp-site .np-tabs [aria-selected=true] b{color:var(--ct-brass-hi)}
.mp-site .np-tabs [aria-selected=true] span{color:var(--ct-title)}
.mp-site .np-panels{min-width:0}
.mp-site .np-panel{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:center;min-height:100%;padding:16px 22px 16px 16px;box-sizing:border-box;border:1px solid var(--ct-brass-lo);border-radius:var(--ct-radius);background:var(--ct-window-frame),radial-gradient(70% 90% at 100% 0%,#a85cff14,transparent 70%),var(--ct-panel)}
.mp-site .np-panel:not([hidden]){animation:np-panel-in .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes np-panel-in{from{opacity:0;transform:translateY(8px)}}
.mp-site .np-panel h3{font:600 24px/1.15 var(--ct-serif);color:var(--ct-title)}
.mp-site .np-panel__text>p{margin-top:8px;font-size:14.5px;line-height:1.55;color:var(--ct-muted)}
.mp-site .np-points{display:grid;gap:8px;margin-top:14px}
.mp-site .np-points li{position:relative;padding-left:18px;font-size:14px;line-height:1.45;color:var(--ct-text)}
.mp-site .np-points li::before{content:"";position:absolute;left:0;top:.42em;width:8px;height:8px;background:var(--ct-rivet) center/100% 100% no-repeat}
.mp-site .np-points strong{font:600 15px/1 var(--ct-serif);color:var(--ct-brass-hi)}

/* A real game window: the screenshot in a thin brass frame. */
.mp-site .np-screen{position:relative;display:block;width:100%;padding:0;overflow:hidden;cursor:zoom-in;font:inherit;color:inherit;aspect-ratio:16/10;border:1px solid var(--ct-line);border-radius:3px;background:radial-gradient(70% 70% at 50% 50%,#1d1530,#07050c);box-shadow:0 18px 40px #0009}
.mp-site .np-screen img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.mp-site .np-screen:hover img{transform:scale(1.03)}
/* A magnifier badge invites the click. */
.mp-site .np-screen::after{content:"";position:absolute;right:12px;bottom:12px;width:38px;height:38px;border:1px solid var(--ct-brass-lo);border-radius:50%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efd08b' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center/18px 18px no-repeat,#0b0910d9;box-shadow:0 0 0 3px #0b091099;opacity:.75;transition:opacity .2s,transform .2s}
.mp-site .np-screen:hover::after,.mp-site .np-screen:focus-visible::after{opacity:1;transform:scale(1.08)}

/* Drawn plates where there is no screenshot: figures, icons, small mock-ups. */
.mp-site .np-plate{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:1280/775;padding:24px;box-sizing:border-box;overflow:hidden;border:1px solid var(--ct-line);border-radius:3px;background:radial-gradient(60% 70% at 50% 45%,#2a0f4d99,transparent 75%),repeating-linear-gradient(90deg,#c9a25a08 0 1px,transparent 1px 48px),repeating-linear-gradient(0deg,#c9a25a08 0 1px,transparent 1px 48px),#0b0910;text-align:center}
.mp-site .np-plate__figure{font:600 clamp(56px,6vw,92px)/1 var(--ct-serif);color:var(--ct-brass-hi);text-shadow:0 0 30px #a85cff66}
.mp-site .np-plate__figure--small{font-size:clamp(34px,3.4vw,50px);margin-top:10px}
.mp-site .np-plate__label{font:600 11px/1.4 var(--ct-sans);letter-spacing:2px;text-transform:uppercase;color:var(--ct-muted)}
.mp-site .np-plate__note,.mp-site .np-plate__caption{font:600 10.5px/1.4 var(--ct-sans);letter-spacing:1.8px;text-transform:uppercase;color:var(--ct-violet-hi)}
.mp-site .np-plate img{filter:drop-shadow(0 10px 24px #000c)}
/* Locations: a legend of the new lands with their levels. */
.mp-site .np-lands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(560px,100%)}
.mp-site .np-lands li{position:relative;display:flex;align-items:center;justify-content:center;min-height:64px;padding:10px 14px;box-sizing:border-box;border:1px solid var(--ct-brass-lo);border-radius:var(--ct-radius);background:var(--ct-window-frame),radial-gradient(80% 120% at 50% 100%,#a85cff24,transparent 70%),var(--ct-panel);font:600 15.5px/1.25 var(--ct-serif);color:var(--ct-title);text-align:center;transition:border-color .2s,transform .2s}
.mp-site .np-lands li:hover{border-color:var(--ct-brass);transform:translateY(-2px)}
/* Classes: the hero bodies' own class marks. */
.mp-site .np-marks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 8px;width:100%}
.mp-site .np-marks li{display:flex;flex-direction:column;align-items:center;gap:4px}
.mp-site .np-marks img{width:min(76px,100%);height:auto;filter:drop-shadow(0 0 14px #a85cff55)}
.mp-site .np-marks span{font:600 11.5px/1.2 var(--ct-sans);color:var(--ct-muted)}
/* Quests: a quest notification card. */
.mp-site .np-questcard{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:min(300px,90%);padding:14px 16px;border:1px solid var(--ct-brass-lo);border-radius:var(--ct-radius);background:var(--ct-glass-bg);text-align:left;box-shadow:0 14px 30px #0009}
.mp-site .np-questcard__tag{font:700 10px/1.3 var(--ct-sans);letter-spacing:1.8px;text-transform:uppercase;color:var(--ct-violet-hi)}
.mp-site .np-questcard strong{font:600 18px/1.2 var(--ct-serif);color:var(--ct-title)}
.mp-site .np-questcard__go{margin-top:6px;padding:4px 10px;border:1px solid var(--ct-brass-lo);border-radius:3px;background:var(--ct-brass);font:600 12px/1.2 var(--ct-sans);color:#23170a}
/* Outro: one line and the way back. */
.mp-site .np-outro{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:72px;padding-bottom:72px;text-align:center}
.mp-site .np-outro .np-ornament{margin:0 auto 4px}
.mp-site .np-outro p{max-width:560px;font-size:15px;color:var(--ct-muted)}

/* The footer on this page: a translucent band over the page's glow, no hard
   edge (as on the home page). */
.mp-site:has([data-new-world]) .mp-footer{position:relative;isolation:isolate;margin-top:-40px;padding-top:72px;background:none;border-top:0}
.mp-site:has(.np.is-deck) .mp-footer{margin-top:0}
.mp-site:has([data-new-world]) .mp-footer::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0b091000 0%,#0b091080 40%,#0b0910c7 100%);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 42%);mask-image:linear-gradient(180deg,transparent 0%,#000 42%)}

/* Reveal on scroll (new-world.js adds .is-animated; without it all is shown). */
.mp-site .np.is-animated [data-reveal]{transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.mp-site .np.is-animated [data-reveal]:not(.is-in){opacity:0;transform:translateY(22px)}

@media(max-width:1100px){
 .mp-site .np-arches{grid-template-columns:repeat(6,minmax(150px,1fr));overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
 .mp-site .np-showcase{grid-template-columns:minmax(0,1fr)}
 .mp-site .np-tabs{flex-direction:row;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
 .mp-site .np-tabs::-webkit-scrollbar{display:none}
 .mp-site .np-tabs [role=tab]{flex:0 0 auto;width:auto;min-width:200px}
 .mp-site .np-panel{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 .mp-site .np[data-new-world]{background:radial-gradient(70% 40% at 60% 24%,#2a0f4d99 0%,#140a2466 48%,transparent 78%) 0 0/100% 100svh no-repeat,linear-gradient(180deg,#06040a,var(--ct-bg)) 0 0/100% 600px no-repeat,var(--ct-bg)}
 .mp-site .np-hero__copy>p{font-size:15px}
 .mp-site .np-hero{padding:clamp(140px,23svh,200px) 0 42px}
 .mp-site .np-hero h1{font-size:clamp(31px,9.5vw,60px);letter-spacing:.035em}
 .mp-site .np-arches{display:flex;gap:10px;margin-top:30px;overflow-x:auto;scroll-snap-type:x mandatory;padding-inline:var(--mp-gutter,22px)}
 .mp-site .np-arch{flex:0 0 150px;scroll-snap-align:center}
 .mp-site .np-lands{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .mp-site .np-lands li{min-height:54px;font-size:14px}
 .mp-site .np-chapter{padding-top:48px}
 .mp-site .np-numeral{width:48px;height:48px;font-size:21px}
 .mp-site .np-tabs [role=tab]{min-width:168px;padding:10px 12px}
 .mp-site .np-tabs small{display:none}
 .mp-site .np-panel{padding:12px;gap:16px}
 .mp-site .np-panel h3{font-size:21px}
 .mp-site .np-plate{aspect-ratio:auto;min-height:240px}
 .mp-site .np-marks{grid-template-columns:repeat(4,minmax(0,1fr))}
 .mp-site .np-marks span{font-size:10px}
 .mp-site .np-outro{margin-top:48px}
}
@media(prefers-reduced-motion:reduce){
 .mp-site .np.is-animated [data-reveal]{transition:none;opacity:1;transform:none}
 .mp-site .np-panel:not([hidden]){animation:none}
}

/* Companions: a mystery for now — a question mark in a violet glow. */
.mp-site .np-plate--mystery{background:radial-gradient(45% 55% at 50% 45%,#a85cff40,transparent 70%),#07050c}
.mp-site .np-mystery{font:600 clamp(110px,12vw,170px)/1 var(--ct-serif);color:transparent;background:linear-gradient(180deg,var(--ct-brass-hi),var(--ct-violet));-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 24px #a85cff88);animation:np-mystery 4s ease-in-out infinite}
@keyframes np-mystery{50%{filter:drop-shadow(0 0 40px #a85cffcc);transform:scale(1.04)}}

/* Lightbox: a click on a game window enlarges it over a dimmed, blurred page. */
.mp-site .np-lightbox{position:fixed;inset:0;z-index:400;display:grid;place-items:center;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:clamp(16px,4vw,56px);border:0;background:transparent;color:var(--ct-text)}
.mp-site .np-lightbox::backdrop{background:transparent}
.mp-site .np-lightbox[hidden]{display:none}
.mp-site .np-lightbox__veil{position:absolute;inset:0;background:radial-gradient(60% 60% at 50% 50%,#1a0f2ecc,#05030af2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .35s ease;cursor:zoom-out}
.mp-site .np-lightbox.is-open .np-lightbox__veil{opacity:1}
.mp-site .np-lightbox__frame{position:relative;margin:0;max-width:min(1500px,100%);transform-origin:center;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease;opacity:0}
.mp-site .np-lightbox.is-open .np-lightbox__frame{opacity:1}
.mp-site .np-lightbox__frame img{display:block;max-width:100%;max-height:calc(100svh - 140px);width:auto;height:auto;border:1px solid var(--ct-brass-lo);border-radius:var(--ct-radius);box-shadow:0 0 0 5px #0b0910,0 0 0 6px #c9a25a40,0 30px 80px #000,0 0 60px #a85cff33}
.mp-site .np-lightbox__frame figcaption{margin-top:14px;text-align:center;font-size:14px;color:var(--ct-muted)}
.mp-site .np-lightbox__close{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--ct-brass-lo);border-radius:50%;background:#0b0910e6;font:400 26px/1 var(--ct-sans);color:var(--ct-brass-hi);cursor:pointer;opacity:0;transition:opacity .3s,border-color .2s}
.mp-site .np-lightbox.is-open .np-lightbox__close{opacity:1}
.mp-site .np-lightbox__close:hover{border-color:var(--ct-brass-hi)}
html.np-lightbox-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){
 .mp-site .np-mystery,.mp-site .np-deck-hint::before{animation:none}
 .mp-site .np-lightbox__frame,.mp-site .np-lightbox__veil{transition:none}
}
html.mp-motion-paused .mp-site .np :is(.np-mystery,.np-deck-hint::before){animation:none}
.mp-site .np-plate--lands{aspect-ratio:auto;padding:22px}

/* Chapter VI: not revealed yet — a dark arch with a violet glow and a "?". */
.mp-site .np-arch--soon{border-color:#a85cff80;background:radial-gradient(70% 55% at 50% 37%,#a85cff38,transparent 75%),linear-gradient(180deg,#17101edb,var(--ct-bg))}
.mp-site .np-arch--soon::after{content:"?";position:absolute;left:0;right:0;top:9%;font:600 clamp(48px,5vw,74px)/1 var(--ct-serif);text-align:center;color:transparent;background:linear-gradient(180deg,var(--ct-brass-hi),var(--ct-violet));-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 18px #a85cff99)}
.mp-site .np-arch--soon:is(:hover,:focus-visible){border-color:var(--ct-violet-hi)}
.mp-site .np-arches__note{margin:22px auto 0;font:600 12px/1.4 var(--ct-sans);letter-spacing:3px;text-transform:uppercase;color:var(--ct-violet-hi)}
.mp-site .np-arches__note::before,.mp-site .np-arches__note::after{content:"";display:inline-block;width:10px;height:10px;margin:0 12px;vertical-align:1px;background:var(--ct-rivet) center/100% 100% no-repeat}

/* ================================================================ presentation mode (.np.is-deck, new-world.js)
   One screen: the hero and the six chapters lie on top of each other; only
   the current one (and the two in a transition) is visible. The chapter
   windows and their controls share a separate layer above the films. */
.mp-site .np.is-deck{height:100svh;min-height:620px;overflow:hidden}
/* Every slide keeps its own, already painted layer: the ones not shown sit
   at 0.1 % opacity (invisible) instead of visibility:hidden, so the first
   dive or turn does not wait for a fresh paint of a whole screen. */
.mp-site .np.is-deck>section{position:absolute;inset:0;overflow:hidden;opacity:.001;pointer-events:none;will-change:transform,opacity}
/* Hidden slides lie above the current one (still invisible): under an opaque
   screen the browser would count them as covered and skip painting them. */
.mp-site .np.is-deck>section:not(.is-current){z-index:3}
.mp-site .np.is-deck>section.is-current{z-index:2;opacity:1;pointer-events:auto}
.mp-site .np.is-deck>section:not(.is-current) .np-mystery{animation-play-state:paused}
/* The content of a slide is animated on its own during transitions: give it
   a layer of its own from the start, painted once with the slide. */
.mp-site .np.is-deck>section>.np-wrap{will-change:transform,opacity}
.mp-site .np.is-deck [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
.mp-site .np.is-deck>.np-hero{display:flex;flex-direction:column;justify-content:center;padding:92px 0 96px}
.mp-site .np.is-deck>.np-hero .np-arches{grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;margin-top:clamp(38px,7svh,80px)}
.mp-site .np.is-deck>.np-chapter{display:flex;flex-direction:column;justify-content:center;isolation:isolate;padding:92px 0 84px;scroll-margin:0}
.mp-site .np.is-deck .np-chapter__head{gap:2px}
.mp-site .np.is-deck .np-numeral{width:40px;height:40px;margin-bottom:4px;font-size:16px}
.mp-site .np.is-deck .np-chapter__head h2{font-size:clamp(26px,2.5vw,38px)}
.mp-site .np.is-deck .np-chapter__head>p{margin-top:2px;font-size:14px}
.mp-site .np.is-deck .np-chapter__head::after{margin-top:8px}
.mp-site .np.is-deck .np-showcase{margin-top:16px}
.mp-site .np.is-deck .np-panel{background:var(--ct-window-frame),radial-gradient(70% 90% at 100% 0%,#a85cff14,transparent 70%),#17141de6}
.mp-site .np.is-deck .np-tabs [role=tab]{background:#131019cc}
.mp-site .np.is-deck :is(.np-screen,.np-plate){max-height:calc(100svh - 330px)}
.mp-site .np.is-deck .np-plate--lands{max-height:none}
@media(max-width:1100px){
 .mp-site .np.is-deck .np-showcase{grid-template-columns:190px minmax(0,1fr);gap:12px}
 .mp-site .np.is-deck .np-tabs{flex-direction:column;overflow:visible;padding:0}
 .mp-site .np.is-deck .np-tabs [role=tab]{min-width:0;width:100%;padding:9px 10px;grid-template-columns:20px 1fr}
 .mp-site .np.is-deck .np-tabs small{display:none}
 .mp-site .np.is-deck .np-panel{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;padding:12px}
}
@media(max-height:800px){
 .mp-site .np.is-deck .np-numeral,.mp-site .np.is-deck .np-chapter__head>p{display:none}
 .mp-site .np.is-deck :is(.np-screen,.np-plate){max-height:calc(100svh - 270px)}
 .mp-site .np.is-deck>.np-hero .np-arch{aspect-ratio:3/3.6}
}
/* Chapter VI: the second part is coming. */
.mp-site .np-soon{display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:22px;text-align:center}
.mp-site .np-soon .np-mystery{font-size:clamp(120px,14vw,200px)}
/* The rail of chapters at the bottom and the wheel hint on the hero. */
.mp-site .np-deck-nav{position:absolute;left:50%;bottom:20px;z-index:5;display:flex;align-items:center;gap:3px;padding:4px;transform:translateX(-50%);border:1px solid var(--ct-brass-lo);border-radius:var(--ct-radius);background:var(--ct-tabs-frame),#0b0910e6}
.mp-site .np-deck-nav[hidden]{display:none}
.mp-site .np-deck-nav button{display:grid;place-items:center;min-width:40px;height:30px;padding:0 9px;border:0;border-radius:2px;background:none;font:600 13px/1 var(--ct-serif);color:var(--ct-faint);cursor:pointer;transition:color .2s,background-color .2s}
.mp-site .np-deck-nav button:hover{color:var(--ct-text)}
.mp-site .np-deck-nav button[aria-current=true]{color:var(--ct-brass-hi);background:var(--ct-violet-18);box-shadow:inset 0 0 0 1px #a85cff4d}
.mp-site .np-deck-nav button i{width:9px;height:9px;background:var(--ct-rivet) center/100% 100% no-repeat}
.mp-site .np-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mp-site .np-deck-hint{position:absolute;left:50%;bottom:66px;display:flex;flex-direction:column;align-items:center;gap:8px;transform:translateX(-50%);font:600 10px/1.3 var(--ct-sans);letter-spacing:3px;text-transform:uppercase;color:var(--ct-muted);pointer-events:none}
.mp-site .np-deck-hint[hidden]{display:none}
.mp-site .np-deck-hint::before{content:"";width:20px;height:32px;box-sizing:border-box;border:1.5px solid var(--ct-brass-lo);border-radius:12px;background:radial-gradient(circle,var(--ct-brass-hi) 0 2px,transparent 2.5px) center 6px/6px 6px no-repeat;animation:np-wheel 1.8s ease-in-out infinite}
@keyframes np-wheel{50%{background-position:center 16px}}
@media(max-height:720px){
 .mp-site .np.is-deck>.np-hero h1{font-size:clamp(46px,10svh,72px)}
 .mp-site .np.is-deck>.np-hero .np-ornament{margin-block:8px}
 .mp-site .np.is-deck>.np-hero .np-arches{max-width:min(1160px,175svh);margin-top:18px}
 .mp-site .np.is-deck>.np-hero .np-arches__note{margin-top:14px}
 .mp-site .np.is-deck .np-deck-hint::before{display:none}
}

/* Transitions run on transform and opacity only: the moving slides and the
   card that grows over the screen get their own layers. */
.mp-site .np-dive{position:absolute;z-index:4;pointer-events:none;will-change:transform,opacity;transform-origin:center}

/* One shared night behind all slides (the slides themselves are transparent,
   so a moving slide has no edge of its own), the hands canvas over it. */
.mp-site .np[data-new-world].is-deck{background:radial-gradient(60% 60% at 62% 40%,#1d0c36 0%,#110820 45%,transparent 80%),linear-gradient(180deg,#06040a,var(--ct-bg) 60%,#08060d)}
.mp-site .np.is-deck>.np-hands{position:absolute;inset:0;z-index:1}
.mp-site .np.is-deck>.np-hands.is-front{z-index:6}
/* A soft vignette over everything but the controls. */
.mp-site .np.is-deck::after{content:"";position:absolute;inset:0;bottom:0;height:auto;z-index:1;pointer-events:none;background:radial-gradient(90% 85% at 55% 45%,transparent 45%,#05030acc 100%)}
