/* 이음페이 — sajangpay-inspired (blue palette + AI photos) */
:root {
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;
  --blue-800: #1e3a8a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --navy: #0f172a;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --coral: #f43f5e;
  --cyan: #22d3ee;
  --gold: #f59e0b;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --header-h: 56px;
  --nav-h: 64px;
  --app-max: 480px;
  --pc-side-w: 591px;
  --pc-gap: 32px;
  --pc-shift: calc((var(--pc-side-w) + var(--pc-gap)) / 2);
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(37, 99, 235, 0.12), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #f1f5f9 40%, #e2e8f0 100%);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.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;
}

.app {
  position: relative;
  width: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 24px 64px rgba(15, 23, 42, 0.1);
}

/* PC 좌측 패널 — 모바일에서는 숨김 */
.pc-side {
  display: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.logo-word {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #0f172a;
}

.logo-bolt {
  display: block;
  flex-shrink: 0;
  margin: 0 1px;
  width: 15px;
  height: 22px;
}

.logo-bolt--footer {
  width: 12px;
  height: 16px;
}

.header-actions {
  display: flex;
  gap: 4px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--ink);
  transition: background 0.2s;
}

.icon-btn:hover {
  background: var(--bg-soft);
}

.main {
  padding-bottom: calc(var(--nav-h) + 28px);
}

/* Hero */
.hero {
  position: relative;
  padding: 12px 16px 8px;
}

.hero-track {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 210px;
  isolation: isolate;
}

.hero-slide {
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 20px 20px 24px;
  color: #fff;
  animation: fadeIn 0.45s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-slide--live {
  background-image:
    linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(30, 58, 138, 0.78)),
    url("../images/hero-live-bg.png");
  background-size: cover;
  background-position: center;
}

.hero-slide--photo {
  position: relative;
  justify-content: flex-end;
  padding: 0;
  min-height: 220px;
}

.hero-slide--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 64, 175, 0.45) 55%, rgba(30, 64, 175, 0.15) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 22px 20px 24px;
  max-width: 70%;
}

.hero-slide--speed {
  background-image: url("../images/hero-speed.png");
}

.hero-slide--benefit {
  background-image: url("../images/hero-benefit.png");
}

.hero-slide--weekend {
  background-image: url("../images/hero-weekend.png");
}

.hero-slide--point {
  background-image: url("../images/hero-point.png");
}

.live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 0.75rem;
  opacity: 0.9;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.2);
  color: #fecdd3;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.live-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.live-stat {
  text-align: center;
}

.live-label {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.live-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px currentColor;
}

.live-value--cyan {
  color: #67e8f9;
}

.live-value--coral {
  color: #fb7185;
}

.live-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.live-footnote {
  margin-top: 14px;
  font-size: 0.68rem;
  opacity: 0.65;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-title em {
  font-style: normal;
  color: #7dd3fc;
}

.hero-desc {
  font-size: 0.88rem;
  opacity: 0.92;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: width 0.25s, background 0.25s;
}

.hero-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--blue-500);
}

/* Notice */
.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 12px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 12px;
}

.notice-tag {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 700;
}

.notice-body {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 1.3em;
  overflow: hidden;
}

.notice-text {
  position: absolute;
  inset: 0;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.notice-text.is-active {
  opacity: 1;
  transform: none;
}

.notice-nav {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.notice-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}

.notice-btn:hover {
  background: #e2e8f0;
}

/* Categories */
.categories {
  padding: 12px 16px 36px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 6px 14px;
  background: var(--bg-soft);
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.2s, background 0.2s;
}

.cat-item:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.cat-icon {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
}

/* Stories */
.stories {
  padding: 8px 16px 40px;
}

.story-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #e2e8f0;
  overflow: hidden;
}

.story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.story-photo.is-active {
  opacity: 1;
  z-index: 1;
}

.story-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--blue-600);
  color: #fff;
}

.story-q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.story-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.story-pager {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 0.75rem;
  opacity: 0.95;
}

.story-nav {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
}

.story-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Process */
.process {
  padding: 24px 20px 48px;
  text-align: center;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.35;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding: 0 12px;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
}

.process-card {
  position: relative;
  padding: 36px 16px 24px;
  background: var(--blue-50);
  border-radius: 18px;
  text-align: center;
  min-height: 140px;
}

.process-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(29, 78, 216, 0.35);
}

.process-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Security */
.security {
  padding: 8px 20px 40px;
}

.sec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sec-item:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow);
}

.sec-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  font-size: 1.25rem;
}

.sec-item h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.sec-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Support */
.support {
  padding: 48px 22px 56px;
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(37, 99, 235, 0.08), transparent),
    var(--bg);
}

.support-visual {
  margin: 0 auto 28px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.support-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.support-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--navy);
}

.support-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.support-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}

.support-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.support-dot--bot {
  background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.support-dot--kakao {
  background: #fee500;
}

.support-dot--call {
  background: linear-gradient(145deg, #93c5fd, #2563eb);
}

.c-blue {
  color: var(--blue-600);
}

/* Reviews */
.reviews {
  padding: 24px 0 48px;
  text-align: center;
  overflow: hidden;
}

.reviews .section-desc {
  margin-bottom: 24px;
  padding: 0 20px;
}

.reviews .section-title {
  padding: 0 20px;
}

.review-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.review-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 4px 16px 8px;
  animation: review-marquee 48s linear infinite;
  will-change: transform;
}

.review-marquee:hover .review-track {
  animation-play-state: paused;
}

@keyframes review-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .review-track {
    animation: none;
    overflow-x: auto;
    max-width: 100%;
    width: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .review-track::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    scroll-snap-align: start;
  }
}

