/* TOKENS */
:root {
  --bg: #f2f2f4;
  --surface: #ffffff;
  --surface-muted: #f6f6f8;
  --text: #16181d;
  --muted: #707784;
  --border: #e6e7eb;
  --honda-red: #da0e15;
  --honda-red-600: #b40c12;
  --honda-red-700: #960a0f;
  --primary: var(--honda-red);
  --ring: 0 0 0 3px rgba(231, 0, 18, 0.2);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 14px;
  --space-5: 18px;
  --space-6: 20px;

  --radius-sm: 9px;
  --card-radius: 16px;
  --radius-md: var(--card-radius);
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(14, 18, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 18, 26, 0.08);

  --font-heading:
    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body:
    "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  --max-width: 480px;
  --nav-height: 68px;
  --transition-fast: 180ms;
}

html[data-theme="dark"] {
  --bg: #111216;
  --surface: #1a1c22;
  --surface-muted: #20232b;
  --text: #eff2f8;
  --muted: #a1a7b4;
  --border: #2d3342;
  --honda-red: #ff3a45;
  --honda-red-600: #e0313b;
  --honda-red-700: #bf1f28;
  --primary: var(--honda-red);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] .icon-dark {
  color: var(--text);
}

/* BASE */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.app-title,
.section-title,
.menu-label,
.nav-link strong,
.btn,
.member-pill,
.serial-number {
  font-family: var(--font-heading);
}

a,
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
a:focus-visible,
button,
button:hover,
button:active,
button:focus,
button:focus-visible {
  text-decoration: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 12px;
  z-index: 1000;
  background: var(--text);
  color: var(--surface);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

.skip-link:focus-visible {
  top: 12px;
}

/* LAYOUT */
.app-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  border-inline: 1px solid var(--border);
  position: relative;
  overflow: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    var(--honda-red) 0%,
    var(--honda-red-600) 100%
  );
  color: #fff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: calc(var(--space-4) + env(safe-area-inset-top)) var(--space-4)
    var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.topbar.is-inner .app-title {
  font-size: 0.9rem;
  text-transform: none;
}

.topbar.is-inner .app-tagline {
  display: none;
}

.brand-wrap {
  min-width: 0;
  flex: 1;
}

.top-back-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.top-back-btn i {
  font-size: 1.1rem;
}

.app-title {
  margin: 0;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.app-tagline {
  margin: var(--space-1) 0 0;
  font-size: 0.72rem;
  opacity: 0.92;
}

.header-btn {
  height: 36px;
  width: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.header-btn i {
  font-size: 1.18rem;
}

.notif-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(218, 14, 21, 0.92);
}

#appMain {
  padding: var(--space-4);
  padding-bottom: calc(
    var(--space-6) + var(--nav-height) + env(safe-area-inset-bottom)
  );
  background:
    radial-gradient(
      100% 26% at 50% 0%,
      rgba(218, 14, 21, 0.08),
      transparent 75%
    ),
    transparent;
  overflow-x: hidden;
}

.page-stack {
  display: grid;
  gap: var(--space-4);
}

.page-stack > * {
  min-width: 0;
}

.bottom-nav {
  position: fixed;
  inset-inline: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--max-width);
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 6px var(--space-2) calc(6px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 70;
}

.section-title {
  margin: 0;
  font-size: 0.9rem;
  position: relative;
  padding-left: 10px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--honda-red), var(--honda-red-700));
}

.section-subtitle {
  margin: var(--space-1) 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-3);
}

.section-head > div {
  min-width: 0;
}

/* COMPONENTS */
.nav-link {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-decoration: none;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.69rem;
  gap: 2px;
  -webkit-tap-highlight-color: transparent;
}

.nav-link:link,
.nav-link:visited,
.nav-link:hover,
.nav-link:active {
  text-decoration: none;
}

