:root {
  --bg-1: #f4f7fc;
  --bg-2: #edf3fb;
  --bg-3: #fbfdff;
  --text-main: #18212d;
  --text-sub: #5f6c7b;
  --text-strong: #29425c;
  --text-muted: #8a97a8;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --panel-bg-strong: rgba(255, 255, 255, 0.95);
  --surface-base: #fff;
  --surface-soft: rgba(248, 250, 255, 0.96);
  --surface-overlay: rgba(255, 255, 255, 0.97);
  --border: rgba(33, 43, 57, 0.12);
  --accent: #1267d6;
  --accent-strong: #0f4ca7;
  --accent-soft: #e7f0ff;
  --accent-ring: rgba(18, 103, 214, 0.16);
  --danger: #c94d52;
  --success: #2f8f64;
  --logo-blue: #1364fc;
  --shadow-sm: 0 10px 24px rgba(16, 31, 56, 0.1);
  --shadow-md: 0 14px 26px rgba(19, 36, 62, 0.18);
  --shadow-lg: 0 22px 52px rgba(20, 42, 73, 0.12);
  --shadow-accent: 0 8px 18px rgba(18, 103, 214, 0.2);
  --shadow-accent-strong: 0 16px 28px rgba(18, 103, 214, 0.24);
  --shadow-accent-strong-hover: 0 20px 34px rgba(18, 103, 214, 0.27);
  --accent-gradient: linear-gradient(140deg, #0f5fce, #2e86ff);
  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-md: 14px;
  --font-size-base: 15px;
  --font-size-lg: 16px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 16px;
  --radius-3xl: 20px;
  --top-bar-height: 64px;
  --top-bar-offset: 12px;
  --top-bar-side-offset: 12px;
}

* {
  box-sizing: border-box;
}

html[data-i18n-ready="false"] body {
  visibility: hidden;
}

.page {
  width: min(1180px, 94vw);
  margin: 0 auto;
  min-height: calc(100vh - var(--top-bar-height) - var(--top-bar-offset) - env(safe-area-inset-top));
  position: relative;
  padding: 28px 0 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  text-align: center;
  margin-bottom: 22px;
}

.logo {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-2xl);
  object-fit: contain;
  background: var(--surface-base);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.intro {
  margin: 0 auto;
  color: var(--text-sub);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 680px;
  line-height: 1.7;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.platform {
  background: transparent;
  border: none;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: none;
  box-shadow: none;
}

.shot-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-wrap img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
}

.desc {
  margin: 8px 0 0;
  color: var(--text-sub);
  font-size: var(--font-size-md);
  line-height: 1.5;
}

.actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 132px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--surface-base);
  text-decoration: none;
  white-space: nowrap;
  font-size: var(--font-size-md);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-icon {
  font-size: var(--font-size-sm);
  line-height: 1;
  width: 14px;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.desktop-notes {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.desktop-note {
  margin: 0;
  color: var(--text-sub);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  text-align: center;
}

.desktop-dropdown {
  position: relative;
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.desktop-dropdown-toggle {
  width: 180px;
  justify-content: space-between;
  gap: 8px;
}

.desktop-caret {
  font-size: var(--font-size-xs);
  transition: transform 0.2s ease;
}

.desktop-dropdown.open .desktop-caret {
  transform: rotate(180deg);
}

.desktop-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  display: none;
  z-index: 20;
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-overlay);
  box-shadow: var(--shadow-md);
}

.desktop-dropdown.open .desktop-dropdown-menu {
  display: block;
}

.desktop-dropdown-item {
  position: relative;
}

.desktop-submenu-toggle {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.desktop-submenu-toggle:hover,
.desktop-dropdown-item.open .desktop-submenu-toggle,
.desktop-dropdown-item:focus-within .desktop-submenu-toggle {
  background: var(--accent-soft);
}

.desktop-option-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-md);
  font-weight: 600;
}

.desktop-submenu-caret {
  font-size: 11px;
  color: var(--text-sub);
}

.desktop-submenu {
  position: absolute;
  top: -6px;
  left: calc(100% + 8px);
  min-width: 150px;
  display: none;
  z-index: 30;
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-overlay);
  box-shadow: var(--shadow-md);
}

.desktop-dropdown-item:hover .desktop-submenu,
.desktop-dropdown-item:focus-within .desktop-submenu,
.desktop-dropdown-item.open .desktop-submenu {
  display: block;
}

.desktop-submenu-link {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.desktop-submenu-link:hover {
  background: var(--accent-soft);
}

.test-notice {
  margin: 30px auto 0;
  width: min(920px, 100%);
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(18, 103, 214, 0.22);
  background: linear-gradient(140deg, rgba(232, 242, 255, 0.92), rgba(246, 250, 255, 0.92));
  box-shadow: 0 10px 24px rgba(18, 103, 214, 0.08);
}

.test-notice-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--accent-strong);
}

.test-notice-head i {
  font-size: var(--font-size-base);
}

.test-notice-head h3 {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 1.2;
}

.test-notice-text {
  margin: 0;
  color: var(--text-strong);
  font-size: var(--font-size-sm);
  line-height: 1.65;
}

.test-notice-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-strong);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.test-notice-list li + li {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --top-bar-height: 58px;
    --top-bar-offset: 8px;
    --top-bar-side-offset: 8px;
  }

  .page {
    padding: 18px 0 30px;
  }
}

@media (max-width: 560px) {
  .platform {
    padding: 12px;
  }

  .shot-wrap {
    min-height: 160px;
  }

  .test-notice {
    margin-top: 22px;
    padding: 14px 14px;
  }

  .test-notice-head h3 {
    font-size: 15px;
  }

  .desktop-dropdown-menu,
  .desktop-submenu {
    width: 100%;
    min-width: 0;
  }

  .desktop-submenu {
    position: static;
    margin-top: 6px;
    box-shadow: none;
  }
}
