:root {
  --bg: #1b2838;
  --panel: #171a21;
  --panel-2: #11141a;
  --text: #c7d5e0;
  --muted: rgba(199, 213, 224, 0.72);
  --faint: rgba(199, 213, 224, 0.16);
  --line: rgba(102, 192, 244, 0.16);
  --accent: #66c0f4;
  --accent-2: #2f89bc;
  --good: #a4d007;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --focus: 0 0 0 3px rgba(102, 192, 244, 0.35);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1100px 520px at 20% 0%, rgba(102, 192, 244, 0.1), transparent 60%),
    radial-gradient(900px 420px at 85% 15%, rgba(164, 208, 7, 0.07), transparent 65%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  transform: translateY(-160%);
  background: rgba(23, 26, 33, 0.96);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--shadow-soft), var(--focus);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(23, 26, 33, 0.92), rgba(23, 26, 33, 0.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
  opacity: 0.96;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 20, 26, 0.7);
  border: 1px solid rgba(102, 192, 244, 0.18);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.search:focus-within {
  border-color: rgba(102, 192, 244, 0.4);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), var(--focus);
}

.search-input {
  width: clamp(120px, 18vw, 240px);
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search-input::placeholder {
  color: rgba(199, 213, 224, 0.55);
}

.icon-btn {
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(199, 213, 224, 0.7);
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 8px;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.icon-btn:hover {
  background: rgba(102, 192, 244, 0.1);
  color: var(--text);
}
.icon-btn:focus-visible {
  box-shadow: var(--focus);
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 160ms var(--ease), box-shadow 180ms var(--ease), background 160ms var(--ease),
    color 160ms var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 192, 244, 0.35), 0 12px 22px rgba(0, 0, 0, 0.35);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(102, 192, 244, 0.9), rgba(47, 137, 188, 0.92));
  color: #081018;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(102, 192, 244, 0.18), 0 12px 22px rgba(0, 0, 0, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
}
.btn-sm {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}

/* Hero */
.site-main {
  min-height: calc(100vh - var(--header-h));
}

.hero {
  padding: 26px 0 14px;
}

.hero-inner {
  display: block;
}

.carousel {
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.88), rgba(23, 26, 33, 0.72));
  border: 1px solid rgba(102, 192, 244, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel-top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  min-height: 360px;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  outline: none;
  background: radial-gradient(700px 380px at 10% 0%, rgba(102, 192, 244, 0.12), transparent 60%),
    rgba(17, 20, 26, 0.55);
}
.carousel-viewport:focus-visible {
  box-shadow: inset var(--focus);
}

.carousel-track {
  height: 100%;
  width: 100%;
  display: flex;
  transition: transform 520ms var(--ease);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  position: relative;
}

.slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* 画像の上に軽いスクリム（明るすぎる背景でも文字が読める程度に抑える） */
.slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 48%, transparent 72%),
    linear-gradient(180deg, transparent 0%, transparent 48%, rgba(0, 0, 0, 0.14) 68%, rgba(0, 0, 0, 0.42) 100%);
}

.slide-media-img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.12) contrast(1.02);
}

