:root {
  color-scheme: light;
  --green: #07392c;
  --deep: #061e16;
  --cream: #fff9ec;
  --gold: #ffd366;
  --line: #d9d7c8;
  font-family: "Hiragino Sans", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--green);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #9a5f00; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 3; background: white; padding: 1rem; }
.skip:focus { top: 0; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .shell { max-width: 70rem; margin-inline: auto; padding-inline: clamp(.8rem, 3vw, 2rem); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-block: .55rem; }
.brand { flex: none; }
.brand img { width: clamp(3.5rem, 18vw, 5.25rem); height: auto; border-radius: .85rem; }
nav { display: flex; align-items: stretch; gap: clamp(.12rem, 1vw, .8rem); }
nav a { display: grid; justify-items: center; align-content: center; gap: .3rem; padding: .55rem clamp(.25rem, 1.5vw, 1.1rem); min-height: 3.5rem; border-radius: .7rem; text-decoration: none; font-size: .875rem; font-weight: 750; }
nav a:hover { background: #eceddf; }
nav .nav-accent { background: #ffe5a7; }
nav svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hero { background: var(--deep); color: var(--cream); position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; min-height: clamp(28rem, 53vw, 43rem); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(3,26,18,.98), rgba(3,26,18,.72) 32%, rgba(3,26,18,.18) 58%, transparent 78%); }
.hero-content { width: min(100%, 70rem); margin-inline: auto; padding: 3rem clamp(1rem, 4vw, 3rem); }
h1 { margin: 0; font-size: clamp(2.1rem, 5.5vw, 5.1rem); line-height: 1.22; letter-spacing: -.045em; font-weight: 900; }
h1 em { color: var(--gold); font-style: normal; }
.hero p { margin: 1rem 0 1.8rem; font-weight: 750; }
.hero p.hero-tools { max-width: 32rem; margin: .9rem 0 0; text-wrap: balance; text-shadow: 0 1px 7px var(--deep); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; background: var(--gold); color: var(--deep); border-radius: 99rem; padding: .7rem 1.65rem; font-weight: 850; text-decoration: none; box-shadow: 0 5px 20px #031a1247; }
.button:hover { background: #ffe49c; }
.guide-banner { display: block; margin: clamp(1.1rem, 4vw, 2rem) auto 0; max-width: 46rem; border-radius: .8rem; }
.guide-banner img { width: 100%; height: auto; border-radius: inherit; }
.section { scroll-margin-top: 1rem; padding-block: clamp(2.5rem, 7vw, 5rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.35; }
p { line-height: 1.8; }
.intro { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 750; }
.about { max-width: 46rem; margin-inline: auto; }
figure { margin: 0; }
figure img { border-radius: 1rem; aspect-ratio: 1.6; width: 100%; object-fit: cover; }
.play-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem; margin-bottom: 0; }
.play-tools div { border-top: 1px solid var(--line); padding-top: .6rem; }
.play-tools dt { font-weight: 800; }
.play-tools dd { margin: .25rem 0 0; line-height: 1.65; }
.guide { border-top: 1px solid var(--line); }
.steps { margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; list-style: none; }
.steps li { padding: 1.2rem; border-radius: .85rem; border: 1px solid var(--line); background: #fffdf6; }
.steps h3 { margin: 0; font-size: 1.1rem; }
.steps p { margin: .45rem 0 0; }
details { padding: 1rem; background: #f3eee1; border-radius: .7rem; }
summary { font-weight: 750; cursor: pointer; }
details p { margin-bottom: 0; }
.events { border-top: 1px solid var(--line); text-align: center; }
.event-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); margin-top: 1.5rem; background: #fffdf6; border: 1px solid var(--line); border-radius: 1.15rem; overflow: hidden; text-align: left; }
.event-cover { width: 100%; height: 100%; object-fit: cover; }
.event-body { padding: clamp(1.25rem, 4vw, 2.5rem); }
.event-status { display: inline-block; margin: 0 0 .7rem; padding: .15rem .7rem; background: #ffe5a7; border-radius: 99rem; font-size: .875rem; font-weight: 750; }
.event-body h3 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1.3; }
.event-hook, .event-participants { font-weight: 750; }
.event-missions { margin-bottom: 0; padding-inline-start: 1.35rem; line-height: 1.8; }
.event-note { margin-bottom: 0; font-size: .9rem; }
footer { text-align: center; background: var(--green); color: var(--cream); padding: 1.6rem 1rem; font-weight: 750; }
footer a { text-decoration: none; }
@media (max-width: 44rem) {
  .hero { min-height: clamp(30rem, 133vw, 35rem); align-items: stretch; }
  .hero-photo { object-position: 56% 70%; }
  .hero::after { background: linear-gradient(180deg, #061e16 0%, #061e16ed 20%, #061e164d 49%, transparent 70%, #061e16a8 100%); }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.8rem .65rem 1.2rem; }
  .hero p { margin-top: .8rem; font-size: clamp(.9rem, 3.9vw, 1.05rem); }
  .hero .button { margin-top: auto; }
  .steps { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-cover { height: auto; aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.game-header,.game-hero{background:#0c3024;color:#fff4db}
.game-header{border-color:#365446;position:relative}
.game-nav,.game-grid{width:min(1220px,100%);margin:auto;display:flex;align-items:center}
.game-nav{justify-content:space-between;gap:1rem}
.game-brand{font-weight:800;font-size:clamp(1rem,2.1vw,1.55rem)}
.game-brand small{color:#ffd17a;white-space:nowrap}
.game-nav nav{display:flex;gap:clamp(.6rem,2vw,1.5rem);font-weight:700}
.game-nav nav a{white-space:nowrap}
.game-grid{padding:clamp(1rem,4vw,3.5rem);gap:1.5rem}
.game-copy{flex:1;text-align:left}
.game-copy h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(2rem,5.2vw,4.4rem);line-height:1.25;margin:.55rem 0 1rem}
.game-copy p,.game-info p{font-size:1rem;line-height:1.75;margin:.5rem 0}
.game-copy .game-venue{color:#ffd17a;font-weight:800}
.game-cta{display:inline-block;background:#f7ca6d;color:#173326;padding:.75rem 1.15rem;border-radius:.35rem;font-weight:800;margin-top:.65rem}
.game-status{color:#ffd17a;min-height:1.75em}
.game-scene{--slot-x:23%;--slot-y:45%;--plate-x:24%;--plate-y:72%;--light-x:68.5%;--light-y:35.8%;--light-w:10.3%;--light-h:19%;width:55%;aspect-ratio:1;position:relative;border-radius:.5rem;isolation:isolate;background:#15362b url(assets/entry.webp) center/cover no-repeat}
.game-slot,.game-plate,.game-light{position:absolute}
.game-slot,.game-plate{width:15%;min-width:44px;height:7.7%;min-height:44px;border:2px solid #c5994c;border-radius:.3rem}
.game-slot{left:var(--slot-x);top:var(--slot-y);box-shadow:inset 0 0 0 2px #302d22;background:#11281f}
.game-plate{z-index:1;left:var(--plate-x);top:var(--plate-y);background:#f4deab;color:#503923;font-size:clamp(1.15rem,3vw,2rem);font-weight:bold;line-height:1;cursor:pointer;box-shadow:1px 3px 5px #131e17;transition:left .55s ease,top .55s ease}
.game-plate:focus-visible,.game-cta:focus-visible,.game-nav a:focus-visible{outline:3px solid #ffc65a;outline-offset:4px}
.game-plate[aria-disabled="true"]{cursor:default}
.plate-hint{position:absolute;top:calc(var(--plate-y) + 12%);left:var(--plate-x);border-radius:.25rem;padding:.2rem .45rem;color:#fff5dc;background:#11281f;font-weight:800;white-space:nowrap;pointer-events:none}
.game-light{left:var(--light-x);top:var(--light-y);width:var(--light-w);height:var(--light-h);background:#ffa63f;mix-blend-mode:screen;opacity:0;box-shadow:0 0 18px #ffa63f;transition:opacity .65s ease .4s}
.is-complete .game-plate{left:var(--slot-x);top:var(--slot-y)}
.is-complete .game-light{opacity:.82}
.game-info{background:#fff5e0;padding:clamp(1.25rem,4vw,2.5rem) max(18px,calc((100% - 684px)/2));color:#16372b}
.game-info h2,.game-tools-heading{font-size:clamp(1.2rem,3vw,1.6rem)}
.game-tools-heading{margin:1.5rem 0 .75rem;color:#16372b}
@media(max-width:690px){
  .game-grid{flex-direction:column;gap:.5rem}
  .game-copy,.game-scene{--slot-x:23%;--slot-y:45%;--plate-x:24%;--plate-y:72%;--light-x:68.5%;--light-y:35.8%;--light-w:10.3%;--light-h:19%;width:100%}
  .game-status:empty{display:none}
  .game-nav a{font-size:.875rem}
  .game-brand small{display:block}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .game-plate,.game-light{transition:none}
}

.game-copy h1{letter-spacing:0}.game-copy a{text-decoration:none}.software-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.8rem}.software-cards a{display:grid;gap:.3rem;padding:1rem;background:#fff;border:1px solid var(--line);border-radius:.5rem;text-decoration:none}.software-cards a:hover{background:#ffe5a7}.software-cards small{font-weight:700}

.mobile-wordmark,.mobile-menu{display:none}
.game-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"copy scene" "actions scene"}
.game-copy{grid-area:copy;align-self:end}
.game-scene{grid-area:scene;width:100%}
.game-actions{grid-area:actions;align-self:start}
.game-actions .game-status{margin:0 0 .5rem;min-height:0}
.game-actions .game-status:empty{margin:0}
.game-actions .game-cta{text-decoration:none}
.game-web-link{display:block;width:max-content;margin:.65rem 0;text-underline-offset:.25em}
@media(max-width:690px){
  .header{background:#0c3024;color:#fff4db;border-color:#789083}
  .header-inner{padding:.5rem 1rem}
  .header .brand,.header .desktop-menu{display:none}
  .mobile-wordmark{display:flex;align-items:center;gap:.3rem;text-decoration:none;font-size:clamp(.8rem,3.55vw,1.05rem);font-weight:850;white-space:nowrap}
  .mobile-wordmark small{white-space:nowrap}
  .mobile-menu{display:block;position:relative}
  .mobile-menu summary{display:grid;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none}
  .mobile-menu summary::-webkit-details-marker{display:none}
  .mobile-menu summary span{width:1.4rem;height:.85rem;border-block:2px solid;position:relative}
  .mobile-menu summary span::after{content:"";position:absolute;top:50%;left:0;width:100%;border-top:2px solid;transform:translateY(-50%)}
  .mobile-menu nav{position:absolute;right:0;top:100%;z-index:3;display:grid;width:max-content;background:#fff4db;color:#173326;border-radius:.45rem;padding:.35rem;box-shadow:0 3px 12px #0005}
  .mobile-menu nav a{min-height:44px}
  .game-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "scene" "actions";gap:.35rem;max-width:32rem;padding:.8rem 0 1rem}
  .game-copy{padding:0 1.1rem;text-align:center}
  .game-copy .game-venue,.game-copy .game-participants{display:none}
  .game-copy h1{font-size:clamp(1.85rem,8.5vw,2.75rem);margin:.2rem auto .5rem;padding:.55rem 0;border-block:1px solid #e9d6a9;max-width:24rem}
  .game-copy .game-tagline{font-size:clamp(.8rem,3.65vw,1rem);margin:.4rem 0 .1rem}
  .game-scene{border-radius:0;aspect-ratio:1.1;background-size:100% 100%;--plate-y:70%;--slot-x:23%}
  .game-plate,.game-slot{width:20%}
  .plate-hint{top:calc(var(--plate-y) - 2rem);left:var(--plate-x);font-size:.875rem}
  .game-actions{padding:0 1.1rem;text-align:center}
  .game-actions .game-cta{display:block;margin:.45rem auto 0;border:1.5px solid #fff4db;border-radius:.55rem;background:transparent;color:inherit;padding:.62rem}
  .game-web-link{margin:.55rem auto 0;padding:.25rem .75rem}
}

/* The entrance photo, plan lines and interactive plate are separate layers. */
.header,.game-hero{background:#0c2d22;color:#fff2d2}
.header{border:0}
.header-inner{width:min(94%,90rem);max-width:none;padding:.7rem 0;border-bottom:1px solid #fff2d2}
.game-wordmark{display:flex;align-items:center;gap:.5rem;color:inherit;text-decoration:none;font-weight:900;white-space:nowrap}
.game-wordmark svg{flex:none}
.game-wordmark small{font:inherit;margin-left:.35rem}
.header .desktop-menu a{min-height:0;padding:.4rem .7rem}
.header .desktop-menu a:hover{background:#fff2d222}
.game-grid{width:min(100%,96rem);padding:1rem clamp(1rem,3vw,3rem) 2rem;gap:.4rem 0;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.game-copy{position:relative;z-index:2}
.game-plan{position:relative;width:100%;max-width:42rem;padding:15% 0 9% 7%}
.plan-lines{width:100%;height:100%;position:absolute;inset:0;pointer-events:none;fill:none;stroke:#fff2d2;stroke-width:1.4}
.plan-marker{fill:#dca528;stroke:none}
.game-plan h2{margin:0;padding:0;border:0;font-size:clamp(1.85rem,4.6vw,4.65rem);letter-spacing:-.05em;line-height:1.23}
.game-copy .game-tagline{color:inherit;padding-left:7%;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(1rem,1.8vw,1.55rem)}
.game-actions{padding-left:7%}
.game-actions .game-cta{border:1.5px solid #fff2d2;background:transparent;color:inherit;border-radius:.55rem}
.game-actions .game-cta:hover{background:#fff2d218}
.game-scene{background:#0c2d22 url(assets/entrance-closeup.webp) center/100% 100% no-repeat;border-radius:0}
.game-slot{display:none}
.game-plate{display:grid;place-items:center;min-width:44px;min-height:44px;border:3px double #9a7039;border-radius:.5rem;background:repeating-linear-gradient(0deg,#f2e4c9 0 2px,#e8d6b6 2px 3px);color:#946939;box-shadow:1px 3px 4px #1f130b9e;transform:rotate(4deg);transition:left .55s ease,top .55s ease,transform .55s ease}
.game-plate svg{width:60%;height:75%}
.is-complete .game-plate{transform:rotate(0)}
.plate-hint{z-index:2;left:calc(var(--plate-x) - 8%);top:calc(var(--plate-y) - 2.15rem);background:#0c2d22dc;color:#fff2d2;padding:.1rem .3rem}
.plate-hint::after{content:"";position:absolute;top:100%;left:42%;width:1px;height:1.15rem;background:currentColor;transform-origin:top;transform:rotate(-25deg)}
.game-light{background:#ffa536;box-shadow:0 0 12px #ffa536;border-radius:.15rem}
@media(max-width:690px){
  .header-inner{width:93%;padding:.4rem .1rem}
  .game-wordmark{gap:.45rem;font-size:clamp(.75rem,3.6vw,1rem)}
  .game-wordmark svg{width:2.25rem;height:auto}
  .game-wordmark small{margin-left:.2rem}
  .mobile-menu nav{z-index:5}
  .game-grid{grid-template-columns:minmax(0,1fr);padding:.8rem 0 1.25rem;gap:.15rem;max-width:32rem}
  .game-copy{padding:0 4.2%;text-align:left}
  .game-plan{padding:16% 0 9% 6%;margin:auto;width:91%}
  .game-plan h2{font-size:clamp(1.85rem,9vw,3rem);white-space:nowrap}
  .game-copy .game-tagline{text-align:center;padding:0;margin:.45rem 0 .1rem;font-size:clamp(.82rem,4.15vw,1.2rem)}
  .game-scene{aspect-ratio:1.04}
  .game-actions{padding:0 5%;margin-top:.45rem}
  .game-actions .game-cta{font-size:clamp(1rem,4.15vw,1.375rem);letter-spacing:.06em}
}
@media(prefers-reduced-motion:reduce){.game-plate{transition:none}}
.game-scene{--slot-x:24.1%;--slot-y:46.5%;--plate-x:22%;--plate-y:72%;--light-x:53.2%;--light-y:34.5%;--light-w:19%;--light-h:43%}
.game-plate{width:19%;height:9%;transform:rotate(3deg);padding:0}
.is-complete .game-plate{height:6.1%;min-height:0;border-radius:.18rem;box-shadow:none}
.game-light{pointer-events:none;background:radial-gradient(ellipse at 72% 75%,#ffc862 0%,#a44b0f 45%,transparent 82%);box-shadow:none}
.is-complete .game-light{opacity:.65}

/* Mobile proportions follow the supplied portrait art direction. */
@media(max-width:690px){
  .header-inner{width:93%;padding:0;min-height:clamp(44px,11.85vw,61px)}
  .game-wordmark{font-size:clamp(.78rem,3.92vw,1.18rem)}
  .game-wordmark svg{width:clamp(1.75rem,10vw,3.2rem)}
  .game-grid{padding:0 0 6.8%;gap:0;container-type:inline-size}
  .game-copy{padding:5.6cqw 0 0}
  .game-plan{width:77.7%;max-width:none;height:45.5cqw;padding:14.3cqw 0 0 5.1cqw;margin:0 0 0 10.1%}
  .game-plan h2{font-size:11.05cqw;line-height:1.14;letter-spacing:-.05em}
  .game-copy .game-tagline{margin:1.65cqw 0 0;font-size:4.45cqw;line-height:1.45;letter-spacing:.035em}
  .game-scene{margin-top:1.25cqw;aspect-ratio:.958;--plate-x:22%;--plate-y:64%}
  .game-scene::before{content:"";position:absolute;inset:0 0 auto;height:7%;background:linear-gradient(#0c2d22,transparent);pointer-events:none}
  .game-plate{width:20%;height:11%;min-height:44px}
  .is-complete .game-plate{width:19%}
  .plate-hint{top:calc(var(--plate-y) - 9.8cqw);left:11%;font-size:4cqw;background:transparent;padding:0}
  .plate-hint::after{height:8cqw;left:46%;top:110%}
  .game-actions{padding:0 4.8%;margin-top:6.3cqw}
  .game-actions .game-cta{margin:0;display:grid;place-items:center;min-height:max(44px,13cqw);font-size:6.2cqw;padding:.25rem;letter-spacing:.04em;border-radius:2.7cqw}
  .game-web-link{display:grid;place-items:center;min-height:44px;margin:2.8cqw auto 0;padding:0;color:inherit;font-weight:700;font-size:4.45cqw;text-underline-offset:.36em}
}

@media(max-width:690px){
  :root{--mobile-header-height:clamp(45px,11.85vw,61px)}
  .header-inner{height:var(--mobile-header-height);min-height:0}
  .game-grid{
    height:calc(100svh - var(--mobile-header-height));
    min-height:25rem;
    padding:0 0 max(.25rem,env(safe-area-inset-bottom));
    grid-template-rows:auto minmax(6rem,1fr) auto;
  }
  .game-copy{padding-top:clamp(.4rem,2svh,5.6cqw)}
  .game-plan{
    height:min(45.5cqw,23svh);
    padding-top:min(14.3cqw,7.4svh);
  }
  .game-plan h2{font-size:min(11.05cqw,5.65svh)}
  .game-copy .game-tagline{margin-top:min(1.65cqw,1svh);font-size:min(4.45cqw,2.9svh)}
  .game-scene{
    height:100%;
    min-height:0;
    aspect-ratio:auto;
    margin:0;
  }
  .game-actions{position:relative;margin-top:clamp(.3rem,1.5svh,1.1rem)}
  .game-actions .game-cta{min-height:clamp(44px,6.4svh,62px);font-size:min(5.9cqw,3.7svh)}
  .game-web-link{margin:.1rem auto 0;font-size:min(4.45cqw,3svh)}
  .game-actions .game-status:not(:empty){
    position:absolute;bottom:100%;left:5%;right:5%;margin:0 0 .3rem;
    padding:.25rem;background:#0c2d22;color:#fff2d2;border-radius:.3rem;
    font-size:.85rem;line-height:1.35;pointer-events:none;
  }
}

.game-wordmark img{width:5.25rem;height:5.25rem;object-fit:contain}
@media(max-width:690px){
  :root{--mobile-header-height:4.25rem}
  .game-wordmark img{width:4rem;height:4rem}
}

/* Give the original square logo a light surround distinct from the hero. */
.header{background:#f7efdc;color:#0c2d22}
.header-inner{border-bottom:0;min-height:5rem;padding:.45rem 0}
.game-wordmark{display:block;line-height:0}
.game-wordmark img{display:block;width:4.15rem;height:4.15rem;border-radius:.3rem}
.header .desktop-menu a:hover{background:#0c2d2210}
@media(max-width:690px){
  :root{--mobile-header-height:4.25rem}
  .header-inner{
    display:grid;grid-template-columns:44px minmax(0,1fr) 44px;
    height:var(--mobile-header-height);min-height:0;padding:0;
  }
  .game-wordmark{grid-column:2;justify-self:center}
  .game-wordmark img{width:3.65rem;height:3.65rem}
  .mobile-menu{grid-column:3;justify-self:end}
}

.header-inner{display:flex;gap:clamp(.45rem,2vw,2rem);border-bottom:1px solid #cdb673}
.header .game-wordmark{flex:none;justify-self:auto}
.game-header-nav{margin-left:auto;gap:0}
.game-header-nav a{min-width:7.5rem;min-height:3.4rem;border-radius:0;line-height:1.2;white-space:nowrap}
.game-header-nav a + a{border-left:1px solid #0c2d2233}
.game-header-nav a:hover{background:#0c2d220a}
.game-header-nav svg{color:#0c2d22}
@media(max-width:690px){
  .header-inner{width:94%;height:var(--mobile-header-height);padding:0}
  .game-header-nav{flex:1;justify-content:flex-end}
  .game-header-nav a{min-width:0;flex:1;max-width:7rem;padding:.3rem .15rem;font-size:clamp(.69rem,3.15vw,.88rem);gap:.22rem}
  .game-header-nav svg{width:1.35rem;height:1.35rem}
}

@media (prefers-reduced-motion: no-preference) {
  .game-scene:not(.is-complete) .game-plate {
    animation: nameplate-nudge 2.8s ease-in-out 3;
  }
  .game-scene.is-complete .game-plate {
    transition: left .56s cubic-bezier(.28,.7,.28,1.08),
      top .56s cubic-bezier(.28,.7,.28,1.08),
      transform .56s ease-out, height .5s ease;
    animation: nameplate-settle .26s ease-out .56s both;
  }
  .game-scene.is-complete .game-light {
    transition-delay: .66s;
  }
  @keyframes nameplate-nudge {
    0%, 61%, 100% { translate: 0 0; rotate: 0deg; }
    18% { translate: 0 -7px; rotate: -5deg; }
    32% { translate: 0 -4px; rotate: 3deg; }
    46% { translate: 0 -2px; rotate: -2deg; }
  }
  @keyframes nameplate-settle {
    0%, 100% { scale: 1; }
    42% { scale: .95 1.06; }
  }
}

/* Keep the callout outside the plate's motion and touch area. */
.game-scene{--plate-width:19%;--plate-height:9%}
.game-plate{width:var(--plate-width);height:var(--plate-height)}
.plate-hint{
  top:calc(var(--plate-y) + max(44px,var(--plate-height)) + 7px);
  left:calc(var(--plate-x) + var(--plate-width) / 2);
  transform:translateX(-50%);
  padding:.22rem .62rem;
  border:1px solid #e1c78a;
  border-radius:99rem;
  background:#0c2d22;
  color:#fff2d2;
  font-size:clamp(.72rem,2.8cqw,.88rem);
  line-height:1.3;
}
.plate-hint::after{content:none}
.plate-hint::before{
  content:"";
  position:absolute;
  left:50%;
  top:-6px;
  width:6px;
  height:6px;
  border:solid #e1c78a;
  border-width:1px 0 0 1px;
  background:#0c2d22;
  transform:translate(-50%,2px) rotate(45deg);
}
@media(max-width:690px){
  .game-scene{--plate-width:20%;--plate-height:11%}
}

.plate-hint{
  top:calc(var(--plate-y) - 12px);
  left:calc(var(--plate-x) - 8%);
  transform:translateY(-100%);
}
.plate-hint::before{
  top:auto;
  bottom:-4px;
  left:65%;
  border-width:0 1px 1px 0;
  transform:translateX(-50%) rotate(45deg);
}

.game-intro{
  width:min(94vw,52rem);
  max-height:90svh;
  margin:auto;
  padding:0;
  border:1px solid #e1c78a;
  border-radius:.75rem;
  background:#0c2d22;
  color:#fff2d2;
}
.game-intro::backdrop{background:#051810d9}
.game-intro-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem .8rem}
.game-intro-header h2{margin:0;font-size:clamp(.95rem,3.7vw,1.2rem)}
.game-intro-close{min-height:44px;padding:.35rem .7rem;border:1px solid currentColor;border-radius:.35rem;background:transparent;color:inherit;cursor:pointer;white-space:nowrap;font:inherit}
.game-intro video{display:block;width:100%;max-height:calc(90svh - 4.5rem);aspect-ratio:16/9;background:#061e16}
.game-plate:focus-visible,.game-intro-close:focus-visible{outline:2px solid #ffd366;outline-offset:3px}

.common-missions {
  max-width: 46rem;
  margin: clamp(1.45rem, 4vw, 2.4rem) auto 0;
}
.common-missions h2 {
  margin: 0 0 1rem;
  text-align: center;
}
.common-missions-lead,
.common-missions-name {
  display: block;
}
.common-missions-lead {
  font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(.95rem, 4.25vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
}
.common-missions-name {
  margin-top: .12em;
  font-family: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(1.15rem, 7vw, 2.375rem);
  font-weight: 900;
  line-height: 1.14;
}
.common-missions h2::after {
  display: block;
  width: 3.5rem;
  height: .2rem;
  margin: .65rem auto 0;
  background: var(--gold);
  content: "";
}
.common-missions-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mission-card-image {
  display: block;
  width: 100%;
  height: auto;
}

.survey-real {
  display: inline-block;
  width: 3.1em;
  aspect-ratio: 3;
  background: url("assets/mission-survey-real.png") center / contain no-repeat;
  mix-blend-mode: multiply;
  vertical-align: -.15em;
}
.common-missions-name {
  font-size: clamp(1.1rem, 5.8vw, 2.375rem);
  font-weight: 750;
}

.experience-intro {
  width: min(100% - 2rem, 49rem);
  margin-inline: auto;
  padding-block: clamp(1.5rem, 4vw, 3rem) 1.1rem;
  text-align: center;
}
.experience-intro p {
  margin: 0 0 .6rem;
  font-weight: 650;
}
.experience-intro h1 {
  margin: 0 0 .95rem;
  font-size: clamp(1.65rem, 7.5vw, 3.8rem);
  line-height: 1.15;
}
.experience-logo {
  background: currentColor;
  mix-blend-mode: normal;
  -webkit-mask: url("assets/real-lettering-mask.png") center / contain no-repeat;
  mask: url("assets/real-lettering-mask.png") center / contain no-repeat;
}
.experience-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.35rem, 1.5vw, .85rem);
}
.experience-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6% / 4.8%;
}
.experience-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  pointer-events: none;
}
.experience-outline {
  stroke: #efc355;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}
.experience-guides {
  stroke: #fff2d2;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}
.experience-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.experience-cta {
  display: grid;
  place-items: center;
  min-height: 3rem;
  max-width: 30rem;
  margin: 1rem auto 0;
  border-radius: 2rem;
  background: #f8c454;
  color: #0c2d22;
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 800;
  text-decoration: none;
}
.experience-cta:hover { background: #ffda76; }
.experience-cta:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 690px) {
  .game-grid { height: auto; min-height: 0; grid-template-rows: auto; }
  .game-scene { height: auto; aspect-ratio: .958; }
}
@media (prefers-reduced-motion: no-preference) {
  .experience-photo { --frame-delay: 0s; }
  .experience-photo:nth-child(2) { --frame-delay: .1s; }
  .experience-photo:nth-child(3) { --frame-delay: .2s; }
  .experience-guides {
    animation: experience-guides .46s ease var(--frame-delay) both;
  }
  .experience-outline {
    stroke-dasharray: 1;
    animation: experience-draw .55s ease-out var(--frame-delay) backwards;
  }
  .experience-photos img {
    animation: experience-reveal .56s cubic-bezier(.2,.7,.2,1)
      calc(.24s + var(--frame-delay)) backwards;
  }
  .experience-logo {
    position: relative;
    overflow: hidden;
  }
  .experience-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, #efc355 50%, transparent 62%);
    animation: experience-logo-light .7s ease-out .15s both;
  }
  @keyframes experience-guides {
    0%, 100% { opacity: 0; }
    25%, 65% { opacity: .6; }
  }
  @keyframes experience-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }
  @keyframes experience-reveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0); }
  }
  @keyframes experience-logo-light {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
  }
  .experience-cta { transition: background .2s, transform .2s; }
  .experience-cta:active { transform: scale(.98); }
}

.game-scene.game-storefront {
  --plate-x: 70%;
  --plate-y: 75%;
  --slot-x: 70%;
  --slot-y: 65%;
  aspect-ratio: 600 / 332;
  height: auto;
  align-self: center;
  background: var(--deep);
  border-radius: .65rem;
  overflow: hidden;
}
.game-storefront .storefront-photo {
  display: block;
  width: 100%;
  height: auto;
}
.game-storefront::before,
.game-storefront .game-light { display: none; }
.game-storefront .plate-hint {
  top: auto;
  left: auto;
  right: 11%;
  bottom: 27%;
  padding: .15em .55em;
  background: #0c2d22;
  font-size: clamp(.75rem, 2.8vw, 1rem);
}
.game-storefront .plate-hint::after { display: none; }
.game-storefront.is-complete .game-plate { min-height: 44px; }

.experience-intro h1 {
  font-size: clamp(1.2rem, 6.15vw, 3.05rem);
  text-wrap: balance;
}
.game-grid {
  max-width: 42rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "scene" "actions";
}
.game-grid .game-actions {
  padding-inline: 0;
  text-align: center;
}

.game-drawing {
  max-width: 46rem;
  margin-inline: auto;
}
.drawing-link {
  display: block;
  color: inherit;
  text-underline-offset: .2em;
}
.drawing-link img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dca945;
}
.drawing-link span {
  display: grid;
  place-items: center;
  min-height: 44px;
}

.storefront-play {
  position: absolute;
  right: 6%;
  bottom: 5%;
  width: clamp(7.5rem, 33%, 12rem);
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  cursor: pointer;
}
.storefront-play img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px #0008);
}
.storefront-play:focus-visible {
  outline: 2px solid #fff2d2;
  outline-offset: 2px;
}

.about {
  max-width: 68rem;
  padding: clamp(1rem, 4vw, 3rem);
  border-radius: 1rem;
  background-color: #fbf6e9;
  background-image: linear-gradient(#07392c0c 1px, transparent 1px),
                    linear-gradient(90deg, #07392c0c 1px, transparent 1px);
  background-size: 1.35rem 1.35rem;
}
.about h2 {
  text-align: center;
  font-size: clamp(1.35rem, 4vw, 2.8rem);
}
.about-layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.about .intro { margin: 0; }
.about-lead {
  display: block;
  font-size: clamp(1.2rem, 2.55vw, 2rem);
  line-height: 1.6;
}
.about-start {
  white-space: nowrap;
  text-decoration: underline #cea330 .17em;
  text-underline-offset: .2em;
}
.about-detail {
  display: block;
  margin-top: 1.25rem;
}
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .65rem;
  box-shadow: 0 .55rem 1.5rem #07392c26;
}
@media (min-width: 48rem) {
  .about-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
}

.about-wordmark {
  display: inline-block;
  width: min(9em, 100%);
  height: auto;
  vertical-align: -.1em;
}
.about-title-suffix { white-space: nowrap; }

.missions-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: clamp(.875rem, 3.5vw, 1rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.event-info {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .65rem 1rem;
  margin: 1rem 0 0;
}
.event-info dt { font-weight: 700; }
.event-info dd { margin: 0; }

.reservation { max-width: 46rem; margin-inline: auto; }
.calendar-panel { background: #fffdf7; border: 1px solid var(--line); border-radius: .8rem; padding: clamp(.5rem, 2vw, 1.3rem); }
.calendar-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.calendar-controls button { font: inherit; padding: .5rem .8rem; color: var(--green); background: var(--cream); border: 1px solid var(--line); border-radius: .4rem; cursor: pointer; }
.calendar-controls button:disabled { opacity: .4; cursor: default; }
.calendar-panel table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.calendar-panel th, .calendar-panel td { padding: .55rem 0; }
.calendar-panel td { border-top: 1px solid var(--line); }
.calendar-panel td[aria-current="date"] { font-weight: bold; text-decoration: underline; text-underline-offset: .2em; }
.calendar-panel td a { display: block; }

.footer-company {
  display: block;
  width: fit-content;
  margin: .5rem auto 0;
  padding: .35rem .5rem;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
}
html { scroll-padding-top: 6rem; }
.skip:focus { z-index: 11; }

.rally-flow { padding-inline-start: 1.6em; margin-block: 1rem; }
.rally-flow li + li { margin-top: .65rem; }
.rally-flow li::marker { color: var(--green); font-weight: bold; }
