/* HK Universe: homepage experience. Scoped so existing games, resources and books remain untouched. */
.home-universe{
  --u-night:#061326;--u-navy:#0a1d37;--u-mid:#102944;--u-gold:#e0bb78;
  --u-cream:#f7f4ee;--u-muted:#aebbd0;--u-ink:#122039;--u-purple:#a28cff;
  --u-border:rgba(218,235,255,.14);--u-container:1240px;
  background:var(--u-night);color:#eef4ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.home-universe h1,.home-universe h2,.home-universe h3,.home-universe p{margin-top:0}
.home-universe button,.home-universe a{ -webkit-tap-highlight-color:transparent}
.home-universe button:focus-visible,.home-universe a:focus-visible{outline:3px solid #48e7db;outline-offset:4px}
.home-universe .container{width:min(var(--u-container),calc(100% - 64px))}
.home-universe .universe-header{background:rgba(5,16,32,.92);border-color:rgba(255,255,255,.095);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.home-universe .nav{height:83px;gap:22px}
.home-universe .brand-hk{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:238px;white-space:nowrap;color:#fff}
.home-universe .brand-mark{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;background:linear-gradient(145deg,#fff5d8,#c1ab7f);border-radius:14px;box-shadow:0 4px 22px #d9ae6633;overflow:hidden}
.home-universe .brand-mark img{width:39px;height:39px;object-fit:contain}
.home-universe .brand-content{display:flex;flex-direction:column;align-items:start}
.home-universe .brand-content b{font:700 14px/1.15 Georgia,serif;letter-spacing:.075em;color:#f8f0e2}
.home-universe .brand-content small{font:700 9px/1.4 ui-sans-serif,system-ui,sans-serif;color:#d9ba80;margin-top:5px;letter-spacing:.21em}
.home-universe .nav-links{gap:17px;font-size:12px;color:#d0d9e5}
.home-universe .nav-links a:hover,.home-universe .nav-links a.active{color:#fff}
.home-universe .nav-links a:after{background:var(--u-gold)}
.home-universe .nav-links .lang{color:#eacb90;border-color:#3a485e}
.home-universe .menu-btn{border-color:#5a6779;color:#fff}
.home-universe .mobile-menu{border-color:rgba(255,255,255,.12);color:#e7eef8}
.home-universe .mobile-menu a:hover{color:#e0bb78}
.u-section{position:relative;padding:112px 0}
.u-overline{font-size:11px;font-weight:850;letter-spacing:.23em;color:#c79c56;text-transform:uppercase;margin-bottom:19px}
.u-section h2{font-size:clamp(37px,4.7vw,65px);letter-spacing:-.06em;line-height:1.07;font-weight:780;margin-bottom:21px}
.u-section-intro>p,.u-story-copy>p,.u-challenge-copy>p,.u-video-copy>p,.u-more-grid p{max-width:570px;font-size:16px;line-height:1.85;color:#a8b7c8;margin-bottom:0}
.u-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:52px;padding:14px 23px;border-radius:13px;font-weight:800;font-size:13px;line-height:1.1;border:1px solid transparent;transition:transform .25s,box-shadow .25s,background-color .25s;cursor:pointer;text-decoration:none}
.u-button:hover{transform:translateY(-3px)}
.u-button-primary{background:#e8bd77;color:#09172b;box-shadow:0 13px 30px #b67d3540}
.u-button-primary:hover{background:#f6d296;box-shadow:0 20px 36px #b67d3550}
.u-button-outline{border-color:#51657e;color:#fff;background:#ffffff09}
.u-button-outline:hover{background:#ffffff18;border-color:#d9b775}
.u-button-deep{background:#0d243a;color:#fff}
.u-button-deep:hover{background:#1b3955}
.u-text-link{display:inline-flex;gap:13px;align-items:center;font-size:13px;letter-spacing:.01em;font-weight:800;color:#dcb477;border-bottom:1px solid #dcb47775;padding:0 0 7px;white-space:nowrap;transition:color .2s}
.u-text-link:hover{color:#fff}
/* First fold, immersive portal composition. */
.universe-hero{position:relative;min-height:770px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 76% 44%,#193658 0%,#0c203b 32%,#08172d 65%,#061326 100%)}
.universe-hero:before{content:"";position:absolute;inset:0;opacity:.4;pointer-events:none;background-image:linear-gradient(#93a9c10a 1px,transparent 1px),linear-gradient(90deg,#93a9c10a 1px,transparent 1px);background-size:85px 85px;mask-image:linear-gradient(90deg,transparent,#000 52%)}
.u-nebula{position:absolute;pointer-events:none;border-radius:50%;filter:blur(75px);opacity:.35;animation:u-nebula 12s ease-in-out infinite alternate}
.u-nebula-a{width:460px;height:300px;background:#284caf;right:-110px;top:60px}
.u-nebula-b{width:480px;height:290px;background:#26b6bf;left:46%;bottom:-180px;animation-delay:-6s;opacity:.17}
.u-starfield{position:absolute;inset:0;pointer-events:none;opacity:.53;background:radial-gradient(1.5px 1.5px at 16% 21%,#e2c18e 100%,transparent),radial-gradient(1px 1px at 32% 79%,#bbd8f6 100%,transparent),radial-gradient(2px 2px at 75% 9%,#e2c18e 100%,transparent),radial-gradient(1.5px 1.5px at 95% 48%,#fff 100%,transparent),radial-gradient(1px 1px at 86% 86%,#fff 100%,transparent),radial-gradient(1.5px 1.5px at 58% 62%,#e7c184 100%,transparent),radial-gradient(1px 1px at 49% 22%,#fff 100%,transparent),radial-gradient(1px 1px at 7% 92%,#eac487 100%,transparent)}
.u-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:30px;align-items:center;min-height:714px;padding-top:40px;padding-bottom:85px}
.u-hero-copy{position:relative;z-index:2;padding-top:22px}
.u-live-label{display:inline-flex;align-items:center;gap:12px;font-size:11px;font-weight:800;letter-spacing:.23em;color:#e8c99c;margin-bottom:28px}
.u-live-pulse{width:9px;height:9px;border-radius:50%;background:#63e9c9;box-shadow:0 0 0 6px #4ce3cc1a,0 0 20px #4ce3cc;animation:u-pulse 3s ease-in-out infinite}
.universe-hero h1{font-size:clamp(55px,5.85vw,87px);line-height:1.07;letter-spacing:-.07em;font-weight:760;margin:0 0 24px;color:#f9fbff}
.universe-hero h1 em{font-style:normal;color:#e8c084}
.u-hero-highlight{color:#9cc5ed}
.u-hero-copy>p{font-size:16px;line-height:1.85;color:#b5c5d7;max-width:550px;margin:0 0 34px}
.u-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.u-hero-proof{display:flex;align-items:center;flex-wrap:wrap;gap:25px;margin-top:46px}
.u-hero-proof span{font-size:10px;font-weight:850;letter-spacing:.13em;color:#a3b3c9;display:flex;align-items:baseline;gap:7px}
.u-hero-proof b{font-size:22px;letter-spacing:-.04em;color:#f1dcb9}
.u-portal-wrap{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;perspective:900px;--mx:0;--my:0}
.u-portal-stage{width:min(590px,100%);aspect-ratio:1/1;position:relative;transform-style:preserve-3d}/* Keep link hit areas fixed as the mouse moves. */
.u-portal-halo{pointer-events:none;translate:var(--depth-near-x,0px) var(--depth-near-y,0px);transition:translate .22s ease-out;position:absolute;inset:5%;border-radius:50%;background:radial-gradient(circle,#f2d6a738 0%,#2c6c9a1d 35%,transparent 67%);filter:blur(9px);animation:u-breathe 6s ease-in-out infinite}
.u-orbit{position:absolute;border-radius:50%;border:1px solid rgba(184,214,235,.16);pointer-events:none}
.u-orbit-one{inset:11%;transform:rotate(-18deg);box-shadow:inset 0 0 30px #6592ba0d}
.u-orbit-two{inset:22%;border-style:dashed;border-color:#e6bf753a;animation:u-spin 75s linear infinite}
.u-orbit-one:before,.u-orbit-two:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#e8c28a;box-shadow:0 0 20px #f0bd73;left:10%;top:18%}
.u-portal-aura{pointer-events:none;translate:var(--depth-far-x,0px) var(--depth-far-y,0px);transition:translate .22s ease-out;position:absolute;inset:27%;background:radial-gradient(circle,#e9cda85e,transparent 65%);filter:blur(22px);animation:u-breathe 4s ease-in-out infinite alternate}
.u-portal-center{cursor:pointer;touch-action:manipulation;position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:43%;aspect-ratio:1/1.08;border-radius:49%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at 40% 28%,#fff9e7 0%,#ead6ae 42%,#ab987b 100%);box-shadow:0 0 0 9px #e4c58d24,0 0 0 20px #acdcf115,0 27px 90px #020e1c,0 0 90px #dbb97f5c}/* The click target must not bob; its inner image can still float. */
.u-portal-center:before{content:"";position:absolute;inset:6px;border:1px solid #fff8e88a;border-radius:50%}
.u-portal-center img{pointer-events:none;animation:u-core-content-float 7s ease-in-out infinite;width:81%;height:68%;object-fit:contain;filter:drop-shadow(0 9px 8px #0b2b5140)}
.u-portal-center>span{font-size:9px;letter-spacing:.26em;color:#21416b;font-weight:900;white-space:nowrap;margin-top:2px}
.u-portal-node{position:absolute;z-index:3;cursor:pointer;touch-action:manipulation;min-height:116px;justify-content:center;display:flex;flex-direction:column;align-items:center;gap:7px;color:#f9f7f1;text-align:center;width:142px;transform:translate(-50%,-50%);transition:filter .2s}
.u-portal-emblem{height:77px;width:77px;border-radius:25px;display:grid;place-items:center;font-size:36px;font-weight:500;line-height:1;background:linear-gradient(140deg,#233e5a,#0b243d);border:1px solid #8cb9c849;box-shadow:0 18px 32px #00122199,inset 0 1px #ffffff2c;transition:transform .3s,background .3s,box-shadow .3s;animation:u-node-float 5.3s ease-in-out infinite}
.u-portal-node:hover .u-portal-emblem,.u-portal-node:focus-visible .u-portal-emblem{transform:translateY(-9px) scale(1.08);background:linear-gradient(140deg,#3d6682,#133b60);box-shadow:0 14px 46px #4dccff36}
.u-portal-label{font-size:12px;font-weight:800;text-shadow:0 1px 10px #001b2c}
.node-1{left:26%;top:18%}.node-2{left:81%;top:27%}.node-3{left:17%;top:75%}.node-4{left:83%;top:79%}
.node-2 .u-portal-emblem{animation-delay:-1.6s;color:#e7c78f}.node-3 .u-portal-emblem{animation-delay:-2.8s;color:#9ee4df}.node-4 .u-portal-emblem{animation-delay:-3.9s;color:#cbb9ff}
.u-orbit-spark{pointer-events:none;position:absolute;width:4px;height:4px;border-radius:50%;background:#e6cf9e;box-shadow:0 0 24px 6px #ebbd7a80}
.spark-one{top:12%;left:60%}.spark-two{bottom:14%;left:42%}
.u-portal-caption{font-size:11px;letter-spacing:.07em;color:#9eafc1;text-align:center;margin:-13px 0 0}
.u-portal-caption span{color:#e1bb78;font-size:19px;margin-right:8px}
.u-scroll-cue{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);color:#a8b6c9;z-index:2;font-size:10px;letter-spacing:.23em;font-weight:800;display:flex;align-items:center;gap:15px;white-space:nowrap}
.u-scroll-cue span{border:1px solid #ffffff42;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:14px;animation:u-nudge 2.5s ease-in-out infinite}
.u-ticker{overflow:hidden;background:#dcb77a;color:#112642;border-top:1px solid #e9cf9d;border-bottom:1px solid #9f8154;height:55px;display:flex;align-items:center}
.u-ticker-track{display:flex;align-items:center;gap:42px;min-width:max-content;animation:u-ticker 34s linear infinite}
.u-ticker-track>span{display:inline-flex;gap:40px;align-items:center;font-size:10px;font-weight:900;letter-spacing:.19em;white-space:nowrap}
.u-strip-star{font-size:19px;color:#3c5577}
/* User-journey switcher */
.u-journey{background:#f5f2eb;color:var(--u-ink)}
.u-journey .u-section-intro>p{color:#627187}
.u-intro-center{text-align:center;max-width:750px;margin:0 auto 44px}
.u-intro-center p{margin:auto}
.u-role-panel{border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 28px 70px #1c243c15;border:1px solid #dddacf}
.u-role-toolbar{display:flex;gap:6px;padding:13px;background:#eae9e5;border-bottom:1px solid #e1e0dc}
.u-role-tab{appearance:none;flex:1;border:0;border-radius:15px;background:transparent;color:#4c5a6f;padding:15px 20px;font-weight:850;font-size:14px;cursor:pointer;transition:.25s}
.u-role-tab span{margin-right:8px;font-size:19px}
.u-role-tab.active{background:#0e2948;color:#fff;box-shadow:0 6px 19px #10243a25}
.u-role-body{display:grid;grid-template-columns:40% 60%;min-height:354px}
.u-role-body[hidden]{display:none!important}
.u-role-left{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 65% 70%,#224968,#102d4b 70%);color:#fff;padding:43px 42px;display:flex;flex-direction:column;justify-content:center}
.u-role-left.teacher{background:radial-gradient(circle at 70% 75%,#395b59,#142e33 72%)}
.u-label-chip{align-self:flex-start;border:1px solid #ffffff42;border-radius:999px;padding:7px 11px;letter-spacing:.14em;font-size:9px;font-weight:800;color:#d6e1e9}
.u-role-left h3{font-size:clamp(27px,3vw,41px);line-height:1.18;letter-spacing:-.05em;font-weight:750;z-index:2;margin:20px 0 0}
.u-role-ornament{position:absolute;font-size:220px;line-height:1;color:#ffffff10;right:-30px;bottom:-50px;z-index:0}
.u-role-routes{display:flex;flex-direction:column;justify-content:center;padding:25px 34px}
.u-route{display:flex;align-items:center;gap:17px;padding:17px 5px;border-bottom:1px solid #e7e8ea;transition:transform .2s}
.u-route:last-child{border-bottom:0}
.u-route:hover{transform:translateX(5px)}
.u-route-icon{width:51px;height:51px;flex:0 0 51px;display:grid;place-items:center;border-radius:14px;background:#e6f1ff;color:#20447b;font-size:26px}
.u-route-icon.story{background:#e9f4ed;color:#306b56}.u-route-icon.resources{background:#fff0da;color:#926328}.u-route-icon.quiz{background:#efebff;color:#7761ba}
.u-route-text{display:flex;flex-direction:column;gap:3px;flex:1}
.u-route-text strong{font-size:16px;color:#122640}.u-route-text small{font-size:12px;color:#6c7b8a;line-height:1.5}
.u-arrow{color:#33506d;font-size:21px}
/* Game rail */
.u-games{background:linear-gradient(180deg,#07162b,#0a1e37);overflow:hidden}
.u-section-row{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:37px}
.u-section-row .u-section-intro p{max-width:620px}
.u-rail-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:10px;color:#b2c7d9;letter-spacing:.22em;font-weight:850}
.u-rail-count{color:#daac62}
.u-rail-buttons{display:flex;gap:9px}
.u-rail-buttons button{width:43px;height:43px;border-radius:13px;border:1px solid #ffffff38;background:#ffffff0c;color:#fff;cursor:pointer;font-size:20px;transition:background .2s}
.u-rail-buttons button:hover{background:#e0b979;color:#0f243d}
.u-games-rail{display:flex;gap:17px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:4px;scrollbar-width:thin;scrollbar-color:#526781 transparent;padding:8px 2px 25px;outline-offset:3px}
.u-game-card{flex:0 0 304px;min-height:382px;position:relative;display:flex;flex-direction:column;justify-content:space-between;scroll-snap-align:start;padding:24px;overflow:hidden;border:1px solid #ffffff24;border-radius:22px;transition:transform .3s,border-color .3s;background:linear-gradient(150deg,#223968,#0e1a39)}
.u-game-card:hover{transform:translateY(-6px);border-color:#e2c08c88}
.u-game-card.tone-violet{background:linear-gradient(155deg,#3a276a,#141737)}
.u-game-card.tone-cyan{background:linear-gradient(145deg,#12516a,#081e38)}
.u-game-card.tone-amber{background:linear-gradient(155deg,#77502b,#302239)}
.u-game-card.tone-rose{background:linear-gradient(155deg,#672c55,#241532)}
.u-game-top{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:start;color:#dfd9ec;letter-spacing:.2em;font-size:10px;font-weight:900}
.u-game-symbol{font-size:35px;line-height:1;color:#ffffffbd}
.u-game-art{position:absolute;top:50px;left:6%;right:6%;height:162px;display:grid;place-items:center;pointer-events:none}
.u-game-art i{position:absolute;display:block;transform:rotate(-15deg);border-radius:17px;background:#ffffff20;border:1px solid #ffffff4a;width:118px;height:118px;box-shadow:0 22px 35px #0507204a;animation:u-card-float 7s ease-in-out infinite}
.u-game-art i:nth-child(1){left:19%;top:12px;transform:rotate(-21deg) scale(.8);background:#b6d7ff40}
.u-game-art i:nth-child(2){right:17%;top:20px;transform:rotate(23deg) scale(.8);background:#f8ddb340;animation-delay:-2.4s}
.u-game-art i:nth-child(3){left:calc(50% - 45px);top:26px;width:90px;height:90px;border-radius:50%;background:#ffffff45;transform:rotate(0);box-shadow:0 0 40px #ffffff34}
.art-violet i:nth-child(3){border-radius:16px;transform:rotate(45deg)}
.art-cyan i:nth-child(3){border-radius:9px;clip-path:polygon(0 0,100% 0,100% 65%,65% 100%,0 100%)}
.art-amber i:nth-child(3){border-radius:50%;border:12px dashed #ffe5b1}
.art-rose i:nth-child(3){border-radius:50%;background:radial-gradient(circle,#ffdba7,#b483be)}
.u-game-bottom{position:relative;z-index:2;margin-top:auto}
.u-game-bottom h3{font-size:25px;line-height:1.12;letter-spacing:-.04em;font-weight:760;margin:0 0 12px}
.u-game-bottom p{font-size:12px;line-height:1.65;color:#d0cce0;min-height:40px;margin-bottom:18px}
.u-game-bottom a{font-size:11px;letter-spacing:.13em;font-weight:900;color:#f1d4a7;border-bottom:1px solid #f0ce8d70;padding-bottom:7px}
/* Book display */
.u-story{background:#f6f1e8;color:#182c3f;overflow:hidden}
.u-story .u-overline,.u-journey .u-overline{color:#a67b41}
.u-story-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:76px;align-items:center}
.u-story-copy h2{font-family:Georgia,serif;font-weight:500;letter-spacing:-.065em;font-size:clamp(47px,5.3vw,72px)}
.u-story-copy>p{color:#65727c}
.u-story-chosen{margin-top:30px;padding-top:28px;border-top:1px solid #d8d1c6}
.u-small-label{font-size:10px;font-weight:900;letter-spacing:.19em;color:#a98455}
.u-story-chosen h3{font-size:27px;letter-spacing:-.03em;margin:9px 0 9px}
.u-level-tag{display:inline-block;border-radius:100px;padding:4px 11px;color:#30664e;font-size:11px;font-weight:800;border:1px solid #a9c8b5;background:#e2f1e7}
.u-story-chosen p{font-size:13px;color:#5e6a74;margin:13px 0 21px}
.u-story-library{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
.u-book-showcase{position:relative;min-height:360px;border-radius:27px;background:radial-gradient(circle at 50% 50%,#d5e0cf,#dce5dc 35%,#cddbd2 80%);display:grid;place-items:center;overflow:hidden}
.u-book-showcase:after{content:"";position:absolute;bottom:30px;left:20%;right:20%;height:20px;border-radius:50%;filter:blur(14px);background:#1b413c40}
.u-book-light{position:absolute;width:380px;height:380px;border:1px solid #ffffff80;border-radius:50%;box-shadow:0 0 0 40px #ffffff20,0 0 0 90px #ffffff15}
.u-book-showcase img{position:relative;z-index:1;width:300px;max-width:65%;height:305px;object-fit:contain;border-radius:11px;filter:drop-shadow(0 21px 23px #12312655);animation:u-book-reveal .45s both}
.u-story-picker{padding:16px;border-radius:21px;background:#fff9ef;border:1px solid #e4dacf}
.u-story-picker>.u-small-label{display:block;margin:0 0 12px}
.u-story-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.u-story-select{padding:8px;display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;border:1px solid #e7e0d6;text-align:left;min-width:0;cursor:pointer;transition:transform .2s,border-color .2s,background .2s}
.u-story-select.selected{background:#e4ecdf;border-color:#72957e;box-shadow:0 0 0 1px #72957e44}
.u-story-select:hover{transform:translateY(-2px)}
.u-story-select img{width:37px;height:47px;flex:0 0 37px;border-radius:5px;object-fit:cover}
.u-story-select span{display:flex;flex-direction:column;min-width:0;gap:2px}
.u-story-select strong{font-size:10px;line-height:1.3;color:#23394b}
.u-story-select small{font-size:10px;color:#728473;font-weight:800}
/* Actual downloadable materials */
.u-resources{background:#0d2338}
.u-res-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.u-res-card{background:#f7f5ee;color:#152a41;border-radius:21px;overflow:hidden;border:1px solid #dbe3de24;transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}
.u-res-card:hover{transform:translateY(-6px);box-shadow:0 24px 55px #00000048}
.u-res-preview{height:260px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at center,#d5dcbf,#a5b9a4)}
.u-res-preview.story{background:radial-gradient(circle,#ddd8dc,#b7b1c5)}
.u-res-preview.booklet{background:radial-gradient(circle,#f0dbc7,#cfae88)}
.u-res-preview img{height:230px;width:auto;max-width:84%;object-fit:contain;box-shadow:0 12px 30px #14253f2b;border-radius:4px;transform:rotate(-4deg);transition:transform .4s}
.u-res-card:hover .u-res-preview img{transform:rotate(0deg) scale(1.055)}
.u-res-label{position:absolute;top:15px;left:15px;background:#ffffffed;border-radius:999px;padding:6px 10px;font-size:9px;font-weight:900;letter-spacing:.09em;color:#31445a}
.u-booklet-cover{width:168px;height:225px;padding:18px 14px;color:#344457;background:linear-gradient(150deg,#fffef8,#e9dfc9);border-left:9px solid #b07d54;border-radius:4px;transform:rotate(-5deg);box-shadow:0 16px 25px #3c31253d;display:flex;justify-content:space-between;flex-direction:column;transition:transform .4s}
.u-res-card:hover .u-booklet-cover{transform:rotate(0deg) scale(1.04)}
.u-booklet-cover span{font-size:9px;letter-spacing:.13em;font-weight:900;line-height:1.25}
.u-booklet-cover span:first-child{font-family:Georgia,serif;font-size:29px;line-height:1;letter-spacing:-.05em;color:#153f5d}
.u-booklet-cover b{font:700 29px/1.03 Georgia,serif;color:#bc8754}
.u-res-content{padding:22px;display:flex;flex:1;flex-direction:column}
.u-res-content h3{font-size:21px;letter-spacing:-.035em;margin:0 0 8px;line-height:1.2}
.u-res-content p{font-size:13px;color:#6c7982;line-height:1.7;margin:0 0 22px}
.u-res-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto;padding-top:14px;border-top:1px solid #dce1df}
.u-res-actions a{font-size:10px;font-weight:900;letter-spacing:.07em;color:#0c4760;border-bottom:1px solid #73a3af;line-height:1.8}
.u-res-actions a:last-child{color:#8f6839;border-color:#bc9463}
.u-res-actions a:hover{color:#0d989b}
/* Playable embedded quiz */
.u-challenge{background:radial-gradient(circle at 15% 70%,#2a346d,#141c3d 55%,#0a1930);overflow:hidden}
.u-challenge-grid{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:75px}
.u-challenge h2{font-size:clamp(42px,4.8vw,65px)}
.u-challenge-decoration{display:flex;gap:9px;margin-top:40px}
.u-challenge-decoration span{height:43px;width:43px;border-radius:12px;border:1px solid #ffffff32;color:#bec7f2;display:grid;place-items:center;font-size:12px;font-weight:800;transform:rotate(-8deg)}
.u-challenge-decoration span:nth-child(2n){transform:rotate(7deg)}
.u-quiz{background:#f8f7f2;border-radius:28px;overflow:hidden;color:#122944;box-shadow:0 36px 86px #030c2899;border:5px solid #ffffff20;min-width:0}
.u-quiz-top{background:#d4b17a;display:flex;justify-content:space-between;padding:17px 25px;align-items:center;font-size:11px;font-weight:900;letter-spacing:.12em}
.u-quiz-score{white-space:nowrap}
.u-quiz-main{padding:36px 32px 30px;min-height:345px;display:flex;flex-direction:column;justify-content:center}
.u-quiz-welcome{text-align:center}
.u-quiz-badge{width:72px;height:72px;margin:0 auto 17px;display:grid;place-items:center;background:#d7e9e7;border-radius:22px;font-size:35px;color:#2a7779;animation:u-node-float 6s ease-in-out infinite}
.u-quiz-welcome h3,.u-quiz-complete h3{font-size:30px;letter-spacing:-.055em;margin:0 0 9px}
.u-quiz-welcome p,.u-quiz-complete p{color:#677681;font-size:13px;margin:0 auto 22px}
.u-quiz-content h3{font-size:22px;line-height:1.35;letter-spacing:-.03em;margin:15px 0 22px}
.u-quiz-meta{display:flex;justify-content:space-between;align-items:center;color:#62758a;font-size:10px;font-weight:900;letter-spacing:.15em}
.u-quiz-progress{height:5px;border-radius:10px;background:#e2e7e8;overflow:hidden;margin:14px 0 0}
.u-quiz-progress i{display:block;height:100%;width:0;background:#2f8887;transition:width .4s}
.u-quiz-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.u-quiz-choice{border:1px solid #d5dedf;padding:15px 12px;background:#fff;color:#253e52;font-weight:750;font-size:14px;border-radius:12px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.u-quiz-choice:hover:not(:disabled){transform:translateY(-2px);border-color:#458c8e;background:#edf9f6}
.u-quiz-choice:disabled{cursor:default}
.u-quiz-choice.correct{background:#d7f2e1;border-color:#2b9161;color:#125434}
.u-quiz-choice.wrong{background:#fde4e0;border-color:#d97974;color:#8d312c}
.u-quiz-feedback{min-height:24px;font-size:12px;font-weight:850;margin-top:14px;color:#2e6e54}
.u-quiz-feedback.bad{color:#a34e3b}
.u-quiz-actions{display:flex;justify-content:flex-end;margin-top:13px}
.u-quiz-actions button{padding:10px 18px;border:0;border-radius:11px;font-size:12px;font-weight:850;background:#112e4c;color:#fff;cursor:pointer}
.u-quiz-actions button:disabled{opacity:.4;cursor:not-allowed}
.u-quiz-footer{border-top:1px solid #e2e5e6;display:flex;align-items:center;justify-content:space-between;padding:15px 24px;gap:12px;color:#778391;font-size:10px;letter-spacing:.08em;font-weight:800}
.u-quiz-complete{text-align:center}
.u-quiz-complete>span{display:block;font-size:60px;line-height:1;margin-bottom:15px}
.u-quiz-complete .u-button{margin:3px 4px 0}
/* Video showcase: no external embed autoplay or dependency. */
.u-video{background:#f2f2ea;color:#16273b}
.u-video-panel{display:grid;grid-template-columns:1fr .95fr;min-height:455px;gap:50px;align-items:center;padding:55px 58px;border-radius:34px;background:linear-gradient(120deg,#fffefa,#f1e8dd);box-shadow:0 12px 60px #1d304019;overflow:hidden}
.u-video h2{font-size:clamp(38px,4vw,58px)}
.u-video-copy>p{color:#667581}
.u-video-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap;margin-top:26px}
.u-video .u-button-primary{background:#182e4d;color:#fff;box-shadow:0 13px 30px #14243b26}
.u-video .u-text-link{color:#8d663d}
.u-video-visual{height:335px;position:relative;display:grid;place-items:center}
.u-yt-window{position:relative;width:91%;height:260px;border-radius:20px;overflow:hidden;background:radial-gradient(circle at 50% 50%,#c54466,#592743 65%,#251e3e);box-shadow:0 28px 55px #39213244;transform:rotate(5deg);border:7px solid #172944;animation:u-node-float 6s ease-in-out infinite}
.u-yt-window-top{position:absolute;top:0;left:0;right:0;height:35px;background:#0c203bba;display:flex;align-items:center;justify-content:space-between;padding:0 15px;color:#ffffffb8;font-size:10px;letter-spacing:.2em;font-weight:850}
.u-yt-window-top span:first-child{letter-spacing:5px;color:#f2ad8e}
.u-yt-play{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);border-radius:22px;background:#f44359;color:#fff;width:88px;height:65px;display:grid;place-items:center;font-size:28px;padding-left:5px;box-shadow:0 16px 30px #0a0e2080}
.u-eq{position:absolute;bottom:55px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:6px;height:27px}
.u-eq i{width:6px;height:14px;border-radius:20px;background:#f6c9cd;animation:u-bars 1.2s ease-in-out infinite alternate}
.u-eq i:nth-child(2n){height:26px;animation-delay:-.6s}.u-eq i:nth-child(3n){height:9px;animation-delay:-.3s}
.u-yt-tag{position:absolute;bottom:16px;left:0;right:0;text-align:center;color:#f7ccdc;font-size:10px;letter-spacing:.24em;font-weight:900}
.u-note{position:absolute;z-index:2;background:#fff;border:1px solid #efdfd6;border-radius:12px;padding:10px 14px;color:#1c3046;font-size:11px;letter-spacing:.07em;font-weight:900;box-shadow:0 10px 25px #1a2e3a24}
.note-1{right:-1%;top:12px;transform:rotate(-7deg)}.note-2{left:-5%;bottom:0;transform:rotate(5deg)}
.u-more{padding:70px 0;background:#ebebe3;color:#24324b;border-top:1px solid #d8dad7}
.u-more-grid{display:grid;grid-template-columns:.48fr 1fr;align-items:center;gap:55px}
.u-more-logo{width:100%;min-height:195px;display:grid;place-items:center;padding:20px;background:#dcdcd2;border-radius:28px;overflow:hidden}
.u-more-logo img{width:280px;height:180px;object-fit:contain}
.u-more h2{font:500 clamp(35px,4.2vw,53px)/1.08 Georgia,serif;letter-spacing:-.055em;margin-bottom:15px}
.u-more-grid p{font-size:14px;color:#58697a;margin-bottom:20px}
.u-more .u-text-link{color:#7b592c}
.u-ending{text-align:center;position:relative;isolation:isolate;overflow:hidden;padding:85px 0 104px;background:radial-gradient(circle at 50% 20%,#214262,#07172b 70%)}
.u-ending:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 10%,#e2bf8122,transparent 60%);z-index:-1}
.u-ending img{width:min(380px,76vw);height:auto;margin:0 auto 16px;filter:brightness(0) invert(.95)}
.u-ending .u-overline{color:#d6b67a;font-size:10px}
.u-ending h2{font-size:clamp(35px,5.2vw,69px);font-weight:750;letter-spacing:-.07em;line-height:1.1;margin:0 auto 12px}
.u-ending p{font-size:14px;color:#b8c6d4;margin:0 auto 25px}
.home-universe .u-footer{background:#030e1b;color:#e8eff7}
.home-universe .site-footer{padding-top:55px}
/* Scroll-reveal enhancement: content remains visible without JS. */
.js-home .u-reveal{opacity:0;transform:translateY(34px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.js-home .u-reveal.u-visible{opacity:1;transform:translateY(0)}
@keyframes u-pulse{50%{box-shadow:0 0 0 10px #4ce3cc10,0 0 30px #4ce3cc}}
@keyframes u-breathe{50%{opacity:.65;transform:scale(1.08)}}
@keyframes u-core-content-float{50%{translate:0 -5px}}
@keyframes u-node-float{50%{translate:0 -8px}}
@keyframes u-card-float{50%{translate:0 -11px}}
@keyframes u-nudge{50%{transform:translateY(7px)}}
@keyframes u-ticker{to{transform:translateX(-50%)}}
@keyframes u-nebula{to{transform:translate(60px,-20px)}}
@keyframes u-spin{to{transform:rotate(360deg)}}
@keyframes u-book-reveal{from{opacity:.4;transform:translateY(13px) rotate(-4deg)}to{opacity:1;transform:translateY(0) rotate(0deg)}}
@keyframes u-bars{to{height:5px}}
@media(max-width:1190px){
  .home-universe .nav-links{gap:11px;font-size:11px}
  .home-universe .brand-hk{min-width:222px}
  .home-universe .brand-content b{font-size:12px}
  .u-portal-stage{width:min(545px,100%)}
}
@media(max-width:1100px){
  .home-universe .nav-links{display:none}.home-universe .menu-btn{display:block}
  .home-universe .mobile-menu.open{display:grid;grid-template-columns:repeat(3,1fr);gap:7px 15px;max-height:calc(100vh - 90px);overflow:auto}
  .home-universe .mobile-menu a{padding:9px 8px;background:#ffffff08;border-radius:8px;font-size:13px}
  .home-universe .mobile-menu .lang{border:0}
}
@media(max-width:900px){
  .home-universe .container{width:min(100% - 42px,var(--u-container))}
  .u-section{padding:88px 0}
  .u-hero-grid{grid-template-columns:1fr;min-height:0;padding-top:80px;padding-bottom:72px;gap:16px}
  .universe-hero h1{font-size:clamp(47px,9vw,72px)}
  .u-hero-copy{padding-top:0;max-width:750px}
  .u-portal-stage{width:min(570px,100%)}
  .u-portal-wrap{margin:6px auto 5px;width:min(100%,590px)}
  .u-scroll-cue{display:none}
  .u-story-grid{grid-template-columns:1fr;gap:35px}
  .u-story-copy{max-width:700px}
  .u-book-showcase{min-height:340px}
  .u-role-body{grid-template-columns:43% 57%}
  .u-role-routes{padding:14px 23px}
  .u-res-grid{gap:12px}
  .u-res-preview{height:230px}
  .u-res-preview img{height:195px}
  .u-challenge-grid{grid-template-columns:1fr;gap:35px}
  .u-video-panel{grid-template-columns:1fr;gap:25px}
  .u-video-visual{max-width:560px;width:100%;margin:auto}
}
@media(max-width:630px){
  .home-universe .container{width:calc(100% - 34px)}
  .home-universe .nav{height:72px}
  .home-universe .brand-mark{width:40px;height:40px;flex-basis:40px}
  .home-universe .brand-mark img{width:35px;height:35px}
  .home-universe .brand-content b{font-size:12px}
  .home-universe .brand-content small{font-size:8px;letter-spacing:.16em}
  .home-universe .mobile-menu.open{grid-template-columns:repeat(2,1fr)}
  .u-section{padding:74px 0}
  .u-section h2{font-size:clamp(35px,10vw,48px)}
  .u-section-intro>p,.u-story-copy>p,.u-challenge-copy>p,.u-video-copy>p{font-size:14px;line-height:1.7}
  .u-hero-grid{padding-top:56px;padding-bottom:65px}
  .universe-hero h1{font-size:clamp(45px,11.2vw,64px);line-height:1.08}
  .u-hero-copy>p{font-size:14px;line-height:1.8}
  .u-live-label{font-size:9px;letter-spacing:.16em}
  .u-hero-actions{gap:9px}
  .u-button{padding:13px 17px;min-height:49px;font-size:12px;gap:13px}
  .u-hero-proof{gap:13px;margin-top:29px}
  .u-hero-proof b{font-size:18px}
  .u-hero-proof span{font-size:9px;gap:4px}
  .u-portal-stage{width:min(100%,430px)}
  .u-portal-node{width:98px}
  .u-portal-emblem{width:61px;height:61px;border-radius:18px;font-size:27px}
  .u-portal-label{font-size:10px}
  .u-portal-caption{margin:-7px 0 0;font-size:10px}
  .u-portal-center>span{font-size:7px;letter-spacing:.12em}
  .u-ticker{height:45px}
  .u-ticker-track{gap:25px}
  .u-ticker-track>span{font-size:9px;gap:22px}
  .u-intro-center{margin-bottom:28px}
  .u-role-toolbar{padding:8px}
  .u-role-tab{font-size:12px;padding:12px 7px}
  .u-role-tab span{font-size:14px;margin-right:4px}
  .u-role-body{grid-template-columns:1fr}
  .u-role-left{padding:28px;min-height:157px}
  .u-role-left h3{font-size:30px;margin-top:13px;max-width:320px}
  .u-role-ornament{font-size:165px}
  .u-role-routes{padding:13px 21px}
  .u-route{gap:12px;padding:13px 0}
  .u-route-icon{width:41px;height:41px;flex-basis:41px;font-size:23px}
  .u-route-text strong{font-size:13px}.u-route-text small{font-size:11px}
  .u-section-row{align-items:start;flex-direction:column;gap:13px;margin-bottom:22px}
  .u-game-card{flex-basis:min(82vw,310px);min-height:370px}
  .u-story-chosen{margin-top:24px}
  .u-story-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .u-story-select strong{font-size:10px}
  .u-book-showcase{min-height:290px}
  .u-book-showcase img{height:254px;max-width:73%}
  .u-res-grid{grid-template-columns:1fr;gap:18px}
  .u-res-preview{height:235px}
  .u-res-preview img{height:209px}
  .u-res-content{padding:18px}
  .u-challenge-decoration{margin-top:25px}
  .u-quiz-main{padding:28px 19px;min-height:330px}
  .u-quiz-top{padding:13px 16px}
  .u-quiz-choice{font-size:12px;padding:13px 8px}
  .u-quiz-footer{padding:13px;letter-spacing:0;font-size:9px}
  .u-video-panel{padding:35px 20px;border-radius:22px}
  .u-video-visual{height:260px}
  .u-yt-window{height:205px}
  .u-note{font-size:9px;padding:9px}
  .note-1{right:0}.note-2{left:0}
  .u-more-grid{grid-template-columns:1fr;gap:24px}
  .u-more-logo{min-height:165px}
  .u-more-logo img{height:150px}
  .u-ending{padding:75px 0}
}
@media(prefers-reduced-motion:reduce){
  .home-universe *, .home-universe *:before, .home-universe *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
  .js-home .u-reveal{opacity:1;transform:none}
}
.u-portal-center{cursor:pointer;transition:filter .3s;text-decoration:none}
.u-portal-center:hover,.u-portal-center:focus-visible{filter:brightness(1.1) drop-shadow(0 0 18px #e0b979b0)}
.u-portal-center img{transition:transform .3s}
.u-portal-center:hover img{transform:scale(1.07)}

/* V16.1: stable hand cursor for all four exploration portals and central door. */
.u-portal-node > *, .u-portal-center > *, .u-portal-center::before{pointer-events:none}
.u-portal-node:hover, .u-portal-node:focus-visible{cursor:pointer}
@media(max-width:600px){.u-portal-node{min-height:91px}}


/* V2 - homepage interaction and featured shelf refresh */
.u-game-card[role="link"]{cursor:pointer}
.u-game-card[role="link"]:focus-visible{outline:3px solid #48e7db;outline-offset:4px}
.u-story-grid{align-items:stretch}
.u-story-copy{display:flex;flex-direction:column;justify-content:center}
.u-story-chosen{margin-top:28px;padding:24px;border:1px solid #ddd4c8;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.18));box-shadow:0 14px 28px rgba(21,42,65,.06)}
.u-story-chosen h3{margin-top:12px}
.u-book-showcase{border:1px solid #dde4db;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 18px 40px rgba(73,97,88,.12)}
.u-showcase-pill{position:absolute;top:18px;left:18px;z-index:2;background:#fffdf7;color:#637666;border:1px solid #dfe6da;border-radius:999px;padding:8px 12px;font-size:10px;letter-spacing:.15em;font-weight:900;box-shadow:0 8px 20px rgba(45,70,66,.08)}
.u-story-picker{padding:18px 18px 16px;border-radius:24px;box-shadow:0 12px 24px rgba(29,48,64,.06)}
.u-story-picker>.u-small-label{display:flex;align-items:center;justify-content:space-between;color:#9d7a42}
.u-story-options{gap:10px}
.u-story-select{padding:10px;border-radius:14px}
.u-story-select.selected{background:#edf4ea;border-color:#79937f;box-shadow:0 10px 24px rgba(67,99,78,.12)}
.u-story-select img{width:42px;height:52px;flex-basis:42px;border-radius:7px;box-shadow:0 6px 14px rgba(25,46,37,.16)}
.u-story-select strong{font-size:11px}
.u-story-select small{font-size:10px;letter-spacing:.04em}
@media(max-width:900px){
  .u-story-chosen{padding:20px}
  .u-showcase-pill{top:14px;left:14px;font-size:9px;padding:7px 10px}
}

/* Mystery Faces game carousel signature */
.u-game-card.tone-mint{background:linear-gradient(155deg,#176465 0%,#173c62 53%,#101d3b 100%)}
.art-mint i:nth-child(3){border-radius:50% 50% 45% 45%;background:linear-gradient(140deg,#7ef5d9aa,#90bbfbbb);box-shadow:0 0 45px #57ecc15c}

/* Illustrated game covers replace decorative placeholder shapes. */
.u-game-card{isolation:isolate}
.u-game-card .u-game-art{top:0;left:0;right:0;height:229px;display:block;overflow:hidden;border-radius:21px 21px 0 0}
.u-game-card .u-game-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 47%;filter:saturate(1.08) contrast(1.05);transition:transform .42s ease;}
.u-game-card .u-game-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 46%,rgba(9,20,40,.10) 73%,rgba(10,20,39,.88) 100%);pointer-events:none}
.u-game-card:hover .u-game-art img{transform:scale(1.055)}
.u-game-card .u-game-top{z-index:3;text-shadow:0 1px 6px #071327}
.u-game-card .u-game-top span:first-child{padding:5px 8px;border-radius:6px;background:rgba(4,18,38,.45)}
.u-game-card .u-game-bottom{z-index:3}
.u-game-card .u-game-symbol{display:none}