.slide-caption {
  position: absolute;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: fit-content;
  max-width: min(24rem, calc(100% - 32px));
  padding: 10px 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(8, 12, 18, 0.42) 0%, rgba(8, 12, 18, 0.68) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slide-title {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0.01em;
  color: var(--text);
  max-width: 22rem;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(199, 213, 224, 0.88);
  background: rgba(102, 192, 244, 0.1);
  border: 1px solid rgba(102, 192, 244, 0.18);
}
.tag.is-hot {
  background: rgba(164, 208, 7, 0.1);
  border-color: rgba(164, 208, 7, 0.22);
  color: rgba(199, 213, 224, 0.92);
}

/* ヒーロー上のタグ（プレートより一段だけ強調。全体的に抑えめ） */
.slide-caption .tag {
  color: rgba(232, 238, 244, 0.95);
  background: rgba(12, 16, 22, 0.5);
  border-color: rgba(102, 192, 244, 0.32);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.slide-caption .tag.is-hot {
  color: rgba(240, 246, 232, 0.95);
  background: rgba(18, 28, 12, 0.55);
  border-color: rgba(164, 208, 7, 0.34);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.carousel-meta {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 18px 18px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(165deg, rgba(17, 20, 26, 0.97) 0%, rgba(23, 26, 33, 0.94) 45%, rgba(17, 26, 38, 0.98) 100%),
    radial-gradient(700px 380px at 100% 0%, rgba(102, 192, 244, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(23, 26, 33, 0.98), rgba(17, 20, 26, 0.99));
  display: grid;
  gap: 12px;
  isolation: isolate;
}

.meta-title {
  font-weight: 780;
  letter-spacing: 0.01em;
  font-size: 18px;
}
.meta-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.shots-panel {
  margin-top: 2px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(102, 192, 244, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 20, 26, 0.75) 0%, rgba(23, 26, 33, 0.55) 100%),
    radial-gradient(520px 220px at 50% 0%, rgba(102, 192, 244, 0.1), transparent 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

button.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(17, 20, 26, 0.7);
  border: 1px solid rgba(102, 192, 244, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
button.shot:focus-visible {
  outline: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25), var(--focus);
}
button.shot:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 192, 244, 0.28);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
}
button.shot img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.meta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(102, 192, 244, 0.95), rgba(47, 137, 188, 0.95));
  color: #061018;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 820;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 34px rgba(102, 192, 244, 0.16), 0 12px 22px rgba(0, 0, 0, 0.35);
  transition: transform 170ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease);
}
.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 24px 44px rgba(102, 192, 244, 0.2), 0 16px 30px rgba(0, 0, 0, 0.4);
}
.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 192, 244, 0.35), 0 24px 44px rgba(102, 192, 244, 0.2),
    0 16px 30px rgba(0, 0, 0, 0.4);
}

.cta::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(220px 80px at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.cta:hover::after {
  opacity: 1;
}

.meta-hint {
  color: rgba(199, 213, 224, 0.65);
  font-size: 12px;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 20, 26, 0.45);
}

.car-btn {
  height: 38px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid rgba(102, 192, 244, 0.16);
  background: rgba(23, 26, 33, 0.55);
  color: rgba(199, 213, 224, 0.85);
  cursor: pointer;
  font-size: 20px;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.car-btn:hover {
  transform: translateY(-1px);
  background: rgba(102, 192, 244, 0.09);
  border-color: rgba(102, 192, 244, 0.3);
}
.car-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(102, 192, 244, 0.25);
  background: rgba(102, 192, 244, 0.14);
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease),
    width 200ms var(--ease);
}
.dot:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 192, 244, 0.45);
  background: rgba(102, 192, 244, 0.2);
}
.dot.is-active {
  width: 26px;
  background: rgba(102, 192, 244, 0.45);
  border-color: rgba(102, 192, 244, 0.7);
}

/* Store layout */
.store {
  padding: 18px 0 34px;
}

.store-inner {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  display: grid;
  gap: 12px;
}

