:root {
  --c-navy: #14213d;
  --c-fire: #ff6b1a;
  --c-bg: #f4f6fa;
  --c-white: #ffffff;
  --c-muted: #5b6478;

  --c-line: rgba(20, 33, 61, 0.1);
  --c-fire-soft: rgba(255, 107, 26, 0.1);
  --c-navy-soft: rgba(20, 33, 61, 0.06);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 33, 61, 0.16);
  --header-h: 64px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--c-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-navy);
  background: var(--c-bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.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: -60px; z-index: 100;
  padding: 8px 14px; border-radius: 8px;
  background: var(--c-fire); color: var(--c-white);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--c-fire); outline-offset: 3px; border-radius: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(20, 33, 61, 0.08); }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-size: 18px; font-weight: 900; letter-spacing: 0.01em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative; font-size: 15px; font-weight: 500; color: var(--c-muted);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--c-fire); transform: scaleX(0); transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--c-navy); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--c-fire); color: var(--c-white);
  font-size: 14px; font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255, 107, 26, 0.35); }

.lang-switch { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-white); color: var(--c-navy); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { border-color: var(--c-fire); color: var(--c-fire); background: var(--c-fire-soft); }
.lang-caret { transition: transform 0.2s ease; }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  width: 300px; padding: 14px;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.lang-menu::before {
  content: ""; position: absolute; top: -7px; right: 26px; width: 12px; height: 12px;
  background: var(--c-white); border-left: 1px solid var(--c-line); border-top: 1px solid var(--c-line);
  transform: rotate(45deg);
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu-title {
  margin: 0 0 10px; padding: 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--c-muted);
}
.lang-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  color: var(--c-navy); font-size: 14px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-item:hover { background: var(--c-fire-soft); color: var(--c-fire); }
.lang-code {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 22px; border-radius: 6px;
  background: var(--c-navy-soft); color: var(--c-navy);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-item:hover .lang-code { background: var(--c-fire); color: var(--c-white); }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 10px; background: var(--c-navy-soft); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar {
  width: 20px; height: 2px; border-radius: 2px; background: var(--c-navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative; overflow: hidden;
  background: var(--c-navy); color: var(--c-white);
}
.hero::before {

  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, 0.035) 46px 48px);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px;
  padding-block: 64px 80px;
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb [aria-current] { color: var(--c-fire); }

.hero-icons { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero-game-icon,
.hero-app-icon {
  width: 72px; height: 72px; border-radius: 18px; object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.hero-plus { font-size: 28px; font-weight: 700; color: var(--c-fire); }

.hero-title {
  font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; line-height: 1.25;
  text-wrap: balance; margin-bottom: 18px;
}
.hl { color: var(--c-fire); }
.hero-desc {
  font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, 0.78);
  max-width: 600px; margin-bottom: 30px; text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges li {
  padding: 5px 12px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85);
}

.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 26px 12px 20px; border-radius: 14px;
  background: var(--c-fire); color: var(--c-white);
  box-shadow: 0 10px 24px rgba(255, 107, 26, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative; overflow: hidden;
}
.btn-download::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 107, 26, 0.45); }
.btn-android-icon { width: 26px; height: 26px; }
.btn-text { display: flex; flex-direction: column; line-height: 1.25; }
.btn-text strong { font-size: 17px; font-weight: 700; }
.btn-text small { font-size: 12px; opacity: 0.85; }

.btn-light { background: var(--c-white); color: var(--c-navy); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.btn-light::after { background: linear-gradient(100deg, transparent, rgba(255, 107, 26, 0.18), transparent); }

@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

.ping-card {
  background: var(--c-white); color: var(--c-navy);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-lg);
  max-width: 420px; width: 100%; justify-self: end;
}
.ping-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.ping-card-head img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ping-card-game { font-weight: 900; font-size: 16px; }
.ping-card-status { font-size: 13px; color: var(--c-fire); font-weight: 500; }
.ping-card-status.is-done { color: var(--c-navy); }

