/* V40: additive styles for product pages only. No shared or legal styles changed. */
.refresh-v40{--p40-accent:#89d9cb;--p40-line:rgba(198,213,235,.16);--p40-muted:#b5c0d0;--p40-panel:#101622}
.refresh-v40 *{min-width:0}
.refresh-v40 :is(p,li,h1,h2,h3,strong,a,small){overflow-wrap:break-word}
.refresh-v40 :is(a,button,[tabindex]):focus-visible{outline:3px solid var(--p40-accent);outline-offset:5px}
.refresh-v40 .p40-skip{position:fixed;top:12px;left:18px;z-index:2000;transform:translateY(-180%);padding:12px 18px;border-radius:12px;background:#fff;color:#07111e;font-weight:700;text-decoration:none}
.refresh-v40 .p40-skip:focus{transform:none}
.refresh-v40 .reveal{opacity:1;transform:none;visibility:visible}
.refresh-v40 :is(section,[id]){scroll-margin-top:160px}
.refresh-v40 .p40-zoom{display:block;max-width:100%;border-radius:inherit;text-decoration:none;cursor:zoom-in;line-height:0}
.refresh-v40 .p40-zoom img{display:block;max-width:100%;height:auto}
.refresh-v40 .p40-media-note{font-size:12px;line-height:1.6;color:var(--p40-muted)}
.refresh-v40 .p40-dialog{width:min(1140px,94vw);height:min(920px,94dvh);max-height:94dvh;border:1px solid #465368;border-radius:20px;padding:0;background:#090e17;color:#f5f7fd;box-shadow:0 32px 120px #000a}
.refresh-v40 .p40-dialog::backdrop{background:rgba(0,0,0,.86)}
.refresh-v40 .p40-dialog[open]{display:flex;flex-direction:column}
.refresh-v40 .p40-dialog-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 18px;border-bottom:1px solid #263348;flex-shrink:0}
.refresh-v40 .p40-dialog-head p{margin:0;font-size:13px;color:#d5deeb;line-height:1.5}
.refresh-v40 .p40-dialog button{cursor:pointer;border:1px solid #506078;background:#182233;color:#fff;border-radius:10px;min-height:44px;padding:9px 14px;font:inherit;font-size:13px;white-space:nowrap}
.refresh-v40 .p40-dialog-img{display:block;object-fit:contain;width:100%;height:100%;min-height:0;padding:16px;flex:1}
.game-v40{background:radial-gradient(ellipse at 80% 0%,rgba(95,106,140,.12),transparent 35%),#080c14;color:#f1f5fc}
.game-v40[data-game="astroquarry"]{--p40-accent:#ffc15b;--product-accent:#ffc15b}
.game-v40[data-game="vectorwell-duel"]{--p40-accent:#ac9bff;--product-accent:#ac9bff}
.game-v40[data-game="dinopoop"]{--p40-accent:#b7ec83;--product-accent:#b7ec83}
.game-v40[data-game="crypts-and-crowns"]{--p40-accent:#dfb97c;--product-accent:#dfb97c}
.game-v40 .shell{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.game-v40 .site-header{background:rgba(8,12,20,.96);border-bottom:1px solid var(--p40-line);backdrop-filter:blur(16px)}
.game-v40 :is(.kicker,.crypt-overline,.studio-overline){color:var(--p40-accent);font-size:11px;font-weight:800;line-height:1.6;letter-spacing:.13em}
.game-v40 .p40-game-hero{padding:142px 0 76px;min-height:0;background:none;border-bottom:1px solid var(--p40-line)}
.game-v40 :is(.product-hero-grid-v30,.dino-hero-grid,.crypt-hero-grid){display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:56px;align-items:center}
.game-v40 :is(.product-hero-v30 h1,.dino-title,.crypt-title){font-size:clamp(44px,5.5vw,78px);line-height:1.04;letter-spacing:-.04em;margin:18px 0 24px;max-width:100%;overflow-wrap:normal}
.game-v40 .product-vectorwell h1{font-size:clamp(40px,5vw,72px)}
.game-v40 .dino-title strong{color:var(--p40-accent)}
.game-v40 .crypt-title strong{color:var(--p40-accent);font-size:inherit}
.game-v40 :is(.product-lead-v30,.hero-lead,.crypt-lead,.lead){max-width:780px;font-size:17px;line-height:1.8;color:var(--p40-muted)}
.game-v40 .dino-subtitle{font-size:21px;line-height:1.5;color:#edf8e6;margin-bottom:18px}
.game-v40 :is(.hero-actions,.cta-row){display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.game-v40 .button{min-height:48px;font-size:14px;line-height:1.4;padding:13px 20px;border-radius:13px;white-space:normal;text-align:center}
.game-v40 .button-primary{background:var(--p40-accent);border-color:transparent;color:#111820;box-shadow:0 8px 35px #0003}
.game-v40 .button-quiet{border:1px solid var(--p40-line);background:#ffffff04;color:#e5ecf7}
.game-v40 :is(.product-meta-v30,.hero-meta,.crypt-meta){display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.game-v40 :is(.product-meta-v30,.hero-meta,.crypt-meta)>span{border:1px solid var(--p40-line);border-radius:9px;background:#ffffff04;padding:6px 10px;font-size:10px;letter-spacing:.045em;line-height:1.5;color:#d4deed}
.game-v40 .hero-meta i{display:none}
.game-v40 .product-media-v30{position:relative;border:1px solid var(--p40-line);border-radius:28px;min-height:480px;overflow:hidden;background:linear-gradient(140deg,#171f31,#0a101b);box-shadow:0 28px 70px #0004}
.game-v40 .p40-astro-stage{display:flex;align-items:center;justify-content:center;padding:25px;min-height:500px;isolation:isolate;background:#080d18}
.game-v40 .p40-astro-art{position:absolute;inset:0;object-fit:cover;width:100%;height:100%;opacity:.35;filter:saturate(.8);z-index:-1}
.game-v40 .p40-astro-screen{display:block;width:auto;height:420px;max-height:420px;max-width:80%;object-fit:contain;border:6px solid #101725;border-radius:22px;box-shadow:0 20px 50px #000b}
.game-v40 .p40-vector-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 48%,#5141935c,transparent 66%),linear-gradient(160deg,#10172d,#0b1020)}
.game-v40 .vector-orbit-v30{width:min(310px,80%);height:auto;aspect-ratio:1;min-height:0}
.game-v40 .p40-stage-label{position:absolute;bottom:26px;left:16px;right:16px;text-align:center;font-size:11px;letter-spacing:.17em;color:#d8d1ff}
.game-v40 .vector-screen-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px}
.game-v40 .vector-shot-v30{border:1px solid var(--p40-line);border-radius:20px;background:linear-gradient(135deg,#151b2d,#0c1220);padding:22px}
.game-v40 .vector-shot-stage{border-radius:12px;margin:20px 0;min-height:220px}
.game-v40 .vector-shot-v30 small{color:var(--p40-accent)}
.game-v40 .vector-shot-v30 h3{font-size:23px;margin:10px 0 0;line-height:1.3}
.game-v40 .p40-section:not(.p40-game-hero){padding:72px 0;min-height:0;border-bottom:1px solid var(--p40-line);background:none}
.game-v40 .p40-section:nth-of-type(2n){background:linear-gradient(150deg,rgba(255,255,255,.022),transparent 75%)}
.game-v40 :is(.p40-section h2,.p40-related h2){font-size:clamp(28px,3.7vw,44px);line-height:1.18;letter-spacing:-.028em;margin:12px 0 22px;max-width:930px}
.game-v40 .section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:30px}
.game-v40 .section-heading p{max-width:430px;color:var(--p40-muted);line-height:1.75;font-size:15px;margin-top:5px}
.game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:30px}
.game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid)>article{padding:28px;min-height:0;border:1px solid var(--p40-line);border-radius:18px;background:linear-gradient(135deg,#151c29,#0d1420);box-shadow:none}
.game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid)>article small,
.game-v40 .dino-feature-grid>article>span{display:block;font-size:11px;color:var(--p40-accent);letter-spacing:.1em;line-height:1.5}
.game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid)>article :is(h3,strong){display:block;margin:18px 0 10px;font-size:23px;line-height:1.3;color:#f5f7fc}
.game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid)>article p{margin:0;color:var(--p40-muted);font-size:15px;line-height:1.8}
.game-v40 :is(.unified-list,.crypt-list,.feature-list){padding-left:22px;max-width:900px;margin-top:22px}
.game-v40 :is(.unified-list,.crypt-list,.feature-list)>li{font-size:15px;line-height:1.8;color:#c5cfde;padding:6px 0}
.game-v40 .screenshot-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px;align-items:start}
.game-v40 .screenshot-gallery figure{display:flex;flex-direction:column;margin:0;border:1px solid var(--p40-line);border-radius:20px;background:#0e1522;overflow:hidden}
.game-v40 .screenshot-gallery img{object-fit:contain;width:100%;height:auto;max-height:610px;padding:18px 18px 0;background:none}
.game-v40 .screenshot-gallery figcaption{position:static;padding:18px;font-size:13px;color:#d9e1ee;background:transparent;line-height:1.5}
.game-v40 .screenshot-gallery figcaption span{color:var(--p40-accent);margin-right:12px}
.game-v40 .p40-dino-stage{position:relative;min-height:470px;padding:30px;border:1px solid #cadbab55;border-radius:30px;background:radial-gradient(circle at 80% 20%,#fbe6a3 0,transparent 30%),linear-gradient(#d8efeb,#f8eecb);box-shadow:0 28px 70px #0004;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.game-v40 .p40-dino-stage>img{position:relative;width:min(250px,70%);height:auto;z-index:1;filter:drop-shadow(0 18px 20px #3f73332b);border-radius:30px}
.game-v40 .dino-card-title{position:relative;z-index:1;color:#173025;font-size:34px;margin-top:16px;line-height:1.1}
.game-v40 .dino-card-title strong{color:#427b23}
.game-v40 .dino-card-chips{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;left:auto;right:auto;bottom:auto;margin-top:20px}
.game-v40 .dino-card-chips span{font-size:9px;color:#263d25;background:#ffffffe8;border:1px solid #64845d66;border-radius:7px;padding:5px 8px}
.game-v40 .dino-sun{width:88px;height:88px;top:18px;right:26px;opacity:.5}
.game-v40 .product-grid,.game-v40 .crypt-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:46px;align-items:center}
.game-v40 .parent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.game-v40 .parent-grid>article{padding:24px;border:1px solid var(--p40-line);border-radius:18px;background:#101722}
.game-v40 .parent-grid>article p{font-size:14px;line-height:1.85;color:var(--p40-muted)}
.game-v40 .p40-crypt-stage{min-height:490px;border:1px solid #bd995244;border-radius:28px;background:linear-gradient(180deg,rgba(9,10,13,.22),#080d16e6),url('/crypts-and-crowns/assets/room-boss.webp') center/cover;box-shadow:0 28px 70px #0005;overflow:hidden}
.game-v40 .crypt-cast{position:absolute;left:0;right:0;bottom:34px;height:270px;display:flex;align-items:flex-end;justify-content:center;gap:0;padding:6px}
.game-v40 .crypt-cast img{position:static;width:27%;height:auto;max-height:265px;object-fit:contain;filter:drop-shadow(0 14px 15px #000);transform:none;margin:0 -2%}
.game-v40 .crypt-icon{position:absolute;left:24px;top:22px;width:85px;height:85px;border-radius:18px}
.game-v40 .crypt-crown{position:absolute;right:27px;top:30px;width:94px;height:94px;object-fit:contain}
.game-v40 .crypt-art-panel{min-height:370px;border:1px solid var(--p40-line);border-radius:24px;overflow:hidden;position:relative;background:#080d14}
.game-v40 .crypt-art-panel .room{width:100%;height:370px;object-fit:cover}
.game-v40 .crypt-art-panel .knight{position:absolute;right:6%;bottom:0;width:50%;height:auto;max-height:310px;object-fit:contain}
.game-v40 .crypt-notice{border:1px solid #b29d6c66;border-radius:16px;padding:22px;background:#b29d6c0d;color:#ddd2bf;font-size:15px;line-height:1.8}
.game-v40 .contact-clean{padding:32px;border:1px solid var(--p40-line);border-radius:22px;background:linear-gradient(145deg,#172132,#0b111d)}
.game-v40 .contact-clean p{max-width:880px;color:var(--p40-muted);font-size:15px;line-height:1.8}
.game-v40 .p40-related{padding:72px 0;background:#0c121d}
.game-v40 .p40-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.game-v40 .p40-related-card{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--p40-line);border-radius:16px;background:#111927;text-decoration:none;color:#fff;transition:border-color .2s,background .2s}
.game-v40 .p40-related-card:hover{border-color:var(--p40-accent);background:#192335}
.game-v40 .p40-related-card>span{font-size:20px;font-weight:800;line-height:1.3}
.game-v40 .p40-related-card p{margin:0;font-size:13px;line-height:1.7;color:var(--p40-muted);flex:1}
.game-v40 .p40-related-card b{font-size:12px;font-weight:700;color:var(--p40-accent);margin-top:8px}
.game-v40 .legal-line{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;line-height:1.7}
@media(max-width:1050px){
 .game-v40 :is(.product-hero-grid-v30,.dino-hero-grid,.crypt-hero-grid){gap:30px}
 .game-v40 .p40-game-hero h1{font-size:clamp(37px,5.2vw,59px)}
 .game-v40 .product-media-v30,.game-v40 .p40-dino-stage,.game-v40 .p40-crypt-stage{min-height:420px}
 .game-v40 .p40-astro-screen{height:350px}
 .game-v40 .vector-screen-gallery{grid-template-columns:1fr}
 .game-v40 .vector-shot-v30{display:grid;grid-template-columns:1fr 1.5fr;column-gap:25px;align-items:start}
 .game-v40 .vector-shot-stage{grid-column:2;grid-row:1/4;margin:0}
 .game-v40 .vector-shot-v30 p{grid-column:1;font-size:14px;color:var(--p40-muted)}
}
@media(max-width:900px){
 .game-v40 .shell{width:calc(100% - 40px)}
 .game-v40 :is(.product-hero-grid-v30,.dino-hero-grid,.crypt-hero-grid,.product-grid,.crypt-split){grid-template-columns:1fr;gap:34px}
 .game-v40 .p40-game-hero{padding:112px 0 50px}
 .game-v40 .p40-game-hero h1{font-size:clamp(40px,8vw,66px)}
 .game-v40 :is(.product-media-v30,.p40-dino-stage,.p40-crypt-stage){width:min(570px,100%);margin-inline:auto}
 .game-v40 .product-nav-name{display:none}
 .game-v40 .menu-button{display:none}
 .game-v40 .site-nav{display:flex;position:static;flex-basis:100%;padding:12px 0;flex-direction:row;flex-wrap:wrap;width:100%;gap:12px;max-height:none;opacity:1;visibility:visible;transform:none}
 .game-v40 .nav-row{display:flex;flex-wrap:wrap;height:auto;min-height:70px;gap:8px;padding-block:12px}
 .game-v40:not(.p40-enhanced) .site-header{position:relative}
 .game-v40.p40-enhanced .nav-row{flex-wrap:nowrap;padding-block:0}
 .game-v40.p40-enhanced .menu-button{display:flex;min-width:44px;min-height:44px;margin-left:auto}
 .game-v40.p40-enhanced .site-nav{display:none;position:absolute;top:100%;left:0;right:0;width:auto;max-height:calc(100dvh - 100px);overflow:auto;padding:20px;background:#0d1421;border-bottom:1px solid var(--p40-line);box-shadow:0 18px 30px #0005;flex-direction:column;align-items:stretch}
 .game-v40.p40-enhanced .site-nav.open{display:flex}
 .game-v40 .site-nav>a{font-size:15px;padding:10px;min-height:44px}
 .game-v40 .locale-switch{margin:4px 0!important;max-width:100%}
 .game-v40 .locale-switch a{min-width:44px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
 .game-v40 .p40-section:not(.p40-game-hero),.game-v40 .p40-related{padding:50px 0}
 .game-v40 .section-heading{display:block}
 .game-v40 .section-heading p{max-width:680px}
 .game-v40 .screenshot-gallery{gap:14px}
 .game-v40 .screenshot-gallery img{padding:10px 10px 0}
 .game-v40 .screenshot-gallery figcaption{padding:14px 10px;font-size:12px}
}
@media(min-width:901px){.game-v40 .site-nav{display:flex;position:static;max-height:none}.game-v40 .menu-button{display:none}}
@media(max-width:600px){
 .game-v40 .shell{width:calc(100% - 32px)}
 .game-v40 .p40-game-hero{padding-top:105px}
 .game-v40 .p40-game-hero h1{font-size:clamp(37px,10vw,54px)}
 .game-v40 :is(.product-lead-v30,.hero-lead,.crypt-lead,.lead){font-size:16px;line-height:1.8}
 .game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid,.parent-grid,.p40-related-grid){grid-template-columns:1fr}
 .game-v40 :is(.feature-grid-v30,.dino-feature-grid,.crypt-feature-grid)>article{padding:23px}
 .game-v40 .product-media-v30,.game-v40 .p40-dino-stage,.game-v40 .p40-crypt-stage{min-height:370px}
 .game-v40 .p40-astro-screen{height:310px;max-width:88%}
 .game-v40 .p40-astro-stage{padding:18px}
 .game-v40 .p40-dino-stage{padding:25px 14px}
 .game-v40 .p40-dino-stage>img{width:185px}
 .game-v40 .crypt-cast{height:210px;bottom:25px}
 .game-v40 .crypt-icon{width:65px;height:65px;left:18px;top:20px}
 .game-v40 .crypt-crown{width:75px;height:75px;right:20px;top:20px}
 .game-v40 .vector-shot-v30{display:block;padding:20px}
 .game-v40 .vector-shot-stage{margin-top:18px;min-height:190px}
 .game-v40 .screenshot-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,78%);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 18px;gap:15px;scrollbar-width:thin}
 .game-v40 .screenshot-gallery figure{scroll-snap-align:start}
 .game-v40 .screenshot-gallery img{padding:14px 14px 0}
 .game-v40 .contact-clean{padding:24px}
 .game-v40 .footer-top{flex-direction:column;align-items:flex-start;gap:24px}
 .game-v40 .footer-links{display:flex;flex-wrap:wrap;gap:16px}
 .refresh-v40 .p40-dialog-head{padding:10px;gap:8px}
 .refresh-v40 .p40-dialog-head p{font-size:11px}
 .refresh-v40 .p40-dialog-img{padding:6px}
}
@media(prefers-reduced-motion:reduce){
 html:has(.refresh-v40){scroll-behavior:auto}
 .refresh-v40 *,.refresh-v40 *::before,.refresh-v40 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Explicit contrast on the formerly light-theme Dino presentation. */
.game-v40 .p40-section :is(h1,h2,h3){color:#f1f5fc}
.game-v40 .p40-section .dino-title{color:#f1f5fc}
.game-v40 .dino-parent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.game-v40 .dino-parent-grid article{padding:24px;border:1px solid var(--p40-line);border-radius:18px;background:#101722;color:#eff5e8}
.game-v40 .dino-parent-grid article strong{color:#eff5e8;font-size:17px;line-height:1.5}
.game-v40 .dino-parent-grid article p{font-size:14px;line-height:1.85;color:var(--p40-muted)}
.game-v40 .dino-score-card{gap:14px}
.game-v40 .score-bubble{background:#101c25;border:1px solid #b7ec8333;border-radius:18px;color:#ecf6e3;box-shadow:none}
.game-v40 .score-bubble :is(strong,b){color:#b7ec83}
.game-v40 .score-bubble :is(small,span){color:#b5c6b1}
@media(max-width:600px){.game-v40 .dino-parent-grid{grid-template-columns:1fr}.game-v40 .dino-parent-grid article{padding:22px}}