.panel {
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.9), rgba(23, 26, 33, 0.72));
  border: 1px solid rgba(102, 192, 244, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.panel.subtle {
  background: rgba(23, 26, 33, 0.55);
}
.panel-title {
  font-weight: 780;
  letter-spacing: 0.01em;
  font-size: 13px;
  color: rgba(199, 213, 224, 0.92);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.panel-text {
  margin: 0;
  color: rgba(199, 213, 224, 0.72);
  font-size: 13px;
}

kbd {
  font: inherit;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(102, 192, 244, 0.2);
  background: rgba(17, 20, 26, 0.55);
  color: rgba(199, 213, 224, 0.9);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1px solid rgba(102, 192, 244, 0.16);
  background: rgba(17, 20, 26, 0.55);
  color: rgba(199, 213, 224, 0.88);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 192, 244, 0.32);
  background: rgba(102, 192, 244, 0.08);
}
.chip.is-active {
  border-color: rgba(102, 192, 244, 0.6);
  background: rgba(102, 192, 244, 0.16);
  box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.12);
}
.chip:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.filter-list {
  display: grid;
  gap: 10px;
}
.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 20, 26, 0.35);
  transition: border-color 160ms var(--ease), background 160ms var(--ease), transform 160ms var(--ease);
}
.check:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 192, 244, 0.24);
  background: rgba(102, 192, 244, 0.06);
}
.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.check label {
  color: rgba(199, 213, 224, 0.86);
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
}
.check:has(input:focus-visible) {
  box-shadow: var(--focus);
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.content {
  display: grid;
  gap: 12px;
}

.content-head {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 820;
  letter-spacing: 0.01em;
}
.page-subtitle {
  margin: 6px 0 0;
  color: rgba(199, 213, 224, 0.68);
  font-size: 14px;
}

.select {
  border: 1px solid rgba(102, 192, 244, 0.18);
  background: rgba(17, 20, 26, 0.55);
  color: rgba(199, 213, 224, 0.9);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  transition: box-shadow 160ms var(--ease), border-color 160ms var(--ease);
}
.select:focus-visible {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25), var(--focus);
  border-color: rgba(102, 192, 244, 0.4);
}

.result-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17, 20, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.muted {
  color: rgba(199, 213, 224, 0.65);
}
.result-sep {
  color: rgba(199, 213, 224, 0.35);
}
.active-filters {
  color: rgba(199, 213, 224, 0.88);
  font-weight: 650;
}