.ping-value { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ping-value small { font-size: 18px; font-weight: 700; color: var(--c-muted); margin-left: 6px; }
.ping-bar {
  height: 10px; border-radius: 999px; background: var(--c-navy-soft);
  margin-top: 16px; overflow: hidden;
}
.ping-bar-fill {
  display: block; height: 100%; width: 100%; border-radius: inherit;
  background: var(--c-fire); transition: width 0.12s linear;
}

.ping-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--c-line);
}
.ping-stat dt { font-size: 12px; color: var(--c-muted); }
.ping-stat dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.ping-stat .is-bad { color: var(--c-muted); text-decoration: line-through; }
.ping-stat .is-good { color: var(--c-fire); }
.ping-note { margin-top: 14px; font-size: 12px; color: var(--c-muted); }

.content-layout {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px;
  padding-block: 48px 72px; align-items: start;
}

.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--c-white); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow);
}
.toc-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  border: 0; background: none; padding: 0 0 12px; cursor: default;
  font: inherit; font-size: 15px; font-weight: 900; color: var(--c-navy);
  border-bottom: 1px solid var(--c-line); margin-bottom: 10px;
}
.toc-chevron { display: none; }
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-link {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-size: 14px; line-height: 1.5; color: var(--c-muted);
  border-left: 3px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.toc-link:hover { background: var(--c-navy-soft); color: var(--c-navy); }
.toc-link.is-active {
  background: var(--c-fire-soft); color: var(--c-fire); font-weight: 700;
  border-left-color: var(--c-fire);
}

.article { display: flex; flex-direction: column; gap: 28px; }

.section {
  background: var(--c-white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.section-title {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; line-height: 1.35;
  text-wrap: balance; margin-bottom: 14px;
  padding-left: 16px; border-left: 5px solid var(--c-fire);
}
.section-lead { color: var(--c-muted); line-height: 1.8; text-wrap: pretty; }
.sub-title { font-size: 18px; font-weight: 700; margin: 26px 0 14px; }
.section-summary {
  margin-top: 26px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--c-navy); color: var(--c-white); line-height: 1.8;
}

.cause-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cause-item {
  position: relative; padding: 14px 16px 14px 44px; border-radius: 12px;
  background: var(--c-bg); line-height: 1.6; font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cause-item::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px;
  transform: translateY(-50%); border-radius: 50%;
  border: 3px solid var(--c-fire); background: var(--c-white);
}
.cause-item:hover { transform: translateY(-2px); background: var(--c-fire-soft); }

.notice {
  margin-top: 20px; padding: 14px 18px; border-radius: 12px;
  background: var(--c-fire-soft); color: var(--c-navy); font-size: 15px;
}
.notice strong { color: var(--c-fire); }

.download-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 28px; border-radius: var(--radius-lg);
  background: var(--c-navy); color: var(--c-white);
}
.download-strip-text { font-size: 18px; font-weight: 700; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 26px; counter-reset: step;
}
.step {
  counter-increment: step;
  display: flex; flex-direction: column;
  background: var(--c-bg); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-figure {
  margin: 0; padding: 16px 16px 0; position: relative;
  background: var(--c-navy-soft);
}
.step-figure::before {
  content: counter(step); position: absolute; top: 10px; left: 10px; z-index: 1;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-fire); color: var(--c-white); font-weight: 900; font-size: 14px;
}
.step-img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top;
  border-radius: 12px 12px 0 0; cursor: zoom-in;
}
.step-body { padding: 14px 16px 18px; }
.step-label { font-weight: 900; color: var(--c-fire); font-size: 15px; margin-bottom: 4px; }
.step-text { font-size: 14px; line-height: 1.6; color: var(--c-navy); }

.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.issue-card {
  padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--c-line); background: var(--c-white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.issue-card:hover { border-color: var(--c-fire); transform: translateY(-3px); }
.issue-title {
  font-size: 18px; font-weight: 900; margin-bottom: 10px;
  display: inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--c-fire);
}
.issue-text { font-size: 14px; line-height: 1.75; color: var(--c-muted); }

