.campaign-hero{--paper:#e9edda;--acid:#d5fd72;position:relative;isolation:isolate;background:#091b16;color:var(--paper);overflow:hidden;padding:128px 0 0}
.campaign-wrap{position:relative;z-index:1;max-width:1320px;margin:auto;padding:0 48px}
.campaign-scenery{position:absolute;z-index:-3;inset:0 0 auto;height:590px;background:linear-gradient(180deg,#071a1560,#091b1690 33%,#091b16 100%),url('/assets/landscape.png') center 39%/cover;opacity:.75;transform:translateY(var(--scene-shift,0px)) scale(1.04);transform-origin:center top;pointer-events:none}
.campaign-masthead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6e3c440;padding:0 0 18px;font:700 10px/1.5 Manrope,sans-serif;letter-spacing:2px;color:#d5dfc4}
.campaign-masthead>span{display:flex;align-items:center;gap:9px}.campaign-masthead i{width:5px;height:5px;background:var(--acid);box-shadow:0 0 15px #d5fd7266}.campaign-masthead a{display:flex;align-items:center;gap:20px;min-height:30px;color:var(--paper);letter-spacing:.5px}.campaign-masthead a>span{font-size:24px;color:var(--acid)}
.campaign-hero h1.campaign-title{position:relative;display:flex;align-items:baseline;justify-content:space-between;gap:20px;white-space:nowrap;margin:22px 0 0;font:400 clamp(70px,8.25vw,122px)/1 'Russo One',sans-serif;letter-spacing:-6px;color:var(--paper);text-transform:uppercase;text-shadow:none;max-width:none}
.campaign-title>span{display:block;color:var(--paper);background:none;-webkit-text-fill-color:initial}.campaign-title>span:nth-child(2){color:var(--acid)}
.campaign-title small{position:absolute;right:0;bottom:-23px;display:block;margin:0;font:700 9px/1 Manrope,sans-serif;letter-spacing:3px;color:var(--acid);text-transform:uppercase}
.campaign-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px minmax(0,1fr);gap:50px;align-items:start;margin-top:52px}
.campaign-editorial{padding-top:68px}.campaign-eyebrow{display:block;font:700 9px/1.4 Manrope,sans-serif;letter-spacing:2px;color:#9cae90}
.campaign-hero h2{font:500 25px/1.22 Manrope,sans-serif;letter-spacing:-.9px;margin:18px 0 22px;color:var(--paper)}.campaign-hero h2 em{font-style:normal;color:var(--acid)}
.campaign-editorial p{font:500 13px/1.85 Manrope,sans-serif;color:#aebfb0;margin:0 0 28px;max-width:320px}.campaign-editorial strong{font-weight:700;color:#dae3cd}
.campaign-facts{margin:0;padding:0;display:grid;gap:0;max-width:320px}.campaign-facts>div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #d7e3c41f;padding:11px 0}.campaign-facts dt{font:500 10px/1.5 Manrope,sans-serif;color:#92a88f;margin:0}.campaign-facts dd{font:700 11px/1.5 Manrope,sans-serif;color:#dce7cc;margin:0}
.campaign-scroll{display:flex;align-items:center;gap:12px;margin-top:22px;color:#dce6cd;font:700 11px/1.4 Manrope,sans-serif}.campaign-scroll small{display:block;font:500 9px/1.6 Manrope,sans-serif;color:#92a88f;margin-top:3px}.campaign-scroll-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #cedca647;border-radius:50%;font-size:22px;color:var(--acid);transition:background .2s,transform .2s}.campaign-scroll:hover .campaign-scroll-icon{background:#d5fd7215;transform:translateY(3px)}
.campaign-player{position:relative;min-width:0}.campaign-player::before{content:'';position:absolute;z-index:-1;inset:-50px -110px;background:radial-gradient(ellipse,#9fda5220,transparent 67%);pointer-events:none}.campaign-player-caption{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;font:700 8px/1.4 Manrope,sans-serif;letter-spacing:2px;color:#b8c7a3}.campaign-player-caption>span:last-child{color:var(--acid);font-size:17px}
.campaign-hero #demo{position:relative;width:100%;max-width:none;margin:0;padding:6px;border:1px solid #c4dc9d66;border-radius:11px;background:#13261d;box-shadow:0 30px 65px #0007,inset 0 1px #e1f0ca26,0 0 0 5px #c6df9b07;overflow:hidden;box-sizing:border-box}
.campaign-hero #stage{position:relative;width:100%;height:auto!important;min-height:0;max-height:none;aspect-ratio:9/13;border:0;border-radius:5px;background:#0b1b17}
.campaign-hero #game{position:absolute;inset:0;width:100%;height:100%;border:0}
.campaign-hero .player-toolbar{display:flex;align-items:center;justify-content:space-between;height:29px;min-height:29px;background:none;padding:0 6px 5px;color:#bacaa5}.campaign-hero .player-status{font-size:8px}.campaign-hero .player-actions button{width:28px;height:28px;min-height:28px;padding:6px}.campaign-hero .player-actions svg{width:15px;height:15px}
.campaign-hero #demo>.real-play-cta{display:flex;align-items:center;justify-content:center;min-height:47px;max-width:none;width:100%;margin:8px 0 1px;padding:12px;border-radius:5px;background:var(--acid);color:#1a2d0b;border:1px solid #e1ffa0;box-shadow:inset 0 1px #ffffff70;font:800 13px/1.3 Manrope,sans-serif;text-shadow:none;transition:background .2s}
.campaign-hero #demo>.real-play-cta:hover{background:#e4ffa2}.campaign-hero #stage>.joy-promo{width:145px;padding:10px;left:8px;top:8px}
.campaign-index{padding-top:68px}.campaign-index h2{font-size:28px;margin-bottom:26px}
.campaign-index>.campaign-eyebrow,.campaign-index>h2,.campaign-index>.campaign-links{display:none}
.campaign-links{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;max-width:none;width:100%;border:0;background:none}.campaign-links a{display:flex;align-items:center;min-height:40px;padding:9px 14px;border:1px solid #bdcfa830;border-radius:30px;background:#c9deae05;color:#c9d5bc;font:600 11px/1.4 Manrope,sans-serif;transition:background .2s,color .2s,border-color .2s}.campaign-links a:hover{color:#14220c;background:var(--acid);border-color:var(--acid)}
.campaign-index-bottom{margin-top:38px;padding-top:22px;border-top:1px solid #c5d5ac26;display:flex;gap:15px;align-items:center;font:500 12px/1.6 Manrope,sans-serif;color:#9dac91}.campaign-orbit{position:relative;width:54px;height:54px;flex-shrink:0;border:1px solid #bcd99742;border-radius:50%;transform:rotate(-25deg)}.campaign-orbit::before{content:'';position:absolute;inset:8px -5px;border:1px solid #bcd9975e;border-radius:50%}.campaign-orbit i{position:absolute;width:13px;height:13px;background:var(--acid);left:20px;top:20px;box-shadow:0 0 22px #bded4750;transform:rotate(45deg)}
.campaign-bottom{display:none}
.campaign-hero a:focus-visible,.campaign-hero button:focus-visible{outline:2px solid var(--acid);outline-offset:4px}
.campaign-hero #demo:fullscreen,.campaign-hero #demo.expanded{display:flex;flex-direction:column;width:100%;height:100dvh;max-width:none;border-radius:0}.campaign-hero #demo.expanded{position:fixed;z-index:200;inset:0}.campaign-hero #demo:fullscreen #stage,.campaign-hero #demo.expanded #stage{aspect-ratio:auto;flex:1;min-height:0}
@media(min-width:1050px) and (max-width:1199px){.campaign-stage{grid-template-columns:minmax(0,1fr) 330px minmax(0,1fr);gap:30px}.campaign-wrap{padding:0 32px}.campaign-editorial,.campaign-index{padding-top:44px}.campaign-hero h2{font-size:22px}}
@media(min-width:700px) and (max-width:1049px){.campaign-wrap{padding:0 32px}.campaign-stage{grid-template-columns:minmax(0,1fr) minmax(300px,370px);gap:32px}.campaign-player{grid-column:2;grid-row:1/3}.campaign-editorial{grid-column:1;grid-row:1;padding-top:25px}.campaign-index{grid-column:1;grid-row:2;padding-top:0}.campaign-index h2{font-size:23px}.campaign-index-bottom{margin-top:20px}.campaign-hero h1.campaign-title{font-size:7.5vw;letter-spacing:-3px}.campaign-stage{margin-top:44px}.campaign-bottom{margin-top:28px}}
@media(max-width:699px){.campaign-hero{padding-top:98px}.campaign-wrap{padding:0 20px}.campaign-masthead{font-size:7px;letter-spacing:1.3px;padding-bottom:12px}.campaign-masthead a{font-size:9px;gap:10px}.campaign-hero h1.campaign-title{display:block;font-size:clamp(46px,12.5vw,70px);letter-spacing:-2.5px;line-height:.95;margin-top:20px;white-space:normal}.campaign-title>span:nth-child(2){margin-left:11%;margin-top:4px}.campaign-title small{bottom:3px;right:2px;font-size:7px;letter-spacing:1.3px;writing-mode:vertical-rl}.campaign-stage{display:flex;flex-direction:column;gap:26px;margin-top:26px}.campaign-editorial{display:contents}.campaign-editorial>.campaign-eyebrow,.campaign-editorial>h2{display:block;order:0;margin:0}.campaign-editorial>.campaign-eyebrow{font-size:8px;margin-bottom:-17px}.campaign-hero .campaign-editorial>h2{font-size:23px;margin-bottom:-10px}.campaign-editorial>p{order:1;margin:0;font-size:12px;line-height:1.8;max-width:none}.campaign-player{order:2;width:100%;max-width:400px;align-self:center}.campaign-facts{order:3;width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.campaign-facts>div{display:block;border-top:1px solid #d7e3c433;padding:13px 0}.campaign-facts dd{margin-top:6px}.campaign-scroll{order:5;margin:0}.campaign-index{order:4;width:100%;padding:0}.campaign-index h2{font-size:25px;margin:12px 0 18px}.campaign-index-bottom{margin-top:24px;padding-top:17px}.campaign-player-caption{margin-bottom:8px}.campaign-links a{min-height:42px}.campaign-bottom{display:block;margin-top:26px;padding:18px 0}.campaign-bottom a{margin-top:10px}.campaign-hero #stage{aspect-ratio:9/13}.campaign-scenery{height:440px;opacity:.65}}
@media(prefers-reduced-motion:no-preference){.campaign-masthead{animation:campaign-reveal .7s ease both}.campaign-title>span{animation:campaign-title-in 1s cubic-bezier(.16,1,.3,1) both}.campaign-title>span:nth-child(2){animation-delay:.12s}.campaign-player{animation:campaign-reveal 1s .2s both}.campaign-editorial,.campaign-index{animation:campaign-reveal .9s .35s both}.campaign-orbit{animation:orbit-arrive 2s .5s both}@keyframes campaign-title-in{from{opacity:0;transform:translateY(35px);clip-path:inset(100% 0 0)}to{opacity:1;transform:none;clip-path:inset(0)}}@keyframes campaign-reveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes orbit-arrive{from{transform:rotate(-120deg)}to{transform:rotate(-25deg)}}}
/* Isolate the hero from the generic section spacing used further down the page. */
body[data-game] .site>.campaign-hero{padding:128px 0 72px;display:block;max-width:none}
@media(max-width:699px){body[data-game] .site>.campaign-hero{padding:98px 0 48px}}
body[data-game] .campaign-bottom{display:none}
/* Cinematic light belongs to the player, never to the pointer. */
.campaign-player{isolation:isolate}
.campaign-player::before{content:'';position:absolute;z-index:-1;inset:28px -36px -22px;border-radius:44%;background:radial-gradient(ellipse at 18% 30%,#57dfaf38,transparent 54%),radial-gradient(ellipse at 82% 68%,#d6f67530,transparent 55%),radial-gradient(ellipse at 50% 50%,#80d08c14,transparent 70%);filter:blur(24px);opacity:.8;pointer-events:none}
.campaign-hero #demo{border-color:#cbe4aa80;box-shadow:0 24px 60px #0008,0 0 15px #b9f18a1c,inset 0 1px #efffd266;isolation:isolate}
.campaign-hero #demo::after{content:'';position:absolute;z-index:8;inset:0;padding:1px;border-radius:inherit;pointer-events:none;background:conic-gradient(from var(--player-light-angle,0deg),transparent 0deg,#80ffd633 35deg,#dcffe2c4 58deg,transparent 95deg,transparent 180deg,#e6f69533 215deg,#f1ffd2b3 238deg,transparent 275deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
@property --player-light-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@media(prefers-reduced-motion:no-preference){.campaign-player::before{animation:player-aura 9s ease-in-out infinite alternate}.campaign-hero #demo::after{animation:player-rim 14s linear infinite}@keyframes player-aura{0%{opacity:.55;transform:scale(.96) translateY(-5px)}50%{opacity:.9}100%{opacity:.65;transform:scale(1.04) translateY(7px)}}@keyframes player-rim{to{--player-light-angle:360deg}}}
@media(max-width:699px){.campaign-player::before{inset:30px -16px -16px;filter:blur(18px)}}
@media(prefers-reduced-motion:reduce){.campaign-player::before{opacity:.55}}
@supports not (mask-composite:exclude){.campaign-hero #demo::after{display:none}}
/* Fade the entire scenery layer, including its scroll transform, into the hero. */
.campaign-scenery{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 44%,#000c 62%,#0005 80%,transparent 97%);mask-image:linear-gradient(to bottom,#000 0%,#000 44%,#000c 62%,#0005 80%,transparent 97%);background-color:#091b16}
/* On phones the game always fills the available content column. */
@media(max-width:699px){
 .campaign-hero .campaign-player{width:100%;max-width:none;min-width:0;align-self:stretch}
 .campaign-hero #demo{width:100%;max-width:none;margin-inline:0;box-sizing:border-box}
 .campaign-hero #stage,.campaign-hero #game{width:100%;max-width:none}
}
/* One coherent game title, with a readable demo qualifier. */
.campaign-hero h1.campaign-title{display:flex;justify-content:flex-start;align-items:baseline;flex-wrap:wrap;column-gap:.22em;row-gap:14px;font-size:clamp(64px,7.4vw,108px);font-weight:400;line-height:1.06;letter-spacing:-.045em;margin:25px 0 0;white-space:normal;text-transform:none}
.campaign-hero .campaign-title>span{margin:0;white-space:nowrap}
.campaign-hero .campaign-title>span:nth-child(2){color:#d5efac}
.campaign-hero .campaign-title small{position:static;display:inline-flex;align-self:center;align-items:center;margin:8px 0 0 8px;padding:8px 12px;border:1px solid #cfe7b33d;border-radius:6px;background:#101f1770;color:#d9e8c9;font:700 10px/1.2 Manrope,sans-serif;letter-spacing:1.8px;text-transform:uppercase;writing-mode:horizontal-tb}
@media(min-width:700px) and (max-width:1049px){.campaign-hero h1.campaign-title{font-size:clamp(49px,7.1vw,74px);letter-spacing:-.045em;column-gap:.2em}.campaign-hero .campaign-title small{font-size:9px;padding:7px 9px;margin-left:0}}
@media(max-width:699px){.campaign-hero h1.campaign-title{display:flex;align-items:baseline;gap:0 .2em;font-size:clamp(39px,10.5vw,65px);line-height:1.06;letter-spacing:-.045em;margin:23px 0 0}.campaign-hero .campaign-title>span:nth-child(2){margin:0}.campaign-hero .campaign-title small{flex-basis:auto;margin:12px 0 0;padding:6px 9px;font-size:9px;letter-spacing:1.6px}.campaign-title::after{content:'';width:100%;order:0}.campaign-title>small{order:1}}
@media(max-width:359px){.campaign-hero h1.campaign-title{font-size:35px}}
/* Compact left title and top-aligned desktop composition. */
.campaign-cta:empty{display:none}
.campaign-stage{margin-top:28px}
.campaign-editorial,.campaign-index{padding-top:0}
.campaign-hero .campaign-editorial h1.campaign-title{font-size:clamp(38px,3.5vw,49px);line-height:1.06;margin:0 0 26px;gap:3px .2em;letter-spacing:-.045em}
.campaign-editorial .campaign-title small{margin:9px 0 0;font-size:9px;padding:6px 9px}
@media(min-width:1050px){
 .campaign-wrap{max-width:1440px;padding-inline:40px}
 .campaign-stage{grid-template-columns:minmax(0,1fr) clamp(380px,32vw,460px) minmax(0,1fr);gap:40px;align-items:center}
 .campaign-hero #stage{aspect-ratio:9/16}
 .campaign-hero .campaign-editorial h1.campaign-title{font-size:clamp(34px,2.7vw,43px)}
 .campaign-editorial h2{font-size:23px}
 .campaign-index-bottom{margin-top:24px}
 .campaign-index{display:flex;flex-direction:column;padding-top:0}
 .campaign-index>.campaign-facts{width:100%;max-width:none;margin:0 0 24px}
 .campaign-index h2{font-size:25px}
 .campaign-cta{margin-top:24px;padding-top:0}
 .campaign-cta .real-play-cta{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:48px;padding:12px;margin:0;border:1px solid #e1ffa0;border-radius:7px;background:#d5fd72;color:#1a2d0b;box-shadow:inset 0 1px #ffffff70;font:800 13px/1.3 Manrope,sans-serif;text-shadow:none}
 .campaign-cta .real-play-cta:hover{background:#e4ffa2}
}
@media(max-width:699px){
 .campaign-hero .campaign-editorial h1.campaign-title{order:-1;font-size:clamp(35px,10vw,62px);margin:0;gap:0 .2em;width:100%}
 .campaign-stage{margin-top:23px}
}

/* Keep the complete desktop site on the same wide canvas as the campaign hero. */
@media(min-width:1050px){
 body[data-game]{--wide-canvas-edge:max(40px,calc((100vw - 1360px)/2))}
 body[data-game] header.floating-game-header{inset-inline:var(--wide-canvas-edge);max-width:1360px}
 body[data-game] .site>section:not(.campaign-hero),
 body[data-game] .site-footer{--edge:var(--wide-canvas-edge);padding-left:var(--wide-canvas-edge);padding-right:var(--wide-canvas-edge)}
 body[data-game] .site .wrap{width:min(1360px,calc(100% - 80px))}
 /* Keep the flag-lined Falling Pickaxe workshop on the same 1120px canvas
    as the workshops on the other game pages. */
 body[data-game="falling-pickaxe"] .site>section.tools-section{
  --edge:max(32px,calc((100vw - 1120px)/2));
  padding-left:var(--edge);
  padding-right:var(--edge)
 }
}

/* The secondary game worlds live outside .site. Let them grow with the new
   canvas, while preserving the deliberately narrower flag-lined workshop. */
@media(min-width:1050px){
 body[data-game] main>.world:not(.workshop)>.wrap,
 body[data-game] main>.bonus-world>.wrap,
 body[data-game] main>.closing>.wrap{width:min(1360px,calc(100% - 80px))}
 body[data-game] main>.shared-faq{padding-left:var(--wide-canvas-edge);padding-right:var(--wide-canvas-edge)}
}

/* The demo qualifier is a full second line of the page heading. */
.campaign-hero .campaign-title>span.campaign-title-sub{flex-basis:100%;margin:8px 0 0;font:inherit;letter-spacing:inherit;line-height:1.12;color:var(--paper);white-space:normal}
.campaign-hero .campaign-title::after{content:none}

@media(min-width:1050px){
 .campaign-stage{margin-top:0}
 .campaign-editorial .campaign-masthead{flex-wrap:wrap;justify-content:flex-start;gap:8px 20px;padding:0 0 16px;margin-bottom:22px;border-bottom:1px solid #d6e3c429;font-size:8px;letter-spacing:1.4px}
 .campaign-editorial .campaign-masthead a{gap:10px;font-size:10px;min-height:28px}
 .campaign-editorial .campaign-masthead a>span{font-size:19px}
}

/* Shared campaign hero artwork for the other games in the collection. */
body[data-game="mine-slot"] .campaign-scenery{
 background-image:linear-gradient(180deg,#071a1560,#091b1690 33%,#091b16 100%),url('/assets/mine-slot/background.png');
 background-position:center 42%;
}
body[data-game="minedrop"] .campaign-scenery{
 background-image:linear-gradient(180deg,#071a1560,#091b1690 33%,#091b16 100%),url('/assets/minedrop/md_loader_bg.jpg');
 background-position:center 52%;
}

/* Game facts: compact editorial cards on desktop and a three-up mobile strip. */
.campaign-facts{display:grid;gap:8px;width:100%;max-width:340px;margin:0;padding:0}
.campaign-facts>div{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:56px;padding:11px 14px 11px 18px;border:1px solid #cfe7b329;border-radius:8px;background:linear-gradient(110deg,#d5fd720d,transparent 52%),#10251dcc;box-shadow:inset 0 1px #ffffff0c,0 8px 24px #00160d1f;overflow:hidden}
.campaign-facts>div::before{content:'';position:absolute;inset:10px auto 10px 0;width:3px;border-radius:0 3px 3px 0;background:var(--acid);box-shadow:0 0 14px #d5fd7266}
.campaign-facts dt{margin:0;font:700 8px/1.4 Manrope,sans-serif;letter-spacing:1.45px;text-transform:uppercase;color:#91a78f}
.campaign-facts dd{margin:0;font:800 12px/1.35 Manrope,sans-serif;color:#eef5df;text-align:right}
@media(min-width:1050px){.campaign-index>.campaign-facts{max-width:none;margin-bottom:24px}}
@media(max-width:699px){
 .campaign-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:none}
 .campaign-facts>div{display:flex;min-width:0;min-height:84px;padding:14px 10px 12px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:9px;border-top:1px solid #cfe7b329}
 .campaign-facts>div::before{inset:0 10px auto;width:auto;height:3px;border-radius:0 0 3px 3px}
 .campaign-facts dt{font-size:7px;letter-spacing:1.1px}
 .campaign-facts dd{max-width:100%;font-size:11px;text-align:left;overflow-wrap:anywhere}
}

/* The Mine Drop SEO headline is two lines on phones; keep it clear of the
   eyebrow and lead instead of inheriting the compact negative margins. */
@media(max-width:699px){
 body[data-game="minedrop"] .campaign-editorial>.campaign-eyebrow{margin-bottom:0}
 body[data-game="minedrop"] .campaign-hero .campaign-editorial>h2{margin:10px 0 14px;line-height:1.25}
}

/* Keep slider focus on the control itself instead of drawing a bright box
   around the full range input. */
.merchant-section .ore-calculation .calc-slider input[type="range"]:focus,
.merchant-section .ore-calculation .calc-slider input[type="range"]:focus-visible{
 outline:none;
 box-shadow:none;
}
.merchant-section .ore-calculation .calc-slider input[type="range"]:focus-visible::-webkit-slider-thumb{
 box-shadow:0 0 0 4px #d5fd7233,0 2px 6px #07170c66;
}
.merchant-section .ore-calculation .calc-slider input[type="range"]:focus-visible::-moz-range-thumb{
 box-shadow:0 0 0 4px #d5fd7233,0 2px 6px #07170c66;
}
