:root {
  color-scheme: dark;
  --sl-bg: #080712; --sl-text: #f8f6ff; --sl-muted: #afb0c6; --sl-line: #ffffff24;
  --sl-blue: #e8ff00; --sl-pink: #ff2b9a; --sl-purple: #7c3aed; --sl-ink: #18122e;
  --site-header-height: 80px; --site-accent: #d7ff00;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--sl-text); background: var(--sl-bg); font-family: Inter, 'Segoe UI', 'Noto Sans JP', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
audio { max-width: 100%; }
button, input, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #39bfee; outline-offset: 5px; }
[id] { scroll-margin-top: calc(var(--site-header-height) + 32px); }
.site-skip { position: fixed; top: 8px; left: 8px; z-index: 1100; padding: 12px 18px; background: #d7ff00; color: #0b0b10; transform: translateY(-170%); }
.site-skip:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--site-header-height); display: flex; align-items: center; gap: 26px; padding: 0 clamp(18px, 4vw, 64px); background: #080b16ee; color: #f8f6ff; border-bottom: 1px solid #ffffff24; backdrop-filter: blur(18px); }
.site-brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; white-space: nowrap; }
.site-brand span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d7ff0066; color: #d7ff00; font-size: .75rem; font-weight: 900; }
.site-brand strong { font-size: 1rem; letter-spacing: .02em; }
.site-desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: .79rem; font-weight: 700; }
.site-header a, .site-header summary { text-decoration: none; }
.site-header a:hover, .site-header a[aria-current], .site-header summary:hover { color: #d7ff00; }
.site-dropdown { position: relative; }
.site-dropdown summary { cursor: pointer; list-style: none; padding: 14px 0; }
.site-dropdown summary::after { content: ' ＋'; color: #d7ff00; }
.site-dropdown[open] summary::after { content: ' −'; }
.site-dropdown > div { position: absolute; top: 100%; left: -18px; min-width: 225px; display: grid; padding: 12px; border: 1px solid #ffffff33; background: #101323; box-shadow: 0 18px 50px #0006; }
.site-dropdown > div a { padding: 14px 12px; }
.site-store { border: 1px solid #d7ff0066; padding: 12px 16px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.site-mobile-nav { display: none; }
.site-footer { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 40px; padding: 60px clamp(24px, 5vw, 80px); background: #080b16; border-top: 1px solid #ffffff24; color: #c9ccdf; font-size: .8rem; line-height: 1.8; }
.site-footer__brand { color: #fff; font-size: 1.4rem; font-weight: 900; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 14px 24px; }
.site-footer > div:last-child { display: grid; align-content: start; gap: 14px; }
.site-footer a:hover { color: #d7ff00; }
.site-related { margin: 0; padding: 44px clamp(24px, 5vw, 80px); background: #12182a; color: #f7f8ff; }
.site-related > p { color: #b4bad1; }
.site-related nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-related a { padding: 15px 20px; border: 1px solid #ffffff40; }
.site-media-status { position: fixed; z-index: 1100; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 13px 20px; border: 1px solid #ffffff40; background: #111726; color: #fff; box-shadow: 0 8px 32px #0008; font-size: .8rem; }
.site-image-failure { display: block; position: relative; z-index: 1; padding: 16px; background: #202633; color: #f8f7ff; font-size: .75rem; line-height: 1.7; }
@media (max-width: 1050px) {
  :root { --site-header-height: 68px; }
  .site-header { gap: 14px; }
  .site-desktop-nav { display: none; }
  .site-mobile-nav { display: block; }
  .site-mobile-nav > summary { cursor: pointer; padding: 14px 0 14px 10px; font-size: .7rem; font-weight: 800; list-style: none; }
  .site-mobile-nav > nav { position: absolute; inset: 100% 0 auto; max-height: calc(100svh - var(--site-header-height)); overflow-y: auto; padding: 18px 24px 26px; background: #101323; border-bottom: 1px solid #ffffff40; display: grid; gap: 4px; }
  .site-mobile-nav > nav > a { padding: 14px 0; }
  .site-mobile-nav .site-dropdown > div { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 1px solid #ffffff30; padding: 0 0 0 12px; }
}
@media (max-width: 600px) {
  .site-brand { gap: 8px; }
  .site-brand strong { font-size: .9rem; }
  .site-store { padding: 10px; font-size: .65rem; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