.about-card {
  margin-top: 18px; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.about-head {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  background: var(--c-bg);
}
.about-icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: var(--shadow); }
.about-name { font-size: 20px; font-weight: 900; }
.about-meta { font-size: 14px; color: var(--c-muted); }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th,
.info-table td { padding: 14px 20px; text-align: left; font-size: 15px; border-top: 1px solid var(--c-line); }
.info-table th { width: 36%; font-weight: 500; color: var(--c-muted); white-space: nowrap; }
.info-table td { font-weight: 500; }
.info-table tr:hover td,
.info-table tr:hover th { background: var(--c-fire-soft); }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.faq-item {
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.is-open { border-color: var(--c-fire); }
.faq-q { font-size: 16px; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border: 0; background: var(--c-white); cursor: pointer;
  font: inherit; font-weight: 700; color: var(--c-navy); text-align: left;
}
.faq-btn:hover { background: var(--c-bg); }
.faq-icon {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-fire-soft); transition: transform 0.25s ease, background 0.25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
  background: var(--c-fire); transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity 0.2s ease; }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(180deg); background: var(--c-fire); }
.faq-btn[aria-expanded="true"] .faq-icon::before { background: var(--c-white); }
.faq-btn[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { color: var(--c-muted); line-height: 1.8; font-size: 15px; }

.check-list { display: flex; flex-direction: column; margin-top: 18px; }
.check-item {
  position: relative; display: flex; align-items: flex-start; gap: 16px;
  padding: 0 0 22px 0;
}
.check-item::before {
  content: ""; position: absolute; left: 27px; top: 34px; bottom: 0; width: 2px;
  background: var(--c-line);
}
.check-item.is-last::before { display: none; }
.check-item.is-last { padding-bottom: 0; }
.check-label {
  flex: none; width: 56px; height: 34px; border-radius: 999px;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--c-navy); color: var(--c-white); font-size: 13px; font-weight: 700;
}
.check-item.is-last .check-label { background: var(--c-fire); }
.check-item p { padding-top: 5px; line-height: 1.7; }

.safety-note {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 26px; border-radius: var(--radius-lg);
  background: var(--c-fire-soft); border: 1px dashed var(--c-fire);
}
.safety-note::before {
  content: ""; flex: none; width: 28px; height: 32px; margin-top: 2px;
  background: var(--c-fire);
  clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%);
}
.safety-note p { line-height: 1.8; font-size: 15px; }

.footer-banner { background: var(--c-fire); color: var(--c-white); }
.footer-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-block: 48px;
}
.fb-title { font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.3; text-wrap: balance; }
.fb-sub { margin: 8px 0 22px; opacity: 0.9; }
.fb-logo { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 20px 40px rgba(20, 33, 61, 0.3); transform: rotate(-6deg); }

.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, 0.72); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { transition: color 0.2s ease; width: fit-content; }
.footer-col a:hover { color: var(--c-fire); }
.footer-head { color: var(--c-white); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.footer-text { line-height: 1.7; }
.footer-gp img { width: 120px; height: auto; }
.copyright {
  margin-top: 40px; padding-block: 20px; font-size: 13px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-navy); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--c-fire); }
.back-top-arrow {
  display: block; width: 12px; height: 12px; margin: 4px auto 0;
  border-left: 2px solid var(--c-white); border-top: 2px solid var(--c-white);
  transform: rotate(45deg);
}

