:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #111827;
  background: #f6f8fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --active: #ee7e1d;
  --active-soft: rgba(238, 126, 29, 0.12);
  --active-line: rgba(238, 126, 29, 0.28);
  --cue-highlight: #ee7e1d;
  --h5-width: clamp(390px, 32vw, 460px);
  --ink: #111827;
  --muted: #64748b;
  --line: #d9e4f0;
  --glass: rgba(255, 255, 255, 0.84);
  --shadow: 0 24px 76px rgba(25, 39, 62, 0.14);
  --detail-panel-padding: 12px;
  --detail-card-padding: clamp(12px, 0.84vw, 18px);
  --detail-card-gap: clamp(8px, 0.56vw, 13px);
  --detail-content-gap: clamp(10px, 0.7vw, 16px);
  --detail-icon-size: clamp(28px, 1.65vw, 36px);
  --detail-icon-font: clamp(13px, 0.78vw, 16px);
  --detail-title-size: clamp(15px, 0.88vw, 20px);
  --detail-label-size: clamp(12px, 0.68vw, 15px);
  --detail-body-size: clamp(12px, 0.7vw, 16px);
  --detail-table-size: clamp(11px, 0.64vw, 15px);
  --detail-note-size: clamp(12px, 0.66vw, 15px);
  --detail-list-gap: clamp(7px, 0.56vw, 12px);
  --detail-cell-y: clamp(5px, 0.42vw, 9px);
  --detail-cell-x: clamp(7px, 0.55vw, 12px);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  min-width: 320px;
  margin: 0;
  overflow: hidden;
}

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

button,
iframe {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-shell {
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(247, 250, 254, 0.98), rgba(255, 250, 245, 0.92)),
    linear-gradient(90deg, rgba(238, 126, 29, 0.08), transparent 38%, rgba(47, 124, 255, 0.08)),
    #f6f8fb;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(47, 70, 104, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 70, 104, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000 0, #000 62%, transparent 100%);
}

.site-shell::after {
  position: absolute;
  top: 0;
  right: var(--h5-width);
  bottom: 0;
  width: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, var(--active-line), transparent);
}

.site-shell[data-accent="blue"] {
  --active: #2f7cff;
  --active-soft: rgba(47, 124, 255, 0.12);
  --active-line: rgba(47, 124, 255, 0.28);
}

.site-shell[data-accent="green"] {
  --active: #12a974;
  --active-soft: rgba(18, 169, 116, 0.12);
  --active-line: rgba(18, 169, 116, 0.28);
}

.site-shell[data-accent="dark"] {
  --active: #151923;
  --active-soft: rgba(21, 25, 35, 0.1);
  --active-line: rgba(21, 25, 35, 0.22);
}

.h5-stage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: var(--h5-width);
  min-width: 0;
  min-height: 0;
}

.h5-viewport {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid rgba(194, 207, 224, 0.96);
  background: #fff;
  box-shadow:
    -26px 0 70px rgba(24, 37, 56, 0.13),
    inset 1px 0 0 rgba(255, 255, 255, 0.78);
  animation: h5-enter 420ms ease both;
}

.h5-viewport iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.h5-assist {
  position: absolute;
  top: 18px;
  right: calc(100% + 18px);
  z-index: 5;
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  max-width: min(390px, calc(100vw - var(--h5-width) - 42px));
  pointer-events: none;
}

.qr-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 78px;
  padding: 7px 8px 7px 10px;
  border: 2px solid var(--cue-highlight);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 44px rgba(24, 37, 56, 0.16),
    0 0 0 5px var(--active-soft);
  backdrop-filter: blur(16px);
}

.qr-card img,
.qr-card canvas {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 0;
}

.qr-card [data-page-qr] {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
}

.qr-card span {
  color: var(--cue-highlight);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  writing-mode: vertical-rl;
}

.h5-cue {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  padding: 11px 15px;
  border: 2px solid var(--cue-highlight);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 44px rgba(24, 37, 56, 0.18),
    0 0 0 5px var(--active-soft);
  color: #3b4658;
  backdrop-filter: blur(16px);
  animation: assist-wiggle 3.2s ease-in-out infinite;
}

.h5-cue::before {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--active);
  box-shadow: 0 0 0 7px var(--active-soft);
  content: "";
}

.h5-cue::after {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--cue-highlight);
  border-right: 2px solid var(--cue-highlight);
  background: rgba(255, 255, 255, 0.92);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.h5-cue span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h5-cue strong {
  color: var(--cue-highlight);
  font-size: 14px;
  white-space: nowrap;
}

