/* The entire project is a console window; each location colours its surroundings. */
.home-with-projects .project-gallery>.future-world{
  --future-base:#22251f;--future-glow:#746b40;--future-accent:#ddc282;--future-line:#91957a;
  --future-frame:#45463a;--future-ink:#fff7e7;
  display:block;position:relative;isolation:isolate;padding:0;margin:0;min-height:0;
  overflow:hidden;border:1px solid #e2cf9e40;border-radius:42px;color:var(--future-ink);
  background-color:var(--future-base);box-shadow:0 7px 0 #dcd0bd,0 22px 45px #40321b14;
  transition:background-color 1.15s ease,border-color 1.15s ease;
}
.future-world[data-era=egypt]{--future-base:#35281d;--future-glow:#a27941;--future-accent:#eabd7c;--future-line:#ba9258;--future-frame:#57422d}
.future-world[data-era=kyoto]{--future-base:#252530;--future-glow:#804f44;--future-accent:#ddb086;--future-line:#a59aab;--future-frame:#444351}
.future-world[data-era=london]{--future-base:#192b38;--future-glow:#496e88;--future-accent:#d6bb81;--future-line:#91aaba;--future-frame:#344b5b}
.future-world::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 88% 56%,color-mix(in srgb,var(--future-glow) 45%,transparent),transparent 73%),linear-gradient(90deg,#10161570,transparent 75%);
}
.future-world .future-world-background{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;}
.future-world .future-world-background::before{
  content:"";position:absolute;width:80%;height:95%;right:-15%;top:2%;border-radius:50%;
  background:radial-gradient(ellipse,color-mix(in srgb,var(--future-glow) 19%,transparent),transparent 65%);
  filter:blur(15px);animation:future-world-breath 12s ease-in-out infinite alternate;
}
.future-world .future-world-background svg{position:absolute;inset:8% -3% -4%;width:106%;height:96%;fill:none;stroke:var(--future-line);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.33;transition:stroke 1.15s ease;}
.future-world .future-world-background [data-world-landscape]{opacity:0;transition:opacity 1.35s ease;}
.future-world[data-era=carpathians] [data-world-landscape=carpathians],
.future-world[data-era=carpathians-return] [data-world-landscape=carpathians],
.future-world[data-era=egypt] [data-world-landscape=egypt],
.future-world[data-era=kyoto] [data-world-landscape=kyoto],
.future-world[data-era=london] [data-world-landscape=london]{opacity:1;}
.future-world .world-toolbar{
  position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;
  padding:15px 30px;background:#ffffff06;border-bottom:1px solid #e8d7b421;color:#e5dccb;
  font:500 11px/1.4 Consolas,monospace;letter-spacing:.35px;
}
.future-world .world-toolbar>span,.future-world .world-toolbar>a{display:inline-flex;align-items:center;gap:12px;min-width:0;}
.future-world .world-toolbar img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated;border-radius:11px;box-shadow:0 2px 6px #090b1430;flex:none;}
.future-world .world-toolbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.2;}
.future-world .world-toolbar .world-platform{margin-left:auto;white-space:nowrap;opacity:.7;font-size:10px;}
.future-world .world-toolbar :is(.world-window-chrome,.world-window-controls){font-size:13px;letter-spacing:7px;padding-left:12px;flex:none;opacity:.6;white-space:nowrap;}
.future-world .future-world-content{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);align-items:center;gap:36px;padding:45px 43px 48px;min-height:445px;}
.future-world .world-copy{position:relative;z-index:2;min-width:0;padding:8px 0;}
.future-world .world-context{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 24px;color:var(--future-accent);font:500 10px/1.65 Consolas,monospace;letter-spacing:.2px;transition:color 1.15s ease;}
.home-with-projects .project-gallery .future-world h3{position:relative;z-index:2;margin:0 0 22px;font-size:clamp(35px,3.4vw,50px);font-weight:850;line-height:1.08;letter-spacing:-1.7px;max-width:365px;color:var(--future-ink);text-wrap:balance;}
.future-world h3 a{display:inline;text-decoration:none;}
.future-world h3 a:hover{color:var(--future-accent);}
.future-world h3 a:focus-visible{outline:2px solid var(--future-accent);outline-offset:7px;border-radius:4px;}
.future-world .world-description{position:relative;z-index:2;margin:0 0 26px;font-size:14px;line-height:1.8;color:#e5dccb;max-width:375px;text-wrap:pretty;}
.future-world .world-actions{position:relative;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:11px;}
.future-world .world-actions :is(.world-play-link,.world-trailer-link){display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 16px;font:700 11px/1.35 Nunito,sans-serif;border-radius:13px;border:1px solid #e9d6b350;box-shadow:none;white-space:nowrap;}
.future-world .world-actions :is(.world-play-link,.world-trailer-link)>span{font-size:11px;line-height:1.35;margin:0;}
.future-world .world-play-link{background:var(--future-accent);color:#26291f;transition:background-color 1.15s ease,transform .2s ease;}
.future-world .world-play-link:hover{background:#f4dfad;transform:translateY(-2px);}
.future-world .world-trailer-link{color:#f0e5d1;background:#fff7e610;transition:background-color .2s ease,transform .2s ease;}
.future-world .world-trailer-link:hover{background:#fff7e61d;transform:translateY(-2px);}
.future-world .world-actions .gamepad-icon{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none;}
.future-world .world-actions .youtube-mark{width:31px;height:27px;object-fit:contain;flex:none;}
.home-with-projects .project-gallery .future-world .console-composition.future-world-view{position:relative;z-index:2;width:100%;max-width:none;padding:0;margin:0;min-width:0;border:1px solid #e3d4b338;border-radius:21px;overflow:hidden;background:#171c17;box-shadow:0 20px 28px #00000030;}
.home-with-projects .project-gallery .future-world .future-world-screen{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#000;padding:0;border:0;cursor:pointer;border-radius:0;}
.future-world .future-world-screen .console-image-layer{position:absolute;inset:0;opacity:0;transition:opacity .95s ease;animation:none;}
.future-world .future-world-screen .console-image-layer.is-current{opacity:1;}
.future-world .future-world-screen .console-image-layer img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;}
.future-world .future-world-screen:focus-visible{outline:2px solid var(--future-accent);outline-offset:-5px;}
.future-world .future-world-screen:focus-visible::after{content:"";position:absolute;inset:5px;border:2px solid var(--future-accent);pointer-events:none;z-index:3;}
.future-world .future-scene-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;background:var(--future-frame);color:#f0e4cf;font:500 10px/1.4 Consolas,monospace;transition:background-color 1.15s ease;}
.future-world .future-scene-footer .console-scene-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.future-world .future-scene-footer .console-count{margin-left:auto;color:#d9cdb9;font:500 9px/1.4 Consolas,monospace;letter-spacing:1px;white-space:nowrap;}
.future-world .future-era-track{position:absolute;bottom:0;left:0;right:0;height:2px;display:flex;gap:2px;}
.future-world .future-era-track span{flex:1;background:#dcd2b71c;transition:background-color .8s ease;}
.future-world .future-era-track span.is-current{background:var(--future-accent);}
.home-with-projects .project-gallery .future-world .future-world-award{
  position:absolute;z-index:1;left:calc(32% - 86px);right:auto;top:89px;width:142px;height:142px;
  border:3px solid var(--future-accent);border-radius:50%;background:transparent;color:var(--future-accent);opacity:.3;
  box-shadow:none;gap:2px;transform:rotate(11deg);transition:opacity .2s ease,color 1.15s ease,border-color 1.15s ease,transform .2s ease;
}
.future-world .future-world-award::before{content:"";position:absolute;inset:8px;border:2px solid currentColor;border-radius:50%;pointer-events:none;}
.home-with-projects .project-gallery .future-world .future-world-award strong{font-size:30px;line-height:1.1;}
.home-with-projects .project-gallery .future-world .future-world-award small,.home-with-projects .project-gallery .future-world .future-world-award>span{font-size:9px;line-height:1.5;}
.home-with-projects .project-gallery .future-world .future-world-award:hover,.home-with-projects .project-gallery .future-world .future-world-award:focus-visible{opacity:.75;transform:rotate(7deg);}
.future-world .future-world-award:focus-visible{outline:2px solid var(--future-accent);outline-offset:5px;}
.future-world:not(.future-world-active) .future-world-background::before{animation-play-state:paused;}
html:lang(ja) .home-with-projects .project-gallery .future-world h3{font-size:clamp(33px,3.2vw,45px);line-height:1.2;}
html:lang(ja) .future-world .world-description{line-height:1.95;}
@keyframes future-world-breath{to{transform:translate(-5%,5%) scale(1.08);opacity:.7;}}
@media(min-width:1440px){.future-world .future-world-content{padding:49px 49px 54px;gap:42px;min-height:475px;}}
@media(max-width:1080px){
  .future-world .future-world-content{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);padding:34px 30px 37px;gap:26px;min-height:375px;}
  .home-with-projects .project-gallery .future-world h3{font-size:38px;}
  .future-world .world-context{margin-bottom:19px;font-size:9px;}
  .future-world .world-description{font-size:13px;line-height:1.75;margin-bottom:23px;}
  .home-with-projects .project-gallery .future-world .future-world-award{width:128px;height:128px;left:calc(33% - 86px);top:85px;}
}
@media(max-width:800px){
  .future-world .future-world-content{padding:30px 26px 34px;gap:23px;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);}
  .home-with-projects .project-gallery .future-world h3{font-size:32px;letter-spacing:-1.2px;}
  .future-world .world-toolbar{min-height:61px;padding:12px 23px;font-size:9px;}
  .future-world .world-toolbar img{width:32px;height:32px;}
  .future-world .world-toolbar :is(.world-window-chrome,.world-window-controls){letter-spacing:4px;font-size:10px;}
  .future-world .world-toolbar .world-platform{font-size:8px;}
  .future-world .world-actions :is(.world-play-link,.world-trailer-link){font-size:10px;padding:10px 12px;min-height:44px;gap:8px;}
  .future-world .world-actions :is(.world-play-link,.world-trailer-link)>span{font-size:10px;}
  .future-world .world-description{font-size:12px;}
  .future-world .future-scene-footer{padding:12px 12px;font-size:8px;}
  .future-world .future-scene-footer .console-count{font-size:8px;}
  .home-with-projects .project-gallery .future-world .future-world-award{width:116px;height:116px;left:calc(35% - 84px);top:74px;}
  html:lang(ja) .home-with-projects .project-gallery .future-world h3{font-size:29px;}
}
@media(max-width:680px){
  .home-with-projects .project-gallery>.future-world{border-radius:32px;}
  .future-world .future-world-content{display:flex;flex-direction:column;align-items:stretch;gap:28px;min-height:0;padding:29px 27px 29px;}
  .future-world .world-copy{padding:0;}
  .home-with-projects .project-gallery .future-world h3{font-size:38px;line-height:1.08;max-width:385px;margin-bottom:18px;padding-right:42px;}
  .future-world .world-context{font-size:9px;margin-bottom:19px;}
  .future-world .world-description{font-size:13px;line-height:1.8;max-width:440px;margin-bottom:21px;}
  .future-world .world-actions :is(.world-play-link,.world-trailer-link){font-size:11px;padding:11px 15px;}
  .future-world .world-actions :is(.world-play-link,.world-trailer-link)>span{font-size:11px;}
  .home-with-projects .project-gallery .future-world .future-world-award{left:auto;right:21px;top:77px;width:112px;height:112px;opacity:.26;}
  .home-with-projects .project-gallery .future-world .console-composition.future-world-view{border-radius:18px;}
  .future-world .future-scene-footer{font-size:9px;padding:13px 15px;}
  .future-world .future-world-background svg{inset:20% -32% -5%;width:150%;height:90%;opacity:.22;}
  html:lang(ja) .home-with-projects .project-gallery .future-world h3{font-size:33px;}
}
@media(max-width:400px){
  .future-world .world-toolbar{padding:11px 19px;font-size:8px;gap:9px;}
  .future-world .world-toolbar>span,.future-world .world-toolbar>a{gap:8px;}
  .future-world .world-toolbar :is(.world-window-chrome,.world-window-controls){display:none;}
  .future-world .future-world-content{padding:27px 22px 24px;gap:24px;}
  .home-with-projects .project-gallery .future-world h3{font-size:34px;padding-right:20px;}
  .future-world .world-description{font-size:12px;}
  .home-with-projects .project-gallery .future-world .future-world-award{right:17px;top:75px;width:105px;height:105px;}
  .home-with-projects .project-gallery .future-world .future-world-award strong{font-size:26px;}
  .home-with-projects .project-gallery .future-world .future-world-award small,.home-with-projects .project-gallery .future-world .future-world-award>span{font-size:8px;}
}
@media(prefers-reduced-motion:reduce){.future-world *,.future-world::before,.future-world::after{animation:none!important;transition:none!important;}}
