/* Independent scene layers. Copy/form never participate in parallax or actor motion. */
.brand-name{font-size:25px;letter-spacing:-1.4px}.brand-caption{font-size:9px}
.rpg-hero{background:#1474cf;min-height:735px}.rpg-hero:before{display:none}.landing-inner,.hero-dialog,.quest-nav{position:relative;z-index:2}.rpg-hero .intro{max-width:520px}.hero-copy{position:relative}
.pixel-world{--look-x:0;--look-y:0;position:absolute;inset:0;overflow:hidden;isolation:isolate;background:#1474cf;z-index:0}
.world-layers{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.world-town{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;object-position:center 58%;image-rendering:pixelated;transform:translate(calc(var(--look-x)*-5px),calc(var(--look-y)*-3px));transition:transform 900ms ease-out}
.world-haze{position:absolute;inset:0;background:linear-gradient(90deg,#174c7c22,transparent 60%);pointer-events:none}
.world-cloud{position:absolute;width:230px;top:11%;left:30%;opacity:.8;image-rendering:pixelated;animation:world-cloud-drift 45s linear infinite;filter:drop-shadow(0 5px #a0d0ed44)}
.world-cloud--far{width:135px;top:25%;left:55%;opacity:.65;animation-duration:65s;animation-delay:-25s}
.world-sorcerer{position:absolute;right:1%;top:-2%;width:34%;max-width:490px;aspect-ratio:1;transform-origin:65% 60%;animation:world-sorcerer 7s ease-in-out infinite;filter:drop-shadow(0 8px 16px #713cab44)}
.world-sorcerer>img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.world-magic{position:absolute;display:block;width:5px;height:5px;background:#c6a1fb;box-shadow:9px 8px #7159c1,-6px 14px #a76cda;animation:world-magic 4s ease-in-out infinite}
.world-magic--one{top:46%;left:17%}.world-magic--two{top:28%;right:25%;animation-delay:-2s}.world-magic--three{bottom:15%;right:18%;animation-delay:-1s}
.world-birds{position:absolute;top:33%;left:62%;display:flex;gap:17px;animation:world-birds 27s linear infinite}
.world-birds i{display:block;width:12px;height:8px;border-top:3px solid #183d67;clip-path:polygon(0 0,48% 35%,100% 0,100% 40%,50% 100%,0 40%);background:#183d67;animation:world-wing .85s steps(2,end) infinite}
.world-birds i:nth-child(2){margin-top:12px;animation-delay:-.3s}.world-birds i:nth-child(3){margin-top:4px;animation-delay:-.5s}
.world-walker{position:absolute;left:0;right:auto;bottom:0;width:104px;aspect-ratio:3/4;z-index:2;animation:world-pavement-walk 18s ease-in-out infinite;pointer-events:none}
.world-actor{position:absolute;inset:0;appearance:none;border:0;padding:0;background:transparent;cursor:pointer;touch-action:manipulation;pointer-events:auto;z-index:2;transform-origin:center bottom}
.world-actor-sprite{position:absolute;inset:0;display:block;background:url('/images/adventurer-side-walk.webp') 0 0/400% 100% no-repeat;image-rendering:pixelated;animation:world-steps .8s steps(4,end) infinite,world-facing 12s steps(1,end) infinite;filter:drop-shadow(2px 3px 0 #14223b66)}
.world-actor-shadow{position:absolute;bottom:1%;left:25%;right:25%;height:9%;background:#15283b66;border-radius:50%;z-index:0;filter:blur(2px)}
.world-actor:hover .world-actor-sprite{filter:drop-shadow(0 0 3px #fff3ad)}.world-actor:focus-visible{outline:3px solid #fff0a3;outline-offset:4px}.world-actor.is-hopping{animation:world-hop .65s ease-out}.world-actor.is-hopping .world-actor-sprite{animation-play-state:paused}

.pixel-world[data-motion=paused] *,.pixel-world[data-motion=paused] *:before,.pixel-world[data-motion=paused] *:after{animation-play-state:paused!important;transition:none!important}.pixel-world[data-motion=paused]{--look-x:0!important;--look-y:0!important}
.page-scenery{position:relative;isolation:isolate;background:none;overflow:hidden}.page-scenery .scenery-title{z-index:2;position:relative;pointer-events:none;font-size:21px}.pixel-world--compact .world-town{object-position:center 60%}.pixel-world--compact .world-sorcerer{width:150px;top:-40px;right:6%}.pixel-world--compact .world-cloud{width:150px;top:-10%;left:50%}.pixel-world--compact .world-cloud--far{width:100px;top:26%;left:12%}.pixel-world--compact .world-birds{top:35%;left:63%}
@keyframes world-cloud-drift{0%{transform:translateX(-240px)}100%{transform:translateX(520px)}}
@keyframes world-sorcerer{0%,100%{transform:translate(calc(var(--look-x)*8px),0) rotate(-1deg)}50%{transform:translate(calc(var(--look-x)*8px),12px) rotate(1deg)}}
@keyframes world-magic{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:.85;transform:translateY(-16px)}}
@keyframes world-birds{0%{transform:translateX(250px)}100%{transform:translateX(-850px)}}
@keyframes world-wing{0%{transform:scaleY(1)}100%{transform:scaleY(.35)}}
@keyframes world-steps{to{background-position:133.333333% 0}}
@keyframes world-hop{0%,100%{transform:translateY(0)}45%{transform:translateY(-38px)}}
@media(max-width:1050px) and (min-width:721px){.world-sorcerer{width:32%;top:7%;right:-3%;opacity:.9}.hero-copy{max-width:650px}}
/* Mobile has three distinct rows: copy, animated world, form. No cropped actor can enter the title. */
@media(max-width:720px){
 .brand-name{font-size:17px;letter-spacing:-.8px}.brand-caption{font-size:8px;letter-spacing:0}.masthead{column-gap:6px}.main-nav a{font-size:11px}
 .rpg-hero{display:flex;flex-direction:column;gap:0;padding:24px 20px 22px;background:#1468b6;overflow:hidden}
 .landing-inner{display:contents}.hero-copy{order:1;z-index:2;position:relative;padding-bottom:22px;max-width:none}.hero-kicker{font-size:9px;letter-spacing:0;max-width:100%}
 .rpg-hero h1,html[lang=ja] .rpg-hero h1{font-size:clamp(26px,7.2vw,43px);margin-bottom:12px}.rpg-hero .hero-gmo{font-size:72px}.hero-tagline{font-size:14px}.rpg-hero .intro{max-width:100%;font-size:12px}
 .rpg-hero>.pixel-world{order:2;position:relative;inset:auto;flex:none;height:270px;width:calc(100% + 40px);margin:0 -20px;z-index:0;border-top:2px solid #afd8f266;border-bottom:3px solid #a4b679}
 .rpg-hero .newsletter{order:3;margin:22px 0 0;width:100%;z-index:2}.quest-nav{order:4;margin-top:25px;width:100%}
 .world-town{object-position:70% center;transform:none}.world-sorcerer{width:190px;max-width:52%;top:-16px;right:-2px;opacity:1}.world-cloud{top:5%;left:0;width:150px}.world-cloud--far{top:17%;left:25%;width:100px}.world-birds{top:39%;left:45%}
 .page-scenery .scenery-title{font-size:15px;padding:10px 12px;max-width:78%}.pixel-world--compact .world-sorcerer{width:110px;max-width:30%;top:-10px;right:0;opacity:.8}.pixel-world--compact .world-cloud{width:80px}
}
@media(prefers-reduced-motion:reduce){.pixel-world *,.pixel-world *:before,.pixel-world *:after{animation:none!important;transition:none!important}.world-town{transform:none!important}.world-actor{cursor:default}.world-cloud--near{transform:translateX(10px)}.world-cloud--far{transform:translateX(-40px)}}
@media(min-width:721px){.rpg-hero>.pixel-world }
@media(max-width:720px){.rpg-hero .world-sorcerer{top:8px;right:0}}

/* One 2:1 coordinate plane for the image, pavement and actor. Cropping never separates their anchors. */
.pixel-world{container-type:size}
.world-stage{position:absolute;width:max(100cqw,200cqh);height:max(50cqw,100cqh);left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden}
.world-town{inset:0;width:100%;height:100%;object-fit:fill;object-position:initial;transform:none;transition:none}
.world-ground{position:absolute;left:0;right:0;bottom:0;height:22%;z-index:1;pointer-events:none;box-shadow:0 -2px #a9b1a3}
.world-ground svg{display:block;width:100%;height:100%;image-rendering:pixelated}
.world-walk-lane{position:absolute;left:70%;width:19%;bottom:3.5%;height:0;z-index:2;pointer-events:none}

.world-walker{aspect-ratio:256/341;animation-duration:12s;animation-timing-function:linear}
.world-actor-sprite{transform:translateY(8%)}
.world-actor-shadow{bottom:0;left:26%;right:26%;height:7%;filter:none;background:#414a4755}
/* Side-facing strip and travel reverse at the same point in the same cycle. */
@keyframes world-pavement-walk{0%,100%{transform:translateX(calc(-1 * var(--walk-distance,45px)))}50%{transform:translateX(var(--walk-distance,45px))}}
@keyframes world-facing{0%,100%{transform:translateY(8%) scaleX(1)}50%{transform:translateY(8%) scaleX(-1)}}
.pixel-world--compact .world-stage{width:100%;height:100%;transform:translate(-50%,-50%)}
.pixel-world--compact .world-town{object-fit:cover;object-position:center 57%}
.world-season{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none}
.world-season i{position:absolute;left:var(--start);top:-30px;width:7px;height:10px;background:#c1582d;opacity:.7;border-radius:1px;box-shadow:2px 2px #6d5b3255;animation:world-season-fall var(--fall) linear var(--delay) infinite}
.pixel-world[data-season=spring] .world-season i{width:7px;height:9px;background:#ffd1e5;border-radius:65% 20% 65% 20%;box-shadow:2px 0 #fdaacb}
.pixel-world[data-season=summer] .world-season i{background:#84b54e;box-shadow:2px 2px #456b3155;border-radius:65% 0 65% 0}
.pixel-world[data-season=autumn] .world-season i{width:11px;height:11px;background:#d56b2e;clip-path:polygon(50% 0,64% 30%,95% 12%,78% 53%,100% 64%,62% 72%,50% 100%,38% 72%,0 64%,22% 53%,5% 12%,36% 30%);box-shadow:none}
.pixel-world[data-season=autumn] .world-season i:nth-child(3n){background:#dfb148}
.pixel-world[data-season=winter] .world-season i{width:4px;height:4px;background:#fffdf0;border-radius:0;box-shadow:1px 0 #cae8ff;opacity:.8}
.pixel-world--compact .world-season i:nth-child(n+7){display:none}
@keyframes world-season-fall{0%{transform:translate3d(0,-20px,0) rotate(0);opacity:0}8%{opacity:.7}90%{opacity:.7}100%{transform:translate3d(55px,110cqh,0) rotate(220deg);opacity:0}}
@media(max-width:1050px) and (min-width:721px){.world-walker{width:86px;bottom:0;right:auto}}
@media(max-width:720px){.world-walk-lane{left:66%;width:24%;bottom:4%}.world-walker{width:72px;bottom:0;right:auto;animation-name:world-pavement-walk}.rpg-hero .world-sorcerer{width:185px;max-width:34%;right:8%;top:2%}.world-season i{width:6px;height:8px}.pixel-world--compact .world-sorcerer{right:1%;top:-10px;max-width:30%}}
@media(prefers-reduced-motion:reduce){.world-season{display:none}.world-actor-sprite{transform:translateY(8%)} }
/* Anchor the bottom of the shared artwork plane, so the pavement remains in view at any crop. */
.world-stage{top:auto;bottom:0;transform:translateX(-50%)}
.world-ground{box-shadow:none}
.pixel-world--compact .world-stage{top:0;bottom:auto;transform:translateX(-50%)}
@media(min-width:1051px){.rpg-hero>.pixel-world{bottom:123px}.rpg-hero .quest-nav{align-self:end}}
@media(min-width:721px) and (max-width:1050px){
 .rpg-hero{display:flex;flex-direction:column;gap:0;padding:30px;background:#1468b6}
 .landing-inner{display:contents}.hero-copy{order:1;max-width:none;padding-bottom:24px}
 .rpg-hero>.pixel-world{order:2;position:relative;inset:auto;height:320px;width:calc(100% + 60px);margin:0 -30px;flex:none}
 .rpg-hero .newsletter{order:3;margin:26px 0 0;max-width:none;width:100%}.quest-nav{order:4;margin-top:26px}
 .world-walk-lane{left:66%;bottom:4%}.world-walker{width:80px}
 .rpg-hero .world-sorcerer{width:210px;max-width:33%;right:8%;top:2%}
}
@media(max-width:1050px){.rpg-hero .world-sorcerer{right:max(8px,calc(100cqh - 50cqw + 8px))}}
/* Floating actors use the visible viewport edges rather than the cropped part of the artboard. */
.rpg-hero .world-sorcerer{aspect-ratio:1588/990;top:max(8px,calc(50cqw - 100cqh + 8px));right:max(8px,calc(100cqh - 50cqw + 8px))}

/*
 * Mobile composition: one compact masthead and a consistent reading column.
 * These overrides follow the legacy skin rules deliberately; keep page spacing
 * and mobile heading sizes here rather than adding competing mobile breakpoints.
 */
@media (max-width:720px){
  .masthead{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px 12px;
    height:auto;
    min-height:0;
    padding:12px 16px 0;
  }
  .masthead .wordmark{
    grid-column:1;
    grid-row:1;
    flex-shrink:1;
    min-width:0;
    gap:5px;
  }
  .masthead .brand-name{
    font-size:clamp(17px,4.3vw,20px);
    line-height:1.12;
    letter-spacing:-.065em;
    white-space:nowrap;
  }
  .masthead .brand-caption{font-size:10px;line-height:1.35;letter-spacing:0}
  .masthead .language-menu{grid-column:2;grid-row:1;align-self:center}
  .masthead .language-menu summary{
    min-height:42px;
    padding:8px 10px;
    border-width:1px;
    gap:7px;
    font-size:12px;
  }
  .masthead .main-nav{
    grid-column:1/-1;
    grid-row:2;
    display:flex;
    justify-content:space-between;
    align-items:stretch;
    gap:10px;
    width:100%;
    margin:0;
    overflow:visible;
  }
  .masthead .main-nav a{
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:clamp(10px,2.85vw,12px);
    line-height:1.25;
    text-align:center;
    padding:12px 0 11px;
    border-bottom-width:3px;
  }

  /* Inner pages start with their actual h1, not the repeated decorative banner. */
  .inner-main>.page-scenery{display:none}
  .inner-main{padding-bottom:0;background:#fff8e5}
  .inner-main>.prose{
    width:100%;
    max-width:100%;
    margin:0;
    padding:24px 18px 56px;
    border:0;
    box-shadow:none;
    background:#fff8e5;
    line-height:1.85;
  }
  .inner-main>.prose>.overline{
    display:block;
    font-size:10px;
    line-height:1.5;
    letter-spacing:.085em;
    margin:0 0 11px;
  }
  .inner-main>.prose>h1{
    font-size:clamp(25px,6.9vw,31px);
    line-height:1.34;
    letter-spacing:-.035em;
    margin:0 0 14px;
    overflow-wrap:break-word;
    word-break:normal;
  }
  .inner-main>.prose>.lead{
    font-size:14px;
    line-height:1.8;
    margin:0 0 22px;
  }
  .inner-main>.prose>p:not(.overline):not(.lead){font-size:14px;line-height:1.85}
  .inner-main .guide-article .breadcrumbs ol{margin:0 0 18px}
  .inner-main .prose h2{font-size:19px;line-height:1.5;margin-top:32px}
  .news-list{margin-top:22px}
  .news-list li{padding:18px 0}
  .news-list a{font-size:15px;line-height:1.65}
  .faq-list{margin-top:18px}
  .faq-list details{padding:16px 0}
  .faq-list summary{font-size:15px;line-height:1.6}
  .info-note{margin:20px 0 0;padding:14px 16px;font-size:13px}

  /* The homepage headline follows the same left edge and avoids oversized art. */
  .rpg-hero{padding:20px 18px 24px}
  .rpg-hero .hero-copy{padding-bottom:16px}
  .rpg-hero h1,html[lang=ja] .rpg-hero h1{
    font-size:clamp(27px,7.2vw,36px);
    line-height:1.18;
    margin-bottom:10px;
  }
  .rpg-hero .hero-gmo{font-size:clamp(52px,15vw,66px);line-height:1}
  .rpg-hero .hero-tagline{font-size:14px;margin:8px 0 12px}
  .rpg-hero .intro{font-size:13px;line-height:1.75}
  .rpg-hero>.pixel-world{height:210px;width:calc(100% + 36px);margin:0 -18px}
  .rpg-hero .newsletter{margin-top:18px}
  .rpg-hero .quest-nav{gap:10px;margin-top:20px}
}
@media(max-width:360px){
  .masthead{padding-inline:12px;column-gap:8px}
  .masthead .brand-name{font-size:16px}
  .masthead .brand-caption{font-size:9px}
  .masthead .main-nav a{font-size:10px}
  .inner-main>.prose{padding-inline:15px}
}