.left-workspace {
  position: absolute;
  inset: 0 var(--h5-width) 0 0;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 32px);
  overflow: hidden;
}

.left-workspace::before,
.left-workspace::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.left-workspace::before {
  top: 16%;
  right: 6%;
  width: min(38vw, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 124, 255, 0.28), transparent);
  transform: rotate(-18deg);
}

.left-workspace::after {
  right: 8%;
  bottom: 14%;
  width: min(42vw, 560px);
  height: 160px;
  border: 1px solid rgba(47, 124, 255, 0.12);
  border-right: 0;
  border-left: 0;
  transform: skewY(-10deg);
}

.left-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr);
  grid-template-rows: auto clamp(150px, 22vh, 190px) auto clamp(210px, 30vh, 260px) auto;
  grid-template-areas:
    "brand brand"
    "overview promo"
    "services services"
    "detail detail"
    "footer footer";
  gap: clamp(8px, 1.25vh, 12px);
}

.overview-panel,
.promo-carousel,
.service-panel,
.detail-panel {
  border: 1px solid rgba(217, 228, 240, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 252, 255, 0.82)),
    var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.brand-row {
  grid-area: brand;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 0 2px 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(238, 126, 29, 0.22);
}

.brand span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.brand strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-heading span,
.panel-title span {
  display: inline-grid;
  width: fit-content;
  min-height: 28px;
  place-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--active-soft);
  color: var(--active);
  font-size: 12px;
  font-weight: 850;
}

.overview-panel {
  grid-area: overview;
  display: grid;
  min-height: 110px;
  padding: clamp(14px, 1.8vw, 20px);
  border-radius: 14px;
}

.dock-heading {
  display: grid;
  align-content: center;
  gap: 9px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 880;
  line-height: 1;
  letter-spacing: 0;
}

.dock-heading p {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.promo-carousel {
  grid-area: promo;
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}

.promo-carousel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 15, 28, 0.42), rgba(8, 15, 28, 0.04) 58%, transparent),
    linear-gradient(180deg, transparent 58%, rgba(8, 15, 28, 0.26));
}

.promo-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 520ms ease,
    transform 850ms ease;
}

.promo-carousel img.active {
  opacity: 1;
  transform: scale(1);
}

.promo-copy {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  max-width: min(430px, calc(100% - 120px));
  gap: 7px;
  color: #fff;
}

.promo-copy span,
.panel-title span {
  display: inline-grid;
  width: fit-content;
  min-height: 26px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.promo-copy h2 {
  color: #fff;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.08;
}

.promo-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.55;
}

.promo-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  gap: 7px;
}

.promo-dots button {
  width: 28px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.promo-dots button.active {
  width: 42px;
  background: #fff;
}

.service-panel {
  grid-area: services;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: var(--detail-panel-padding);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.9)),
    var(--glass);
}

.panel-title {
  display: grid;
  gap: 9px;
  min-width: 138px;
}

.panel-title span {
  background: var(--active-soft);
  color: var(--active);
}

.panel-title strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.service-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 26px);
  height: auto;
}

.service-switcher button {
  position: relative;
  display: flex;
  width: auto;
  min-width: 120px;
  min-height: 62px;
  flex: 1 1 125px;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(202, 215, 232, 0.95);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(180deg, #fff, #f8fbff);
  color: #374257;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -10px 18px rgba(148, 163, 184, 0.08),
    0 2px 0 rgba(148, 163, 184, 0.24),
    0 14px 26px rgba(24, 37, 56, 0.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.service-switcher:has(button:nth-child(5)) button {
  min-width: 150px;
  flex-basis: 170px;
}

.service-switcher button::before {
  position: absolute;
  top: -26px;
  right: -28px;
  width: 126px;
  height: 118px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 74% 28%, color-mix(in srgb, var(--active), transparent 70%) 0 7px, transparent 8px),
    linear-gradient(135deg, transparent 0 38%, color-mix(in srgb, var(--active), transparent 76%) 38% 39.5%, transparent 39.5% 58%, color-mix(in srgb, var(--active), transparent 82%) 58% 59.5%, transparent 59.5%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--active), transparent 90%) 0 2px, transparent 2px 11px);
  opacity: 0.65;
  transform: rotate(-8deg);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  mask-image: linear-gradient(90deg, transparent 0, #000 34%, #000 100%);
}

.service-switcher button::after {
  position: absolute;
  inset: auto 12px 10px 56px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--active), transparent);
  content: "";
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.service-switcher button > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--active-soft);
  color: var(--active);
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.service-icon i {
  line-height: 1;
}

