:root {
  --color-bg: #fffeee;
  --color-surface: #ffffff;
  --color-text: #2b2b2b;
  --color-muted: #6b6b6b;
  --color-line: #d8d8d8;
  --color-card: #ffffff;
  --color-placeholder: #c7c7c7;
  --color-placeholder-text: #5a5a5a;
  --color-accent: #f4a93b;
  --color-accent-deep: #e08a14;
  --max-width: 1100px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ============== HEADER ============== */
.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  max-width: none;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  flex-shrink: 0;
  transition: transform .15s;
}
.logo:hover { transform: translateY(-2px); }
.site-header .logo { transform: translateX(30px); }
.site-header .logo:hover { transform: translateX(30px) translateY(-2px); }
.logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.global-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}
.global-nav li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  flex: 1 1 0;
  min-width: 140px;
}
.global-nav li::before,
.global-nav li:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 70%;
  background-image: url('../images/line.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.global-nav li::before { left: 0; }
.global-nav li:last-child::after { right: 0; }
.global-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-accent-deep);
  transition: transform .15s, color .2s;
}
.global-nav a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}
.nav-icon {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--color-text);
  transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============== HERO ============== */
.hero { background: var(--color-bg); }
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 16px;
}
/* 画面いっぱい用 */
.hero-full {
  padding: 0;
  margin: 0;
  width: 100%;
  line-height: 0;
  font-size: 0;
  position: relative;
}
.hero-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  z-index: 0;
}
.hero-fullimage {
  display: block;
  width: 100%;
  height: auto;
  margin: -20px 0 0;
  padding: 0;
  vertical-align: top;
  position: relative;
  z-index: 1;
}

/* シャボン玉アニメーション */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.bubble {
  position: absolute;
  bottom: 15%;
  width: 180px;
  height: auto;
  animation: bubble-rise linear forwards;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}
@keyframes bubble-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  20% {
    transform: translateY(calc(-1 * var(--rise, 700px) * 0.2)) translateX(calc(var(--sway, 80px) * var(--dir, 1)));
  }
  40% {
    transform: translateY(calc(-1 * var(--rise, 700px) * 0.4)) translateX(0);
  }
  60% {
    transform: translateY(calc(-1 * var(--rise, 700px) * 0.6)) translateX(calc(var(--sway, 80px) * var(--dir, 1)));
  }
  75% {
    transform: translateY(calc(-1 * var(--rise, 700px) * 0.75)) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(calc(-1 * var(--rise, 700px))) translateX(calc(var(--sway, 80px) * var(--dir, 1) * 0.6));
    opacity: 0;
  }
}
main { display: block; margin: 0; padding: 0; }
.hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--color-placeholder);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 32px);
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
}
.hero-image .hero-text small {
  display: block;
  margin-top: 8px;
  font-size: 0.6em;
  font-weight: 500;
}
.hero-copy {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.hero-tag {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}
.hero-cta {
  display: inline-block;
  padding: 12px 26px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .2s;
}
.hero-cta:hover { background: var(--color-accent-deep); transform: translateY(-1px); }

/* ============== SECTION COMMON ============== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 20px 44px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: 0.05em;
}
.section-title-image {
  text-align: center;
  margin: 0 0 24px;
  line-height: 0;
}
.section-title-image img {
  display: inline-block;
  height: clamp(40px, 5vw, 66px);
  width: auto;
  vertical-align: middle;
}
.character-heading .section-title-image img {
  height: clamp(30px, 4vw, 56px);
  transform: translateX(-10px);
}
@media (max-width: 1700px) {
  .character-heading .section-title-image img {
    transform: translateX(90px);
  }
}
.section.game .section-title-image img {
  height: clamp(32px, 4.2vw, 58px);
  transform: translateX(-25px);
}
@media (max-width: 1700px) {
  .section.game .section-title-image img {
    transform: translateX(75px);
  }
}
.section.reasons .section-title-image img {
  height: clamp(33px, 4.3vw, 59px);
}
@media (max-width: 1700px) {
  .section.reasons .section-title-image img {
    transform: translateX(90px);
  }
}

/* ============== GAME ============== */
.section.game {
  position: relative;
  overflow: visible;
  padding-top: 0;
  margin-top: -40px;
}
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.deco-left-flags {
  top: -73px;
  left: calc(50% - 50vw + 5px);
  width: clamp(220px, 26vw, 360px);
  height: auto;
}
.deco-tsumiki {
  bottom: 170px;
  left: calc(50% - 50vw + 110px);
  width: clamp(60px, 7vw, 90px);
  height: auto;
}
.game .section-title,
.game-content {
  position: relative;
  z-index: 1;
}
.game-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 8px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  transform: translateX(30px);
}
.game-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.game-lead { text-align: center; max-width: 590px; margin: 0 auto 0 0; }
.lead-bubble {
  display: block;
  margin: 0 auto 18px;
  width: 100%;
  max-width: 570px;
  height: auto;
  transform: translateX(10px);
}
.lead-body {
  font-size: clamp(12px, 1.3vw, 14px);
  color: #603813;
  margin: 0;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0;
  transform: translateX(5px);
}
/* text.png 画像版（PC は非表示、スマホ/iPad のみ表示） */
.lead-body-image {
  display: none;
}
/* 改行 br をデバイスごとに使い分け */
.br-mb { display: none; }
.br-pc { display: inline; }
@media (max-width: 1024px) {
  .br-mb { display: inline; }
  .br-pc { display: none; }
}
@media (min-width: 901px) {
  .lead-body { white-space: nowrap; }
}

