:root{--navy:#07162f;--red:#d43232;--cream:#faf9f6;--gold:#ffdb75;--line:#e4e0d7}
*{box-sizing:border-box}html{background:#f5f2ed}body{margin:0;color:var(--navy);font-family:Arial,Helvetica,sans-serif}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}a{text-decoration:none;color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{min-height:69px;display:flex;align-items:center;justify-content:space-between;padding:6px max(3%,calc((100vw - 1280px)/2));gap:20px;background:#07162f;color:#fff;border-bottom:3px solid #c62d36}
.brand{display:flex;gap:4px;align-items:center;font-weight:1000;letter-spacing:-1px;font-size:21px;white-space:nowrap}.brand img{width:24px;height:38px;object-fit:contain}.brand span{color:#fa4754}.topbar nav{display:flex;gap:clamp(12px,3vw,43px);align-items:center;font-size:12px;letter-spacing:.11em;font-weight:900}.topbar nav a:not(.active){color:#e6eaf2}.topbar nav a:hover{color:var(--gold)}.topbar nav a.active{color:var(--gold)}
.lang-wrap select{border:1px solid #ffffff56;border-radius:5px;background:var(--navy);color:white;padding:8px;max-width:110px;font-size:12px}main{max-width:1200px;padding:28px 24px 65px;margin:auto}
.page-lead{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:7px 0 23px}.eyebrow{color:#b11f31;font-size:11px;font-weight:900;letter-spacing:.18em}.page-lead h1{font-weight:1000;font-size:clamp(43px,7.5vw,92px);line-height:.98;letter-spacing:-.07em;margin:9px 0}.page-lead h1 em{color:var(--red);font-style:normal}.title-fish{display:inline-block;vertical-align:middle;font-size:.48em;transform:rotate(-20deg);margin-left:12px}.page-lead p{color:#4c586a;margin:8px 0;font-size:clamp(14px,1.6vw,17px)}.lead-side{display:flex;flex-direction:column;align-items:center;gap:10px;justify-content:end;padding-bottom:9px}.free-stamp{display:inline-block;border:2px solid var(--red);color:var(--red);border-radius:5px;padding:9px 12px;font-size:12px;font-weight:900;transform:rotate(4deg)}.arcade-small{font-size:9px;white-space:nowrap;color:#6c6c71;font-weight:700;letter-spacing:.11em}
.game-shell{border:1px solid #192a46;border-radius:13px;overflow:hidden;box-shadow:0 20px 50px #07162f20;background:#07162f}
.game-hud{min-height:68px;display:flex;align-items:center;gap:clamp(10px,3vw,42px);padding:12px 22px;background:#07162f;color:#fff;border-bottom:2px solid #e9a93b}.hud-item{display:flex;flex-direction:column;gap:3px;min-width:85px}.hud-item small{font-size:10px;letter-spacing:.16em;color:#a9b9d2;font-weight:900}.hud-item strong{font-size:22px;letter-spacing:.08em;font-variant-numeric:tabular-nums}.hud-item #health{color:#ff6672;letter-spacing:.16em}.tool-button{background:#162b4a;color:white;border:1px solid #4e6a90;border-radius:7px;min-width:44px;height:40px;cursor:pointer;font-size:18px}.tool-button:hover{background:#284365}.tool-button:first-of-type{margin-left:auto}
.canvas-wrap{position:relative;overflow:hidden;isolation:isolate;background:#75bdd9;line-height:0}canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;touch-action:none}.game-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#05142bde,#122a4ad9);padding:14px;line-height:normal;overflow:auto}.game-overlay[hidden]{display:none}.overlay-inner{text-align:center;color:#fff;max-width:510px}.overlay-kicker{color:#ffd879;font-weight:900;letter-spacing:.16em;font-size:10px}.overlay-mascot{display:block;object-fit:contain;height:clamp(75px,12vw,145px);width:auto;margin:5px auto 0;filter:drop-shadow(1px 8px 8px #0007)}.overlay-inner h2{font-size:clamp(27px,4.7vw,57px);line-height:1;margin:3px 0 9px;letter-spacing:-.06em}.overlay-inner p{line-height:1.55;max-width:430px;margin:0 auto 16px;font-size:clamp(12px,1.6vw,16px);color:#e6ebf5}.primary-button{border:0;color:#06142c;background:var(--gold);box-shadow:0 5px #ba8b29;border-radius:7px;padding:13px 28px;font-weight:1000;cursor:pointer;font-size:16px}.primary-button:active{transform:translateY(3px);box-shadow:0 2px #ba8b29}.overlay-link{display:block;color:#d0d9ed;font-size:11px;font-weight:700;margin-top:14px;letter-spacing:.09em}.game-toast{position:absolute;left:50%;top:15px;z-index:3;color:white;transform:translateX(-50%);background:#07162fdd;border:1px solid #ffc760;padding:9px 16px;border-radius:6px;line-height:1.3;font-size:13px;font-weight:800;white-space:nowrap;opacity:0;transition:opacity .2s}.game-toast.show{opacity:1}
.controls{padding:13px 15px;display:flex;align-items:center;gap:10px;justify-content:space-between;background:#fdf7e8;color:#07162f;touch-action:manipulation}.touch-pad,.touch-actions{display:flex;align-items:center;gap:8px}.controls button{border:2px solid #07162f;border-radius:8px;background:#fff;color:#07162f;font-weight:900;height:57px;min-width:60px;box-shadow:0 4px #b0aca0;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}.controls button[data-control=jump]{background:#ffdf80}.controls button[data-control=fire]{background:#f5a2a7}.controls button.pressed{transform:translateY(3px);box-shadow:0 1px #aaa}.controls-tip{text-align:center;line-height:1.5;font-size:12px;color:#5e6671}.controls-tip span{display:block}.controls-tip span:last-child{display:none}
.game-details{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:30px 0}.detail-panel{border:1px solid var(--line);background:white;border-radius:10px;padding:20px}.panel-num{color:#cc3440;font-weight:1000;font-size:13px}.detail-panel h3{margin:9px 0;font-size:15px;letter-spacing:.045em}.detail-panel p{color:#58606c;font-size:13px;line-height:1.55;margin:0}.game-cta{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:23px 27px;background:#07162f;border-radius:10px;color:white}.game-cta strong{font-size:14px;letter-spacing:.1em}.game-cta p{color:#ccd7eb;font-size:14px;margin:7px 0 0}.game-cta a{border-radius:7px;background:#f8df96;color:#07162f;padding:14px;font-weight:900;text-align:center;font-size:12px}.fineprint{text-align:center;max-width:750px;font-size:11px;color:#72747a;margin:22px auto;line-height:1.5}
@media(max-width:700px){main{padding:18px 10px 45px}.topbar{padding:6px 10px;gap:7px;min-height:58px}.brand{font-size:13px;letter-spacing:-.04em}.brand img{width:19px;height:31px}.topbar nav{gap:9px;font-size:10px;letter-spacing:0}.topbar nav a:nth-child(2){display:none}.lang-wrap select{max-width:93px;padding:7px 3px;font-size:11px}.page-lead{align-items:start;margin:3px 0 16px}.eyebrow{font-size:9px}.page-lead h1{font-size:48px}.page-lead p{font-size:12px;max-width:260px}.lead-side{display:none}.game-shell{border-radius:8px}.game-hud{min-height:51px;padding:6px 8px;gap:10px}.hud-item{min-width:0;flex:1}.hud-item small{font-size:8px}.hud-item strong{font-size:15px}.tool-button{min-width:30px;height:30px;font-size:13px}.controls-tip{display:none}.controls{padding:10px;gap:10px}.controls button{height:56px;min-width:62px;font-size:16px}.game-details{grid-template-columns:1fr;gap:10px;margin:16px 0}.detail-panel{padding:14px}.game-cta{padding:20px 14px;flex-direction:column;align-items:stretch}.game-cta a{display:block}.game-overlay{padding:6px}.overlay-mascot{height:clamp(50px,14vw,100px)}.overlay-inner h2{font-size:clamp(21px,5vw,34px);margin:2px 0}.overlay-inner p{font-size:11px;line-height:1.35;margin-bottom:9px}.primary-button{padding:9px 20px;font-size:12px}.overlay-link{margin-top:8px;font-size:9px}.overlay-kicker{font-size:8px}}
@media(max-width:370px){.controls button{min-width:54px;height:51px}.page-lead h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){.game-toast,.primary-button{transition:none}}

/* V48: PhoqueSat action and no overflow on small screens */
.controls .special-button{background:#d7e8ff;border-color:#316caa;color:#10244a;min-width:132px;font-size:12px;white-space:nowrap}.controls .special-button:disabled{opacity:.75;cursor:default;background:#dae1e9}.controls .special-button:not(:disabled){background:#8bd9ff;border-color:#1e5d99;box-shadow:0 4px #5e9ba9}.game-hud{flex-wrap:wrap}@media(max-width:700px){.touch-actions{gap:5px}.controls{gap:5px;padding:8px 5px}.controls button{min-width:48px;height:51px;font-size:12px}.controls .special-button{min-width:91px;font-size:10px;padding:0 4px}.touch-pad{gap:4px}}@media(max-width:380px){.controls .special-button{min-width:82px;font-size:9px}.controls button{min-width:42px}}

/* V49: game-to-store collectible merchandise banner. */
.outfit-panel{display:flex;align-items:center;gap:17px;margin:17px 0 20px;background:#fff;border:1px solid #d7dce5;border-left:5px solid #d43232;border-radius:11px;padding:14px 18px;min-width:0}
.outfit-shirt{width:65px;height:65px;flex:none;border-radius:12px;display:grid;place-items:center;background:#edf0f8;font-size:33px}
.outfit-copy{min-width:0;flex:1}.outfit-copy small{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:#bd2f42;margin-bottom:5px}
.outfit-copy strong{font-weight:900;font-size:15px}.outfit-copy p{font-size:12px;color:#58677b;margin:5px 0 0}
.outfit-panel a{background:#07162f;color:#fff;padding:13px 15px;border-radius:6px;white-space:nowrap;font-size:11px;font-weight:900}
.outfit-panel a:hover{background:#bf2c42}
@media(max-width:700px){.outfit-panel{flex-wrap:wrap;gap:9px;padding:11px}.outfit-shirt{width:47px;height:47px;font-size:24px}.outfit-copy{flex:1 1 calc(100% - 65px)}.outfit-panel a{width:100%;text-align:center;padding:10px}}

.outfit-shirt{position:relative;overflow:hidden}.outfit-shirt img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.outfit-shirt img[hidden]{display:none}

/* V50 — true illustrated worlds, gallery and a streamlined English-only game UI */
.edition-badge{display:inline-block;color:#fff1bd;background:#283b59;border:1px solid #60728b;border-radius:22px;padding:8px 13px;font-size:11px;font-weight:900;letter-spacing:.09em}
.world-tour{margin:27px 0}.world-heading{margin-bottom:12px}.world-heading span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#b43047}.world-heading h2{font-size:24px;letter-spacing:-.035em;margin:7px 0;color:#07162f}
.world-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.world-card{border-radius:11px;border:1px solid #dfe3e8;background:white;overflow:hidden;padding-bottom:11px;min-width:0;box-shadow:0 5px 17px #15243f0b}.world-card img{display:block;width:100%;aspect-ratio:16/8;object-fit:cover;object-position:center}.world-card span{display:block;color:#b52f45;margin:8px 12px 4px;font-weight:900;letter-spacing:.1em;font-size:10px}.world-card strong{display:block;color:#12233d;margin:0 12px;font-size:13px}.game-hud{border-bottom-color:#f3cb65}
@media(max-width:700px){.world-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.world-card strong{font-size:11px}.world-card span{font-size:9px}.edition-badge{font-size:8px;padding:6px 7px}.page-lead h1{font-size:clamp(34px,11vw,48px)}.world-heading h2{font-size:20px}}

@media(max-width:700px){.hud-item #health{white-space:nowrap;font-size:13px;letter-spacing:.01em}.hud-item:nth-child(3){flex:1.12}}
@media(max-width:345px){.topbar nav{gap:6px;font-size:9px}.edition-badge{font-size:7px;padding:5px}.controls button{min-width:36px}}

/* V55 reward display — responsive and independent of the original canvas art */
.game-overlay{overflow-y:auto;align-items:safe center}
.overlay-inner{width:min(100%,690px);max-width:690px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-mascot{height:58px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner h2{font-size:clamp(22px,3vw,37px)}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner p{font-size:12px;margin-bottom:5px}
#intermission-shop:not([hidden]){display:grid;grid-template-columns:minmax(160px,1fr) minmax(230px,1.15fr);gap:16px;align-items:center;width:100%;max-width:680px;margin:9px auto;background:#fffaf0;color:#07162f;border:2px solid #e8d7ac;border-radius:15px;padding:14px;text-align:left;box-shadow:0 10px 30px #0003}
.merch-image-panel{background:white;border-radius:11px;min-height:210px;display:grid;place-items:center;overflow:hidden}
#intermission-photo{display:block;width:100%;height:220px;object-fit:contain}
#intermission-photo[hidden]{display:none}
.merch-info{min-width:0}
#intermission-headline{color:#bf343b;font-weight:900;font-size:12px;letter-spacing:.06em}
#intermission-name{display:block;font-size:clamp(15px,2vw,20px);line-height:1.2;margin:7px 0 10px}
.merch-label{display:block;font-size:10px;font-weight:900;margin:10px 0 5px;letter-spacing:.08em}
.merch-choices{display:flex;flex-wrap:wrap;gap:6px}
.merch-choice{font:800 12px Arial,sans-serif;border:2px solid #b8c5d5;background:#fff;color:#07162f;border-radius:7px;min-height:34px;padding:6px 10px;cursor:pointer}
.merch-choice.selected{border-color:#07162f;background:#07162f;color:white}
.merch-choice:hover{border-color:#d43232}
.merch-buy{display:block;text-align:center;background:#d43232;color:white!important;border-radius:9px;padding:12px 8px;margin:13px 0 5px;font-weight:900;text-decoration:none}
#intermission-note{display:block;font-size:10px;line-height:1.35}
@media(max-width:650px){
 #intermission-shop:not([hidden]){grid-template-columns:1fr;gap:7px;padding:9px;max-width:330px}
 .merch-image-panel{min-height:120px}
 #intermission-photo{height:145px}
 .merch-label{margin:5px 0 3px}
 .merch-choice{min-height:29px;padding:4px 8px}
 .merch-buy{margin:7px 0 3px;padding:8px}
}

/* V56: prominent stage-end product, no nested scrolling in desktop view */
@media(min-width:701px){
.game-overlay:has(#intermission-shop:not([hidden])){position:fixed;z-index:1000;inset:0;background:rgba(4,15,35,.88);display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:18px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner{width:min(96vw,1100px);max-width:1100px;max-height:calc(100dvh - 36px);overflow-y:auto;padding:12px 20px 18px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-mascot{height:45px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner h2{font-size:30px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner p{margin:0 auto 5px}
#intermission-shop:not([hidden]){width:100%;max-width:1020px;grid-template-columns:minmax(320px,1.2fr) minmax(300px,1fr);padding:20px;gap:25px}
.merch-image-panel{min-height:320px}
#intermission-photo{height:min(42vh,420px)}
#intermission-name{font-size:25px}
.merch-choice{font-size:14px;min-height:41px;padding:8px 12px}
.merch-buy{font-size:17px;padding:15px}
}
@media(max-width:700px){
.game-overlay:has(#intermission-shop:not([hidden])){position:fixed;z-index:1000;inset:0;background:rgba(4,15,35,.92);overflow-y:auto;display:block;padding:12px}
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner{max-width:430px;margin:auto}
#intermission-shop:not([hidden]){max-width:410px}
#intermission-photo{height:220px}
}

/* V57: native selectors must never appear alongside choice buttons */
#intermission-size,#intermission-color{display:none!important;visibility:hidden!important;position:absolute!important;pointer-events:none!important}

/* V58 — XL real Fourthwall photo gallery */
.game-overlay:has(#intermission-shop:not([hidden])) .overlay-inner{width:min(98vw,1350px);max-width:1350px}
@media(min-width:701px){
 #intermission-shop:not([hidden]){max-width:1250px;grid-template-columns:minmax(420px,1.5fr) minmax(310px,.85fr);gap:28px;padding:22px}
 .merch-image-panel{min-height:0}
 #intermission-photo{height:min(57vh,580px)}
}
.merch-image-panel{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:8px;overflow:hidden}
.merch-photo-stage{width:100%;display:flex;align-items:center;gap:7px;min-width:0}
.merch-photo-stage img{flex:1;min-width:0;object-fit:contain}
.merch-gallery-arrow{flex:0 0 39px;width:39px;height:55px;border-radius:10px;border:1px solid #d6deeb;background:#fff;color:#07162f;font-size:35px;cursor:pointer;line-height:1}
.merch-gallery-arrow:hover:not(:disabled){background:#07162f;color:white}
.merch-gallery-arrow:disabled{opacity:.25;cursor:default}
.merch-gallery-label{font:700 12px Arial,sans-serif;text-align:center;color:#5c6575}
.merch-thumbnails{display:flex;justify-content:center;gap:7px;overflow-x:auto;padding:4px 2px;max-width:100%}
.merch-thumb{width:62px;height:66px;flex:0 0 62px;background:white;border:2px solid #d7deeb;border-radius:8px;padding:2px;cursor:pointer}
.merch-thumb.active{border-color:#d43232;box-shadow:0 0 0 1px #d43232}
.merch-thumb img{width:100%;height:100%;object-fit:contain}
@media(max-width:700px){
 .merch-photo-stage img#intermission-photo{height:min(36vh,330px)}
 .merch-gallery-arrow{width:32px;flex-basis:32px;height:43px}
 .merch-thumb{width:49px;height:51px;flex-basis:49px}
}

.real-product-gallery{max-width:1100px;margin:35px auto;padding:22px;background:#101d32;color:white;border-radius:20px}
.real-product-gallery h3{margin:0 0 8px;font-weight:900}.real-product-gallery p{opacity:.8}
.real-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}
.real-photo-item{background:#f2f3f5;border:2px solid transparent;border-radius:12px;cursor:pointer;padding:8px;color:#17243b;text-align:center}
.real-photo-item:hover,.real-photo-item:focus-visible{border-color:#eac052}
.real-photo-item img{display:block;width:100%;height:145px;object-fit:contain}
.real-photo-item span{font-size:12px;font-weight:700}
.real-photo-viewer:not([hidden]){position:fixed;inset:0;z-index:99999;background:#07101bea;display:flex;align-items:center;justify-content:center;padding:40px}
.real-photo-viewer img{max-width:95vw;max-height:90vh;object-fit:contain}
.real-photo-close{position:absolute;top:16px;right:25px;font-size:40px;background:white;color:black;border:0;border-radius:10px;cursor:pointer}

.phoque-game-instagram{display:flex;justify-content:center;padding:24px 14px 16px}
.phoque-game-instagram a{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#fff;background:#091b3c;border-radius:999px;padding:12px 20px;font-size:14px;font-weight:600;border:1px solid #263e67}
.phoque-game-instagram a:hover,.phoque-game-instagram a:focus-visible{background:#172b54;outline:2px solid #d3386a}
.phoque-game-instagram svg{width:22px;height:22px;color:#f882a4}