.service-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.service-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  font-weight: 830;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-switcher button strong {
  display: inline-grid;
  min-height: 24px;
  place-items: center;
  width: fit-content;
  padding: 0 9px;
  border-radius: 999px;
  background: #f2f6fb;
  color: #627088;
  font-size: 12px;
  font-weight: 850;
}

.service-switcher button:hover {
  border-color: color-mix(in srgb, var(--active), #fff 45%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -12px 20px rgba(148, 163, 184, 0.08),
    0 3px 0 color-mix(in srgb, var(--active), transparent 78%),
    0 20px 34px rgba(24, 37, 56, 0.14);
}

.service-switcher button:hover::before {
  opacity: 0.85;
  transform: rotate(-5deg) translateX(-3px);
}

.service-switcher button.active {
  border-color: color-mix(in srgb, var(--active), #fff 16%);
  background:
    radial-gradient(circle at 8% 0, rgba(255, 255, 255, 0.38), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--active), #fff 12%), var(--active));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -14px 22px rgba(0, 0, 0, 0.1),
    0 3px 0 color-mix(in srgb, var(--active), #000 28%),
    0 18px 34px color-mix(in srgb, var(--active), transparent 72%);
}

.service-switcher button.active::before {
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.48) 0 7px, transparent 8px),
    linear-gradient(135deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 38% 39.5%, transparent 39.5% 58%, rgba(255, 255, 255, 0.16) 58% 59.5%, transparent 59.5%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 11px);
  opacity: 0.82;
}

.service-switcher button.active::after {
  opacity: 1;
  transform: translateY(0);
}

.service-switcher button.active .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service-switcher button.active strong {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.detail-panel {
  grid-area: detail;
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  padding: 12px;
  border-radius: 16px;
  isolation: isolate;
}

.detail-panel::before {
  position: absolute;
  inset: 42px 12px 12px;
  z-index: -1;
  pointer-events: none;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--active), transparent 84%), transparent 28%),
    linear-gradient(135deg, transparent 0 38%, rgba(100, 116, 139, 0.06) 38% 39%, transparent 39% 62%, rgba(100, 116, 139, 0.045) 62% 63%, transparent 63%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  content: "";
}

.detail-panel::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 0;
  height: min(36%, 230px);
  pointer-events: none;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 86%, color-mix(in srgb, var(--active), transparent 82%), transparent 24%),
    radial-gradient(circle at 16% 14%, rgba(47, 124, 255, 0.1), transparent 22%),
    linear-gradient(160deg, transparent 0 45%, rgba(47, 124, 255, 0.12) 45% 45.5%, transparent 45.5% 62%, color-mix(in srgb, var(--active), transparent 78%) 62% 62.5%, transparent 62.5%),
    repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.035) 0 1px, transparent 1px 38px);
  opacity: 0.95;
  content: "";
}

.detail-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 0.84vw, 18px);
  margin-bottom: clamp(8px, 0.62vw, 14px);
}

.detail-head span {
  display: inline-grid;
  min-height: clamp(26px, 1.64vw, 34px);
  place-items: center;
  padding: 0 clamp(10px, 0.72vw, 14px);
  border-radius: 999px;
  background: var(--active-soft);
  color: var(--active);
  font-size: var(--detail-label-size);
  font-weight: 850;
}

.detail-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: var(--detail-title-size);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  align-content: stretch;
  gap: var(--detail-content-gap);
  overflow: auto;
}

.detail-content.custom-detail {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(0, 1fr);
}

.detail-content.custom-detail .detail-card {
  grid-column: 1 / -1;
}

.detail-card {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--detail-card-gap);
  overflow: hidden;
  padding: var(--detail-card-padding);
  border: 1px solid rgba(217, 228, 240, 0.82);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(252, 254, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
}

.detail-card::before,
.detail-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.detail-card::before {
  right: -34px;
  bottom: -44px;
  width: 132px;
  height: 132px;
  border: 1px solid color-mix(in srgb, var(--active), transparent 78%);
  border-radius: 999px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--active), transparent 92%), transparent 58%);
}

.detail-card::after {
  right: 16px;
  bottom: 18px;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--active), transparent 70%));
  transform: rotate(-14deg);
}

.detail-card > * {
  position: relative;
  z-index: 1;
}

