/* Crownluma: original adventure art and celebration layer. */
html{background:#171237;min-height:100%}body{margin:0;padding:24px 12px;background:radial-gradient(ellipse at 15% 0,#6342a2,transparent 55%),radial-gradient(ellipse at 90% 60%,#134b79,transparent 60%),#171237;min-height:100vh}
#crownluma{--nq-bg:#221b4a;--nq-surface:#34255d;--nq-ink:#fff7e8;--nq-muted:#d2c8e7;--nq-line:#6c5093;--nq-blue:#a24bea;--nq-gold:#ffcf48;--nq-green:#18ac96;--nq-shade:#100c32;color-scheme:dark;border:2px solid #9b78bd;border-radius:30px;box-shadow:0 25px 100px #08051b99;max-width:860px;background:linear-gradient(160deg,#39235e,#1b224b)}
#crownluma .nq-top{background:linear-gradient(110deg,#3c2466,#211f47);padding:20px 24px;border-bottom:1px solid #ffffff18}
#crownluma .nq-brand{color:#ffe294;text-shadow:0 3px 0 #7a451c,0 0 25px #ffbe4d40;font-size:25px;letter-spacing:3px}#crownluma .nq-brand:before{content:'♛';display:inline-block;color:#ffd45b;font-size:38px;vertical-align:middle;margin-right:8px}#crownluma .nq-brand span{color:#c8b5ed;letter-spacing:4px;font-size:9px;margin-left:43px}
#crownluma .nq-pill{background:linear-gradient(#634380,#3b2b5b);border:1px solid #ac80ba;box-shadow:inset 0 2px #ffffff22,0 3px #150e30;color:#ffeaa0;font-size:17px}#crownluma .nq-nav{background:#241a43;padding:10px 14px}#crownluma .nq-nav button{color:#d9c8ee;min-height:48px}#crownluma .nq-nav button[aria-pressed=true]{background:linear-gradient(#b967f0,#7135ba);border:1px solid #e3a3ff;box-shadow:0 4px #4b1d81,inset 0 2px #fff4;color:white}
#crownluma .nq-scene{min-height:330px;background:#61529e url('kingdom.webp') center 57%/cover}#crownluma .nq-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#201039bd,transparent 70%),linear-gradient(0deg,#241b4a,transparent 35%);pointer-events:none}#crownluma .nq-planet,#crownluma .nq-ship{display:none}#crownluma .nq-stars{z-index:1}#crownluma .nq-scene-copy{z-index:2;padding:28px 28px;max-width:75%}#crownluma .nq-scene-copy h2{font-size:40px;color:#ffecad;text-shadow:0 3px #64362e,0 5px 18px #211232}#crownluma .nq-scene-copy p{color:#fff2d8;font-size:15px}#crownluma .nq-kicker{color:#e4b8ff;font-size:10px}#crownluma .nq-flag{z-index:2;filter:drop-shadow(0 6px 8px #190d40)}
#crownluma .nq-mapbody{background:radial-gradient(ellipse at top,#68437d66,transparent 70%);padding:24px}#crownluma .nq-route{position:relative;padding:18px 8px 24px;gap:28px 12px;background:radial-gradient(ellipse,#72538a55,transparent 70%)}#crownluma .nq-level{width:65px;height:65px;font-size:22px;border:3px solid #8c70aa;background:linear-gradient(#67547d,#49345f);color:#c5b3dc;box-shadow:0 6px #1d1337,inset 0 2px #ffffff26}#crownluma .nq-level.nq-current{background:linear-gradient(#fff194,#ffbd36);border-color:#fff5bc;color:#683710;box-shadow:0 7px #b26823,0 0 30px #ffd34b66,inset 0 3px #fff9;animation:cl-beacon 2.5s ease-in-out infinite}#crownluma .nq-level.nq-complete{background:linear-gradient(#4ee4bc,#149b94);border-color:#96f4ce;box-shadow:0 5px #126770;color:#f5fff0}#crownluma .nq-level:disabled{opacity:.7}
#crownluma .nq-main{background:linear-gradient(#fff18a 0,#ffcd48 48%,#ffb730);border:2px solid #ffe99e;border-radius:18px;color:#693710;box-shadow:0 6px #ad621b,inset 0 3px #fff9,0 9px 22px #100a3033;min-height:52px;font-weight:900;text-shadow:0 1px #fff7}#crownluma .nq-main:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-2px)}#crownluma .nq-small{background:linear-gradient(#684c8b,#443064);border:1px solid #a280be;color:#fff3e4;box-shadow:0 3px #211337,inset 0 1px #fff3;border-radius:14px}#crownluma .nq-asset{background:linear-gradient(150deg,#65417c,#30234e);border:1px solid #a479a0;padding:14px 12px;box-shadow:inset 0 1px #fff2,0 4px #120c2b55}#crownluma .nq-asset:before{content:'✦';font-size:24px;color:#ffda72;float:right}#crownluma .nq-asset b{color:#8cf0cd;font-size:20px}
#crownluma [data-view=game]{background:linear-gradient(#251447a8,#1a2149ed),url('kingdom.webp') center top/cover;padding-bottom:4px}#crownluma .nq-gamehead{padding:24px 24px 14px}#crownluma .nq-gamehead h2{font-size:30px;color:#fff0bb;text-shadow:0 3px #412556}#crownluma .nq-metrics{background:linear-gradient(#452d68,#2e2350);border:1px solid #b180b4;box-shadow:0 5px #140e2e66,inset 0 1px #ffffff33;color:#dbcaeb;padding:14px 8px}#crownluma .nq-metrics b{font-size:27px;color:#ffe694}#crownluma [data-clock]{align-self:center;font-weight:800;font-size:17px}
#crownluma .nq-board{margin:0 18px;padding:14px;gap:12px;border:2px solid #a67ec1;border-radius:24px;background:linear-gradient(135deg,#5d3b8066,#171633bb);box-shadow:inset 0 3px 16px #100b2c99,0 5px #110b2955}#crownluma .nq-tile{background:radial-gradient(ellipse at 30% 0,#c685ef77,transparent 65%),linear-gradient(145deg,#9354c9,#5131a2);border:2px solid #c38ae8;box-shadow:0 6px #291860,inset 0 3px #fff3;border-radius:18px;font-size:clamp(28px,5vw,46px);color:#ffe399;text-shadow:0 3px 9px #25124a;min-height:64px;transition:transform .18s,filter .18s,background .18s}#crownluma .nq-tile:after{content:'';position:absolute;inset:6px;border:1px solid #ffffff1c;border-radius:11px;pointer-events:none}#crownluma .nq-tile:hover:not(:disabled){transform:translateY(-3px);filter:brightness(1.15)}#crownluma .nq-tile.nq-open{background:radial-gradient(circle at 35% 25%,#fffdec,#ffe5a6 65%,#edb454);border-color:#fff6c2;box-shadow:0 6px #a47535,0 0 22px #ffcf4d44;text-shadow:none;animation:cl-reveal .24s ease-out}#crownluma .nq-tile.nq-found{background:radial-gradient(circle at 35% 20%,#d6ffde,#67dabb 65%,#2faaae);border-color:#b4ffdd;box-shadow:0 4px #17797c,inset 0 3px #fff8;text-shadow:none;opacity:1;animation:cl-match .4s ease-out}#crownluma .nq-tile.nq-flash{background:#ffe06c;box-shadow:0 0 30px #ffebaa;transform:scale(1.04)}#crownluma .nq-board.cl-complete{box-shadow:0 0 35px #ffdf6970,inset 0 0 20px #ffdf6920;border-color:#ffe59a}#crownluma .nq-boss{background:linear-gradient(90deg,#b8752833,#b14f6b33);margin:0 22px 18px;padding:15px;border:1px solid #b8836b;border-radius:18px}#crownluma .nq-boss>span{font-size:56px}
#crownluma .nq-outcome{background:radial-gradient(circle at 50% 0,#7c48a3,#332054 60%);border:2px solid #ffdf87;box-shadow:0 8px #150b2c;color:#fff4dc;padding:26px 20px}#crownluma .nq-outcome h3{font-size:32px;color:#ffe89d;text-shadow:0 3px #7d4428}#crownluma [data-reward]{font-size:23px;font-weight:900;color:#ffe498}#crownluma .cl-victory{position:fixed;z-index:1001;left:50%;top:50%;width:min(440px,calc(100vw - 36px));max-height:90dvh;overflow:auto;transform:translate(-50%,-50%);margin:0;border-radius:30px;box-shadow:0 0 0 100vmax #100b2bdc,0 0 65px #f4bd7333;animation:cl-award .4s ease-out;padding:30px 24px}#crownluma .cl-victory .nq-actionrow{padding-top:24px}#crownluma .cl-victory [data-next]{width:100%;font-size:21px;min-height:57px}#crownluma .cl-medal{display:block;width:150px;height:140px;margin:0 auto 12px;filter:drop-shadow(0 8px 12px #11082180)}#crownluma .cl-award-kicker{font-size:11px;letter-spacing:3px;color:#dfb6ef;font-weight:900;margin-bottom:5px}#crownluma .cl-award-stars{display:flex;justify-content:center;gap:15px;font-size:38px;margin:5px auto 12px;color:#ffe075;filter:drop-shadow(0 3px 0 #b77323)}#crownluma .cl-award-stars span{animation:cl-star .65s both;animation-delay:.1s}#crownluma .cl-award-stars span:nth-child(2){font-size:49px;animation-delay:.25s}#crownluma .cl-award-stars span:nth-child(3){animation-delay:.4s}#crownluma .cl-award-caption{font-size:13px;color:#dfcfe9;margin:15px 0 0}#crownluma .cl-close-award{background:transparent;color:#d6c5e6;font-size:12px;padding:14px;text-decoration:underline}#crownluma .cl-burst{position:fixed;inset:0;pointer-events:none;z-index:1002;width:100%;height:100%}#crownluma .cl-award-art[hidden]{display:none}
#crownluma .nq-shophead,#crownluma .nq-auth,#crownluma .nq-account,#crownluma .nq-recovery{background:linear-gradient(145deg,#472962,#272144)}#crownluma .nq-message{color:#e5d6f4}#crownluma .nq-message[data-error=true]{color:#ffbdbd}#crownluma footer{background:#191630;color:#d0bfe0}#crownluma input{border-color:#a784bf!important;background:#241a41!important;color:white!important}#crownluma .nq-packs article{background:radial-gradient(ellipse at top,#875a91,#392752);border:1px solid #b88cba;box-shadow:0 5px #180e30}#crownluma .nq-pack-art{font-size:58px}
@keyframes cl-beacon{50%{box-shadow:0 7px #b26823,0 0 42px #ffd34b99,inset 0 3px #fff9;transform:translateY(-3px)}}@keyframes cl-match{50%{transform:scale(1.07)}}@keyframes cl-reveal{from{transform:rotateY(65deg) scale(.94)}to{transform:rotateY(0) scale(1)}}@keyframes cl-award{from{opacity:0;transform:translate(-50%,-45%) scale(.85)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes cl-star{from{opacity:0;transform:scale(0) rotate(-35deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:480px){body{padding:8px 4px}#crownluma{border-radius:20px}#crownluma .nq-top{padding:14px 12px;gap:10px}#crownluma .nq-brand{font-size:18px;letter-spacing:1px}#crownluma .nq-brand:before{font-size:28px;margin-right:4px}#crownluma .nq-brand span{font-size:8px;margin-left:30px;letter-spacing:2px}#crownluma .nq-pill{font-size:14px;padding:7px 8px}#crownluma .nq-scene{min-height:280px}#crownluma .nq-scene-copy h2{font-size:32px}#crownluma .nq-scene-copy{padding:22px 18px}#crownluma .nq-mapbody{padding:18px 12px}#crownluma .nq-route{gap:25px 7px;padding:12px 0 22px}#crownluma .nq-level{width:48px;height:48px;font-size:18px}#crownluma .nq-board{margin:0 10px;padding:9px;gap:8px}#crownluma .nq-board.nq-dense{padding:9px;gap:8px}#crownluma .nq-tile{min-height:48px;border-radius:12px;font-size:32px}#crownluma .nq-gamehead{padding:18px 16px 12px}#crownluma .nq-metrics{margin:0 14px 16px}#crownluma .cl-victory{padding:22px 18px}#crownluma .cl-medal{width:118px;height:110px}#crownluma .cl-victory h3{font-size:28px}}
@media(prefers-reduced-motion:reduce){#crownluma *,#crownluma *:before,#crownluma *:after{animation:none!important;transition:none!important}#crownluma .cl-burst{display:none}}
#crownluma .cl-guide{margin:0 22px 16px;padding:13px 16px;border-radius:14px;background:linear-gradient(100deg,#57447c,#292b57);border:1px solid #a585be;display:grid;gap:5px;font-size:13px;color:#efe3ff}#crownluma .cl-guide b{color:#ffe395;font-size:12px;letter-spacing:1px}#crownluma .cl-guide[data-phase=watch]{border-color:#ffdf77;background:linear-gradient(100deg,#725033,#403050)}

#crownluma .cl-card-art{display:block;width:86%;height:86%;object-fit:contain;margin:auto;border-radius:12px;pointer-events:none}#crownluma .nq-tile:has(.cl-card-art){overflow:hidden}