.review-card {
  flex: 0 0 280px;
  text-align: left;
  padding: 22px;
  background: var(--bg-soft);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-name {
  font-weight: 800;
  font-size: 0.9rem;
}

.stars {
  color: #f59e0b;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Footer */
.footer {
  padding: 28px 20px 20px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.7;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
}

.footer-brand .logo-word {
  color: #fff;
  font-size: 1.05rem;
}

.footer-co {
  color: #cbd5e1;
  margin-bottom: 6px;
}

.footer a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 16px 0 12px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: #e2e8f0;
}

.copyright {
  margin-top: 8px;
  opacity: 0.7;
}

/* FAB */
.fab {
  position: fixed;
  right: max(16px, calc(50% - var(--app-max) / 2 + 16px));
  bottom: calc(var(--nav-h) + 16px);
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fde68a, #f59e0b);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: transform 0.2s;
}

.fab:hover {
  transform: scale(1.06);
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 24px);
  max-width: calc(var(--app-max) - 24px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: var(--nav-h);
  padding: 6px 4px 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 14px;
  transition: color 0.2s, background 0.2s;
}

.bottom-nav__item.is-active {
  color: var(--blue-600);
}

.bottom-nav__item:hover {
  background: var(--bg-soft);
}


/* PC left panel styles */
.pc-hero {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.pc-interview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--blue-700);
  overflow: hidden;
}

.pc-interview__slides {
  position: absolute;
  inset: 0;
}

.pc-interview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.pc-interview__img.is-active {
  opacity: 1;
  z-index: 1;
}

.pc-interview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.2) 45%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.pc-interview__copy {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.pc-interview__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 8px;
}

.pc-interview__copy h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pc-interview__sub {
  font-size: 0.95rem;
  color: #93c5fd;
  font-weight: 700;
}

.pc-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pc-q p { flex: 1; min-width: 0; }

.pc-q__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 800;
}

.pc-q__pager {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 0.8rem;
  opacity: 0.95;
}

.pc-q__pager button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #fff;
  font-size: 1.1rem;
}

.pc-q__pager button:hover { background: rgba(255, 255, 255, 0.15); }

.pc-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: start;
}

.pc-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-800);
}

.pc-card img { width: 100%; height: 100%; object-fit: cover; }
.pc-card--tall { aspect-ratio: 185 / 276; }
.pc-card--sq { aspect-ratio: 1 / 1; }
.pc-card--mid { aspect-ratio: 185 / 193; }

.pc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, transparent 45%, rgba(15, 23, 42, 0.25) 100%);
  pointer-events: none;
}

.pc-card__text {
  position: absolute;
  left: 12px;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.pc-card__text em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: #93c5fd;
  font-size: 0.72rem;
}

.pc-card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root { --app-max: 520px; }
  .hero-slide, .hero-slide--photo { min-height: 240px; }
  .hero-title { font-size: 1.75rem; }
  .review-card { flex-basis: 300px; }
}

/* PC layout: LEFT promo + RIGHT app (like sajangpay) */
@media (min-width: 1024px) {
  :root {
    --app-max: 430px;
    --pc-side-w: min(620px, calc(100vw - 430px - 64px));
    --pc-gap: 28px;
  }

  body { background: #f0f2f5; }

  .page-shell {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: flex-start;
    gap: var(--pc-gap);
    width: 100%;
    min-height: 100dvh;
    padding: 20px 20px 48px;
    box-sizing: border-box;
  }

  .pc-side {
    display: block !important;
    width: var(--pc-side-w);
    max-width: 640px;
    flex: 1 1 auto;
    min-width: 280px;
  }

  /* index: 좌측 프로모 + 우측 앱 */
  .page-shell > .app {
    flex: 0 0 var(--app-max) !important;
    width: var(--app-max) !important;
    max-width: var(--app-max) !important;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* mypage / menu / pay 등 단독 앱 화면 — PC 정중앙 */
  body:not(:has(.page-shell)) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  body > .app {
    flex: 0 0 auto;
    width: var(--app-max) !important;
    max-width: var(--app-max) !important;
    margin: 24px auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    left: auto !important;
    right: auto !important;
    max-height: none;
    overflow: visible;
    min-height: calc(100dvh - 48px);
  }

  .page-shell .bottom-nav {
    position: sticky;
    left: auto;
    right: auto;
    bottom: 10px;
    transform: none;
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 auto 10px;
  }

  body > .app .bottom-nav {
    position: sticky;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 auto 10px;
  }

  .page-shell .fab {
    position: absolute;
    right: 16px;
    bottom: calc(var(--nav-h) + 16px);
    left: auto;
  }

  body > .app .fab {
    position: absolute;
    right: 16px;
    bottom: calc(var(--nav-h) + 16px);
    left: auto;
  }
}

@media (min-width: 1280px) {
  :root {
    --app-max: 480px;
    --pc-side-w: 600px;
    --pc-gap: 36px;
  }
  .pc-interview__copy h2 { font-size: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