.mobile-bar { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(20, 33, 61, 0.88); cursor: zoom-out;
  opacity: 0; transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 16px; box-shadow: var(--shadow-lg); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 56px; }
  .ping-card { justify-self: start; }
  .content-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 56px; }
  .toc { position: relative; top: 0; }
  .toc-toggle { cursor: pointer; margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
  .toc-toggle[aria-expanded="true"] { border-bottom: 1px solid var(--c-line); padding-bottom: 12px; margin-bottom: 10px; }
  .toc-chevron {
    display: block; width: 10px; height: 10px;
    border-right: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy);
    transform: rotate(45deg); transition: transform 0.25s ease;
  }
  .toc-toggle[aria-expanded="true"] .toc-chevron { transform: rotate(-135deg); }
  .toc-list { display: none; }
  .toc-list.is-open { display: flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 58px; }
  body { padding-bottom: 76px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: var(--c-white);
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; padding: 12px; }
  .site-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .lang-switch { padding: 14px 0 4px; border-bottom: 1px solid var(--c-line); }
  .lang-toggle { display: none; }
  .lang-menu {
    position: static; width: auto; padding: 0;
    border: 0; box-shadow: none; background: transparent;
    opacity: 1; visibility: visible; transform: none;
  }
  .lang-menu::before { display: none; }
  .lang-menu-title { padding: 0; }
  .lang-list { gap: 8px; padding-bottom: 10px; }
  .lang-item { padding: 10px; background: var(--c-bg); border: 1px solid var(--c-line); }

  .hero-icons img { width: 60px; height: 60px; border-radius: 15px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn-download { justify-content: center; }
  .hero-badges { justify-content: center; }
  .ping-card { max-width: none; padding: 20px; }
  .ping-value { font-size: 52px; }

  .section { padding: 24px 18px; border-radius: 18px; }
  .section-title { padding-left: 12px; border-left-width: 4px; }
  .cause-list { grid-template-columns: 1fr; }
  .issue-grid { grid-template-columns: 1fr; }

  .download-strip { flex-direction: column; align-items: stretch; text-align: center; padding: 20px; }
  .download-strip-text { font-size: 16px; }

  .info-table th,
  .info-table td { padding: 12px 14px; font-size: 14px; }
  .info-table th { width: 40%; white-space: normal; }

  .footer-banner-inner { flex-direction: column-reverse; text-align: center; padding-block: 40px; }
  .fb-logo { width: 110px; height: 110px; border-radius: 26px; }
  .footer-banner .btn-download { width: 100%; }
  .footer-grid { gap: 28px 20px; }

  .back-top { bottom: 92px; right: 14px; width: 42px; height: 42px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--c-white); border-top: 1px solid var(--c-line);
    box-shadow: 0 -8px 24px rgba(20, 33, 61, 0.1);
    transform: translateY(110%); transition: transform 0.3s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar > img { width: 40px; height: 40px; border-radius: 10px; }
  .mobile-bar-text { flex: 1; min-width: 0; }
  .mobile-bar-name { font-weight: 900; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar-sub { font-size: 12px; color: var(--c-muted); }
  .mobile-bar-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px;
    background: var(--c-fire); color: var(--c-white); font-weight: 700; font-size: 14px;
  }
  .mobile-bar-btn img { width: 18px; height: 18px; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step-figure { padding: 10px 10px 0; }
  .step-body { padding: 10px 12px 14px; }
  .step-text { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

.page-home .home-hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 64px;
  padding-block: 72px 88px;
}
.home-eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-fire); background: rgba(255, 107, 26, 0.14);
}
.home-hero-title {
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; line-height: 1.12;
  letter-spacing: -0.01em; text-wrap: balance; margin-bottom: 20px;
}
.home-hero-desc {
  font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, 0.78);
  max-width: 560px; margin-bottom: 26px; text-wrap: pretty;
}
.home-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 32px; }
.home-point {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--c-white);
}
.home-point::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-fire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.home-stats { display: flex; gap: 28px; margin: 0; }
.home-stat { display: flex; flex-direction: column-reverse; }
.home-stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.home-stat-value {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: 28px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.home-stars { display: inline-flex; gap: 2px; margin: 0; }
.home-stars i {
  width: 16px; height: 16px; background: var(--c-fire);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.home-stars i.is-part { background: linear-gradient(90deg, var(--c-fire) 70%, rgba(255, 255, 255, 0.25) 70%); }
.home-stars-sm i { width: 14px; height: 14px; }

.home-hero-media { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.home-hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--c-fire); border-radius: var(--radius-lg);
}
.home-hero-img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.home-section { padding-block: 80px; background: var(--c-bg); }
.home-section-white { background: var(--c-white); }
.home-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.home-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  max-width: none; text-align: left;
}
.home-title {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.3;
  text-wrap: balance; position: relative; padding-bottom: 16px;
}
.home-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 4px;
  border-radius: 4px; background: var(--c-fire); transform: translateX(-50%);
}
.home-title-left::after { left: 0; transform: none; }
.home-sub { margin-top: 16px; color: var(--c-muted); line-height: 1.8; text-wrap: pretty; }
.home-sub-left { margin-top: 12px; }
.home-lead { color: var(--c-muted); line-height: 1.85; text-wrap: pretty; }
.home-lead + .home-lead { margin-top: 14px; }