.app-shell a,
.app-shell a:any-link,
.app-shell a:link,
.app-shell a:visited,
.app-shell a:hover,
.app-shell a:active,
.app-shell button,
.app-shell button:hover,
.app-shell button:active {
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.app-shell a,
.app-shell a:any-link,
.app-shell a:link,
.app-shell a:visited,
.app-shell a:hover,
.app-shell a:active {
  color: inherit !important;
  text-decoration: none !important;
}

.bottom-nav .nav-link:nth-child(2) {
  margin-right: 40px;
}

.bottom-nav .nav-link:nth-child(3) {
  margin-left: 40px;
}

.nav-link strong {
  font-size: 0.69rem;
  font-weight: 600;
}

.nav-dot {
  width: 18px;
  height: 18px;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  color: #9aa2af;
}

.nav-link.is-active {
  color: var(--muted);
  background: transparent;
}

.nav-link.is-active .nav-dot {
  color: var(--primary);
}

.fab-btn {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 18px);
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(
    180deg,
    var(--honda-red) 0%,
    var(--honda-red-700) 100%
  );
  color: #fff;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  z-index: 75;
  cursor: pointer;
}

.home-chat-fab {
  position: fixed;
  right: max(16px, calc((100vw - var(--max-width)) / 2 + 16px));
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 20px);
  z-index: 68;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--honda-red) 0%,
    var(--honda-red-700) 100%
  );
  color: #fff;
  box-shadow:
    0 10px 24px rgba(218, 14, 21, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.home-chat-fab i {
  font-size: 1.35rem;
}

.home-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 13, 22, 0.46);
}

.home-chat-modal {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 14px);
  transform: translateX(-50%);
  z-index: 91;
  width: min(calc(100vw - 28px), 420px);
  max-height: min(72vh, 540px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto;
  overflow: hidden;
}

.home-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.home-chat-title {
  margin: 0;
  font-size: 0.98rem;
}

.home-chat-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.home-chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.home-chat-body {
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
}

.home-chat-message {
  max-width: 86%;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.home-chat-message.is-bot {
  background: var(--surface-muted);
  color: var(--text);
  border-top-left-radius: 4px;
}

.home-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
}

.home-chat-input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.home-chat-input:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: color-mix(in srgb, var(--honda-red) 45%, var(--border));
}

.home-chat-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--honda-red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.fab-spin-once {
  display: inline-block;
  transform-origin: center;
  animation: fabSpinOnce 280ms ease-out 1;
}

.card {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 92%, #fff),
    var(--surface)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  padding: 12px;
}

