/* 执业药师子站局部样式：顶栏 + 预约表单/滑块 */

/* 蛋壳 · 同等学力申硕 — 静态站样式 */

:root {
  /* 与官网一致：深色底 #0b0c17、品牌黄 #ffe100、黄底字 #0f0c04 */
  --color-bg: #0b0c17;
  --color-bg-elevated: #151924;
  --color-surface: #ffffff;
  --color-surface-muted: #f4f6f9;
  --color-text: #1a2332;
  --color-text-muted: #5c6678;
  --color-brand: #ffe100;
  --color-brand-deep: #e6cc00;
  --color-on-brand: #0f0c04;
  --color-gold: var(--color-brand);
  --color-gold-dim: rgba(255, 225, 0, 0.32);
  --color-brand-soft: rgba(255, 225, 0, 0.18);
  --color-border: rgba(255, 255, 255, 0.08);
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 48px rgba(11, 12, 23, 0.35);
  --header-h: 72px;
  --max-w: 1120px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.logo:hover {
  color: #fff;
}

.logo:focus,
.logo:focus-visible {
  outline: none;
}

.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

/* 顶栏 / 页脚品牌图（public/log-1.png） */
.logo-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
  color: var(--color-on-brand);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 10px;
}

.logo-text {
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-gold);
}

.site-nav a.is-active {
  color: var(--color-gold);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--color-brand);
  color: var(--color-on-brand) !important;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  filter: brightness(1.06);
  color: var(--color-on-brand) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav a:last-child {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.field input,
.field textarea {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid rgba(11, 12, 23, 0.15);
  border-radius: var(--radius);
  background: var(--color-surface-muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-dim);
}

.field-full {
  grid-column: 1 / -1;
}

.contact-form .btn-primary {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.5em;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-note.success {
  color: #1d6f42;
}

/* 同等学力咨询 — 滑块：视觉对齐官网登录 SlideVerify（src/components/slideVerify/SlideVerify.vue） */
.eel-slider-field > span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #717274;
}

.eel-slider-intro {
  margin: 0 0 10px;
  font-size: 0.875rem;
  color: #717274;
  line-height: 1.5;
}

.eel-slider-mount {
  min-height: 50px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.eel-slider-skip {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #717274;
  background: #f6f6f6;
  border-radius: 4px;
  border: 2px solid #f6f6f6;
}

.eel-slider-row {
  width: 100%;
  max-width: min(100%, var(--eel-track-w, 280px));
}

.eel-slider-track {
  position: relative;
  width: 100%;
  max-width: var(--eel-track-w, 280px);
  border-radius: 4px;
  overflow: hidden;
  background: #f6f6f6;
  border: 2px solid #f6f6f6;
  box-sizing: border-box;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.eel-slider-track img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
  pointer-events: none;
}

/* 与官网一致：白底滑块 + 居中双箭头图标（官网为 arrow.png） */
.eel-slider-thumb {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  min-width: 36px;
  height: calc(100% - 4px);
  max-height: 48px;
  min-height: 44px;
  border-radius: 4px;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  cursor: grab;
  z-index: 2;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.eel-slider-thumb::after {
  content: "››";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 700;
  color: #717274;
  line-height: 1;
  letter-spacing: -0.25em;
  padding-left: 3px;
  pointer-events: none;
}

.eel-slider-thumb:active {
  cursor: grabbing;
}

.eel-slider-thumb:focus-visible {
  outline: 2px solid #c0c4cc;
  outline-offset: 2px;
}

/* 对齐 .slider-verify-block.slider-success */
.eel-slider-thumb.eel-slider-thumb--success {
  background-color: #f0f9ff;
}

.eel-slider-status {
  margin: 10px 0 0;
  min-height: 1.25em;
  font-size: 0.875rem;
  color: #717274;
}

.eel-slider-status.is-ok {
  color: #67c23a;
  font-weight: 500;
}

.eel-slider-status.is-err {
  color: #b42318;
}

/* 平板 / 手机：轨道不超出屏宽，触控与字号优化 */
@media (max-width: 768px) {
  .eel-slider-field {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .eel-slider-intro,
  .eel-slider-status,
  .eel-slider-field > span {
    font-size: clamp(0.8125rem, 3.6vw, 0.875rem);
  }

  .eel-slider-intro {
    padding-right: 4px;
    word-break: break-word;
  }

  .eel-slider-row,
  .eel-slider-track {
    max-width: 100% !important;
  }

  .eel-slider-mount {
    min-height: 48px;
    margin-left: 0;
    margin-right: 0;
  }

  .eel-slider-thumb {
    max-height: 46px;
    min-height: 44px;
  }

  .eel-slider-thumb::after {
    font-size: 16px;
  }
}

/* 预约表单 · H5（窄屏单列、触控高度、避免 iOS 输入框聚焦缩放整页） */
@media (max-width: 640px) {
  .yiyao-main .section.section-contact {
    padding-top: 48px;
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field span {
    font-size: 0.875rem;
  }

  .field input,
  .field textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 14px 16px;
    -webkit-appearance: none;
    appearance: none;
  }

  .field textarea {
    min-height: 140px;
    resize: vertical;
  }

  .contact-form .btn-primary,
  .contact-form .btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .yiyao-main .section.section-contact .contact-grid {
    gap: 24px;
  }

  .contact-aside {
    padding: 20px 16px;
  }

  .page-main {
    padding: 36px 0 calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .page-main .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .callout {
    padding: 16px;
    font-size: 0.875rem;
    line-height: 1.65;
  }

  /* 滑块：窄屏与表单同宽，避免横向裁切 */
  .eel-slider-field {
    min-width: 0;
  }

  .eel-slider-skip {
    font-size: 0.8125rem;
    padding: 12px;
  }
}

/* 内页 / 联系我们顶栏（与 public/yiyao/styles.css · page-hero 一致） */
.page-hero {
  position: relative;
  padding: 56px 0 48px;
  background: var(--color-bg);
  color: #fff;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 225, 0, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(255, 225, 0, 0.06), transparent 45%),
    linear-gradient(180deg, #0b0c17 0%, #141824 100%);
}

.page-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  position: relative;
}

.page-hero .hero-eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-lead {
  margin: 0;
  max-width: 40em;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* 与同等学力子页一致：按钮基类（预约页 contact-form 依赖） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

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

.btn-primary {
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
  color: var(--color-on-brand);
  box-shadow: 0 8px 24px var(--color-gold-dim);
}

.btn-primary:hover {
  color: var(--color-on-brand);
  filter: brightness(1.06);
}

.btn-block {
  width: 100%;
}

.page-main {
  padding: 64px 0 88px;
  background: var(--color-surface-muted);
}

.page-section {
  margin-bottom: 56px;
}

.page-section:last-child {
  margin-bottom: 0;
}

.page-section h2 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-bg);
}

.page-section h3 {
  margin: 28px 0 12px;
  font-size: 1.125rem;
  color: var(--color-bg);
}

.callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--color-surface);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  box-shadow: 0 4px 20px rgba(11, 12, 23, 0.06);
}

.contact-aside {
  padding: 28px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 12, 23, 0.08);
}

.contact-aside h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  color: var(--color-bg);
}

