@font-face{font-family:PikiAeonik;src:url('../epic/prototype/fonts/Aeonik-Regular.otf') format('opentype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:PikiAeonik;src:url('../epic/prototype/fonts/Aeonik-Medium.otf') format('opentype');font-style:normal;font-weight:500;font-display:swap}
/* Page composition follows the shared case layout. Phone displays share one rounded clip. */
.piki-hero{position:relative;aspect-ratio:16/9;background:#031619;isolation:isolate}
.hero-art-layer{position:absolute;top:-1.5741%;width:93.4375%;height:105%;background:url('./media/hero-93d85.webp') center/cover no-repeat}
/* Overlap the reflected background and feather only the empty left edge.
   The character keeps its original position, scale and unmasked pixels. */
.hero-art-back{left:21.8229%;z-index:0}.hero-art-main{left:15.6771%;z-index:1;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%);mask-image:linear-gradient(90deg,transparent,#000 3%)}.hero-art-mirror{left:calc(-77.7604% + 3%);transform:scaleX(-1);z-index:0}.piki-wordmark{position:absolute;left:7.5521%;top:17.3148%;width:21.0417%;height:auto;z-index:2}
.concept-film{display:flex;justify-content:center;align-items:center;background:var(--concept-background,#eff6f9)}.concept-video{display:block;width:100%;max-width:40rem;height:auto;aspect-ratio:1;object-fit:contain;background:var(--concept-background,#eff6f9)}
/* Match the decoded video edges; this surface must override the shared dark panel. */
.portfolio-theme main .panel.concept-film{background:var(--concept-background,#eff6f9);background-image:none;box-shadow:none}
/* Blend only the empty lateral margins against minor video/compositor rounding. */
.concept-video{-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.device{width:100%;flex-shrink:0}.screen-viewport{position:relative;width:100%;aspect-ratio:360/860;border-radius:11.5% / 5.3%;overflow:hidden;background:#f2f2f0;isolation:isolate;clip-path:inset(0 round 11.5% / 5.3%)}
.app-screen{container-type:inline-size;color:#141414;font-family:Gilroy,Arial,sans-serif;font-size:1rem;line-height:1.25;letter-spacing:-.025em}.app-screen p+p{margin-top:0}.app-screen img{pointer-events:none}.app-screen h3,.app-screen h4{letter-spacing:-.025em;line-height:1.18}
.hub-showcase{padding:3rem 1.25rem;display:flex;justify-content:center;background:radial-gradient(ellipse at 50% 40%,#234231,#111a14 65%,#0a0f0c)}
.hub-document{background:#f2f2f0;min-height:100%}.hub-environment{height:114.72cqw;position:relative;background:#08110c;overflow:hidden}.environment-image{position:absolute;max-width:none;width:134%;height:108%;left:-17%;top:-1%;object-fit:cover}.hub-character{position:absolute;width:63.6%;height:73%;left:18.2%;top:19.1%;object-fit:contain;filter:drop-shadow(0 2cqw 1.5cqw #0006)}
/* Figma: scene reaches y=440; the rounded story card starts at y=413. */
.default-hub .hub-environment,.theme-screen .hub-environment{height:122.22cqw}
.default-hub .hub-story,.theme-screen .hub-story{margin-top:-7.5cqw;z-index:1}
.theme-screen .environment-image{height:123.9cqw;top:-1.147cqw}
.theme-screen .hub-name{bottom:11.94cqw}
.hub-video{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:50% 50%;max-width:none!important;border:0!important;border-radius:0!important;margin:0!important;aspect-ratio:auto!important;box-shadow:none!important}
.app-nav{position:absolute;top:6.67cqw;left:5.55cqw;right:5.55cqw;height:11.11cqw;display:flex;align-items:center;gap:3.33cqw;z-index:2}.app-nav .app-icon:first-child{margin-right:auto}.app-icon{width:11.11cqw;height:11.11cqw;display:grid;place-items:center;background:#1f1f1f;border-radius:50%;padding:2.22cqw;flex-shrink:0}.app-icon img{width:6.67cqw;height:6.67cqw}.hub-name{position:absolute;bottom:4.44cqw;text-align:center;width:100%;font-size:3.89cqw;color:#fff}.hub-name span{color:#d2ee97}
.hub-story{position:relative;display:flex;align-items:center;gap:3.33cqw;min-height:25.55cqw;background:#fff;border-radius:4.44cqw;padding:5.55cqw}.story-icon{position:relative;width:11.11cqw;height:10.77cqw;overflow:hidden;border-radius:1.5cqw;flex-shrink:0}.story-icon img{position:absolute;width:555%;max-width:none;height:auto;left:-54.75%;top:-32%}.story-icon.halloween,.story-icon.gamer{height:11.11cqw}.story-icon.halloween img,.story-icon.gamer img{inset:0;width:100%;height:100%;object-fit:contain}.hub-story h3{font-size:5cqw;font-weight:600}.hub-story p{font-size:3.89cqw;color:#7e7e7d;margin-top:1.1cqw!important}.hub-story .chevron{width:6.67cqw;height:6.67cqw;margin-left:auto;flex-shrink:0}
.hub-missions{padding:6.67cqw 5.55cqw;background:#fff;border-radius:4.44cqw;margin-top:1.1cqw}.hub-missions>h3{font-size:6.67cqw;font-weight:600;margin-bottom:2.22cqw}.hub-missions>p{font-size:4.44cqw;color:#757575;line-height:1.25;margin-bottom:5.55cqw}.mission{display:flex;align-items:center;gap:4.44cqw;background:#f2f2f0;border-radius:4.44cqw;padding:5.55cqw 4.44cqw;margin-top:2.22cqw;position:relative}.mission-icon{width:12.78cqw;height:12.78cqw;border-radius:50%;background:#dededd;display:grid;place-items:center;flex-shrink:0}.mission-icon img{width:6.11cqw;height:6.11cqw}.mission-icon.done{background:var(--accent,#1ba285)}.mission-icon.done img{filter:brightness(0) invert(1)}.mission-text{min-width:0;flex:1;padding-right:4cqw}.mission h4{font-size:5cqw;line-height:1.2;font-weight:500;margin:0 0 1.1cqw}.mission p{font-size:3.7cqw;color:#757575;line-height:1.2}.mission .chevron{width:6.67cqw;height:6.67cqw;position:absolute;right:3.5cqw;top:50%;transform:translateY(-50%)}/* Figma: 68 × 20 tag; the 52 × 12 label sits at (8, 4), without an optical offset. */
.mission-tag{display:block;position:relative;width:18.8889cqw;height:5.5556cqw;padding:0;border-radius:277.7778cqw;background:#fcc931;color:#1f1f1f;font-family:PikiAeonik,Arial,sans-serif;font-size:2.7778cqw;font-weight:500;line-height:3.3333cqw;letter-spacing:0;text-transform:uppercase;white-space:nowrap;margin-bottom:1.1111cqw;font-feature-settings:"salt" 1,"ss01" 1,"ss05" 1,"ss07" 1,"lnum" 1,"tnum" 1}
.mission-tag-label{display:block;position:absolute;left:2.2222cqw;top:1.1111cqw;width:14.4444cqw;height:3.3333cqw;margin:0;padding:0;transform:none;font:inherit;line-height:inherit;color:inherit;letter-spacing:0;text-align:center}
.mission-progress{display:flex;gap:2.22cqw;align-items:center;margin-top:2cqw}.mission-progress i{height:1.1cqw;border-radius:10cqw;background:#dededd;flex:1;overflow:hidden}.mission-progress i:after{content:"";display:block;width:50%;height:100%;background:var(--accent,#1ba285);border-radius:inherit}.mission-progress span{font-size:3.33cqw;color:#757575;white-space:nowrap}.hub-missions .days-left{font-size:3.89cqw;margin:5.55cqw 0 0}
/* Original 360 × 149 Figma banner: native Aeonik typography and fixed art slots. */
.outfit-banner{position:relative;isolation:isolate;height:41.3889cqw;min-height:0;padding:0;overflow:hidden;background:#03080a;color:#fff;border-radius:4.4444cqw}
.outfit-banner:before{content:"";position:absolute;z-index:-1;left:-85.2778cqw;top:-88.0556cqw;width:220.2778cqw;height:220.2778cqw;background:url('./media/pirate-91b68.svg') center/contain no-repeat;pointer-events:none}
.outfit-banner>div{width:auto}
.outfit-banner p{position:absolute;left:6.1111cqw;top:6.6667cqw;width:90.8333cqw;margin:0;font-family:PikiAeonik,Arial,sans-serif;font-size:3.8889cqw;font-weight:400;line-height:6.6667cqw;letter-spacing:-.125cqw}
.outfit-banner strong{display:block;position:absolute;left:5.5556cqw;top:17.5cqw;width:36.1111cqw;font-family:PikiAeonik,Arial,sans-serif;font-size:5.5556cqw;font-weight:500;line-height:6.3889cqw;letter-spacing:-.125cqw;font-feature-settings:"ss01" 1}
.outfit-banner img{position:absolute;left:43.8889cqw;top:7.2222cqw;width:50.8333cqw;height:23.6111cqw;object-fit:contain}
.theme-screen{overflow-y:auto;scrollbar-width:none}.theme-screen::-webkit-scrollbar{display:none}.theme-screen.pirate{--accent:#871b17}.theme-screen.halloween{--accent:#663196}.theme-screen.gamer{--accent:#254c7c}/* Coordinates from the three original Figma scenes, normalised to their 360px screens. */
.theme-screen .hub-character{max-width:none;object-fit:fill;filter:none}
.theme-screen .scene-shadow{position:absolute;max-width:none;opacity:.8;object-fit:fill;pointer-events:none}
.theme-screen .hub-name{top:106.3889cqw;bottom:auto;height:5.5556cqw;line-height:5.5556cqw;font-size:3.89cqw;font-weight:400;margin:0}
.theme-screen .hub-name span{font-size:4.4444cqw}
.theme-screen.pirate .hub-environment{height:123.6111cqw}
.theme-screen.pirate .hub-story{margin-top:-10cqw;border-top-left-radius:6.9444cqw;border-top-right-radius:6.9444cqw}
.theme-screen.pirate .environment-image{left:-27.5861%;top:-1.725cqw;width:157.5322%;height:127.3444cqw;object-fit:fill}
.theme-screen.pirate .hub-character{left:13.2346%;top:30.9028cqw;width:75.9711%;height:75.9711cqw}
.theme-screen.pirate .scene-shadow{left:-11.2%;top:84.8028cqw;width:123.3547%;height:24.7736cqw;filter:blur(1.9117cqw)}
.theme-screen.halloween .environment-image{left:0;top:0;width:100%;height:auto;object-fit:contain}
.theme-screen.halloween .hub-character{left:14.2288%;top:34.8917cqw;width:57.1758%;height:68.3178cqw}
.theme-screen.halloween .scene-shadow{left:-16.8528%;top:89.4278cqw;width:125.8186%;height:25.2686cqw;filter:blur(1.9497cqw)}
.theme-screen.gamer .environment-image{left:-18.175%;top:-1.9389cqw;width:129.9222%;height:120.3464cqw;object-fit:fill}
.theme-screen.gamer .hub-character{left:11.6543%;top:29.8528cqw;width:78.3692%;height:78.3692cqw}
.theme-screen.gamer .scene-shadow{left:-7.925%;top:85.1222cqw;width:119.7378%;height:24.0472cqw;filter:blur(1.8556cqw)}

.skins-panel{padding:1.5rem .75rem;background:#09090d}.skins-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem .6rem}.skin-art{position:relative;aspect-ratio:1;overflow:hidden;padding:2%}.skin-art svg{display:block;width:100%;height:100%;overflow:hidden}
.phone-trio,.phone-pair{display:grid;gap:2.5rem;justify-items:center;align-items:center}.phone-column{width:100%;max-width:var(--device-width)}.worlds-panel{padding:2.5rem 1.25rem;background:radial-gradient(ellipse at 50% 30%,#24201f,#111 70%)}.gamification-panel{padding:2.5rem 1.25rem;background:radial-gradient(ellipse at 50% 30%,#2a3023,#11150f 70%)}
/* GAMIFICATION: the collection and its medal sheet share the 390 × 844 Figma canvas. */
.collection-screen{aspect-ratio:390/844;background:#f2f2f0}
.collection-nav{position:relative;height:28.7179cqw;padding-top:8.2051cqw;background:#fff;display:grid;place-items:center;border-radius:0 0 4.1026cqw 4.1026cqw;margin-bottom:1.0256cqw;font-size:3.5897cqw;font-weight:500}
.collection-nav .app-icon{position:absolute;left:5.1282cqw;top:13.3333cqw;width:10.2564cqw;height:10.2564cqw;padding:2.0513cqw;background:#00000014}
.collection-nav .app-icon img{width:6.1538cqw;height:6.1538cqw}
.collection-block{padding:5.1282cqw;background:#fff;border-radius:4.1026cqw;margin-bottom:1.0256cqw}
.collection-block h3{font-size:4.6154cqw;line-height:6.1538cqw;margin:0 0 5.1282cqw;font-weight:500}
.collection-block:has(.medals){height:52.3077cqw;padding-left:0;padding-right:0;overflow:hidden}
.collection-block:has(.medals) h3{margin-left:5.1282cqw}
.medals{display:flex;padding:0 5.1282cqw;gap:0}
.medal-item{flex:0 0 22.5641cqw;min-width:0;text-align:center;line-height:5.1282cqw;font-size:3.5897cqw}
.medal-art{position:relative;width:18.4615cqw;height:18.4615cqw;border-radius:50%;overflow:hidden;margin:0 auto 2.0513cqw}
.medal-art img{position:absolute;max-width:none;width:120%;height:114.55%;left:-10%;top:-6.96%}
.medal-art.locked img{width:126.39%;height:126.39%;left:-13.19%;top:-13.19%;opacity:.8}
.collection-block:has(.item-grid){padding-top:6.1538cqw;min-height:144.8718cqw}
.collection-block:has(.item-grid) h3{margin-bottom:6.1538cqw}
.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:2.0513cqw;row-gap:5.1282cqw}
.collection-item{text-align:center;font-size:3.5897cqw;line-height:5.1282cqw}
.item-art{position:relative;width:20.5128cqw;height:22.5641cqw;margin:0 auto 2.0513cqw;overflow:hidden}
.item-art>img{position:absolute;width:100%;height:100%;object-fit:contain}
.item-art.mystery{width:19.4731cqw}
.item-art.mystery>img{width:144.94%;height:125.97%;max-width:none;left:-22.35%;top:-12.27%;opacity:.7}
.item-art.card{background:#312929;border:.5128cqw solid #17191a;border-radius:3.5897cqw;box-shadow:inset 0 0 0 .5128cqw #fff}
.item-art.card.pirate-skin>img{width:226.35%;height:444.85%;max-width:none;left:-62.12%;top:-229.84%;object-fit:fill}
.item-art.card.halloween-skin>img{width:105%;height:125%;left:-2.5%;top:-22%;object-fit:cover}
.item-art.card.outfit>img{width:20.3923cqw;height:20.3923cqw;padding:0;left:50%;top:2.1103cqw;transform:translateX(-50%);object-fit:contain}
.item-art.card.psn{background:#00439a}.item-art.card.psn:before{content:"";position:absolute;inset:0;background:linear-gradient(#00439a 0 18.18%,transparent 18.18% 64.77%,#00439a 64.77%);z-index:1;pointer-events:none}.item-art.card.psn>img{width:172%;height:157%;max-width:none;left:-36%;top:-28%;object-fit:cover}
.item-art.card.ifood{background:#e11f2b}.item-art.card.ifood>img{width:126.11%;height:auto;max-width:none;left:-12.43%;top:4.0282cqw;object-fit:contain}.item-art.card.ifood>img:nth-child(2){top:18.5256cqw}.item-art.card.ifood>img:nth-child(3){top:-10.5128cqw}
.category-badge{position:absolute;z-index:2;right:-.2564cqw;bottom:-.2564cqw;width:7.6923cqw;height:7.6923cqw;display:grid;place-items:center;background:#17191a;border:.5128cqw solid white;border-radius:3.5897cqw 0 3.0769cqw 0}
.category-badge img{width:4.1026cqw;height:4.1026cqw}
.reward-dimmer{position:absolute;inset:0;background:#0009;z-index:3}
.reward-sheet{position:absolute;z-index:4;inset:28.0806% 0 0;background:#fff;border-radius:4.1026cqw 4.1026cqw 0 0;text-align:center}
.reward-sheet:before{content:"";position:absolute;left:38.7179%;top:3.0769cqw;width:22.5641%;height:1.0256cqw;background:#f2f2f0;border-radius:10cqw}
.reward-sheet .app-icon{position:absolute;right:5.1282cqw;top:7.1795cqw;background:#f2f2f0;width:10.2564cqw;height:10.2564cqw;padding:2.0513cqw}
.reward-sheet .app-icon img{width:6.1538cqw;height:6.1538cqw}
.reward-label{position:absolute;top:24.6154cqw;left:50%;transform:translateX(-50%);white-space:nowrap;width:33.5897cqw;background:#fcc931;padding:1.0256cqw 2.0513cqw;border-radius:8cqw;font-size:2.5641cqw;line-height:3.0769cqw}
.reward-sheet h3{position:absolute;top:33.8462cqw;left:5.1282cqw;right:5.1282cqw;font-size:8.2051cqw;line-height:9.2308cqw;margin:0;font-weight:500}
.reward-description{position:absolute;top:56.4103cqw;left:5.1282cqw;right:5.1282cqw;font-size:4.6154cqw;line-height:6.1538cqw;color:#7e7e7d}
.reward-art{position:absolute;left:27.8205%;top:73.8462cqw;width:44.359%;height:42.8205cqw;overflow:hidden}
.reward-art img{width:100%;height:103.66%;object-fit:contain}
.reward-actions{position:absolute;top:121.7949cqw;left:10.2564%;right:10.2564%;font-size:3.5897cqw;text-align:center}
.reward-primary{display:grid;place-items:center;height:10.2564cqw;border-radius:20cqw;background:#1f1f1f;color:white}
.reward-secondary{display:grid;place-items:center;height:10.2564cqw;margin-top:3.0769cqw}
.navigation-section{padding-top:4.5rem}.navigation-section h2{font-size:clamp(1.8rem,3.8vw,3rem);margin-bottom:2rem}.journey-screen{aspect-ratio:390/844;background:#e9f4f7}.device .journey-video{width:100%;height:auto;aspect-ratio:390/844;object-fit:contain;border:0;border-radius:0;background:#e9f4f7}
.beyond-panel{padding:1rem;background:#141715}.beyond-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;align-items:start}.beyond-grid img{display:block;width:100%;height:auto;object-fit:contain;border-radius:.8rem}.beyond-panel figcaption{margin:1.5rem .5rem .5rem}
@media(min-width:600px){.skins-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:1.4rem 1rem}.phone-trio{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.worlds-panel,.gamification-panel{padding:3rem 1.5rem}.phone-pair{grid-template-columns:repeat(2,minmax(0,1fr));max-width:calc(var(--device-width) * 2 + 6.8rem);margin-inline:auto;gap:6.8rem}.beyond-grid{grid-template-columns:minmax(0,calc(57.142857% - .285714rem)) minmax(0,1fr)}.beyond-figure{grid-column:1;grid-row:1/span 2}.beyond-merch{grid-column:2;grid-row:1}.beyond-stationery{grid-column:2;grid-row:2}}
@media(min-width:810px){.hub-showcase{padding:4.5rem 3rem}.skins-panel{padding:3rem 2rem}.skins-grid{gap:2rem 1.5rem}.worlds-panel,.gamification-panel{padding:4rem 3rem}.phone-trio{gap:3rem}.navigation-section{padding-top:7rem}.navigation-section h2{margin-bottom:3rem}.beyond-panel{padding:1.5rem}.beyond-grid{gap:1.5rem;grid-template-columns:minmax(0,calc(57.142857% - .428571rem)) minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.hub-video{opacity:1}}

/* One continuous studio: the canvas fills the panel, with a quiet editorial overlay. */
.piki-3d-panel{position:relative;isolation:isolate;width:100%;min-width:0;aspect-ratio:4/5;min-height:34rem;margin-top:1.5rem;background:#02151b}
.piki-3d-panel::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#00101738,transparent 27%,transparent 65%,#00101750)}
.piki-3d-heading{position:absolute;z-index:2;top:1.5rem;left:1.25rem;right:1.25rem;pointer-events:none}
.piki-3d-heading .eyebrow{color:#b8cbc7;font-size:.875rem;margin-bottom:.5rem}
.piki-3d-heading h2{color:#f3f5e9;font-size:clamp(1.65rem,3vw,2.6rem);text-wrap:balance;text-shadow:0 2px 12px #00101940}
.piki-3d-stage{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#02151b}
.piki-3d-poster{position:absolute;inset:0;background:url('./media/hero-93d85.webp') center/cover no-repeat}
.piki-3d-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;touch-action:pan-y}
.piki-3d-panel.is-3d-ready .piki-3d-poster{display:none}
.piki-3d-panel.is-3d-error canvas{display:none}
.piki-3d-panel.is-exploring canvas{pointer-events:auto;touch-action:none;cursor:grab}
.piki-3d-panel.is-exploring canvas:active{cursor:grabbing}
.piki-3d-status{position:absolute;z-index:1;left:1.25rem;right:1.25rem;top:48%;margin:0!important;text-align:center;font-size:.875rem;line-height:1.5;color:#edf4e9;text-shadow:0 1px 5px #000;background:#03222bd9;border:1px solid #ffffff18;border-radius:.75rem;padding:.6rem 1rem;pointer-events:none}
.piki-3d-status[hidden]{display:none}
.piki-3d-caption{position:absolute;z-index:2;left:1.25rem;right:1.25rem;bottom:1.25rem;display:flex;flex-direction:column;align-items:center;gap:.75rem;margin:0;padding:0;text-align:center;color:#bfceca;font-size:.875rem;line-height:1.5;pointer-events:none}
.piki-3d-caption>span{order:1;max-width:100%;text-shadow:0 1px 8px #001017}
.piki-3d-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;pointer-events:auto}
.piki-3d-actions [hidden]{display:none}
/* Controls use the canonical home skin in site-buttons.css. */
.piki-3d-stage canvas:focus-visible{outline:2px solid #b7f899;outline-offset:-5px}
.piki-3d-noscript{position:absolute;z-index:2;top:45%;left:1.25rem;right:1.25rem;color:#d4dfd5;font-size:.875rem}
@media(min-width:600px){.piki-3d-panel{aspect-ratio:16/10;min-height:32rem}.piki-3d-heading{top:2rem;left:2rem;right:2rem}.piki-3d-caption{left:2rem;right:2rem;bottom:2rem}}
@media(min-width:810px){.piki-3d-panel{margin-top:2rem}.piki-3d-heading{top:2.5rem;left:3rem;right:3rem}.piki-3d-caption{left:3rem;right:3rem;bottom:2.25rem}}

/* Smaller source for the same scenery on narrow screens. */
@media(max-width:810px){.hero-art-layer,.piki-3d-poster{background-image:url("/optimized/img/ae3ef110aec1ce3d-800.webp")}}