/* iPhone風モックアップ */
.phone-frame {
  background: #1c1c1e;
  border: none;
  border-radius: 40px;
  padding: 5px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px #0a0a0a;
  width: 100%;
  max-width: 300px;
  justify-self: center;
  position: relative;
}
/* サイドボタン（音量・電源） */
.phone-frame::before,
.phone-frame::after {
  content: "";
  position: absolute;
  background: #1c1c1e;
  border-radius: 2px;
  z-index: -1;
}
.phone-frame::before {
  /* 左サイドの音量ボタン */
  left: -3px;
  top: 110px;
  width: 4px;
  height: 56px;
}
.phone-frame::after {
  /* 右サイドの電源ボタン */
  right: -3px;
  top: 130px;
  width: 4px;
  height: 70px;
}
.phone-screen {
  background: var(--color-placeholder);
  border-radius: 34px;
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-weight: 700;
  overflow: hidden;
  position: relative;
}
/* Dynamic Island風ノッチ */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}
/* ホームインジケーター */
.phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
/* ブラウザ標準コントロールの不要ボタンを完全に非表示 */
.phone-video::-webkit-media-controls-fullscreen-button { display: none !important; }
.phone-video::-webkit-media-controls-picture-in-picture-button { display: none !important; }
.phone-video::-webkit-media-controls-overflow-button { display: none !important; }
.phone-video::-webkit-media-controls-enclosure { overflow: hidden; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  align-items: center;
  justify-items: center;
  max-width: 590px;
  margin: 0 auto 0 0;
  transform: translateX(5px);
}
.feature-ball {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  transition: transform .2s;
}
.feature-ball:hover { transform: translateY(-3px); }
.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}
.feature-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ============== REASONS ============== */
.reasons {
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: url('../images/short_background%20.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  max-width: none;
  position: relative;
  overflow: visible;
}
.reasons .section-title { text-align: center; }
.deco-tsumiki-green {
  top: -50px;
  right: calc(50% - 50vw + 8px);
  width: clamp(100px, 11vw, 150px);
  height: auto;
}
.deco-tsumiki-yellow {
  bottom: -80px;
  left: calc(50% - 50vw + 6px);
  width: clamp(60px, 7vw, 90px);
  height: auto;
}
.deco-right-flags {
  bottom: -200px;
  right: 0px;
  width: clamp(220px, 26vw, 360px);
  height: auto;
  z-index: -1;
}
.section.character {
  position: relative;
  overflow: visible;
}
.deco-tsumiki-purple {
  top: calc(50% + 200px);
  right: calc(50% - 50vw + 200px);
  width: clamp(60px, 7vw, 90px);
  height: auto;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  max-width: 705px;
  margin: 0 auto;
}
.reason-ball {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  transition: transform .2s;
}
.reason-ball:hover { transform: translateY(-3px); }
.reason-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.reason-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.reason-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}
.reason-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-muted);
}

/* ============== CHARACTER ============== */
.character-heading {
  text-align: center;
  margin-bottom: 24px;
}
.character-heading .section-title { margin: 0; }
.section-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-accent-deep);
  font-weight: 700;
}