.contact-aside p,
.contact-aside address {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-style: normal;
  line-height: 1.7;
}

.contact-aside p:last-child {
  margin-bottom: 0;
}

.contact-form button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
  color: var(--color-on-brand);
  box-shadow: 0 8px 24px var(--color-gold-dim);
  width: 100%;
  box-sizing: border-box;
}
.contact-form button.btn-primary:hover {
  color: var(--color-on-brand);
  filter: brightness(1.06);
}

/* 首页嵌入预约：左文案 + 右表单（执业药师 · 预约咨询） */
.section.section-contact {
  background: var(--color-surface);
}

.yiyao-main .section.section-contact.section-contact--yiyao {
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%, #ffffff 100%);
  border-top: 1px solid rgba(11, 12, 23, 0.07);
  padding-top: 88px;
  padding-bottom: 96px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px 56px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.contact-eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7791f;
}

.contact-highlights {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-highlights li {
  position: relative;
  padding-left: 1.35em;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.contact-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-brand-deep);
  font-weight: 700;
}

.contact-form-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 12, 23, 0.08);
  box-shadow:
    0 4px 24px rgba(11, 12, 23, 0.06),
    0 18px 48px rgba(11, 12, 23, 0.05);
  padding: 28px 28px 32px;
  border-left: 4px solid var(--color-brand);
}

.contact-form.contact-form--panel {
  padding: 0;
}

.yiyao-main .section-contact--yiyao .contact-form--panel .field input,
.yiyao-main .section-contact--yiyao .contact-form--panel .field textarea {
  background: #fff;
  border-color: rgba(11, 12, 23, 0.12);
  box-shadow: inset 0 1px 2px rgba(11, 12, 23, 0.04);
}

.yiyao-main .section-contact--yiyao .contact-form-panel .eel-slider-field {
  padding: 16px 16px 8px;
  margin-top: 4px;
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 12, 23, 0.06);
}

/* 抵消 yiyao/index 内联 .section-title 居中 */
.yiyao-main .section.section-contact .contact-copy .section-title {
  text-align: left;
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-bg);
  letter-spacing: 0.02em;
}