.home-why-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px;
  margin-bottom: 40px;
}
.home-why-img {
  width: 100%; height: auto; aspect-ratio: 1052 / 592; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.home-why-copy .home-lead:first-child { color: var(--c-navy); font-size: 18px; font-weight: 500; }
.home-why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-why-item {
  position: relative; padding: 24px 22px 22px; border-radius: var(--radius);
  background: var(--c-white); box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-why-item::before {
  content: ""; display: block; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px;
  background: var(--c-fire-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.home-why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.home-why-name { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.home-why-desc { font-size: 15px; line-height: 1.7; color: var(--c-muted); }

.page-home .home-steps { margin-top: 0; }
.page-home .home-strip { margin-top: 40px; }

.home-brands {
  display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 48px;
  padding: 40px; border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow);
}
.home-note {
  margin-top: 22px; padding: 14px 18px; border-radius: 12px;
  background: var(--c-fire-soft); font-size: 15px; line-height: 1.7;
}
.home-note strong { color: var(--c-fire); }
.home-brand-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.home-brand {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px;
  border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-bg);
  font-weight: 700; font-size: 15px; text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.home-brand:hover { border-color: var(--c-fire); color: var(--c-fire); transform: translateY(-2px); }

.home-compare { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.home-compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.home-compare-table th,
.home-compare-table td { padding: 18px 22px; text-align: left; vertical-align: top; line-height: 1.7; }
.home-compare-table thead th { font-size: 16px; font-weight: 900; }
.home-col-pain { background: var(--c-bg); width: 30%; }
.home-col-yes { background: var(--c-fire); color: var(--c-white); width: 38%; }
.home-col-no { background: var(--c-navy); color: var(--c-white); }
.home-compare-table tbody tr { border-top: 1px solid var(--c-line); transition: background 0.2s ease; }
.home-compare-table tbody tr:hover { background: var(--c-bg); }
.home-compare-table tbody th { font-weight: 700; }
.home-cell-yes { background: var(--c-fire-soft); color: var(--c-navy); padding-left: 48px !important; position: relative; }
.home-cell-yes::before {
  content: ""; position: absolute; left: 20px; top: 22px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-fire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.home-cell-no { color: var(--c-muted); }
.home-footnote { margin-top: 16px; font-size: 14px; color: var(--c-muted); line-height: 1.7; }

.home-review-nav { display: flex; gap: 10px; flex: none; }
.home-review-btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--c-line); background: var(--c-white);
  display: grid; place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.home-review-btn:hover { background: var(--c-fire); border-color: var(--c-fire); }
.home-review-btn:hover .home-arrow { border-color: var(--c-white); }
.home-review-btn:disabled { opacity: 0.4; cursor: default; background: var(--c-white); border-color: var(--c-line); }
.home-review-btn:disabled .home-arrow { border-color: var(--c-navy); }
.home-arrow {
  width: 10px; height: 10px; margin-left: -4px;
  border-right: 2px solid var(--c-navy); border-top: 2px solid var(--c-navy); transform: rotate(45deg);
}
.home-arrow.is-prev { margin-left: 4px; transform: rotate(-135deg); }
.home-review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px; margin-inline: -4px; scrollbar-width: none;
}
.home-review-track::-webkit-scrollbar { display: none; }
.home-review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px;
  padding: 26px; border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow);
  border-top: 4px solid var(--c-fire);
}
.home-review-head { display: flex; align-items: center; gap: 12px; }
.home-review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.home-review-user { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.home-review-text { margin: 0; font-size: 15px; line-height: 1.75; color: var(--c-muted); }

.home-game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 880px; margin-inline: auto; }
.home-game { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.home-game:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow-lg); }
.home-game-img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

.home-works { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.home-works-copy .home-title { margin-bottom: 24px; }
.home-quote {
  margin-top: 22px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--c-navy); color: var(--c-white); line-height: 1.8; font-weight: 500;
}
.home-route {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--c-white); box-shadow: var(--shadow-lg);
}
.home-route-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 26px;
  border-radius: 999px; background: var(--c-bg);
}
.home-route-tab {
  padding: 10px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--c-muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.home-route-tab[aria-selected="true"] { background: var(--c-navy); color: var(--c-white); }
.home-route[data-mode="boost"] .home-route-tab[aria-selected="true"] { background: var(--c-fire); }
.home-route-path { display: flex; flex-direction: column; gap: 0; }
.home-route[data-mode="boost"] .is-default,
.home-route[data-mode="default"] .is-boost { display: none; }
.home-node {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px; background: var(--c-bg);
  font-size: 15px; font-weight: 700;
  animation: homeNodeIn 0.4s ease both;
}
.home-node + .home-node { margin-top: 26px; }
.home-node + .home-node::before {
  content: ""; position: absolute; left: 26px; top: -26px; height: 26px; width: 0;
  border-left: 2px dashed var(--c-muted);
}
.home-route[data-mode="boost"] .home-node + .home-node::before { border-left: 3px solid var(--c-fire); }
.home-node::after {
  content: ""; order: -1; width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 3px solid var(--c-navy); background: var(--c-white);
}
.home-node.is-jam { color: var(--c-muted); }
.home-node.is-jam::after { border-style: dashed; border-color: var(--c-muted); }
.home-node.is-rocket { background: var(--c-fire-soft); color: var(--c-fire); }
.home-node.is-rocket::after { border-color: var(--c-fire); background: var(--c-fire); }
.home-node.is-end { background: var(--c-navy); color: var(--c-white); }
.home-node.is-end::after { border-color: var(--c-white); background: var(--c-navy); }
.home-route-path .home-node:nth-child(2) { animation-delay: 0.08s; }
.home-route-path .home-node:nth-child(3) { animation-delay: 0.16s; }
.home-route-path .home-node:nth-child(4) { animation-delay: 0.24s; }
.home-route-path .home-node:nth-child(5) { animation-delay: 0.32s; }
@keyframes homeNodeIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.home-route-result {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--c-line);
}
.home-route-ping { display: flex; flex-direction: column; }
.home-route-label { font-size: 12px; color: var(--c-muted); }
.home-route-ping strong { font-size: 32px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--c-fire); }
.home-route[data-mode="default"] .home-route-ping strong { color: var(--c-navy); }
.home-route-desc { font-size: 14px; color: var(--c-muted); text-align: right; max-width: 200px; line-height: 1.6; }
.home-route-note { margin-top: 14px; font-size: 12px; color: var(--c-muted); }