.detail-card[data-card-type="hotline"] {
  grid-column: 1 / -1;
  place-items: center;
  text-align: center;
}

.detail-card[data-card-type="table"],
.detail-card[data-card-type="prices"] {
  grid-template-rows: auto auto auto;
  align-content: start;
}

.detail-card-title {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.58vw, 13px);
  min-width: 0;
}

.detail-card-title i {
  display: grid;
  width: var(--detail-icon-size);
  height: var(--detail-icon-size);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--active-soft);
  color: var(--active);
  font-size: var(--detail-icon-font);
}

.detail-card-title h2 {
  overflow: hidden;
  color: var(--ink);
  font-size: var(--detail-title-size);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
  color: #3c4658;
  font-size: var(--detail-table-size);
}

.fee-table th,
.fee-table td {
  padding: var(--detail-cell-y) var(--detail-cell-x);
  border: 1px solid rgba(217, 228, 240, 0.92);
  text-align: left;
}

.fee-table th {
  background: rgba(242, 246, 251, 0.88);
  color: #172033;
  font-weight: 850;
}

.detail-list {
  display: grid;
  align-content: start;
  gap: var(--detail-list-gap);
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: clamp(14px, 0.92vw, 20px);
  color: #4b5567;
  font-size: var(--detail-body-size);
  line-height: 1.58;
}

.detail-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: clamp(5px, 0.36vw, 7px);
  height: clamp(5px, 0.36vw, 7px);
  border-radius: 999px;
  background: var(--active);
  content: "";
}

.price-list {
  display: grid;
  align-content: start;
  gap: var(--detail-list-gap);
  min-height: 0;
  overflow: auto;
}