.character-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  margin: 0 auto 36px;
  max-width: 820px;
}
.character-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
}
.char-image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-weight: 700;
  text-align: center;
  transition: opacity .25s ease, transform .25s ease;
}
.character-info,
.expression-grid {
  transition: opacity .25s ease, transform .25s ease;
}
.char-image.char-fading,
.character-info.char-fading,
.expression-grid.char-fading {
  opacity: 0;
  transform: scale(0.92);
}
.char-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.char-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .15s;
}
.char-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.char-arrow:hover { transform: translateY(-50%) scale(1.08); }
.char-arrow.prev { left: 0; }
.char-arrow.next { right: 0; }

/* メモ風カード */
.character-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-card-image {
  width: 100%;
  height: auto;
  display: block;
}
/* iPad / PC のみ少し小さく（スマホには影響させない） */
@media (min-width: 721px) {
  .character-card-image {
    width: calc(100% - 50px);
    margin: 0 auto;
  }
}
/* iPad だけさらに小さく */
@media (min-width: 721px) and (max-width: 1024px) {
  .character-card-image {
    width: calc(100% - 270px);
  }
}
.memo-card {
  position: relative;
  background: #fcefd6;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.35) 0 2px, transparent 2px 8px);
  padding: 36px 32px 32px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: rotate(-0.5deg);
}
.memo-tape {
  position: absolute;
  top: -14px;
  width: 90px;
  height: 22px;
  background: rgba(244, 169, 59, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.memo-tape-left { left: 24px; transform: rotate(-6deg); }
.memo-tape-right { right: 24px; transform: rotate(5deg); }

.char-name {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--color-accent-deep);
  text-align: center;
  letter-spacing: 0.05em;
}
.char-name img {
  display: inline-block;
  max-width: 70%;
  height: auto;
  vertical-align: middle;
}
.char-desc {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  text-align: center;
}
.char-detail-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--color-accent-deep);
}
.char-detail-title .star {
  display: inline-block;
  margin: 0 6px;
  color: #e15a3a;
}
.char-detail-body {
  margin: 0;
  font-size: 13px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.9;
}

/* 表情グリッド */
.expression-wrapper {
  margin: 8px auto 0;
  max-width: 620px;
  transform: translate(-35px, -20px);
}
.expression-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 0;
  align-items: start;
  justify-items: center;
}
.expression-badge {
  background: transparent;
  color: #fff;
  border-radius: 50%;
  width: 125px;
  height: 125px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  padding: 0;
  box-shadow: none;
  letter-spacing: 0.05em;
}
.expression-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  transition: transform .2s;
}
.expression-item:hover { transform: translateY(-3px); }
.expression-item.is-clickable { cursor: pointer; }
.expression-item.is-clickable:focus-visible {
  outline: 2px solid var(--color-accent, #f4a93b);
  outline-offset: 4px;
  border-radius: 8px;
}
.expression-item.is-clickable:active { transform: translateY(0); }
.expression-image {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-size: 11px;
  font-weight: 700;
  overflow: visible;
}
.expression-image img {
  max-width: 145px;
  max-height: 145px;
  width: auto;
  height: auto;
  display: block;
}
.expression-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.expression-label {
  display: inline-block;
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.expression-label--orange { background: #e76b3a; }
.expression-label--green  { background: #7ec47e; }

/* ============== FOOTER ============== */
.site-footer {
  background-image: url('../images/under_background.png');
  background-size: calc(100% + 4px) auto;
  background-position: -2px calc(100% + 1px);
  background-repeat: no-repeat;
  background-color: transparent;
  border-top: 0;
  margin-top: -20px;
  padding-top: 14vw;
  padding-bottom: 3vw;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.footer-block { text-align: center; }
.footer-block.download { transform: translateY(60px); }
.footer-block.sns { transform: translateY(15px); }
.footer-caption {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--color-muted);
}
.footer-caption-image img {
  display: inline-block;
  height: 105px;
  width: auto;
  vertical-align: middle;
}
.download2-phrase img {
  height: 20px;
  transform: translate(150px, -25px);
}
.footer-block.download > .footer-caption-image:first-child img {
  transform: translate(105px, 0);
}
.footer-block.sns .footer-caption-image img {
  transform: translate(30px, 30px);
}
@media (max-width: 1700px) {
  .footer-block.download {
    transform: translateY(145px);
  }
  .footer-block.sns {
    transform: translateY(135px);
  }
  .footer-block.download > .footer-caption-image:first-child img {
    height: 100px;
  }
  .footer-block.sns .footer-caption-image img {
    transform: translate(-40px, -5px);
    height: 100px;
  }
  .footer-block.sns .sns-row {
    transform: translate(-40px, -30px);
  }
}
.appstore-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  background: #111;
  color: #fff;
  border-radius: var(--radius-md);
}
.appstore-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transform: translate(90px, -20px);
}
.nyack-logo-side {
  height: 80px;
  width: auto;
  display: block;
  transform: translateX(10px);
}
.appstore-button-image {
  background: transparent;
  padding: 0;
  border-radius: 0;
  max-width: 230px;
}
.appstore-button.appstore-button-image:hover { transform: translateY(-2px); background: transparent; }
.appstore-button-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .15s, background .2s;
}
.appstore-button:hover { background: #222; transform: translateY(-1px); }
.appstore-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.appstore-main {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sns-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  transform: translateX(30px);
  position: relative;
}
.sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 81px; height: 81px;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: transform .15s;
}
.sns-icon:hover { transform: translateY(-2px); }
.sns-icon span { padding: 4px; }
.sns-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sns-icon.threads img {
  transform: scale(1.25) translateY(2px);
}

.speech-bubble {
  position: relative;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--color-text);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
}
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 24px;
  border: 8px solid transparent;
  border-top-color: var(--color-text);
}
.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 26px;
  border: 6px solid transparent;
  border-top-color: #fff;
  z-index: 1;
}
.nyack-popout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--color-muted);
}

