/* A genuine released game, presented as a playable NEO work. */
.aurora-feature { padding-block: 64px; background: #030506; border-block: 1px solid rgba(220,232,232,.12); scroll-margin-top: 88px; }
.aurora-feature > .container { max-width: 1320px; }
.aurora-feature-head { text-align: center; margin: 0 auto 40px; }
.neo-home #aurora-game h2 { margin: 0; font-size: clamp(1.8rem,3.5vw,3rem); line-height: 1.45; color: var(--neo-gold-light); background: none; -webkit-text-fill-color: currentColor; text-shadow: none; }
.aurora-feature-head > p { color: var(--neo-silver); margin: 16px auto 0; line-height: 1.8; font-size: 1rem; text-wrap: balance; }
.aurora-game-word { white-space: nowrap; }
.aurora-feature-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr); gap: clamp(28px,4vw,56px); align-items: center; }
.aurora-feature-screen { min-width: 0; margin: 0; }
.aurora-feature-screen figcaption { margin-top: 16px; color: var(--neo-silver); font-size: .75rem; line-height: 1.6; }

/* Game screen: a console-style frame that shows the poster, then runs the real game in place. */
.aurora-stage { position: relative; isolation: isolate; border: 1px solid rgba(120,247,232,.3); border-radius: 6px; background: #030a0c; box-shadow: 0 32px 80px -36px rgba(0,0,0,.95); }
.aurora-stage::after { content: ''; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -30px; height: 60px; background: radial-gradient(closest-side, rgba(120,247,232,.3), transparent); filter: blur(16px); opacity: .45; transition: opacity 600ms ease; pointer-events: none; }
.aurora-stage[data-state="live"]::after { opacity: 1; }
.aurora-stage-bar { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 6px 8px 6px 16px; border-bottom: 1px solid rgba(120,247,232,.18); border-radius: 6px 6px 0 0; background: #050d0f; }
.aurora-stage-signal { display: inline-flex; align-items: center; gap: 8px; min-width: 84px; margin: 0; color: var(--neo-silver); font: 600 .64rem/1 'Chakra Petch',sans-serif; letter-spacing: .2em; }
.aurora-stage-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neo-silver-soft); }
.aurora-stage[data-state="loading"] .aurora-stage-signal { color: var(--neo-gold-light); }
.aurora-stage[data-state="loading"] .aurora-stage-dot { background: var(--neo-gold); animation: aurora-blink 900ms steps(2,jump-none) infinite; }
.aurora-stage[data-state="live"] .aurora-stage-signal { color: var(--neo-tiffany); }
.aurora-stage[data-state="live"] .aurora-stage-dot { background: var(--neo-tiffany); animation: aurora-live 1.8s ease-out infinite; }
.aurora-stage-name { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--neo-silver-bright); font: 600 .72rem/1.3 'Chakra Petch',sans-serif; letter-spacing: .14em; white-space: nowrap; text-overflow: ellipsis; }
.aurora-stage-name span { margin-right: 12px; color: var(--neo-silver-soft); }
.aurora-stage-controls { display: flex; gap: 8px; }
.aurora-stage-controls[hidden], .aurora-stage-controls button[hidden] { display: none; }
.aurora-stage-controls button { min-height: 36px; padding: 6px 16px; border: 1px solid rgba(120,247,232,.35); border-radius: 4px; background: #081315; color: var(--neo-tiffany); font: 500 .76rem/1.4 'Noto Sans JP',sans-serif; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease; }
.aurora-stage-controls button:hover:not(:disabled) { background: #10292a; border-color: rgba(120,247,232,.65); }
.aurora-stage-controls button:active:not(:disabled) { transform: translateY(1px); }
.aurora-stage-controls button:disabled { opacity: .45; cursor: default; }
.aurora-stage-controls button:focus-visible { outline: 2px solid var(--neo-tiffany); outline-offset: 2px; }
.aurora-stage-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 0 5px 5px; background: #061426; }
.aurora-stage-screen > iframe { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border: 0; background: #061426; opacity: 0; transition: opacity 500ms ease; }
.aurora-stage[data-state="live"] .aurora-stage-screen > iframe { opacity: 1; }

.aurora-preview { display: block; position: relative; height: 100%; color: inherit; text-decoration: none; }
.aurora-preview img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--neo-motion-ease), filter 400ms ease; }
.aurora-preview::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(3,8,10,.06) 0%, rgba(3,8,10,.1) 44%, rgba(3,8,10,.86) 74%, rgba(3,8,10,.97) 88%); transition: opacity 300ms ease; }
.aurora-preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; opacity: 0; pointer-events: none; transition: opacity 700ms ease, transform 700ms var(--neo-motion-ease), filter 400ms ease; }
.aurora-preview.is-playing .aurora-preview-video { opacity: 1; }
.aurora-preview:hover img, .aurora-preview:hover .aurora-preview-video { transform: scale(1.02); filter: brightness(1.1); }
.aurora-preview:focus-visible { outline: 2px solid var(--neo-tiffany); outline-offset: -6px; }
.aurora-preview-start { position: absolute; z-index: 2; left: 40px; right: 40px; bottom: 36px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: 24px; row-gap: 6px; text-align: left; }
.aurora-play-ring { position: relative; grid-row: span 2; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(120,247,232,.8); border-radius: 50%; background: rgba(3,10,12,.6); color: var(--neo-tiffany); backdrop-filter: blur(6px); transition: transform 260ms var(--neo-motion-ease), background 260ms ease; }
.aurora-play-ring::after { content: ''; position: absolute; inset: -9px; border: 1px solid rgba(120,247,232,.22); border-radius: 50%; transition: inset 260ms var(--neo-motion-ease), border-color 260ms ease; }
.aurora-play-ring svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.aurora-preview:hover .aurora-play-ring { transform: scale(1.06); background: rgba(10,44,44,.8); }
.aurora-preview:hover .aurora-play-ring::after { inset: -14px; border-color: rgba(120,247,232,.45); }
.aurora-press { align-self: end; color: #fff; font: 700 1.2rem/1 'Chakra Petch',sans-serif; letter-spacing: .3em; text-shadow: 0 2px 14px rgba(0,0,0,.85); animation: aurora-press 2.4s ease-in-out infinite; }
.aurora-press-sub { align-self: start; color: var(--neo-silver-bright); font-size: .84rem; line-height: 1.6; text-shadow: 0 1px 10px rgba(0,0,0,.95); }
.aurora-press-sub--inline { display: none; }
@media (min-width:901px) and (hover:hover) and (pointer:fine) {
  .aurora-press-sub--inline { display: block; }
  .aurora-press-sub--dialog { display: none; }
}
.aurora-stage-corners { position: absolute; z-index: 3; inset: 12px; pointer-events: none; transition: opacity 300ms ease; }
.aurora-stage-corners i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(120,247,232,.7); }
.aurora-stage-corners i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.aurora-stage-corners i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.aurora-stage-corners i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.aurora-stage-corners i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.aurora-stage[data-state="live"] .aurora-stage-corners { opacity: 0; }
.aurora-stage-loading { position: absolute; z-index: 4; inset: 0; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 24px; background: rgba(3,8,12,.8); backdrop-filter: blur(4px); color: var(--neo-silver-bright); font-size: .88rem; line-height: 1.8; text-align: center; }
.aurora-stage-loading[hidden] { display: none; }
.aurora-stage-loading p { margin: 0; }
.aurora-stage-meter { position: relative; width: min(240px,60%); height: 2px; overflow: hidden; background: rgba(120,247,232,.18); }
.aurora-stage-meter::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--neo-tiffany); animation: aurora-meter 1.2s ease-in-out infinite; }
@keyframes aurora-blink { 50% { opacity: .25; } }
@keyframes aurora-live { 0% { box-shadow: 0 0 0 0 rgba(120,247,232,.55); } 100% { box-shadow: 0 0 0 8px rgba(120,247,232,0); } }
@keyframes aurora-press { 50% { opacity: .55; } }
@keyframes aurora-meter { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) .aurora-stage *, html:not([data-motion="on"]) .aurora-stage::after { animation: none !important; transition: none !important; }
}
html[data-motion="off"] .aurora-press { animation: none; }
.aurora-feature-copy { min-width: 0; }
.neo-home .aurora-feature-copy h3 { margin: 0; color: var(--neo-gold-light); font: 700 clamp(2.1rem,3.6vw,3.5rem)/1.02 'Chakra Petch',sans-serif; letter-spacing: -.025em; background: none; -webkit-text-fill-color: currentColor; text-shadow: none; }
.aurora-feature-copy h3 span { display: block; }
.aurora-name-ja { margin: 12px 0 0; color: var(--neo-silver-bright); font-size: .85rem; letter-spacing: .06em; }
.aurora-game-description { margin: 22px 0; color: var(--neo-silver); line-height: 1.85; font-size: 1rem; text-wrap: pretty; }
.aurora-game-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; padding: 0 0 20px; margin: 0; border-bottom: 1px solid rgba(220,232,232,.16); color: var(--neo-silver); font-size: .74rem; line-height: 1.8; }
.aurora-game-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 22px; }
.aurora-launch[hidden] { display: none !important; }
#aurora-game .aurora-launch { min-height: 50px; padding-inline: 24px; font-size: .95rem; gap: 14px; }
.aurora-external-link, .aurora-consult-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; line-height: 1.6; text-decoration: none; }
.aurora-external-link { color: var(--neo-tiffany); font-size: .85rem; }
.aurora-consult-link { margin-top: 8px; color: var(--neo-silver); font-size: .8rem; }
.aurora-external-link:hover, .aurora-consult-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.aurora-external-link:focus-visible, .aurora-consult-link:focus-visible { outline: 2px solid #78f7e8; outline-offset: 3px; }
.aurora-play-note { color: var(--neo-silver); margin: 24px auto 0; text-align: center; font-size: .76rem; line-height: 1.8; text-wrap: balance; }
.aurora-player { width: min(1480px,calc(100vw - 32px)); height: min(920px,calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid rgba(120,247,232,.4); border-radius: 10px; background: #030506; color: #e6eeee; overflow: hidden; }
.aurora-player:not([open]) { display: none; }
.aurora-player[open] { display: grid; grid-template-rows: 64px minmax(0,1fr); }
.aurora-player::backdrop { background: rgba(0,0,0,.92); }
.aurora-player-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; padding: 8px 18px; background: #030506; border-bottom: 1px solid rgba(120,247,232,.25); }
.aurora-player-toolbar > div { min-width: 0; }
.aurora-player-toolbar > div > span { display: block; color: #78f7e8; font-size: .54rem; letter-spacing: .16em; }
.aurora-player-toolbar h2 { margin: 2px 0 0; color: #e6eeee; font: 600 .85rem/1.3 'Chakra Petch',sans-serif; background: none; -webkit-text-fill-color: currentColor; text-shadow: none; white-space: nowrap; }
.aurora-player-toolbar > a, .aurora-player-toolbar > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 52px; color: #78f7e8; text-decoration: none; font: 500 .78rem/1.5 'Noto Sans JP',sans-serif; }
.aurora-player-toolbar > button { border: 1px solid rgba(120,247,232,.4); border-radius: 6px; background: #081313; padding: 8px 16px; cursor: pointer; }
.aurora-player-toolbar > button:hover { background: #12302d; }
.aurora-player-toolbar > a:focus-visible, .aurora-player-toolbar > button:focus-visible { outline: 2px solid #78f7e8; outline-offset: 3px; }
.aurora-player-host { position: relative; min-width: 0; min-height: 0; background: #08172d; }
.aurora-player-host iframe { display: block; border: 0; width: 100%; height: 100%; }
.aurora-player-loading { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: #08172d; color: #e2eeee; font-size: .9rem; line-height: 1.8; }
.aurora-player-loading[hidden] { display: none; }
@media (max-width:900px) {
  .aurora-feature-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .aurora-feature-copy { text-align: center; max-width: 600px; margin: auto; }
  .neo-home .aurora-feature-copy h3 span { display: inline; }
  .neo-home .aurora-feature-copy h3 span + span::before { content: ' '; }
  .aurora-game-facts, .aurora-game-actions { justify-content: center; align-items: center; }
  .aurora-feature-screen { max-width: 820px; margin-inline: auto; }
}
@media (max-width:600px) {
  .aurora-feature { padding-block: 48px; }
  .aurora-feature-head { margin-bottom: 24px; }
  .neo-home #aurora-game h2 { font-size: clamp(1.55rem,6.8vw,2rem); }
  .aurora-feature-head > p { font-size: .95rem; }
  .neo-home .aurora-feature-copy h3 { font-size: clamp(1.75rem,7.8vw,2.5rem); line-height: 1.2; }
  .aurora-stage-bar { min-height: 40px; gap: 12px; padding-left: 12px; }
  .aurora-stage-signal { min-width: 0; }
  .aurora-stage-name { font-size: .66rem; text-align: right; }
  .aurora-stage-name span { display: none; }
  .aurora-preview::before { background: linear-gradient(180deg, rgba(3,8,10,0) 40%, rgba(3,8,10,.86) 82%, rgba(3,8,10,.95) 100%); }
  .aurora-preview-start { left: 16px; right: 16px; bottom: 14px; column-gap: 14px; row-gap: 0; }
  .aurora-play-ring { width: 44px; height: 44px; }
  .aurora-play-ring::after { inset: -5px; }
  .aurora-play-ring svg { width: 18px; height: 18px; margin-left: 3px; }
  .aurora-press { font-size: .8rem; letter-spacing: .22em; }
  .aurora-press-sub { font-size: .74rem; }
  .aurora-stage-corners { display: none; }
  .aurora-feature-screen figcaption { font-size: .7rem; }
  .aurora-game-description { margin-block: 16px; }
  .aurora-game-actions { margin-top: 18px; }
  #aurora-game .aurora-launch { width: 100%; }
  .aurora-game-facts { font-size: .72rem; gap: 6px 12px; }
  .aurora-player { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .aurora-player[open] { grid-template-rows: 56px minmax(0,1fr); }
  .aurora-player-toolbar { gap: 8px; padding: 6px 10px; }
  .aurora-player-toolbar > div > span { display: none; }
  .aurora-player-toolbar h2 { font-size: .76rem; }
  .aurora-player-toolbar > button { padding-inline: 10px; font-size: .72rem; }
  .aurora-player-toolbar > a { font-size: .7rem; min-width: 46px; }
}

/* Second game (カナタ・リフレイン): the same playable game screen and copy as above, mirrored on wide screens. */
.kanata-feature { margin-top: 64px; padding-top: 64px; border-top: 1px solid rgba(220,232,232,.12); scroll-margin-top: 88px; }
#kanata-game .aurora-feature-screen { width: 100%; }
@media (min-width:901px) {
  #kanata-game .aurora-feature-layout { grid-template-columns: minmax(280px,1fr) minmax(0,1.8fr); }
  #kanata-game .aurora-feature-screen { grid-column: 2; grid-row: 1; }
  #kanata-game .aurora-feature-copy { grid-column: 1; grid-row: 1; }
}
@media (max-width:600px) {
  .kanata-feature { margin-top: 48px; padding-top: 48px; }
}