.member-card {
  background: linear-gradient(
    180deg,
    var(--honda-red) 0%,
    var(--honda-red-700) 100%
  );
  color: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.banner-slider {
  padding: 0;
}

.banner-swiper {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.banner-slide {
  min-width: 100%;
  width: 100%;
  height: auto;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: default;
  background: transparent;
}

.banner-swiper-skeleton {
  background: linear-gradient(135deg, #f5f5f7 0%, #ececf1 100%);
}

.banner-skeleton {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(90deg, #ececf1 0%, #f8f8fa 48%, #ececf1 100%);
  background-size:
    100% 100%,
    220% 100%;
  animation: bannerSkeletonShift 1.6s linear infinite;
}

@keyframes bannerSkeletonShift {
  0% {
    background-position:
      0 0,
      200% 0;
  }
  100% {
    background-position:
      0 0,
      -20% 0;
  }
}

.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: rgba(16, 20, 27, 0.32);
  color: #fff;
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}

.banner-prev {
  left: 8px;
}

.banner-next {
  right: 8px;
}

.banner-pagination {
  position: absolute;
  inset: auto 0 8px;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.banner-dot {
  width: 7px;
  height: 7px;
  margin: 0 3px;
  background: #c8cfd9;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.banner-dot.is-active {
  width: 18px;
  background: var(--honda-red);
}

.member-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.member-head-right {
  justify-content: flex-end;
}

.member-pill {
  min-height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.member-tier {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  font-size: 0.69rem;
  font-weight: 600;
}

.serial-number {
  margin: 10px 0 4px;
  font-size: clamp(1.34rem, 5.1vw, 1.65rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.member-sub {
  margin: 0;
  font-size: 0.72rem;
  opacity: 0.9;
}

.member-stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-stat {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 7px 8px;
  display: grid;
  gap: 2px;
}

.member-stat span {
  font-size: 0.62rem;
  opacity: 0.88;
}

.member-stat strong {
  font-size: 0.74rem;
  line-height: 1.2;
}

.member-actions {
  margin-top: 10px;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.btn {
  min-height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0 var(--space-4);
  font-weight: 600;
  font-size: 0.76rem;
  cursor: pointer;
  transition: transform var(--transition-fast) ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #ffffff;
  color: #111;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: transparent;
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 18px rgba(15, 23, 42, 0.12);
}

.btn-ghost {
  background: var(--surface-muted);
  border-color: var(--border);
}

.info-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid color-mix(in srgb, var(--honda-red) 75%, white);
  border-radius: var(--radius-md);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.info-tag {
  min-height: 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.76rem;
}

.info-marquee {
  overflow: hidden;
  flex: 1;
  position: relative;
  min-width: 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  white-space: nowrap;
  animation: tickerLoop 34s linear infinite;
}

.ticker-item {
  color: var(--text);
  font-size: 0.75rem;
}

.ticker-item i {
  margin-right: 6px;
}

.text-secondary {
  color: #2f80ff;
}

.info-marquee:hover .ticker-track {
  animation-play-state: paused;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.menu-grid-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.menu-card {
  min-height: 118px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-2);
}

.menu-card-primary {
  min-height: 102px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.66),
    rgba(255, 255, 255, 0.42)
  );
  border-color: color-mix(in srgb, var(--border) 86%, #fff);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    var(--surface-muted),
    color-mix(in srgb, var(--surface-muted) 75%, white)
  );
  border: 1px solid var(--border);
  font-size: 1.2rem;
}

.menu-fa {
  font-size: 0.95rem;
}

.menu-image-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.icon-cyan {
  color: #18b9e6;
}

.icon-blue {
  color: #2f80ff;
}

.icon-green {
  color: #1ea85a;
}

.icon-gold {
  color: #f3b10b;
}

.icon-orange {
  color: #f59e0b;
}

.icon-pink {
  color: #e64f6a;
}

.icon-slate {
  color: #6b7280;
}

.icon-dark {
  color: #12151b;
}

.menu-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
}

.service-list {
  display: grid;
  gap: 8px;
}

.service-item {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 92%, #fff),
    var(--surface)
  );
  display: grid;
  grid-template-columns: 34px 1fr 14px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  text-align: left;
  cursor: pointer;
}

.service-item:hover {
  border-color: color-mix(in srgb, var(--border) 72%, #fff);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.service-item-logout {
  border-color: color-mix(in srgb, var(--honda-red) 35%, var(--border));
}

.service-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.service-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text);
}

.akses-main {
  display: grid;
  gap: 10px;
}

.quick-round-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.quick-round-item {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  cursor: pointer;
}

.quick-round-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff 0%, #e8eaf0 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.06),
    inset 0 2px 3px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-round-icon:active {
  transform: scale(0.92) translateY(1px);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.06);
}

.quick-round-icon .menu-fa {
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}

.quick-round-label {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
  width: 100%;
  overflow-wrap: anywhere;
}

.service-arrow {
  font-size: 0.68rem;
  color: #9aa2af;
}

.promo-subtitle {
  font-size: 0.72rem;
  line-height: 1.35;
}

.promo-list {
  gap: 8px;
}

.promo-item {
  padding: 8px 10px;
}

.promo-title {
  font-size: 0.88rem;
  line-height: 1.28;
}

.promo-meta {
  font-size: 0.7rem;
  margin-top: 2px;
}

.promo-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

.promo-refresh-icon {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--honda-red);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.promo-refresh-icon i {
  font-size: 0.95rem;
}

.special-offer {
  padding-bottom: 10px;
}

.offer-slider {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}

.offer-slider::-webkit-scrollbar {
  display: none;
}

.offer-card {
  min-width: min(74vw, 190px);
  max-width: min(74vw, 190px);
  scroll-snap-align: start;
  border: 1px solid color-mix(in srgb, var(--honda-red) 22%, var(--border));
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(218, 14, 21, 0.08), #ffffff);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.offer-badge {
  width: fit-content;
  min-height: 20px;
  border-radius: 999px;
  padding: 0 8px;
  background: var(--honda-red);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.offer-title {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.3;
}

.offer-old-price {
  margin: 0;
  font-size: 0.68rem;
  color: #7d8593;
  text-decoration: line-through;
}

.offer-price {
  margin: 0;
  color: var(--honda-red-700);
  font-size: 0.98rem;
  font-weight: 800;
}

.offer-cta {
  margin-top: 4px;
  min-height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--honda-red), var(--honda-red-700));
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Offer Detail Modal */
.offer-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.offer-detail-modal {
  background: var(--surface);
  border-radius: 16px;
  width: min(90vw, 360px);
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.25s ease;
}

.offer-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.offer-detail-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.offer-detail-close:hover {
  background: var(--border);
}

.offer-detail-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.offer-detail-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.offer-detail-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.offer-detail-prices .offer-old-price {
  font-size: 0.82rem;
}

.offer-detail-prices .offer-price {
  font-size: 1.2rem;
}

.offer-detail-berlaku {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.offer-detail-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

.offer-detail-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.offer-detail-ket {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
}

.offer-detail-ket-empty {
  color: var(--muted);
  font-style: italic;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.voucher-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.voucher-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(218, 14, 21, 0.06), #ffffff);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.voucher-title {
  margin: 2px 0 0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.voucher-code,
.voucher-exp {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.voucher-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.voucher-row {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

.voucher-use-btn {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--honda-red), var(--honda-red-700));
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
}

.contact-info-card {
  display: grid;
  gap: 5px;
}

.contact-row {
  display: grid;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}

.contact-row-compact {
  padding: 6px 8px;
}

.contact-label {
  font-size: 0.64rem;
  color: var(--muted);
}

.contact-value {
  font-size: 0.72rem;
  line-height: 1.25;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.contact-btn-wa,
.contact-btn-call {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff !important;
  padding: 0;
}

.contact-icon-btn i {
  font-size: 0.92rem;
  color: #fff !important;
}

.contact-btn-wa {
  background: linear-gradient(180deg, #20c05d, #159347);
}

.contact-btn-call {
  background: linear-gradient(180deg, #69a8ff, #4a84e4);
}

.contact-btn-mail {
  background: linear-gradient(180deg, #8b93a3, #6a7488);
}

.contact-profile-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: start;
  padding: 2px;
}

.contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f7f1f1;
  color: var(--honda-red);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.contact-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.contact-name {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.25;
}

.contact-line {
  margin: 0;
  font-size: 0.74rem;
  color: #5f6675;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.contact-line i {
  font-size: 0.72rem;
}

.contact-actions-vertical {
  grid-template-columns: 1fr;
  display: grid;
  justify-items: end;
  gap: 6px;
}

.security-toggle-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.security-toggle-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.security-status {
  margin-top: 6px;
  font-size: 0.7rem;
}

.security-note {
  margin: -4px 2px 0;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.35;
}

.security-switch {
  width: 44px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #d3d7df;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.security-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
  transition: transform 180ms ease;
}

.security-switch.is-active {
  background: var(--honda-red);
}

.security-switch.is-active .security-switch-thumb {
  transform: translateX(18px);
}

.security-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.38);
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 14px;
}

.security-modal {
  width: min(90vw, 300px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 12px 10px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 7px;
}

.security-modal-title {
  margin: 0;
  font-size: 0.9rem;
}

.security-pin-wrap {
  display: grid;
  justify-content: center;
}

.security-pin-box {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.security-pin-cell {
  width: 34px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #b0b5be;
  line-height: 1;
}

.security-pin-cell.is-filled {
  color: var(--text);
}

.security-pin-cell.is-active {
  border-color: color-mix(in srgb, var(--honda-red) 45%, var(--border));
  box-shadow: 0 0 0 1px rgba(218, 14, 21, 0.12);
}

.security-pin-capture {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.security-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btn-inline-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  animation: spin 0.8s linear infinite;
}

body.security-modal-open {
  overflow: hidden;
}

.app-update-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 13, 22, 0.58);
}

.app-update-modal {
  width: min(92vw, 340px);
  display: grid;
  gap: 10px;
  justify-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.app-update-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--honda-red);
}

.app-update-title {
  margin: 0;
  font-size: 1rem;
}

.app-update-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.app-update-version {
  margin: 0;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.app-update-btn {
  width: 100%;
  margin-top: 2px;
}

body.app-update-modal-open {
  overflow: hidden;
}

.part-discount {
  padding-bottom: 10px;
}

.part-card {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--honda-red) 45%, var(--border));
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.part-card .offer-title {
  color: #1f2733;
}

.part-card .offer-old-price {
  color: #7d8593;
}

.part-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, #fff);
  margin-bottom: 4px;
  background: #f4f5f8;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.meta,
.hint,
.kpi-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.badge {
  min-height: 24px;
  border-radius: 999px;
  padding: 0 var(--space-2);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
}

.badge-success,
.badge-danger {
  gap: 5px;
  font-weight: 600;
}

.badge-success {
  color: #117943;
  background: #ebf8f0;
  border-color: #bfe8d0;
}

.badge-danger {
  color: var(--honda-red-700);
  background: rgba(218, 14, 21, 0.07);
  border-color: rgba(218, 14, 21, 0.2);
}

.badge i {
  font-size: 0.7rem;
}

.history-detail-card {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.history-detail-section {
  display: grid;
  gap: 6px;
}

.history-detail-grid {
  display: grid;
  gap: 0;
  margin: 0;
}

.history-detail-title {
  margin: 0 0 2px;
  padding-left: 0;
  font-size: 0.86rem;
  line-height: 1.3;
}

.history-detail-field {
  display: grid;
  grid-template-columns: minmax(98px, 39%) minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.history-detail-field:last-child {
  border-bottom: 0;
}

.history-detail-label,
.history-detail-value {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
}

.history-detail-label {
  color: var(--muted);
}

.history-detail-value {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.history-detail-total .history-detail-value {
  color: var(--honda-red-700);
}

.lhs-section {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.lhs-title {
  margin: 0;
  padding-left: 0;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.3;
}

.lhs-title::before {
  content: none;
  position: absolute;
  inset: 2px auto 2px 0;
  width: 4px;
  border-radius: 999px;
  background: var(--honda-red);
}

.lhs-summary .history-detail-field {
  padding-block: 7px;
}

.history-detail-highlight .history-detail-value {
  color: var(--honda-red-700);
}

.history-inline-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  font-size: 0.66rem;
  font-weight: 700;
}

.history-inline-badge.is-warning {
  color: var(--honda-red-700);
  background: rgba(218, 14, 21, 0.07);
  border-color: rgba(218, 14, 21, 0.2);
}

.lhs-check-grid {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lhs-check-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.lhs-check-label {
  min-width: 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
}

.lhs-check-status {
  flex: 0 0 auto;
  min-height: 22px;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.66rem;
  font-weight: 700;
}

.lhs-check-status.is-ok {
  color: #117943;
  background: #ebf8f0;
  border-color: #bfe8d0;
}

.lhs-check-status.is-warning {
  color: var(--honda-red-700);
  background: rgba(218, 14, 21, 0.07);
  border-color: rgba(218, 14, 21, 0.2);
}

.histori-pager {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.histori-pager-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--honda-red);
  background: var(--honda-red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.histori-pager-btn:disabled {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--muted);
  opacity: 1;
}

.histori-pager-btn i {
  font-size: 0.72rem;
}

.histori-pager-info {
  min-width: 52px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 355px) {
  .lhs-check-grid {
    grid-template-columns: 1fr;
  }
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pill {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0 var(--space-3);
  cursor: pointer;
}

.pill[aria-pressed="true"] {
  border-color: rgba(231, 0, 18, 0.28);
  color: var(--primary);
  background: var(--surface);
}

.field {
  display: grid;
  gap: 6px;
}

.label {
  font-size: 0.79rem;
  font-weight: 600;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  min-height: 38px;
  padding: 0 var(--space-3);
}

.textarea {
  min-height: 80px;
  padding-block: var(--space-2);
  resize: vertical;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: #df3d47;
}

.error-text {
  margin: 0;
  font-size: 0.72rem;
  color: #cf2d37;
  min-height: 18px;
}

.loading,
.empty,
.error {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  padding: var(--space-4);
  text-align: center;
  color: var(--muted);
}

.skeleton {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7ed, #f2f3f6, #e5e7ed);
  background-size: 170% 100%;
  animation: shine 1.2s infinite linear;
}

.skeleton + .skeleton {
  margin-top: var(--space-2);
}

.offer-skeleton-slider {
  display: flex;
  gap: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.offer-card-skeleton {
  min-width: min(74vw, 190px);
  max-width: min(74vw, 190px);
  border: 1px solid color-mix(in srgb, var(--honda-red) 10%, var(--border));
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(218, 14, 21, 0.03), #ffffff);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.offer-card-skeleton .sk-badge {
  width: 70px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7ed, #f2f3f6, #e5e7ed);
  background-size: 170% 100%;
  animation: shine 1.2s infinite linear;
}

.offer-card-skeleton .sk-title {
  width: 85%;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7ed, #f2f3f6, #e5e7ed);
  background-size: 170% 100%;
  animation: shine 1.2s infinite linear;
}

.offer-card-skeleton .sk-price-old {
  width: 60%;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7ed, #f2f3f6, #e5e7ed);
  background-size: 170% 100%;
  animation: shine 1.2s infinite linear;
}

.offer-card-skeleton .sk-price {
  width: 70%;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7ed, #f2f3f6, #e5e7ed);
  background-size: 170% 100%;
  animation: shine 1.2s infinite linear;
}

.offer-card-skeleton .sk-btn {
  width: 100%;
  height: 30px;
  border-radius: 8px;
  margin-top: 4px;
  background: linear-gradient(90deg, #e5e7ed, #f2f3f6, #e5e7ed);
  background-size: 170% 100%;
  animation: shine 1.2s infinite linear;
}

.toast-region {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(
    var(--nav-height) + env(safe-area-inset-bottom) + var(--space-4)
  );
  z-index: 40;
  display: grid;
  gap: var(--space-2);
  width: min(72vw, 260px);
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  text-align: center;
}

.qr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.38);
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 45;
}

.qr-overlay.is-open {
  opacity: 1;
}

.qr-sheet {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) - 6px);
  transform: translateX(-50%) translateY(104%);
  width: min(92vw, 420px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.2);
  z-index: 60;
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.qr-sheet.is-open {
  transform: translateX(-50%) translateY(0);
}

.qr-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #d5dae3;
  margin: 0 auto 8px;
  touch-action: none;
  cursor: grab;
}

.qr-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qr-title {
  margin: 0;
  font-size: 0.9rem;
}

.qr-subtitle {
  margin: 4px 0 8px;
  font-size: 0.72rem;
  color: var(--muted);
}

.qr-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: #fff;
  min-height: 248px;
  padding: 12px;
}

.qr-image img,
.qr-image canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.qr-caption {
  margin: 8px 0 0;
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  word-break: break-word;
}

body.qr-open {
  overflow: hidden;
}

.member-auth-page {
  min-height: min(75dvh, 520px);
  display: grid;
  align-content: center;
}

.member-auth-card {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.member-auth-form {
  display: grid;
  gap: 10px;
}

.form-label {
  font-weight: 600;
  color: var(--text);
}

.member-auth-input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.member-auth-input::placeholder {
  color: var(--muted);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.01em;
}

.member-auth-input:focus-visible {
  border-color: var(--honda-red);
}

.member-auth-btn {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--honda-red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.member-auth-btn:disabled,
.member-auth-input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-error {
  margin: 0;
  font-size: 0.86rem;
  color: #d32f2f;
}

.member-choice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 38;
}

.member-choice-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 14px;
  z-index: 39;
  display: grid;
  gap: 10px;
}

.member-choice-title {
  margin: 0;
  font-size: 1rem;
}

.member-choice-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.member-choice-list {
  display: grid;
  gap: 8px;
  max-height: min(46vh, 320px);
  overflow-y: auto;
}

.member-choice-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  display: grid;
  gap: 2px;
}

.member-choice-item strong {
  font-size: 0.9rem;
}

.member-choice-item span {
  font-size: 0.78rem;
  color: var(--muted);
}

.member-choice-cancel-btn {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
}

.member-locked-title {
  opacity: 0.95;
}

.member-login-btn {
  margin-top: 6px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--honda-red-700);
  font-weight: 700;
  cursor: pointer;
}

.member-card-label {
  margin-bottom: 2px;
  font-size: 0.74rem;
  opacity: 0.9;
}

.hidden {
  display: none !important;
}

@keyframes shine {
  to {
    background-position: -170% 0;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fabSpinOnce {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(220deg);
  }
}

@keyframes tickerLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 360px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-nav .nav-link:nth-child(2) {
    margin-right: 30px;
  }

  .bottom-nav .nav-link:nth-child(3) {
    margin-left: 30px;
  }
}

@media (min-width: 640px) {
  #appMain {
    padding: var(--space-5);
    padding-bottom: calc(
      var(--space-6) + var(--nav-height) + env(safe-area-inset-bottom)
    );
  }
}

@media (min-width: 768px) {
  .topbar {
    padding-inline: var(--space-5);
  }
}

@media (min-width: 1024px) {
  body {
    padding: var(--space-4) 0;
  }

  .app-shell {
    border-radius: 26px;
    min-height: calc(100dvh - 32px);
    box-shadow: var(--shadow-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none !important;
  }
}
