/* Two chapters. This file deliberately does not select Magnet Tap or its children. */
.home-with-projects .collection-heading{display:flex;align-items:center;gap:22px;padding:0 14px;margin:5px 0 28px}
.home-with-projects .collection-heading h2{margin:0;font-size:clamp(39px,5.4vw,70px);font-weight:850;letter-spacing:-2.5px;line-height:1.1}
.collection-number{font-size:11px;letter-spacing:2px;color:#92796c;border:1px solid #d9c8b9;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;flex:none}
.collection-rule{height:1px;background:#dfcebe;flex:1;margin-left:14px}
.home-with-projects .games>.game-directory{justify-content:flex-start;gap:38px;margin-bottom:26px;border:0;padding:0 14px}
.home-with-projects .games>.game-directory>a{flex:0 1 auto;min-width:205px}
.home-with-projects .games>.game-directory>a:last-child{grid-column:auto}
.projects-section{position:relative;padding-top:0;margin-top:-12px;scroll-margin-top:12px}
.project-bridge{height:147px;position:relative;margin:0 14px -7px;pointer-events:none;color:#a283b5}
.project-bridge svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke-width:1.35}
.bridge-underlay{stroke:#decfc2}
.bridge-thread{stroke:#9d78a6;stroke-width:1.7;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--bridge-progress,1))}
.project-bridge circle{stroke:#a98280;fill:#fff7ef}
.bridge-guide{stroke:#d6c3aa;stroke-dasharray:2 6}
.bridge-doodle{position:absolute;right:9%;top:10px;font-size:21px;font-weight:500;transform:rotate(-14deg)}
.bridge-doodle span{position:absolute;right:27px;top:38px;font-size:14px;color:#d1a28f}
.home-with-projects .projects-collection-heading{align-items:center;margin-bottom:32px;position:relative}
.project-directory{display:flex;align-items:center;justify-content:flex-end;gap:23px;margin-left:auto}
.project-directory a{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:750;max-width:188px;line-height:1.4;padding:7px;border-radius:15px;transition:background .2s}
.project-directory a:hover{background:#efe2d4}
.project-directory img{width:37px;height:37px;object-fit:contain;border-radius:11px;flex:none}
.project-directory .future-app-icon{image-rendering:pixelated}
.project-gallery{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:32px;position:relative;padding:0 0 32px}
.project-window-card{position:relative;display:flex;flex-direction:column;background:#f4eadc;border:1px solid #d9c4aa;border-radius:38px;overflow:hidden;box-shadow:0 7px 0 #eadbc8,0 22px 43px #8358340c;
  --window-x:0deg;--window-y:0deg;transform:perspective(1300px) rotateX(var(--window-x)) rotateY(var(--window-y));transition:transform .4s ease}
.home-with-projects .project-gallery>.console-project{display:flex;align-items:stretch;min-height:0;padding:0;gap:0;margin:0;background:#f4eadc;color:#382d2c;overflow:hidden;border-radius:38px}
.project-window-stage{position:relative;height:348px;flex:none;overflow:hidden}
.future-window-stage{background:radial-gradient(ellipse at 62% 45%,#514249,#35332f 75%);padding:78px 30px 25px}
.project-stage-index{position:absolute;top:29px;right:31px;font:500 11px/1.2 Nunito,sans-serif;letter-spacing:2px;opacity:.45;color:#f4e4ca;z-index:2}
.project-cover-icon{position:absolute;left:31px;top:24px;width:61px;height:61px;border-radius:19px;box-shadow:0 5px 17px #1b142326;z-index:3}
.future-cover-icon{image-rendering:pixelated;transform:rotate(-8deg)}
.home-with-projects .project-gallery .console-atmosphere{inset:0;pointer-events:none}
.home-with-projects .project-gallery .console-composition{position:relative;z-index:2;padding:0;width:100%;margin:0}
.home-with-projects .project-gallery .console-window{border-radius:17px;transform:rotate(-2deg);box-shadow:0 13px 20px #19161970;border:1px solid #deceb02e}
.home-with-projects .project-gallery .console-toolbar{padding:12px 14px;background:#49463e;font-size:8px;letter-spacing:.3px;white-space:nowrap}
.home-with-projects .project-gallery .console-toolbar>span:first-child{gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.home-with-projects .project-gallery .console-toolbar>span:last-child{font-size:7px;margin-left:8px;flex:none}
.home-with-projects .project-gallery .console-screen{width:100%;display:block}
.home-with-projects .project-gallery .console-prompt{font-size:8px;min-height:36px;padding:9px 13px;gap:7px;background:#292a26}
.home-with-projects .project-gallery .console-count{font-size:8px}
.home-with-projects .project-gallery .award-seal{left:auto;right:34px;top:12px;width:112px;height:112px;background:transparent;opacity:.82;z-index:3;transform:rotate(11deg);
  border:3px solid #d4bd8c;box-shadow:inset 0 0 0 7px #38352f,inset 0 0 0 10px #d4bd8c;color:#e4c996;gap:2px}
.home-with-projects .project-gallery .award-seal strong{font-size:25px;line-height:1.1}
.home-with-projects .project-gallery .award-seal small,.home-with-projects .project-gallery .award-seal>span{font-size:8px}
.home-with-projects .project-gallery .award-seal:hover{opacity:1;transform:rotate(6deg)}
.aqua-window-stage{background:#006fbc;padding:49px 16px 17px}
.aquamarine-project{margin-top:33px;background:#eef0df;border-color:#c2cabc;box-shadow:0 7px 0 #dde5d4,0 22px 43px #5477630d}
.aqua-cover-icon{top:20px;left:29px;transform:rotate(7deg)}
.aqua-window-toolbar{position:absolute;top:0;left:0;right:0;height:49px;padding:0 30px 0 111px;display:flex;align-items:center;justify-content:space-between;background:#e9ebd6;border-bottom:1px solid #527a8138;color:#3b626c;font-size:10px;font-weight:750;letter-spacing:.4px}
.aqua-window-toolbar svg{width:19px;height:19px;stroke:#739590;fill:none;stroke-width:1.25;margin-right:21px}
.aqua-preview{display:block;position:relative;isolation:isolate;height:100%;border-radius:23px 8px 23px 8px;overflow:hidden;border:1px solid #e7f2e542;
  background:#006fbc;box-shadow:0 3px 0 #113b5555;outline-offset:-5px}
.aqua-water{position:absolute;inset:-22px;background:url('/assets/aquamarine-home/sea.png') repeat;background-size:465px 465px;animation:aqua-sea-drift 25s linear infinite}
.aqua-preview::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(160deg,#1b477806,transparent 55%,#17365e52);z-index:6}
.aqua-chart-lines{position:absolute;inset:0;opacity:.45;pointer-events:none;z-index:1}
.aqua-chart-lines svg{width:100%;height:100%;fill:none;stroke:#eef5db;stroke-width:1}
.aqua-chart-lines path:first-child{stroke-dasharray:3 6}.aqua-chart-lines circle{opacity:.3}
.aqua-island{position:absolute;width:53%;height:auto;top:2%;right:2%;z-index:2;filter:drop-shadow(0 5px 0 #004b7433)}
.aqua-snow-island{position:absolute;width:29%;height:auto;bottom:-18%;left:-5%;transform:rotate(-16deg);z-index:2;opacity:.8}
.aqua-ship-track{position:absolute;left:var(--ship-x,38%);top:var(--ship-y,64%);width:43px;height:62px;z-index:3;transform:translate(-50%,-50%) rotate(var(--ship-angle,-35deg));will-change:transform}
.aqua-ship{position:absolute;width:100%;height:auto;left:0;top:0;filter:drop-shadow(0 3px 1px #083e5555)}
.aqua-wake{position:absolute;top:37px;left:9px;width:24px;height:52px;border-radius:0 0 50% 50%;opacity:.7;
  background:repeating-radial-gradient(ellipse at 50% 0,transparent 0 4px,#e8f7f5b3 5px 7px,transparent 8px 13px);mask-image:linear-gradient(#000,transparent)}
.aqua-cloud{position:absolute;z-index:5;pointer-events:none;width:27%;height:auto;opacity:.76;filter:drop-shadow(3px 6px 0 #00457012)}
.aqua-cloud-one{left:-5%;top:2%;animation:aqua-cloud-one 18s ease-in-out infinite alternate}
.aqua-cloud-two{right:-6%;bottom:-17%;width:35%;opacity:.85;animation:aqua-cloud-two 24s ease-in-out infinite alternate}
.aqua-preview-caption{position:absolute;bottom:14px;left:18px;z-index:7;color:#fff9e9;font-size:10px;font-weight:750;letter-spacing:1.2px;text-shadow:0 1px 4px #0f4f73}
.aqua-enter-icon{position:absolute;bottom:12px;right:14px;z-index:7;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#fff7e7d9;color:#2b6381;box-shadow:0 3px 0 #00467442;transition:transform .2s,background .2s}
.aqua-enter-icon svg{width:15px;height:15px;fill:currentColor;stroke:none}
.aqua-preview:hover .aqua-enter-icon{transform:scale(1.12);background:#fff7e7}
.project-window-copy{position:relative;padding:26px 30px 31px;display:flex;flex-direction:column;flex:1;min-height:270px}
.project-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:9px;font-weight:700;color:#78664f;letter-spacing:.45px;margin:0 0 13px}
.aquamarine-project .project-context{color:#58735b}
.home-with-projects .project-gallery h3{font-size:31px;line-height:1.15;font-weight:850;letter-spacing:-1px;margin:0 0 13px}
.home-with-projects .project-gallery h3 br{display:none}
.home-with-projects .project-gallery h3 br::after{content:" "}
.project-window-copy>p:not(.project-context){font-size:13px;line-height:1.75;color:#7b6555;max-width:455px;margin:0 0 21px}
.aquamarine-project .project-window-copy>p:not(.project-context){color:#5d766a;max-width:340px}
.project-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:auto;padding-top:5px}
.home-with-projects .project-card-actions .action-button,.project-play-link,.project-notes-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:24px;font-size:11px;font-weight:800;padding:9px 17px;margin:0}
.home-with-projects .project-card-actions .action-button>span{font-size:11px!important;line-height:1.3;margin:0!important}
.home-with-projects .project-card-actions .game-page-button{background:#544338;color:#fff7ed;box-shadow:0 4px 0 #d8c3a9}
.home-with-projects .project-card-actions .game-page-button:hover{background:#6b503c}
.home-with-projects .project-card-actions .youtube-trailer-button{color:#6a5140;background:#ead8bd;box-shadow:none;padding:6px 14px 6px 8px}
.home-with-projects .project-card-actions .youtube-mark{width:35px;flex:none}
.project-play-link{color:#fff9ec;background:#346b73;box-shadow:0 4px 0 #c4d2bb;transition:transform .2s,background .2s}
.project-play-link:hover{background:#245966;transform:translateY(-2px)}
.project-notes-link{color:#466e60;background:#dce5cc;transition:background .2s}
.project-notes-link:hover{background:#cfddbb}
.project-play-link svg,.project-notes-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.project-play-link svg{fill:currentColor;stroke:none;width:15px;height:15px}
.projects-section+.about{margin-top:34px}
.home-with-projects .project-gallery .console-project .era-atlas{mask-image:none;opacity:.75}
.home-with-projects .site-header nav>a{padding-inline:18px;white-space:nowrap;flex:none}
.home-with-projects .game-directory strong{white-space:normal}
html:lang(ja) .home-with-projects .project-gallery h3{font-size:28px;line-height:1.3}
html:lang(ja) .home-with-projects .collection-heading h2{font-size:clamp(34px,4.5vw,57px)}
html:lang(ja) .project-window-copy>p:not(.project-context){line-height:1.9}
.aquamarine-project:not(.preview-active) .aqua-window-stage *,.motion-paused .aqua-window-stage *,body:has(dialog[open]) .aqua-window-stage *,.page-hidden .aqua-window-stage *{animation-play-state:paused}
@keyframes aqua-sea-drift{to{background-position:465px 465px}}
@keyframes aqua-cloud-one{to{transform:translate(45px,9px)}}
@keyframes aqua-cloud-two{to{transform:translate(-36px,-15px)}}
@media(min-width:1440px){.project-window-stage{height:385px}.future-window-stage{padding-top:92px}}
@media(max-width:1080px){
  .project-gallery{gap:24px}.project-window-stage{height:305px}
  .future-window-stage{padding:72px 23px 22px}
  .project-window-copy{padding:24px 26px 29px;min-height:280px}
  .home-with-projects .project-gallery h3{font-size:28px}
  .home-with-projects .project-gallery .award-seal{right:20px;width:97px;height:97px;top:10px}
  .home-with-projects .project-gallery .award-seal strong{font-size:22px}
  .project-directory{gap:10px}.project-directory a{max-width:165px}
}
@media(max-width:800px){
  .project-gallery{gap:20px}.project-window-stage{height:258px}.future-window-stage{padding:69px 17px 20px}
  .project-cover-icon{width:49px;height:49px;left:23px;top:21px;border-radius:15px}
  .project-window-copy{padding:22px;min-height:302px}
  .project-window-card,.home-with-projects .project-gallery>.console-project{border-radius:29px}
  .home-with-projects .project-gallery h3{font-size:25px}
  .home-with-projects .project-gallery .console-toolbar{font-size:7px;padding:10px 12px}
  .home-with-projects .project-gallery .console-prompt{font-size:7px;padding:8px 10px;gap:5px;min-height:30px}
  .home-with-projects .project-gallery .console-count{font-size:7px}
  .project-directory a{gap:7px;font-size:10px;max-width:155px}.project-directory img{width:32px;height:32px}
  .project-bridge{height:115px}.home-with-projects .collection-heading{gap:14px}
  .home-with-projects .site-header nav>a{padding-inline:12px;font-size:12px}
}
@media(max-width:680px){
  .project-gallery{grid-template-columns:1fr;gap:31px}
  .aquamarine-project{margin-top:0}
  .project-window-stage{height:clamp(285px,65vw,385px)}
  .future-window-stage{padding:76px 29px 27px}
  .project-window-copy{min-height:0;padding:25px 28px 31px}
  .project-window-card,.home-with-projects .project-gallery>.console-project{border-radius:33px}
  .home-with-projects .project-gallery h3{font-size:30px}
  .project-cover-icon{width:58px;height:58px;left:29px;top:22px;border-radius:17px}
  .home-with-projects .project-gallery .award-seal{right:30px;top:10px;width:108px;height:108px}
  .home-with-projects .project-gallery .console-toolbar{font-size:8px}
  .home-with-projects .project-gallery .console-prompt{font-size:8px}
  .project-card-actions{padding-top:3px}
  .home-with-projects .projects-collection-heading{flex-wrap:wrap;gap:14px;margin-bottom:25px}
  .project-directory{width:100%;margin:5px 0 0;justify-content:flex-start;gap:15px;padding-left:0}
  .project-directory a{max-width:none;flex:1;font-size:11px;gap:9px;padding:5px 0}
  .project-directory img{width:38px;height:38px}
  .home-with-projects .games>.game-directory{gap:17px;padding:0 5px}
  .home-with-projects .games>.game-directory>a{min-width:0;flex:1}
  .collection-rule{margin-left:0}
  .project-bridge{height:96px;margin-bottom:5px}
  .home-with-projects .site-header{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
  .home-with-projects .site-header nav{margin:0 0 0 auto;padding:5px}
  .home-with-projects .site-header nav>a{padding:11px 10px;font-size:11px}
  .home-with-projects .site-header.is-compact{flex-wrap:nowrap;gap:7px}
  .home-with-projects .site-header.is-compact .brand-name{display:none}
  .home-with-projects .site-header.is-compact .brand{padding:8px 9px;gap:0}
  .home-with-projects .site-header.is-compact nav>a{padding:10px 7px;font-size:10px}
}
@media(max-width:480px){
  .home-with-projects .collection-heading{padding:0 5px;margin-bottom:22px;gap:13px}
  .home-with-projects .collection-heading h2{font-size:45px;letter-spacing:-1.5px}
  .collection-number{width:31px;height:31px;font-size:9px}
  .home-with-projects .games>.game-directory{display:flex;gap:13px;margin-bottom:24px}
  .home-with-projects .game-directory strong{font-size:11px}
  .project-directory a{font-size:10px}
  .project-window-copy{padding:23px 25px 27px}
  .home-with-projects .project-gallery h3{font-size:27px}
  .project-context{font-size:8px}
  .project-window-copy>p:not(.project-context){font-size:12px}
  .project-window-stage{height:285px}.future-window-stage{padding:83px 20px 24px}
  .home-with-projects .project-gallery .award-seal{right:25px;width:97px;height:97px}
  .home-with-projects .project-gallery .console-toolbar{font-size:7px}
  .home-with-projects .project-gallery .console-prompt{font-size:7px}
  .home-with-projects .project-gallery .console-count{font-size:7px}
  .aqua-island{width:60%;right:-2%;top:3%}.aqua-cloud-one{width:31%}
  .project-cover-icon{left:25px}
  .aqua-window-stage{padding:49px 13px 14px}
  .project-gallery{padding-bottom:16px}
  .home-with-projects .site-header nav>a{padding:10px 8px;font-size:10px}
  .home-with-projects .site-header nav{align-self:flex-end}
  .home-with-projects .site-header.is-compact nav>a{padding:10px 6px}
}
@media(max-width:360px){
  .home-with-projects .site-header.is-compact .brand-mark{width:24px;height:32px}
  .home-with-projects .site-header nav>a{padding:10px 6px;font-size:10px}
  .home-with-projects .collection-heading h2{font-size:40px}
  .project-window-copy{padding:22px}.home-with-projects .project-gallery h3{font-size:25px}
  .project-directory img{width:33px;height:33px}
  .project-window-stage{height:258px}
  .project-cover-icon{width:49px;height:49px;top:22px;left:23px}
  .project-card-actions{gap:9px}
  .home-with-projects .project-card-actions .action-button,.project-play-link,.project-notes-link{font-size:10px;min-height:44px;padding:8px 12px}
}
@media(max-width:380px){
  .home-with-projects .site-header.is-compact .brand{display:none}
  .home-with-projects .site-header nav>a,.home-with-projects .site-header.is-compact nav>a{font-size:9px;padding-inline:5px}
  .home-with-projects .site-header nav{margin-left:auto;margin-right:0}
}
@media(min-width:381px) and (max-width:480px){
  html:lang(ja) .home-with-projects .site-header.is-compact nav>a{padding-inline:5px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .aqua-window-stage *{animation:none!important}
  .project-window-card{transform:none;transition:none}
  .bridge-thread{stroke-dashoffset:0}
}
.home-with-projects .project-gallery .future-window-stage{height:auto;min-height:0;width:100%}
.home-with-projects .project-gallery .aqua-window-stage{height:var(--matched-stage-height,348px)}
@media(min-width:1081px){
  .home-with-projects .project-gallery .future-window-stage{padding:54px 28px 20px}
  .home-with-projects .project-gallery .console-composition{max-width:430px;margin:0 auto}
  .project-window-copy{min-height:250px}
}