.home-faq-wrap { max-width: 860px; }
.page-home .faq-list { margin-top: 0; }

@media (max-width: 1024px) {
  .page-home .home-hero-inner { gap: 40px; padding-block: 56px 72px; }
  .home-points { flex-direction: column; gap: 10px; }
  .home-why-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-why-list { grid-template-columns: repeat(2, 1fr); }
  .home-brands { grid-template-columns: 1fr; gap: 28px; }
  .home-review-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .home-works { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .page-home .home-hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 64px; }
  .home-hero-media { max-width: 400px; }
  .home-hero-desc { font-size: 15px; }
  .home-points { flex-direction: column; gap: 10px; margin-bottom: 26px; }
  .home-hero-actions { flex-direction: column; align-items: stretch; gap: 22px; }
  .home-stats { justify-content: space-around; padding: 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); }
  .home-stat { align-items: center; text-align: center; }
  .home-stat-value { font-size: 24px; }
  .home-hero-media::before { inset: 10px -10px -10px 10px; }

  .home-section { padding-block: 52px; }
  .home-head { margin-bottom: 28px; }
  .home-head-row { align-items: flex-end; }
  .home-why-copy .home-lead:first-child { font-size: 16px; }
  .home-why-list { grid-template-columns: 1fr; gap: 12px; }
  .home-why-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .home-why-item::before { grid-row: span 2; margin-bottom: 0; }

  .home-brands { padding: 24px 18px; }
  .home-brand-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .home-brand { min-height: 46px; font-size: 14px; }

  .home-compare { border: 0; border-radius: 0; overflow: visible; }
  .home-compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .home-compare-table,
  .home-compare-table tbody,
  .home-compare-table tr,
  .home-compare-table th,
  .home-compare-table td { display: block; width: 100%; }
  .home-compare-table tbody { display: flex; flex-direction: column; gap: 14px; }
  .home-compare-table tbody tr { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-white); }
  .home-compare-table tbody th { padding: 14px 16px; background: var(--c-navy); color: var(--c-white); font-size: 15px; }
  .home-compare-table td { padding: 12px 16px; font-size: 14px; }
  .home-compare-table td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  }
  .home-cell-yes { padding-left: 16px !important; }
  .home-cell-yes::before { position: static; width: auto; height: auto; border-radius: 0; background: none; color: var(--c-fire); }
  .home-cell-no::before { color: var(--c-navy); }

  .home-review-nav { display: none; }
  .home-review-track { grid-auto-columns: 86%; gap: 14px; }
  .home-review { padding: 20px; }

  .home-game-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .home-game { border-radius: 14px; }

  .home-route { padding: 20px 16px; }
  .home-route-ping strong { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.home-gal {
  display: flex;
  gap: 14px;
  height: 540px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-gal-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  color: var(--c-white);
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow);
  transition: flex-grow 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.home-gal-item.is-active {
  flex-grow: 3.3;
  box-shadow: var(--shadow-lg);
}
.home-gal-item:focus-visible { box-shadow: 0 0 0 3px var(--c-fire); }
.home-gal-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-gal-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease, filter 0.4s ease;
  filter: brightness(0.72);
}
.home-gal-item:hover .home-gal-img,
.home-gal-item.is-active .home-gal-img { filter: none; }
.home-gal-item.is-active .home-gal-media { width: 46%; }
.home-gal-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 56px 16px 18px;
  background: linear-gradient(to top, var(--c-navy) 55%, rgba(20, 33, 61, 0));
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}
.home-gal-item.is-active .home-gal-body {
  top: 0;
  left: 46%;
  justify-content: center;
  gap: 12px;
  padding: 32px 30px;
  background: var(--c-navy);
}
.home-gal-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-fire-soft);
  color: var(--c-fire);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.home-gal-label {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.4s ease, color 0.3s ease;
}
.home-gal-item.is-active .home-gal-label {
  font-size: 26px;
  color: var(--c-fire);
  white-space: normal;
}
.home-gal-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-gal-item.is-active .home-gal-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  -webkit-line-clamp: unset;
  display: block;
}
.home-gal-dots { display: none; }