/* Game grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.92), rgba(17, 20, 26, 0.78));
  border: 1px solid rgba(102, 192, 244, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
  transition: transform 200ms var(--ease), box-shadow 240ms var(--ease), border-color 200ms var(--ease);
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 320px;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 192, 244, 0.28);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
}

.card:focus-within {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42), var(--focus);
}

.card-media {
  position: relative;
}
.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 10px rgba(238, 90, 36, 0.5);
  pointer-events: none;
}
.slide-media .badge-new {
  top: 12px;
  left: 12px;
  z-index: 3;
}
.card-title-row,
.meta-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-title-row .badge-new,
.meta-title-row .badge-new {
  position: static;
  font-size: 10px;
  padding: 4px 7px;
}
.card-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.46) 75%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.card-body {
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.card-title {
  font-weight: 820;
  letter-spacing: 0.01em;
  margin: 0;
  font-size: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(199, 213, 224, 0.86);
  background: rgba(102, 192, 244, 0.08);
  border: 1px solid rgba(102, 192, 244, 0.14);
}
.pill.alt {
  background: rgba(164, 208, 7, 0.08);
  border-color: rgba(164, 208, 7, 0.16);
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

a.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.play {
  position: relative;
  border: 0;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 12px;
  color: #061018;
  font-weight: 860;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(102, 192, 244, 0.95), rgba(47, 137, 188, 0.95));
  box-shadow: 0 14px 26px rgba(102, 192, 244, 0.16), 0 12px 22px rgba(0, 0, 0, 0.32);
  transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease);
  overflow: hidden;
}
.play:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 20px 36px rgba(102, 192, 244, 0.2), 0 16px 28px rgba(0, 0, 0, 0.38);
}
.play:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 192, 244, 0.35), 0 20px 36px rgba(102, 192, 244, 0.2),
    0 16px 28px rgba(0, 0, 0, 0.38);
}
.play::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(200px 90px at 30% 20%, rgba(255, 255, 255, 0.42), transparent 58%);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.play:hover::after {
  opacity: 1;
}

.hint {
  color: rgba(199, 213, 224, 0.58);
  font-size: 12px;
  font-weight: 650;
}

.empty {
  border-radius: var(--radius);
  border: 1px dashed rgba(102, 192, 244, 0.22);
  background: rgba(17, 20, 26, 0.4);
  padding: 18px;
  color: rgba(199, 213, 224, 0.74);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 20, 26, 0.55);
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  font-weight: 860;
  letter-spacing: 0.02em;
}
.footer-text {
  color: rgba(199, 213, 224, 0.65);
  font-size: 13px;
}
.footer-right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-link {
  color: rgba(102, 192, 244, 0.88);
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
  text-decoration: underline;
  text-decoration-color: rgba(102, 192, 244, 0.22);
  text-underline-offset: 3px;
}
.footer-link:hover {
  color: rgba(102, 192, 244, 1);
  text-decoration-color: rgba(102, 192, 244, 0.6);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(23, 26, 33, 0.92);
  border: 1px solid rgba(102, 192, 244, 0.22);
  box-shadow: var(--shadow);
  color: rgba(199, 213, 224, 0.92);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  max-width: min(560px, calc(100% - 24px));
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Screenshot lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--ease), visibility 220ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(8, 12, 18, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  max-height: min(92vh, 900px);
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(102, 192, 244, 0.22);
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.98), rgba(17, 20, 26, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(102, 192, 244, 0.2);
  background: rgba(17, 20, 26, 0.85);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.lightbox-close:hover {
  background: rgba(102, 192, 244, 0.12);
  border-color: rgba(102, 192, 244, 0.35);
  transform: translateY(-1px);
}
.lightbox-close:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.lightbox-img {
  width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lightbox-caption {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  padding-inline: 36px;
}

/* Responsive */
@media (max-width: 1020px) {
  .header-inner {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .search-input {
    width: min(320px, 52vw);
  }

  .carousel-top {
    grid-template-columns: 1fr;
  }
  .carousel-meta {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .shots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  button.shot img {
    height: 80px;
  }
  .store-inner {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    top: 0;
    order: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }
  .search-input {
    width: min(240px, 58vw);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slide-title {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
  .search-input {
    width: 120px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .carousel-track {
    transition-duration: 0.001ms !important;
  }
}

/* Legal pages（利用規約・プライバシーポリシー） */
.legal-page {
  padding: 28px 0 48px;
}

.legal-inner {
  max-width: 42rem;
  margin-inline: auto;
}

.legal-inner h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.legal-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-inner h2 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
  font-weight: 780;
  color: rgba(199, 213, 224, 0.95);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(102, 192, 244, 0.2);
}

.legal-inner h2:first-of-type {
  margin-top: 20px;
}

.legal-inner h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 720;
  color: rgba(199, 213, 224, 0.9);
}

.legal-inner p,
.legal-inner li {
  margin: 0 0 12px;
  color: rgba(199, 213, 224, 0.88);
  font-size: 0.95rem;
}

.legal-inner ul,
.legal-inner ol {
  margin: 0 0 14px 1.1rem;
  padding: 0;
}

.legal-inner li {
  margin-bottom: 8px;
}

.legal-inner a {
  color: rgba(102, 192, 244, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-inner a:hover {
  color: var(--accent);
}

.legal-note {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(102, 192, 244, 0.16);
  background: rgba(17, 20, 26, 0.55);
  font-size: 0.9rem;
  color: rgba(199, 213, 224, 0.78);
}

.legal-inner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(102, 192, 244, 0.15);
}

.legal-meta {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: rgba(199, 213, 224, 0.65);
}

.legal-back {
  display: inline-block;
  margin-top: 20px;
  font-weight: 650;
}

.legal-page-header .back-to-store {
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(102, 192, 244, 0.22);
  background: rgba(17, 20, 26, 0.55);
  color: rgba(102, 192, 244, 0.95);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}

.legal-page-header .back-to-store:hover {
  background: rgba(102, 192, 244, 0.1);
  border-color: rgba(102, 192, 244, 0.38);
}
