.nx-game-intro .nx-player-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 18px;border:1px solid #80668f;border-radius:6px;background:#483151;color:#fff;font-size:13px;line-height:1.3;transition:background-color 180ms,border-color 180ms}
.nx-game-intro .nx-player-button:is(:hover,:focus-visible){background:#edd3ba;color:#30203c;border-color:#bc9574}
@media(max-width:520px){.nx-game-intro{flex-wrap:wrap}.nx-game-intro .nx-player-button{min-height:40px;padding:10px 15px}}
/* Explicit foreground/background pair for every interactive button state. */
.nx-observatory button:not(:disabled):is(:hover,:focus-visible),.nx-observatory a.nx-link:is(:hover,:focus-visible){background:#483151;color:#fff;border-color:#483151}
.nx-observatory button:not(:disabled):active{background:#30203c;color:#fff;border-color:#30203c}
/* Match the atmosphere panel to its neighbouring rules without a fixed photo height. */
.nx-game-background .nx-field-notes{align-items:stretch}
.nx-field-notes .nx-world-story{display:flex;flex-direction:column;min-width:0}
.nx-field-notes .nx-world-story picture{position:relative;flex:1 1 auto;height:auto;min-height:240px;overflow:hidden}
.nx-field-notes .nx-world-story picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nx-field-notes .nx-world-story>div{flex:none}
@media(max-width:680px){.nx-game-background .nx-field-notes{grid-template-columns:minmax(0,1fr)}.nx-field-notes .nx-world-story{display:block}.nx-field-notes .nx-world-story picture{height:auto;min-height:0;aspect-ratio:16/10}.nx-field-notes .nx-world-story>div{padding:20px;border-left:4px solid var(--accent)}}
/* The wallpaper belongs to the whole site, not to the game panel. */
body.nx-site-wallpaper{background-color:#30213e;background-image:linear-gradient(#21182d26,#21182d55),var(--site-art);background-size:cover;background-position:center;background-attachment:fixed}
.nx-site-wallpaper .nx-main.nx-game-background{background:none}
.nx-site-wallpaper .nx-rail{background:#21182dd9;backdrop-filter:blur(8px)}
.nx-site-wallpaper .nx-footer{background:#ded5e4ed}
@media(max-width:800px){.nx-site-wallpaper .nx-header-tools{background:#21182de8}}
/* Each game carries its own existing scene, including the server-rendered page. */
.nx-game-background{background-color:#30213e;background-image:linear-gradient(#21182d26,#21182d66),var(--world-art);background-size:cover;background-position:center top;background-attachment:fixed}
.nx-game-background .nx-game-intro{padding:18px 20px;background:#f4eef9f2;border-radius:4px}
.nx-game-background .nx-orbits{padding:10px;background:#eeeaf1ee;border-radius:4px}
.nx-game-background .nx-below-board{grid-template-columns:minmax(0,1fr);padding:18px 20px;background:#f4eef9f2;margin-top:18px;border-radius:4px}
.nx-game-background .nx-journey{margin-top:28px;padding:24px;background:#eeeaf1f2;border-radius:4px}
.nx-game-background .nx-field-notes{padding:22px;background:#eeeaf1f2;border-radius:4px}
.nx-game-background .nx-playboard:before{background-image:linear-gradient(90deg,#1b112966,transparent 50%,#1b112955),var(--world-art);opacity:1}
.nx-header-disclaimer{display:flex;gap:10px;align-items:flex-start;margin-bottom:8px}.nx-header-disclaimer>strong{flex:none;color:#edc5a6;font-size:14px;line-height:1.5}.nx-header-disclaimer p{font-size:12px;line-height:1.5;color:#e0cfe9}
.nx-header-tools>.nx-header-profile{display:none}
@media(max-width:800px){.nx-header-disclaimer{grid-column:1/-1;margin:0 0 5px}.nx-header-tools .nx-header-balance{grid-column:1;min-width:0}.nx-header-tools>.nx-header-profile{display:flex;align-self:center;min-width:0}.nx-game-background{background-attachment:scroll}.nx-main.nx-main.nx-main{padding-top:calc(var(--header-stack,300px) + 16px)}}
@media(max-width:520px){.nx-game-background .nx-game-intro{padding:15px}.nx-game-background .nx-journey{padding:18px 14px}.nx-game-background .nx-field-notes{padding:16px 12px}.nx-game-background .nx-below-board{padding:15px}}
/* Header utilities and distinct game controls. */
.nx-header-tools{display:grid;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid #6e5b7b}
.nx-header-balance{display:grid;gap:3px;padding-bottom:6px}.nx-header-balance small{font-size:12px;color:#cfbddb}.nx-header-balance strong{font:600 24px NXDisplay,sans-serif;font-variant-numeric:tabular-nums}
.nx-header-tools>button{width:100%;min-height:40px;font-size:12px;text-align:left;justify-content:flex-start;background:#382a44;color:#f8f0fc;border-color:#80668f}.nx-header-tools>button:hover:not(:disabled){background:#edd3ba;color:#2b1c31;border-color:#edd3ba}
.nx-console.nx-console-stepper{grid-template-columns:minmax(170px,1fr) minmax(180px,1.2fr) auto;gap:24px}
.nx-stake-controls{display:grid;grid-template-columns:42px minmax(48px,1fr) 42px;align-items:center;gap:8px;margin-top:5px;max-width:240px}
.nx-stake-controls button{padding:0;width:42px;height:42px;font-size:24px;border-radius:50%;background:transparent;border-color:#b49dc2;color:#543863}.nx-stake-controls button:hover:not(:disabled){background:#e1d2eb;color:#2d183d}
.nx-stake-controls output{text-align:center;font:600 22px NXDisplay,sans-serif;font-variant-numeric:tabular-nums;color:#38223f}
.nx-console-stepper .nx-spin{font-size:17px!important;min-height:60px}
.nx-share-link{background:transparent;border:0;border-bottom:1px solid #bda7ca;border-radius:0;padding:8px 2px;color:#695077;font-size:12px}
/* All six worlds remain in the page flow; no horizontal gallery. */
.nx-filmstrip{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;overflow:visible;scroll-snap-type:none;padding-bottom:0}
.nx-filmstrip>a,.nx-filmstrip>a:first-child{padding:0;border:1px solid #c7b8d2;background:#f8f3fa;border-radius:6px;overflow:hidden;scroll-snap-align:none;transition:border-color 180ms,box-shadow 180ms}
.nx-filmstrip picture{height:auto;aspect-ratio:16/10}
.nx-filmstrip>a>div{padding:18px 18px 22px}
.nx-filmstrip h3{min-height:0;overflow-wrap:break-word}
.nx-filmstrip>a:hover{border-color:#876597;box-shadow:0 6px 18px #3d2a4914}
@media(max-width:1200px){.nx-filmstrip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.nx-filmstrip{grid-template-columns:minmax(0,1fr);gap:20px}.nx-filmstrip>a>div{padding:16px 18px 20px}}
@media(max-width:1100px){.nx-console.nx-console-stepper{grid-template-columns:minmax(160px,1fr) minmax(160px,1fr);gap:18px}.nx-console-stepper .nx-share-link{grid-column:1/-1;justify-self:end}}
@media(max-width:800px){.nx-header-tools{position:absolute;left:0;right:0;top:100%;margin:0;padding:10px 18px 12px;grid-template-columns:1fr 1fr;gap:6px 12px;background:#21182d;border-top:1px solid #65516f;border-bottom:1px solid #65516f}.nx-header-balance{grid-column:1/-1;min-height:47px;padding:0;gap:0}.nx-header-balance strong{font-size:21px}.nx-header-tools>button{min-height:38px;justify-content:center;text-align:center}.nx-main.nx-main{padding-top:205px}.nx-mobile-actions.nx-mobile-actions{position:fixed;top:88px;right:18px;background:transparent;border:0;padding:0}.nx-mobile-actions.nx-mobile-actions>button{font-size:12px;color:#f5eaf9;min-height:34px;padding:7px 10px;border:1px solid #90769f;background:#382a44}}
@media(max-width:520px){.nx-console.nx-console-stepper{grid-template-columns:minmax(130px,1fr) minmax(110px,1fr);gap:14px}.nx-stake-controls{grid-template-columns:34px minmax(35px,1fr) 34px;gap:3px}.nx-stake-controls button{width:34px;height:38px;font-size:22px}.nx-stake-controls output{font-size:20px}.nx-console-stepper .nx-spin{font-size:15px!important;min-height:54px}.nx-mobile-actions.nx-mobile-actions{top:84px}}
/* Small labels share a readable floor, including narrow-screen rules. */
.nx-correspondence p,.nx-settings form button,.nx-settings [data-rotate],.nx-line-explanation p,.nx-rail-bottom>p,.nx-spin{font-size:12px!important}
:is(.nx-eyebrow,.nx-age,.nx-primary~.nx-rail-bottom p,.nx-rail-bottom>button:nth-child(2),.nx-menu-toggle,.nx-mobile-actions>button,.nx-room-number,.nx-orbits a,.nx-board-cap>span,.nx-board-cap button,.nx-console-wallet small,.nx-console-wallet button,.nx-stake,.nx-console-actions button,.cm-result,.nx-receipt button,.nx-below-board>p,.nx-goals summary,.nx-goals summary small,.cm-mission,.cm-mission small,.nx-filmstrip p,.nx-world-story .nx-eyebrow,.nx-world-story>div>p:last-child,.nx-symbol-ledger>div,.nx-line-explanation>p:first-child,.nx-line-explanation>p:nth-child(2),.cm-lines figcaption,.nx-profile-summary a>span,.nx-profile-summary small,.nx-profile-wallet small,.nx-profile-wallet button,.nx-pass-mark small,.nx-player-pass label,.nx-player-pass .nx-check,.nx-form-actions button,.nx-pass-balance small,.nx-player-pass>[data-show-code],.nx-stat-ribbon dt,.nx-record-tabs button,.nx-sessions summary,.cm-pagination button,.cm-pagination span,.cm-achievement small,[data-week],.nx-footer-seal>span,.nx-footer-seal>a:last-child,.nx-footer-copy nav a,.nx-footer-copy nav button,.nx-footer-copy>p,.nx-footer-copy>small,.cm-dialog-head button,.cm-avatar-options button,.cm-toast,.nx-notice p,.nx-notice button,.nx-menu-worlds a,th,td){font-size:12px!important}
.nx-orbits{gap:8px}.nx-orbits a{min-height:39px;line-height:1.35}.nx-board-cap button{min-height:32px}.nx-console-wallet button{min-height:30px}.nx-console-actions button{min-height:32px}.nx-console-wallet small{line-height:1.35}.nx-below-board>p{line-height:1.6}.nx-goals summary small{line-height:1.4}.nx-rail-bottom>p{line-height:1.65}.nx-notice p{line-height:1.5}.nx-notice button{max-width:190px}.nx-player-record [data-record-panel]{margin-top:20px;min-height:0}.nx-player-record [data-record-panel]>h2{font-size:20px;margin-bottom:20px}.nx-menu-worlds a{line-height:1.4}.nx-profile-summary strong{line-height:1.3}.nx-footer-copy nav{gap:7px 18px}.nx-footer-copy>small{line-height:1.7}
@media(max-width:520px){.nx-orbits{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.nx-orbits a{padding:6px;gap:7px}.nx-orbits a .cm-symbol{width:25px;height:25px}.nx-board-cap{align-items:flex-start;gap:10px}.nx-board-cap>div{flex-wrap:wrap;justify-content:flex-end}.nx-board-cap>span{padding-top:7px}.nx-console{grid-template-columns:minmax(0,1fr) 82px minmax(106px,1fr);gap:9px}.nx-console-wallet strong{font-size:22px}.nx-console-wallet button{white-space:normal;text-align:left;justify-content:flex-start;line-height:1.35}.nx-console-actions{justify-content:space-between;gap:8px}.nx-receipt{padding-bottom:14px}.nx-goals summary{flex-wrap:wrap;gap:7px 10px}.nx-goals summary small{flex-basis:70%}.nx-goals summary b{margin-left:auto}.nx-notice{display:grid;grid-template-columns:1fr;gap:8px;max-height:40svh}.nx-notice button{justify-self:end;max-width:none;min-height:34px}.nx-mobile-actions{right:94px;top:81px;background:#f7f1fb;border:1px solid #beaaca;padding:3px 9px;position:absolute;z-index:20}.nx-mobile-actions>button{color:#53345f;border-bottom:0}.nx-main{padding-top:118px}.nx-menu-toggle{min-height:37px;padding:9px}.nx-age{left:198px}.nx-player-pass .nx-check{line-height:1.5}.nx-stat-ribbon dl{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-footer-seal{gap:12px}.nx-footer-copy nav{gap:6px 18px}.nx-menu-worlds{grid-template-columns:1fr 1fr}.nx-menu-destinations a{font-size:18px}.cm-avatar-options{grid-template-columns:1fr 1fr}}