@media (min-width: 769px) {
  .home-gal-item.is-active {
    display: flex;
    flex-direction: column;
  }
  .home-gal-item.is-active .home-gal-media {
    position: relative;
    top: auto;
    bottom: auto;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }
  .home-gal-item.is-active .home-gal-body {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 26px 24px;
  }
  .home-gal-item.is-active .home-gal-label { font-size: 22px; }
  .home-gal-item.is-active .home-gal-text { font-size: 15px; line-height: 1.65; }
}

@media (max-width: 1024px) {
  .home-gal { height: 460px; gap: 10px; }
  .home-gal-item.is-active .home-gal-body { padding: 16px 18px 18px; }
  .home-gal-item.is-active .home-gal-label { font-size: 22px; }
  .home-gal-item.is-active .home-gal-text { font-size: 15px; }
}

@media (max-width: 768px) {
  .home-gal {
    height: auto;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -20px;
    padding: 4px 20px 8px;
    scroll-padding-inline: 20px;
  }
  .home-gal::-webkit-scrollbar { display: none; }
  .home-gal-item,
  .home-gal-item.is-active {
    flex: 0 0 76%;
    display: flex;
    flex-direction: column;
    cursor: default;
    scroll-snap-align: start;
  }
  .home-gal-media,
  .home-gal-item.is-active .home-gal-media {
    position: relative;
    width: 100%;
    aspect-ratio: 360 / 560;
  }
  .home-gal-img,
  .home-gal-item .home-gal-img { filter: none; }
  .home-gal-body,
  .home-gal-item.is-active .home-gal-body {
    position: static;
    flex: 1;
    justify-content: flex-start;
    gap: 8px;
    padding: 16px 16px 20px;
    background: var(--c-navy);
  }
  .home-gal-label,
  .home-gal-item.is-active .home-gal-label {
    font-size: 18px;
    color: var(--c-fire);
    white-space: normal;
  }
  .home-gal-text,
  .home-gal-item.is-active .home-gal-text {
    font-size: 14px;
    display: block;
    -webkit-line-clamp: unset;
  }
  .home-gal-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
  .home-gal-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--c-line);
    transition: width 0.3s ease, background 0.3s ease;
  }
  .home-gal-dot.is-active { width: 22px; background: var(--c-fire); }
}