.footer-bottom {
  border-top: 0;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.under-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  transform: translate(490px, 95px);
  transform-origin: center;
  position: relative;
  z-index: 5;
}
@media (max-width: 1700px) {
  .under-nav {
    transform: translate(440px, 90px) scale(0.69);
  }
}
.under-nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform .15s;
}
.under-nav-link img {
  display: block;
  width: auto;
  height: auto;
  transition: transform .15s;
}
.under-nav-link:hover img {
  transform: translateY(-2px);
}
.under-nav-bar {
  display: block;
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.footer-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  position: relative;
}
.company-info {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  margin-left: auto;
}
.company-logo {
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 36px;
  color: #fff;
  border-radius: 4px;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1;
}
.company-text {
  font-style: normal;
  color: #fff;
  line-height: 1.6;
  font-size: 13px;
}
.company-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.company-address,
.company-tel {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer-logo {
  height: 117px;
  display: inline-block;
  transform: translate(-320px, 30px);
}
.footer-logo:hover {
  transform: translate(-320px, 28px);
}
@media (max-width: 1700px) {
  .footer-logo {
    height: 107px;
    transform: translate(-170px, 40px);
  }
  .footer-logo:hover {
    transform: translate(-170px, 38px);
  }
}
.gone-logo {
  position: absolute;
  bottom: 20px;
  right: 60px;
  height: 75px;
  width: auto;
  display: block;
}
.site-footer { position: relative; }
.copyright {
  text-align: center;
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
  flex: 1;
}

@media (max-width: 1024px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .footer-logo { height: 44px; }
  .copyright { text-align: left; width: 100%; }
}

/* ============== PHONE BUBBLES (モバイル専用 右→左 ジグザグ) ============== */
.phone-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
  display: none;
}
@media (max-width: 1024px) {
  .phone-bubbles { display: block; }
}
.phone-bubble {
  position: absolute;
  right: -80px;
  height: auto;
  /* width は JS で「元のサイズ + ボーナス」で設定。CSS では指定しない */
  animation: phone-bubble-fly linear forwards;
}
@keyframes phone-bubble-fly {
  /* X は等間隔（-15vw ずつ）に。Y はジグザグ */
  0%    { transform: translateX(0)       translateY(0); }
  12.5% { transform: translateX(-15vw)   translateY(-18px); }
  25%   { transform: translateX(-30vw)   translateY(0); }
  37.5% { transform: translateX(-45vw)   translateY(-18px); }
  50%   { transform: translateX(-60vw)   translateY(0); }
  62.5% { transform: translateX(-75vw)   translateY(-18px); }
  75%   { transform: translateX(-90vw)   translateY(0); }
  87.5% { transform: translateX(-105vw)  translateY(-18px); }
  100%  { transform: translateX(-120vw)  translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .phone-bubble { animation: none; display: none; }
}

/* ============== WAVING NYACK ============== */
.waving-nyack {
  position: fixed;
  bottom: 730px;
  right: 0;
  width: 160px;
  aspect-ratio: 319 / 296;
  z-index: 45;
  display: block;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.waving-nyack.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.waving-nyack:hover { transform: translateY(-3px); }
/* ノートPC（小画面）では bottom: 730px だと画面上端から外に出てしまうので、画面下寄りに */
@media (max-width: 1700px) {
  .waving-nyack {
    bottom: 530px;
    width: 160px;
  }
  .page-top {
    width: 180px;
    height: 180px;
  }
}
.waving-nyack .wave-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.waving-nyack .wave-up {
  animation: nyack-wave-up 0.6s steps(1) infinite;
}
.waving-nyack .wave-down {
  animation: nyack-wave-down 0.6s steps(1) infinite;
}
@keyframes nyack-wave-up {
  0%, 49.99% { opacity: 1; }
  50%, 100%  { opacity: 0; }
}
@keyframes nyack-wave-down {
  0%, 49.99% { opacity: 0; }
  50%, 100%  { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .waving-nyack .wave-up, .waving-nyack .wave-down { animation: none; }
  .waving-nyack .wave-down { opacity: 0; }
}

/* ============== PAGE TOP BUTTON ============== */
.page-top {
  position: fixed;
  right: 10px;
  bottom: 150px;
  width: 150px;
  height: 150px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 60;
}
.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-top:hover {
  transform: translateY(-3px);
}
.page-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .page-top {
    width: 190px;
    height: 190px;
    right: -25px;
    bottom: 190px;
  }
}
/* スマホ専用 (≤720px) で PAGETOP を非表示 */
@media (max-width: 720px) {
  .page-top {
    display: none;
  }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .game-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .character-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .character-stage { max-width: 320px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .reason-grid { grid-template-columns: 1fr; }
  .expression-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
    width: 45px;
    height: 45px;
    background: url('../images/mobile_pulldown.png') no-repeat center / contain;
  }
  /* 開いた状態は × の画像に切り替え */
  .nav-toggle.is-open {
    background-image: url('../images/mobile_cross.png');
  }
  /* 3本線spanは画像と入れ替えるので非表示 */
  .nav-toggle span { display: none; }
  .global-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .global-nav.is-open { max-height: 400px; }
  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .global-nav li {
    border-top: 1px solid var(--color-line);
  }
  .global-nav li:first-child { border-top: 0; }
  .global-nav li { padding: 0; }
  .global-nav li + li::before { display: none; }
  /* メニュー左右端の点線（縦点々）を非表示 */
  .global-nav li::before,
  .global-nav li:last-child::after { display: none; }
  .global-nav a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 20px;
    font-size: 16px;
  }
  .global-nav li {
    display: block !important;
    text-align: left !important;
  }
  .global-nav a {
    width: 100%;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .global-nav picture {
    display: block;
    width: auto;
    margin-right: auto;
  }
  .nav-icon {
    height: 22px;
    width: auto;
    display: block;
  }
  /* ゲーム紹介（2番目）を右に */
  .global-nav li:nth-child(2) .nav-icon { margin-left: 5px; }

  .header-inner { padding: 10px 16px; position: relative; }
  .logo { height: 48px; }
  /* iPad / タブレットはヘッダーをもう少し太く */
  @media (min-width: 721px) {
    .header-inner { padding: 20px 24px; }
    .logo { height: 64px; }
  }

  .hero-inner { padding: 16px 16px 28px; }
  .hero-image { aspect-ratio: 4 / 3; }
  .hero-copy { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-cta { align-self: center; }

  .section { padding: 28px 16px 36px; }
  .section-title { margin-bottom: 22px; }

  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 18px 16px; }

  .deco-left-flags { width: 130px; top: -33px; left: calc(50% - 50vw); }
  /* iPad は right_decoration と同じく 250px ＆ 上に */
  @media (min-width: 721px) {
    .deco-left-flags { width: 250px; top: -103px; }
  }
  .deco-tsumiki { width: 50px; bottom: 20px; left: 8px; }

  .phone-frame { max-width: 270px; padding: 4px; border-radius: 34px; transform: translate(-65px, -100px); position: relative; z-index: 20; }
  /* iPad は大きく＆右に＆上に */
  @media (min-width: 721px) {
    .phone-frame { max-width: 340px; transform: translate(-35px, -170px); }
  }
  .phone-screen { border-radius: 30px; }
  .phone-screen::before { width: 76px; height: 20px; top: 10px; }
  .phone-screen::after { width: 82px; height: 3px; bottom: 7px; }

  .char-image { max-width: 220px; }
  .char-arrow { width: 38px; height: 38px; }

  .memo-card { padding: 30px 20px 24px; }
  .char-name { font-size: 22px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 16px 20px;
  }
  .appstore-main { font-size: 18px; }
  .sns-icon { width: 64px; height: 64px; font-size: 11px; }
  .nyack-popout { width: 64px; height: 64px; font-size: 10px; }

  /* スマホでは2カラム＋順番をリファレンスに合わせる */
  /* 並び: [badge | にっこり] [すやすや | きらきら] [しくしく | へんなかお] [びっくり | ぷんぷん] */
  /* expression-wrapper の PC 用左寄せ transform を解除＋少し右に */
  .expression-wrapper { transform: translateX(10px); margin-top: -22px; }
  .expression-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* iPad は表情を大きく＆内側に＆緑バッジも同サイズに */
  @media (min-width: 721px) {
    .expression-wrapper { max-width: 430px; transform: translateX(0); }
    .expression-image { width: 185px; height: 185px; }
    .expression-image img { max-width: 185px; max-height: 185px; }
    .expression-badge { width: 155px; height: 155px; }
  }
  .expression-grid > :nth-child(1) { order: 1; }  /* badge */
  .expression-grid > :nth-child(5) { order: 2; }  /* にっこり */
  .expression-grid > :nth-child(2) { order: 3; }  /* すやすや */
  .expression-grid > :nth-child(3) { order: 4; }  /* きらきら */
  .expression-grid > :nth-child(6) { order: 5; }  /* しくしく */
  .expression-grid > :nth-child(4) { order: 6; }  /* へんなかお */
  .expression-grid > :nth-child(7) { order: 7; }  /* びっくり */
  .expression-grid > :nth-child(8) { order: 8; }  /* ぷんぷん */
  .expression-badge { font-size: 11px; padding: 0; line-height: 1.35; }
  .expression-label { font-size: 11px; padding: 3px 10px; }

  /* ===== モバイル: フッターのPC用大幅transformを解除して素直な縦並びに ===== */
  .footer-block.download {
    transform: translate(-90px, 240px);
  }
  /* iPad は下に */
  @media (min-width: 721px) {
    .footer-block.download { transform: translate(-130px, 335px); }
  }
  .footer-block.sns {
    transform: translate(90px, 51px);
  }
  /* iPad は下に */
  @media (min-width: 721px) {
    .footer-block.sns { transform: translate(120px, 91px); }
  }
  .footer-block.download > .footer-caption-image:first-child img {
    transform: translate(1px, 19px);
    height: 52px;
  }
  .appstore-button-image {
    max-width: 142px;
  }
  .download2-phrase img {
    height: 12px;
  }
  /* iPad は大きく */
  @media (min-width: 721px) {
    .footer-block.download > .footer-caption-image:first-child img { height: 77px; }
    .appstore-button-image { max-width: 202px; }
    .download2-phrase img { height: 19px; }
  }
  .footer-block.sns .footer-caption-image img {
    transform: translate(10px, 20px);
    height: 50px;
  }
  /* iPad は sns_phrase を大きく */
  @media (min-width: 721px) {
    .footer-block.sns .footer-caption-image img { height: 80px; }
  }
  .footer-block.sns .sns-row {
    transform: none;
    justify-content: center;
  }
  .sns-icon { width: 49px; height: 49px; }
  /* iPad は sns-icon を大きく */
  @media (min-width: 721px) {
    .sns-icon { width: 79px; height: 79px; }
  }
  .sns-icon.insta { transform: translateX(10px); }
  .appstore-row {
    transform: none;
    justify-content: center;
  }
  .nyack-logo-side {
    display: none;
  }
  .download2-phrase img {
    transform: translateY(-13px);
  }
  .under-nav {
    transform: translate(109px, 50px);
    gap: 6px;
  }
  /* iPad は下に */
  @media (min-width: 721px) {
    .under-nav { transform: translate(270px, 140px); }
  }
  .under-nav-link img { height: 9px; width: auto; }
  .under-nav-bar { height: 15px; width: auto; }
  /* iPad は少し大きく */
  @media (min-width: 721px) {
    .under-nav-link img { height: 18px; }
    .under-nav-bar { height: 24px; }
  }
  .footer-logo {
    transform: translateY(5px);
  }
  /* iPad は下に＆大きく */
  @media (min-width: 721px) {
    .footer-logo { transform: translateY(110px); height: 74px; }
    .footer-logo:hover { transform: translateY(108px); }
  }
  .footer-logo:hover {
    transform: translateY(3px);
  }

  /* ===== モバイル: 手振りニャックを画面上部（ヘッダー下）に配置 ＆ 常時表示 ===== */
  .waving-nyack {
    width: 180px;
    top: calc(25svh - 97px);
    bottom: auto;
    right: -3px;
  }
  /* iPad は 2.png のアスペクト比 (76/162) に合わせて container のサイズも調整 */
  @media (min-width: 721px) {
    .waving-nyack {
      width: 110px;
      aspect-ratio: 76 / 162;
    }
  }
  /* スマホ専用 (≤720px) で手振りニャックを大きく＆右に */
  @media (max-width: 720px) {
    .waving-nyack { width: 240px; right: -71px; }
  }

  /* ===== モバイル: 特徴ボール（オレンジ）を縦1列に ===== */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100vw + 34px);
    max-width: 470px;
    justify-self: center;
    margin: 0 auto;
    transform: translate(-61px, -105px);
  }
  /* iPad の位置 */
  @media (min-width: 721px) {
    .feature-grid { transform: translate(-30px, -170px); }
  }
  .feature-grid picture {
    display: block;
    width: 100%;
  }
  .feature-ball {
    max-width: none;
    width: calc(100% - 100px);
    margin: 0 auto;
    display: block;
  }
  /* iPad は 20px 大きく */
  @media (min-width: 721px) {
    .feature-ball { width: calc(100% - 60px); }
  }

  /* ===== モバイル: 安心ポイントの白ボールも同じく縮小 ===== */
  .reason-grid {
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }
  .reason-ball {
    max-width: 260px;
    margin: 0 auto;
  }

  /* ===== モバイル: reasons セクションの背景を切替 ===== */
  .reasons { background-image: url('../images/short_background%202.png'); }

  /* ===== モバイル: フッター背景画像を切替＆上余白を詰める ===== */
  .site-footer {
    background-image: url('../images/under_background3.png');
    padding-top: 0;
    margin-top: -120px;
  }
  /* iPad / タブレット域は重なるので margin を緩和 ＆ 背景画像全体が出るよう高さを確保 ＆ 背景画像差し替え */
  @media (min-width: 721px) {
    .site-footer {
      background-image: url('../images/under_background3.png');
      background-size: 100% auto;
      background-position: center bottom;
      margin-top: 0;
      min-height: 97vw;
      padding-bottom: 0;
      overflow: hidden;
    }
  }

  /* ===== モバイル: gone_logo を小さく＆位置調整 ===== */
  .gone-logo { height: 45px; right: 15px; bottom: 5px; }
  /* iPad は大きく＆位置調整 */
  @media (min-width: 721px) {
    .gone-logo { height: 65px; right: 10px; bottom: 15px; }
  }

  /* ===== モバイル: 装飾要素のはみ出し抑制 ===== */
  .deco-tsumiki { display: none; }         /* tsumiki_blue を非表示 */
  .deco-tsumiki-purple { display: none; }  /* tsumiki_purple を非表示 */
  .deco-tsumiki-green { width: 130px; top: -63px; right: calc(50% - 50vw - 2px); }
  .deco-tsumiki-yellow { width: 95px; bottom: -55px; left: calc(50% - 50vw + 1px); }
  .deco-right-flags { width: 130px; bottom: -70px; }
  /* iPad は left_decoration と同サイズ＆左に＆下に */
  @media (min-width: 721px) {
    .deco-right-flags { width: 250px; right: 0; bottom: -150px; }
  }

  /* ===== モバイル: 吹き出し画像が画面幅を超えないように ===== */
  .lead-bubble { max-width: calc(100% - 60px); height: auto; transform: translateX(-65px); }
  /* iPad では上に＆少し小さく */
  @media (min-width: 721px) {
    .lead-bubble { transform: translate(-30px, -40px); max-width: calc(100% - 140px); }
  }

  /* ===== モバイル: ゲーム紹介見出しを左に＆少し大きく ===== */
  .section.game .section-title-image img { transform: translate(5px, 5px); height: 35px; }
  /* iPad は少し大きく */
  @media (min-width: 721px) {
    .section.game .section-title-image img { height: 55px; transform: translate(5px, -45px); }
  }

  /* ===== モバイル: main_phrase1 (安心して楽しめる理由) を左に＆大きく ===== */
  .section.reasons .section-title-image img { transform: translate(-1px, 25px); height: 47px; }

  /* ===== モバイル: character_introduction を左に＆少し下に＆大きく ===== */
  .character-heading .section-title-image img { transform: translate(5px, -5px); height: 35px; }
  /* iPad は少し大きめ */
  @media (min-width: 721px) {
    .character-heading .section-title-image img { height: 50px; }
  }

  /* ===== モバイル: キャラ全身画像とメモカードの間を詰める ===== */
  .character-top { gap: 8px; }

  /* ===== モバイル: white_ball1 (広告なし) を下に ===== */
  .reason-grid .reason-ball:first-child { transform: translateY(20px); }
  /* ===== モバイル: white_ball3 (オフラインOK) を上に ===== */
  .reason-grid .reason-ball:nth-child(3) { transform: translateY(-20px); }

  /* ===== モバイル: ヒーロー画像の白上余白を無くす ===== */
  .hero-full::before { display: none; }

  /* ===== モバイル: ヒーロー上のシャボン玉を非表示 ===== */
  .bubbles { display: none; }

  /* ===== モバイル: top.png 位置調整 ===== */
  .hero-fullimage { margin-top: -10px; }
  /* iPad はヘッダーが太いぶん下げる */
  @media (min-width: 721px) {
    .hero-fullimage { margin-top: 20px; }
  }

  /* ===== モバイル: ヘッダーをスクロール追従（fixed） ===== */
  /* body に overflow-x: hidden があるため sticky が効かないので fixed で代用 */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  /* fixed にした分、body の上に余白を確保（ヘッダー高さぶん） */
  body { padding-top: 76px; }

  /* ===== モバイル: ロゴ位置調整 ===== */
  .site-header .logo { transform: translateX(0); }
  .site-header .logo:hover { transform: translateY(-2px); }

  /* ===== モバイル: ゲーム紹介の表示順 ===== */
  /* speech_bubble → 動画 → 説明文 → 特徴ボール  の順に並べる */
  /* display:contents で game-right と game-lead を外し、孫要素を grid item に昇格 */
  .game-right { display: contents; }
  .game-lead { display: contents; }
  .lead-bubble  { order: 1; }
  .phone-frame  { order: 2; }
  .feature-grid { order: 3; }
  .lead-body    {
    order: 4;
    transform: translate(-62px, -110px);
    -webkit-text-stroke: 0.5px currentColor;
    margin-bottom: -100px;
    font-size: 14px;
    display: none;
  }
  /* text.png 画像版（スマホ/iPad では文字の代わりに表示） */
  .lead-body-image {
    order: 4;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transform: translate(-62px, -110px);
    margin-bottom: -100px;
  }
  /* スマホのみ 20px 小さく */
  @media (max-width: 720px) {
    .lead-body-image { max-width: calc(100% - 100px); }
  }
  /* iPad は小さく＆右に */
  @media (min-width: 721px) {
    .lead-body-image { max-width: calc(100% - 240px); transform: translate(-37px, -130px); }
  }
  /* iPad 用に大きく：形のまま50pxぶん大きく＝ scale で約1.5倍 */
  @media (min-width: 721px) {
    .lead-body {
      transform: translate(-25px, -130px) scale(1.5);
      transform-origin: center top;
      margin-bottom: -30px;
    }
  }
}

@media (max-width: 380px) {
  .feature-card, .reason-card { padding: 16px 14px; }
  .expression-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .expression-badge { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