.price-list div {
  display: flex;
  min-height: clamp(34px, 2.15vw, 44px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 0.9vw, 18px);
  padding: var(--detail-cell-y) var(--detail-cell-x);
  border: 1px solid rgba(217, 228, 240, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #465266;
  font-size: var(--detail-body-size);
}

.price-list strong {
  display: inline-grid;
  min-height: clamp(24px, 1.55vw, 32px);
  min-width: clamp(46px, 3vw, 64px);
  place-items: center;
  padding: 0 clamp(10px, 0.72vw, 14px);
  border-radius: 999px;
  background: color-mix(in srgb, var(--active), #fff 12%);
  color: #fff;
  font-size: var(--detail-label-size);
}

.hotline-card {
  display: grid;
  justify-items: center;
  gap: var(--detail-card-gap);
  color: var(--ink);
}

.hotline-card i {
  color: var(--active);
  font-size: clamp(38px, 2.8vw, 58px);
}

.hotline-card span {
  color: #4b5567;
  font-size: clamp(14px, 0.82vw, 18px);
  font-weight: 850;
}

.hotline-card strong {
  color: var(--ink);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.hotline-card p,
.detail-note {
  color: #66758a;
  font-size: var(--detail-note-size);
  line-height: 1.48;
}

.detail-note {
  margin-top: 2px;
  max-height: clamp(42px, 3.2vw, 68px);
  overflow: auto;
}

.site-footer {
  grid-area: footer;
  display: flex;
  min-height: 40px;
  flex-wrap: wrap;
  align-items: center;
  align-self: end;
  justify-content: center;
  gap: 6px 14px;
  padding: 4px 2px 0;
  color: #66758a;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #242d3b;
  font-weight: 820;
}

.site-footer img {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  object-fit: cover;
}

.site-footer a {
  color: #2f66df;
  font-weight: 760;
}

@keyframes h5-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes assist-wiggle {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(3px, -2px, 0);
  }

  50% {
    transform: translate3d(0, 3px, 0);
  }

  75% {
    transform: translate3d(-3px, 1px, 0);
  }
}

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

@media (min-width: 1500px) and (min-height: 860px) {
  :root {
    --detail-panel-padding: clamp(14px, 0.95vw, 20px);
    --detail-card-padding: clamp(16px, 1.05vw, 22px);
    --detail-card-gap: clamp(10px, 0.76vw, 16px);
    --detail-content-gap: clamp(12px, 0.82vw, 18px);
    --detail-icon-size: clamp(32px, 1.9vw, 42px);
    --detail-icon-font: clamp(15px, 0.86vw, 18px);
    --detail-title-size: clamp(18px, 1vw, 22px);
    --detail-label-size: clamp(13px, 0.72vw, 16px);
    --detail-body-size: clamp(14px, 0.76vw, 17px);
    --detail-table-size: clamp(13px, 0.7vw, 16px);
    --detail-note-size: clamp(13px, 0.72vw, 16px);
    --detail-list-gap: clamp(9px, 0.66vw, 14px);
    --detail-cell-y: clamp(7px, 0.5vw, 11px);
    --detail-cell-x: clamp(10px, 0.68vw, 14px);
  }

  .left-inner {
    grid-template-rows:
      max-content
      clamp(150px, 22vh, 190px)
      max-content
      minmax(clamp(210px, 30vh, 260px), 1fr)
      max-content;
  }

  .detail-content {
    grid-auto-rows: auto;
    align-content: start;
  }
}

@media (max-height: 660px) and (min-width: 901px) {
  :root {
    --h5-width: clamp(380px, 31vw, 430px);
  }

  .left-workspace {
    padding: 14px;
  }

  .left-inner {
    gap: 11px;
  }

  .brand-row {
    min-height: 56px;
    padding: 8px 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .brand strong {
    font-size: 16px;
  }

  .overview-panel {
    padding: 18px;
  }

  h1 {
    font-size: clamp(34px, 4.2vw, 48px);
  }

  .dock-heading p {
    font-size: 13px;
    line-height: 1.45;
  }

  .service-switcher button {
    min-height: 68px;
    padding: 10px;
  }

  .detail-panel {
    padding: 10px;
  }

  .detail-content {
    gap: 8px;
  }

  .detail-list li,
  .fee-table,
  .price-list div {
    font-size: 11px;
  }

  .site-footer {
    min-height: 44px;
    padding: 7px 12px;
  }
}

@media (max-width: 1080px) and (min-width: 901px) {
  :root {
    --h5-width: clamp(380px, 38vw, 430px);
  }

  .service-panel {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .service-switcher button {
    min-height: 68px;
  }

  .detail-content {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .detail-card {
    min-height: 130px;
  }

}

@media (max-width: 900px) {
  :root {
    --h5-width: 100vw;
  }

  .site-shell {
    min-height: 100svh;
  }

  .site-shell::after,
  .left-workspace::before,
  .left-workspace::after {
    display: none;
  }

  .h5-stage {
    left: 0;
    width: 100%;
  }

  .h5-viewport {
    border: 0;
    box-shadow: none;
  }

  .h5-assist {
    display: none;
  }

  .left-workspace {
    inset: 0;
    z-index: 4;
    display: block;
    padding: 0;
    pointer-events: none;
  }

  .left-inner {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .brand-row,
  .overview-panel,
  .promo-carousel,
  .detail-panel {
    display: none;
  }

  .service-panel {
    position: fixed;
    top: 50%;
    right: max(10px, env(safe-area-inset-right));
    z-index: 7;
    display: block;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    pointer-events: auto;
    backdrop-filter: none;
  }

  .panel-title {
    display: none;
  }

  .service-switcher {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: end;
    gap: 8px;
  }

  .service-switcher button {
    width: 56px;
    min-width: 0;
    flex: none;
    min-height: 56px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px 3px;
    border-radius: 12px;
    border-color: rgba(217, 228, 240, 0.92);
    background: #fff;
    text-align: center;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      0 8px 18px rgba(24, 37, 56, 0.1);
  }

  .service-switcher:has(button:nth-child(5)) button {
    min-width: 0;
    flex-basis: auto;
  }

  .service-switcher button::before,
  .service-switcher button::after {
    display: none;
  }

  .service-switcher button:hover,
  .service-switcher button.active {
    border-color: var(--active);
    background: var(--active);
    color: #fff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.26),
      0 10px 22px color-mix(in srgb, var(--active), transparent 70%);
    transform: translateY(-1px);
  }

  .service-switcher button.active .service-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .service-switcher button.active .service-name {
    color: #fff;
  }

  .service-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: var(--active-soft);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    font-size: 13px;
  }

  .service-copy {
    justify-items: center;
    gap: 0;
  }

  .service-name {
    max-width: 48px;
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
  }

  .service-switcher button strong {
    display: none;
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 520px) {
  .service-panel {
    right: max(8px, env(safe-area-inset-right));
    width: auto;
    padding: 0;
  }

  .service-switcher button {
    width: 54px;
    min-height: 54px;
  }

  .service-name {
    font-size: 11px;
  }

  .site-footer {
    gap: 4px 9px;
    font-size: 11px;
  }

  .site-footer img {
    width: 19px;
    height: 19px;
  }
}
  width: clamp(150px, 22%, 210px);
  flex: 0 1 clamp(150px, 22%, 210px);