.home-gal-zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.home-gal-zoom:focus-visible { outline: 3px solid var(--c-fire); outline-offset: -3px; }
.home-gal-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.home-gal-item.is-active .home-gal-zoom-icon,
.home-gal-zoom:focus-visible .home-gal-zoom-icon { opacity: 0.9; transform: scale(1); }
.home-gal-zoom:hover .home-gal-zoom-icon { opacity: 1; background: var(--c-fire); }

.gal-viewer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 72px 24px;
  background: rgba(10, 18, 38, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gal-viewer.is-open { opacity: 1; }
.gal-viewer-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  width: 100%;
}
.gal-viewer-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease;
}
.gal-viewer-img.is-loading { opacity: 0.3; }
.gal-viewer-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  color: var(--c-white);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.gal-viewer-count {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-fire);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
}
.gal-viewer-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
  cursor: pointer;
  transition: background 0.2s ease;
}
.gal-viewer-btn:hover,
.gal-viewer-btn:focus-visible { background: var(--c-fire); outline: none; }
.gal-viewer-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.gal-viewer-next { right: 16px; top: 50%; transform: translateY(-50%); }
.gal-viewer-close { top: 12px; right: 16px; width: 40px; height: 40px; }
body.gal-viewer-lock { overflow: hidden; }

@media (max-width: 768px) {
  .home-gal-zoom-icon { opacity: 0.9; transform: scale(1); width: 32px; height: 32px; top: 10px; right: 10px; }
  .gal-viewer { padding: 56px 12px 88px; }
  .gal-viewer-prev,
  .gal-viewer-next { top: auto; bottom: 20px; transform: none; }
  .gal-viewer-prev { left: calc(50% - 64px); }
  .gal-viewer-next { right: calc(50% - 64px); }
  .gal-viewer-caption { font-size: 14px; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-gal-item,
  .home-gal-media,
  .home-gal-body,
  .home-gal-img,
  .home-gal-label,
  .home-gal-zoom-icon,
  .gal-viewer,
  .gal-viewer-img { transition: none; }
}

.content-layout > .article,
.content-layout #how-to { min-width: 0; }

/* Localization: allow longer copy; keep existing horizontal JS carousels LTR. */
.nav-cta, .btn-text, .mobile-bar-btn { white-space: normal; }
.home-hero-copy, .home-why-copy, .home-works-copy { min-width: 0; }
html[dir="rtl"] .home-title-left,
html[dir="rtl"] .faq-btn,
html[dir="rtl"] .home-compare-table th,
html[dir="rtl"] .home-compare-table td { text-align: start; }
html[dir="rtl"] .home-route-desc { text-align: start; }
html[dir="rtl"] .home-review-track,
html[dir="rtl"] .home-gal,
html[dir="rtl"] .gal-viewer-stage { direction: ltr; }
html[dir="rtl"] .home-review,
html[dir="rtl"] .home-gal-body,
html[dir="rtl"] .gal-viewer-text { direction: rtl; text-align: start; }
.home-stat-value, #routePing, .gal-viewer-count { unicode-bidi: isolate; }