.yiyao-main .section.section-contact .contact-copy .section-desc {
  text-align: left;
  max-width: 36em;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.yiyao-main .section.section-contact .contact-copy .section-desc--link {
  margin-top: 16px;
}

.yiyao-main .section.section-contact .contact-copy a {
  color: var(--color-bg);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yiyao-main .section.section-contact .contact-copy a:hover {
  color: #2b6cb0;
}

/* 右侧悬浮在线咨询（与 public/tongdeng-xueli/styles.css 中 danke-float 一致；index 仅引用本文件故合并至此） */
.danke-float-aside {
  position: fixed;
  z-index: 10050;
  left: auto;
  right: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  align-items: stretch;
  flex-direction: row-reverse;
  justify-content: flex-end;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  pointer-events: none;
}

.danke-float-aside * {
  pointer-events: auto;
}

.danke-float-rail {
  width: 56px;
  background: #fff;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 4px 24px rgba(11, 12, 23, 0.12), -1px 0 0 rgba(11, 12, 23, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 12, 23, 0.08);
  border-right: none;
}

.danke-float-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  min-height: 88px;
  border: none;
  border-bottom: 1px solid rgba(11, 12, 23, 0.08);
  background: linear-gradient(180deg, #0b0c17 0%, #151924 100%);
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s;
}

.danke-float-trigger:hover {
  filter: brightness(1.08);
}

.danke-float-trigger__icon {
  display: flex;
  color: var(--color-gold);
}

.danke-float-trigger__text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  text-orientation: mixed;
}

.danke-float-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  min-height: 72px;
  text-decoration: none;
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-bottom: 1px solid rgba(11, 12, 23, 0.08);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.danke-float-link:last-child {
  border-bottom: none;
}

.danke-float-link:hover {
  background: var(--color-surface-muted);
  color: var(--color-gold);
}

.danke-float-link__icon {
  display: flex;
  color: var(--color-text-muted);
}

.danke-float-link:hover .danke-float-link__icon {
  color: var(--color-gold);
}

.danke-float-link--btn {
  font-family: inherit;
}

.danke-float-link__text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  text-orientation: mixed;
  white-space: nowrap;
}

.danke-float-panel {
  position: absolute;
  right: 56px;
  top: 50%;
  width: min(calc(100vw - 80px), 300px);
  max-height: min(85vh, 520px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: -8px 8px 40px rgba(11, 12, 23, 0.15);
  border: 1px solid rgba(11, 12, 23, 0.1);
  margin-right: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.danke-float-aside.is-open .danke-float-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.danke-float-panel__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(11, 12, 23, 0.06);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.danke-float-panel__close:hover {
  background: rgba(11, 12, 23, 0.1);
  color: var(--color-bg);
}

.danke-float-panel__inner {
  padding: 24px 20px 20px;
}

.danke-float-panel__brand {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}

.danke-float-panel__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-bg);
}

.danke-float-panel__hours {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.danke-float-panel__cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
  color: var(--color-on-brand);
  transition: filter 0.2s;
}

.danke-float-panel__cta:hover {
  filter: brightness(1.06);
  color: var(--color-on-brand);
}

.danke-float-panel__cta--secondary {
  background: var(--color-surface-muted);
  color: var(--color-bg);
  border: 1px solid rgba(11, 12, 23, 0.12);
}

.danke-float-panel__cta--secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.danke-float-panel__wechat {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 12, 23, 0.08);
}

.danke-float-panel__wechat p {
  margin: 0 0 6px;
  font-size: 0.875rem;
  color: var(--color-bg);
}

.danke-float-panel__wechat-sub {
  font-size: 0.75rem !important;
  color: var(--color-text-muted) !important;
  font-weight: 400;
  margin-bottom: 12px !important;
}

.danke-float-panel__qr {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: repeating-linear-gradient(
      45deg,
      var(--color-surface-muted),
      var(--color-surface-muted) 8px,
      #fff 8px,
      #fff 16px
    );
  border: 1px dashed rgba(11, 12, 23, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 8px;
}

.danke-float-panel__qr::after {
  content: "二维码";
}

.danke-float-panel__qr.has-image {
  background: #fff;
  border: 0;
  padding: 0;
  font-size: 0;
  color: transparent;
}

.danke-float-panel__qr.has-image::after {
  content: none;
}

.danke-float-panel__qr.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* 桌面端：与同等学力申硕 static 站一致，工具条贴视口右缘、纵向居中 */
@media (min-width: 769px) {
  body > .danke-float-aside {
    position: fixed;
    left: auto;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: stretch;
    z-index: 10050;
  }
}

@media (max-width: 768px) {
  body > .danke-float-aside {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    transform: none;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .danke-float-rail {
    flex-direction: row;
    width: auto;
    border-radius: 12px 0 0 0;
    border: 1px solid rgba(11, 12, 23, 0.08);
    border-bottom: none;
    border-right: none;
    max-width: 100vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .danke-float-trigger {
    flex-direction: row;
    min-height: 52px;
    padding: 10px 14px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .danke-float-trigger__text {
    writing-mode: horizontal-tb;
    letter-spacing: 0.06em;
  }

  .danke-float-link {
    flex-direction: row;
    align-items: center;
    min-height: 52px;
    min-width: 82px;
    padding: 10px 12px;
    border-bottom: none;
    border-right: 1px solid rgba(11, 12, 23, 0.08);
  }

  .danke-float-link__text {
    font-size: 11px;
    writing-mode: horizontal-tb;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .danke-float-panel {
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 64px;
    width: auto;
    max-height: 60vh;
    margin-right: 0;
    transform: translateY(12px);
  }

  body > .danke-float-aside.is-open .danke-float-panel {
    transform: translateY(0);
  }
}