/* ============================================================
   哲临盛世 - 前台样式
   详情图纵向拼接 · Header 固定置顶 · 居中主视觉
   ============================================================ */

:root {
  --cq-bg-0: #050505;
  --cq-gold: #c8a05a;
  --cq-gold-2: #f0d28a;
  --cq-fire: #e85d1a;
  --cq-text: #f4e9d3;
  --cq-text-2: #b9a98a;
  --cq-border: rgba(200, 160, 90, 0.35);
  --cq-header-h: 64px;
  --cq-font-cn: "Songti SC", "STSong", "SimSun", serif;
  --cq-font-display: "STKaiti", "KaiTi", "Songti SC", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
body.cq-body {
  font-family: var(--cq-font-cn);
  color: var(--cq-text);
  background: var(--cq-bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
}
body.cq-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
body.cq-body.cq-body--scroll-lock {
  overflow: hidden;
  touch-action: none;
}
body.cq-body--mobile {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ===== 详情图纵向拼接(宽度100%,高度自适应) ===== */
.cq-main { width: 100%; }

.cq-detail {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.cq-detail-item {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.cq-detail-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}

.cq-detail-img {
  display: block;
  width: 100%;
  height: auto;
}

.cq-detail-overlays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.cq-olayer {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cq-olayer-text {
  width: 100%;
  word-break: break-word;
  font-size: calc(var(--cq-fw, 100vw) * var(--cq-fs, 0.04));
}

.cq-olayer-img {
  display: block;
  pointer-events: none;
}

.cq-olayer[data-fit="width"] .cq-olayer-img { width: 100%; height: auto; max-height: 100%; }
.cq-olayer[data-fit="height"] .cq-olayer-img { height: 100%; width: auto; max-width: 100%; }
.cq-olayer[data-fit="contain"] .cq-olayer-img { width: 100%; height: 100%; object-fit: contain; }
.cq-olayer[data-fit="cover"] .cq-olayer-img { width: 100%; height: 100%; object-fit: cover; }
.cq-olayer[data-fit="none"] .cq-olayer-img { max-width: 100%; max-height: 100%; }

.cq-detail-placeholder {
  width: 100%;
  min-height: 240px;
  background:
    radial-gradient(ellipse at 50% 30%, #3a1a0a 0%, #0a0604 60%, #000 100%),
    linear-gradient(180deg, #1a0a05 0%, #050201 100%);
}

/* 图片加载：不挡页面，仅淡入（失败后台自动重试） */
.cq-detail-img.cq-img-loading,
.cq-olayer-img.cq-img-loading {
  opacity: 0;
}
.cq-detail-img.cq-img-loaded,
.cq-olayer-img.cq-img-loaded,
.cq-logo img.cq-img-loaded {
  opacity: 1;
  transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cq-detail-img.cq-img-loaded,
  .cq-olayer-img.cq-img-loaded,
  .cq-logo img.cq-img-loaded {
    transition: none;
  }
}

/* ===== 顶部导航(固定置顶) ===== */
.cq-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 3, 1, 0.5) 0%, rgba(5, 3, 1, 0.65) 100%);
  border-bottom: 1px solid var(--cq-border);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  overflow: visible;
}
.cq-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cq-gold) 50%, transparent 100%);
  opacity: 0.6;
  animation: cq-header-line 3.2s ease-in-out infinite;
}
.cq-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--cq-header-h);
  overflow: visible;
}
.cq-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  animation: cq-header-enter 0.7s ease backwards;
}
.cq-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(200,160,90,0.5));
}
.cq-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  overflow: visible;
  align-items: center;
}

.cq-pf-item {
  position: relative;
  display: inline-flex;
}

/* 顶部按钮 · 悬停二维码（与侧栏逻辑一致，JS 控制 is-qr-pop-open） */
.cq-pf-pop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  transform: translateY(-6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 110;
}

.cq-pf-item--qr.is-qr-pop-open .cq-pf-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cq-pf-item--qr:not(.is-qr-pop-open) .cq-pf-pop {
  transition: none;
}

.cq-pf-pop-card {
  position: relative;
  padding: 3px;
  background: linear-gradient(120deg, #f0d28a, #e85d1a, #c8a05a, #8a6528, #f0d28a, #e85d1a);
  background-size: 300% 300%;
  animation: cq-pop-border-flow 3s linear infinite;
  border-radius: 4px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(200, 160, 90, 0.2);
}

.cq-pf-pop-card::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #c8a05a;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.25);
}

.cq-pf-pop-frame {
  padding: 12px 14px 10px;
  background: linear-gradient(165deg, #241608 0%, #120a06 50%, #0a0604 100%);
  border-radius: 2px;
  text-align: center;
}

.cq-pf-pop-title {
  margin: 0 0 8px;
  padding-bottom: 6px;
  color: var(--cq-gold-2);
  font-family: var(--cq-font-display);
  font-size: 15px;
  letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(200, 160, 90, 0.25);
  text-shadow: 0 0 12px rgba(200, 160, 90, 0.3);
  white-space: nowrap;
}

.cq-pf-pop-qr {
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(200, 160, 90, 0.35);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
}

.cq-pf-pop-card img {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  background: #fff;
  object-fit: contain;
}

.cq-pf-pop-tip {
  margin: 8px 0 0;
  color: var(--cq-text-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

html[data-client-device] .cq-pf-pop {
  display: none !important;
}

/* 移动端：隐藏 PC 按钮（Header / 侧栏） */
html[data-client-device] .cq-pf-btn[data-code="pc"],
html[data-client-device] .cq-dock-item:has(.cq-dock-pc):not(.cq-dock-item--qr) {
  display: none !important;
}
html[data-client-device] .cq-header-inner {
  flex-wrap: nowrap;
  padding: 8px 10px;
  gap: 8px;
  min-height: var(--cq-header-h);
}
html[data-client-device] .cq-logo {
  flex: 0 1 auto;
  min-width: 0;
}
html[data-client-device] .cq-logo img {
  height: 32px;
  max-width: 96px;
  object-fit: contain;
  object-position: left center;
}
html[data-client-device] .cq-nav {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}
html[data-client-device] .cq-nav--dual {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
  gap: 6px;
}
html[data-client-device] .cq-nav--dual .cq-pf-item {
  width: 100%;
  min-width: 0;
}
html[data-client-device] .cq-nav--dual .cq-pf-btn {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 8px 10px;
  font-size: 11px;
  gap: 4px;
  letter-spacing: 0;
  border-radius: 5px;
  justify-content: center;
  background: linear-gradient(180deg, rgba(232,93,26,0.28) 0%, rgba(200,160,90,0.12) 100%);
  border-color: rgba(200,160,90,0.55);
}
html[data-client-device] .cq-nav--solo .cq-pf-btn {
  flex: none;
  min-width: auto;
  padding: 9px 16px;
  font-size: 13px;
  gap: 6px;
  letter-spacing: 0.04em;
  border-radius: 6px;
}
html[data-client-device] .cq-pf-btn span {
  display: inline !important;
  font-weight: 600;
  white-space: nowrap;
}
html[data-client-device] .cq-nav--dual .cq-pf-btn span {
  font-size: 11px;
  letter-spacing: 0;
}
html[data-client-device] .cq-ic {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
html[data-client-device] .cq-nav--solo .cq-ic {
  width: 17px;
  height: 17px;
}

.cq-pf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(180deg, rgba(200,160,90,0.12) 0%, rgba(200,160,90,0.04) 100%);
  border: 1px solid var(--cq-border);
  color: var(--cq-text);
  font-family: var(--cq-font-cn);
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  animation: cq-pf-enter 0.65s ease backwards;
}
.cq-pf-btn:nth-child(1) { animation-delay: 0.12s; }
.cq-pf-btn:nth-child(2) { animation-delay: 0.24s; }
.cq-pf-btn:nth-child(3) { animation-delay: 0.36s; }
.cq-pf-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 120%, rgba(232,93,26,0.18) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.cq-pf-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(240, 210, 138, 0.06) 38%,
    rgba(255, 240, 200, 0.28) 50%,
    rgba(240, 210, 138, 0.06) 62%,
    transparent 100%
  );
  transform: skewX(-16deg);
  pointer-events: none;
  z-index: 0;
  animation: cq-pf-shine 5.5s ease-in-out infinite;
}
.cq-pf-btn:nth-child(2)::after { animation-delay: 1.8s; }
.cq-pf-btn:nth-child(3)::after { animation-delay: 3.6s; }
.cq-pf-btn > * {
  position: relative;
  z-index: 1;
  transition: transform .25s ease, filter .25s ease;
}
.cq-pf-btn span {
  display: inline-block;
  font-family: var(--cq-font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(
    90deg,
    #b8a080 0%,
    #dcc8a8 14%,
    #f0d28a 28%,
    #ffe8b0 38%,
    #ff9040 50%,
    #ffe8b0 62%,
    #f0d28a 72%,
    #dcc8a8 86%,
    #b8a080 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: cq-pf-text-flow 3.6s linear infinite;
}
.cq-pf-btn:nth-child(1) span { animation-delay: 0s; }
.cq-pf-btn:nth-child(2) span { animation-delay: 1.1s; }
.cq-pf-btn:nth-child(3) span { animation-delay: 2.2s; }
.cq-pf-btn:hover span,
.cq-pf-btn.is-recommended span {
  background: linear-gradient(
    90deg,
    #c8a05a 0%,
    #f0d28a 12%,
    #ffe8c0 24%,
    #fff4e0 36%,
    #ffb060 50%,
    #fff4e0 64%,
    #ffe8c0 76%,
    #f0d28a 88%,
    #c8a05a 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation-duration: 2.2s;
}
.cq-pf-btn:hover,
.cq-pf-btn.is-recommended:hover {
  border-color: var(--cq-gold);
  color: var(--cq-gold-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200,160,90,0.3), 0 0 24px rgba(232,93,26,0.12);
}
.cq-pf-btn.is-recommended {
  border-color: rgba(232, 93, 26, 0.55);
  color: var(--cq-gold-2);
  background: linear-gradient(180deg, rgba(232, 93, 26, 0.16) 0%, rgba(200, 160, 90, 0.07) 100%);
  box-shadow:
    0 0 0 1px rgba(200, 160, 90, 0.22),
    0 0 20px rgba(232, 93, 26, 0.18);
}
.cq-pf-btn:hover::before,
.cq-pf-btn.is-recommended::before {
  opacity: 1;
}
.cq-pf-btn.is-recommended::before {
  opacity: 0.65;
}
.cq-pf-btn:hover::after {
  animation: cq-pf-shine-fast 0.65s ease;
}
.cq-pf-btn:hover .cq-ic {
  transform: scale(1.12);
  filter: drop-shadow(0 0 4px rgba(200,160,90,0.5));
}
.cq-pf-btn:active {
  transform: translateY(0);
  transition-duration: .1s;
}
.cq-ic {
  width: 16px; height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.cq-ic-windows { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c8a05a'><path d='M0 3.449L9.75 2.1v9.451H0V3.449zM10.949 1.949L24 0v11.4H10.95V1.949zM0 12.6h9.75v9.451L0 20.699V12.6zM10.949 12.6H24V24l-13.05-1.949V12.6z'/></svg>"); }
.cq-ic-android { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'><circle cx='5.2' cy='2.2' r='1.35' fill='%2338BD76'/><path d='M6.5 3.5L8 7' stroke='%2338BD76' stroke-width='1.6' stroke-linecap='round' fill='none'/><circle cx='18.8' cy='2.2' r='1.35' fill='%2338BD76'/><path d='M17.5 3.5L16 7' stroke='%2338BD76' stroke-width='1.6' stroke-linecap='round' fill='none'/><path fill='%2338BD76' d='M3.5 8.2C3.5 5.2 7.2 3.2 12 3.2s8.5 2 8.5 5v4.3c0 1.3-1 2.3-2.3 2.3H5.8c-1.3 0-2.3-1-2.3-2.3V8.2z'/><circle cx='9.2' cy='8.8' r='1.15' fill='%23f4e9d3'/><circle cx='14.8' cy='8.8' r='1.15' fill='%23f4e9d3'/></svg>"); }
.cq-ic-apple { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f4e9d3'><path d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.53 4.08zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/></svg>"); }

/* Header 按钮动效 */
@keyframes cq-header-enter {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cq-header-line {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.85; }
}
@keyframes cq-pf-enter {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cq-pf-shine {
  0%, 72%, 100% { left: -120%; opacity: 0; }
  78%           { opacity: 1; }
  88%           { left: 140%; opacity: 1; }
  94%           { opacity: 0; }
}
@keyframes cq-pf-shine-fast {
  from { left: -120%; opacity: 1; }
  to   { left: 140%; opacity: 1; }
}
@keyframes cq-pf-text-flow {
  0%   { background-position: 120% 50%; }
  100% { background-position: -120% 50%; }
}
@keyframes cq-pf-glow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(200,160,90,0.22), 0 0 0 1px rgba(200,160,90,0.12);
    border-color: var(--cq-gold);
  }
  50% {
    box-shadow: 0 0 24px rgba(232,93,26,0.35), 0 0 32px rgba(200,160,90,0.18);
    border-color: var(--cq-gold-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cq-logo,
  .cq-header::after,
  .cq-pf-btn,
  .cq-pf-btn::after,
  .cq-pf-btn span {
    animation: none !important;
  }
  .cq-pf-btn span {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--cq-gold-2);
    -webkit-text-fill-color: currentColor;
  }
  .cq-pf-btn { transition: none; }
  .cq-modal-mask,
  .cq-modal-card,
  .cq-modal-title,
  .cq-modal-body img,
  .cq-modal-body p,
  .cq-modal-close {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .cq-modal-btn-close {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== 微信引导浮窗 ===== */
.cq-wechat-mask[hidden] { display: none; }
.cq-wechat-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  overflow: hidden;
}

/* 引导区:菜单 + 箭头 + 文案成组,文案紧贴箭头下方 */
.cq-wechat-guide-area {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  pointer-events: none;
}

/* 右上角 ··· 菜单 */
.cq-wechat-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cq-wechat-menu-dots {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  user-select: none;
}

.cq-wechat-menu-ring {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  animation: cq-wechat-ring 2s ease-out infinite;
}

/* 曲线箭头:位于菜单左下方,箭头指向菜单但不重叠 */
.cq-wechat-curve {
  display: block;
  width: min(150px, 50vw);
  height: auto;
  margin: 46px 42px 0 auto;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.cq-wechat-curve-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: cq-wechat-draw 1.6s ease forwards, cq-wechat-dash 2.4s linear 1.6s infinite;
}

@keyframes cq-wechat-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); transform: scale(1); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); transform: scale(1); }
}

@keyframes cq-wechat-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes cq-wechat-dash {
  to { stroke-dashoffset: -24; }
}

/* 文案区:紧跟箭头下方,屏幕水平居中 */
.cq-wechat-box {
  margin-top: 12px;
  padding: 0 16px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-align: center;
}

.cq-wechat-tip {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--cq-gold, #c8a05a);
}

.cq-wechat-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  line-height: 1.7;
}

.cq-wechat-dismiss {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 16px;
}

/* ===== 下载弹窗 ===== */
.cq-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cq-modal[hidden] { display: none; }
.cq-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 0.32s ease,
    backdrop-filter 0.32s ease,
    -webkit-backdrop-filter 0.32s ease;
}
.cq-modal.is-open .cq-modal-mask {
  opacity: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cq-modal-card {
  position: relative;
  background: linear-gradient(180deg, #1a0e08 0%, #0a0604 100%);
  border: 1px solid var(--cq-gold);
  border-radius: 6px;
  padding: 36px 40px 24px;
  max-width: 440px;
  width: calc(100% - 40px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  text-align: center;
  opacity: 0;
  transform: scale(0.92) translateY(16px);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease;
  z-index: 1;
}
.cq-modal.is-open .cq-modal-card {
  opacity: 1;
  transform: scale(1) translateY(0);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 36px rgba(200,160,90,0.14);
}
.cq-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 160, 90, 0.45);
  border-radius: 50%;
  color: var(--cq-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cq-modal-close:hover {
  color: var(--cq-gold-2);
  border-color: var(--cq-gold);
  background: rgba(232, 93, 26, 0.18);
  transform: scale(1.06);
}
.cq-modal-btn-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  margin-top: 18px;
  padding: 10px 28px;
  background: linear-gradient(180deg, rgba(232, 93, 26, 0.22) 0%, rgba(200, 160, 90, 0.1) 100%);
  border: 1px solid rgba(200, 160, 90, 0.55);
  border-radius: 4px;
  color: var(--cq-gold-2);
  font-family: var(--cq-font-cn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.28s ease 0.16s,
    transform 0.28s ease 0.16s,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.cq-modal.is-open .cq-modal-btn-close {
  opacity: 1;
  transform: translateY(0);
}
.cq-modal-btn-close:hover {
  color: #fff;
  border-color: var(--cq-gold-2);
  box-shadow: 0 0 16px rgba(200, 160, 90, 0.25);
  transform: translateY(-1px);
}
.cq-modal-title {
  font-family: var(--cq-font-display);
  color: var(--cq-gold-2);
  font-size: 24px;
  letter-spacing: 0.15em;
  margin: 0 0 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease 0.06s, transform 0.28s ease 0.06s;
}
.cq-modal.is-open .cq-modal-title {
  opacity: 1;
  transform: translateY(0);
}
.cq-modal-body { color: var(--cq-text); }
.cq-modal-body img {
  max-width: 220px;
  border: 4px solid #fff;
  border-radius: 4px;
  background: #fff;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.cq-modal.is-open .cq-modal-body img {
  opacity: 1;
  transform: scale(1);
}
.cq-modal-body p {
  margin: 12px 0 0;
  color: var(--cq-text-2);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease 0.14s, transform 0.28s ease 0.14s;
}
.cq-modal.is-open .cq-modal-body p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 电脑端右侧下载栏（传奇风） ===== */
.cq-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  padding: 0;
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(-6px 0 24px rgba(0, 0, 0, 0.55));
}

.cq-dock.is-collapsed {
  right: 0;
  left: auto;
  width: auto;
}

.cq-dock-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
}

.cq-dock-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 108px;
  max-width: 140px;
  overflow: visible;
  transition: min-width .32s ease;
}

.cq-dock-body {
  overflow: visible;
  max-height: 720px;
  transition:
    max-height .38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity .28s ease;
}

.cq-dock.is-collapsed .cq-dock-body {
  display: none;
}

/* 收起后：仅保留贴右竖条「展开」 */
.cq-dock.is-collapsed .cq-dock-panel {
  min-width: 0;
  max-width: none;
  width: auto;
  align-self: flex-end;
}

.cq-dock.is-collapsed .cq-dock-toggle {
  flex-direction: column;
  width: 36px;
  margin-left: auto;
  margin-right: 0;
  padding: 14px 7px 14px 8px;
  gap: 8px;
  border-top: 2px solid transparent;
  border-right: none;
  border-radius: 10px 0 0 10px;
  box-shadow:
    inset 1px 0 0 rgba(255, 220, 160, 0.1),
    -4px 0 18px rgba(0, 0, 0, 0.4);
}

.cq-dock.is-collapsed .cq-dock-toggle-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.22em;
  order: 2;
}

.cq-dock.is-collapsed .cq-dock-toggle-icon {
  transform: rotate(135deg);
  order: 1;
}

/* 展开 / 收起（面板底部） */
.cq-dock-toggle {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-top: 1px solid rgba(200, 160, 90, 0.22);
  border-right: none;
  border-radius: 0 0 0 10px;
  background:
    linear-gradient(180deg, #2a0a06 0%, #140604 100%) padding-box,
    linear-gradient(90deg, #c8a05a, #e85d1a, #f0d28a, #c8a05a) border-box;
  background-size: 100% 100%, 320% 100%;
  animation: cq-dock-border-flow-h 3.2s linear infinite;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, 0.08),
    -4px 0 16px rgba(0, 0, 0, 0.35);
  color: var(--cq-gold-2);
  font-family: var(--cq-font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color .25s ease, box-shadow .25s ease, filter .25s ease;
}

.cq-dock-toggle:hover,
.cq-dock-toggle:focus-visible {
  color: #ffe8b0;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, 0.15),
    -4px 0 20px rgba(232, 93, 26, 0.22);
  outline: none;
  filter: drop-shadow(0 0 8px rgba(232, 93, 26, 0.35));
}

.cq-dock-toggle-icon {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .32s ease;
  flex-shrink: 0;
}

.cq-dock-toggle-text {
  text-shadow: 0 0 8px rgba(232, 93, 26, 0.35);
}

.cq-dock.is-collapsed .cq-dock-pop {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cq-dock-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cq-dock-spine {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border: 2px solid transparent;
  border-bottom: none;
  border-right: none;
  border-radius: 10px 0 0 0;
  background:
    linear-gradient(180deg, #4a1208 0%, #2a0a06 45%, #1a0804 100%) padding-box,
    linear-gradient(90deg, #f0d28a, #e85d1a, #c8a05a, #e85d1a, #f0d28a) border-box;
  background-size: 100% 100%, 320% 100%;
  animation: cq-dock-border-flow-h 3.5s linear infinite;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, 0.12),
    inset 0 -2px 12px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(200, 160, 90, 0.12);
}

.cq-dock-spine-text {
  font-family: var(--cq-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--cq-gold-2);
  text-shadow: 0 0 10px rgba(232, 93, 26, 0.45), 0 1px 0 rgba(0, 0, 0, 0.8);
  animation: cq-spine-text-glow 2.6s ease-in-out infinite;
}

.cq-dock-spine-gem {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #ffe8a8, #c8a05a);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(240, 210, 138, 0.6);
  animation: cq-gem-pulse 2s ease-in-out infinite;
}

.cq-dock-spine-gem:last-child {
  animation-delay: 1s;
}

/* 主面板 */
.cq-dock-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 108px;
  padding: 8px 0 6px;
  border: 2px solid transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(200, 160, 90, 0.06) 0%, transparent 22%),
    linear-gradient(180deg, #1c1208 0%, #0e0905 48%, #160e06 100%) padding-box,
    linear-gradient(90deg, #c8a05a, #e85d1a, #f0d28a, #ff9040, #c8a05a) border-box;
  background-size: 100% 100%, 100% 100%, 320% 100%;
  animation: cq-dock-border-flow-h 4s linear infinite;
  box-shadow:
    inset 0 0 0 1px rgba(240, 210, 138, 0.12),
    inset 0 0 32px rgba(0, 0, 0, 0.45),
    -4px 0 20px rgba(200, 160, 90, 0.08),
    0 0 14px rgba(232, 93, 26, 0.1);
}

.cq-dock-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 210, 138, 0.7) 25%,
    rgba(232, 93, 26, 0.9) 50%,
    rgba(240, 210, 138, 0.7) 75%,
    transparent
  );
  background-size: 200% 100%;
  animation: cq-dock-edge-light 2.8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.85;
}

.cq-dock-item + .cq-dock-item::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 14px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 160, 90, 0.25) 15%,
    rgba(232, 93, 26, 0.85) 50%,
    rgba(200, 160, 90, 0.25) 85%,
    transparent
  );
  background-size: 220% 100%;
  animation: cq-dock-divider-flow 2.4s linear infinite;
}
.cq-dock-item {
  position: relative;
}

.cq-dock-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 12px 12px;
  background: transparent;
  border: none;
  color: var(--cq-text-2);
  font-family: var(--cq-font-cn);
  cursor: pointer;
  overflow: visible;
  transition: color .3s ease, transform .3s ease;
}

/* 八角徽章（传奇技能栏风格） */
.cq-dock-seal {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.cq-dock-seal-ring {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #ffe8a0 0%,
    #e85d1a 22%,
    #c8a05a 45%,
    #7a5520 68%,
    #f0d28a 85%,
    #ffe8a0 100%
  );
  background-size: 240% 240%;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  animation: cq-seal-border-shimmer 2.8s linear infinite;
  transition: filter .3s ease;
}

.cq-dock-seal-core {
  position: absolute;
  inset: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(232, 93, 26, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 65%, #2a1810 0%, #100a06 55%, #060403 100%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
  transition: box-shadow .3s ease;
}

.cq-dock-btn .cq-ic {
  width: 26px;
  height: 26px;
  transition: transform .3s ease, filter .3s ease;
}

.cq-dock-label {
  font-family: var(--cq-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  transition: color .3s ease, text-shadow .3s ease;
}

/* 悬停 */
.cq-dock-btn:hover,
.cq-dock-item:focus-within .cq-dock-btn {
  color: var(--cq-gold-2);
  transform: translateX(-4px);
}

.cq-dock-btn:hover .cq-dock-seal-ring,
.cq-dock-item:focus-within .cq-dock-seal-ring {
  animation-duration: 1.6s;
  filter: drop-shadow(0 0 6px rgba(232, 93, 26, 0.65)) drop-shadow(0 0 12px rgba(200, 160, 90, 0.45));
}

.cq-dock-btn:hover .cq-dock-seal-core,
.cq-dock-item:focus-within .cq-dock-seal-core {
  box-shadow: inset 0 0 14px rgba(232, 93, 26, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.cq-dock-btn:hover .cq-ic,
.cq-dock-item:focus-within .cq-dock-btn .cq-ic {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(200, 160, 90, 0.55));
}

.cq-dock-btn:hover .cq-dock-label,
.cq-dock-item:focus-within .cq-dock-label {
  color: var(--cq-gold-2);
  text-shadow: 0 0 10px rgba(200, 160, 90, 0.45);
}

.cq-dock-android:hover .cq-dock-seal-ring,
.cq-dock-android:focus-within .cq-dock-seal-ring {
  filter: drop-shadow(0 0 8px rgba(56, 189, 118, 0.45));
}

.cq-dock-ios:hover .cq-dock-seal-ring,
.cq-dock-ios:focus-within .cq-dock-seal-ring {
  filter: drop-shadow(0 0 8px rgba(244, 233, 211, 0.35));
}

@keyframes cq-dock-border-flow-h {
  0%   { background-position: 0 0, 0 0, 0% 0; }
  100% { background-position: 0 0, 0 0, 320% 0; }
}

@keyframes cq-dock-edge-light {
  0%, 100% { background-position: 0% 0; opacity: 0.55; }
  50%      { background-position: 100% 0; opacity: 1; }
}

@keyframes cq-dock-divider-flow {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes cq-seal-border-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

@keyframes cq-spine-text-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(232, 93, 26, 0.35), 0 1px 0 rgba(0, 0, 0, 0.8); }
  50%      { text-shadow: 0 0 16px rgba(232, 93, 26, 0.65), 0 0 24px rgba(200, 160, 90, 0.35); }
}

@keyframes cq-gem-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(240, 210, 138, 0.45); opacity: 0.85; }
  50%      { box-shadow: 0 0 10px rgba(255, 240, 200, 0.9); opacity: 1; }
}

@keyframes cq-pop-border-flow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* 侧栏二维码浮窗（由 JS 控制 is-qr-pop-open，避免多按钮 hover 叠层） */
.cq-dock-pop {
  position: absolute;
  right: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 130;
}

.cq-dock-item--qr.is-qr-pop-open .cq-dock-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.cq-dock-item--qr:not(.is-qr-pop-open) .cq-dock-pop {
  transition: none;
}

.cq-dock-pop-card {
  position: relative;
  padding: 3px;
  background: linear-gradient(120deg, #f0d28a, #e85d1a, #c8a05a, #8a6528, #f0d28a, #e85d1a);
  background-size: 300% 300%;
  animation: cq-pop-border-flow 3s linear infinite;
  border-radius: 4px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(200, 160, 90, 0.2);
}

.cq-dock-pop-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 12px;
  height: 12px;
  background: #c8a05a;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.25);
}

.cq-dock-pop-frame {
  padding: 14px 16px 12px;
  background: linear-gradient(165deg, #241608 0%, #120a06 50%, #0a0604 100%);
  border-radius: 2px;
  text-align: center;
}

.cq-dock-pop-title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  color: var(--cq-gold-2);
  font-family: var(--cq-font-display);
  font-size: 16px;
  letter-spacing: 0.22em;
  border-bottom: 1px solid rgba(200, 160, 90, 0.25);
  text-shadow: 0 0 12px rgba(200, 160, 90, 0.3);
}

.cq-dock-pop-qr {
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(200, 160, 90, 0.35);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
}

.cq-dock-pop-card img {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto;
  background: #fff;
  object-fit: contain;
}

.cq-dock-pop-tip {
  margin: 10px 0 0;
  color: var(--cq-text-2);
  font-size: 12px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .cq-dock-spine,
  .cq-dock-list,
  .cq-dock-list::before,
  .cq-dock-spine-text,
  .cq-dock-spine-gem,
  .cq-dock-item + .cq-dock-item::before,
  .cq-dock-seal-ring,
  .cq-dock-pop-card,
  .cq-dock-btn,
  .cq-dock-pop,
  .cq-dock-toggle {
    animation: none !important;
  }
  .cq-dock-panel,
  .cq-dock-body,
  .cq-dock-toggle-icon {
    transition: none !important;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  :root { --cq-header-h: 56px; }

  /* 移动端右侧下载栏：紧凑尺寸，保留贴边悬浮 */
  .cq-dock {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding-right: 0;
    filter: drop-shadow(-4px 0 16px rgba(0, 0, 0, 0.45));
  }
  .cq-dock.is-collapsed .cq-dock-toggle {
    width: 32px;
    padding: 12px 6px 12px 7px;
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }
  .cq-dock-panel {
    max-width: 120px;
    min-width: 88px;
  }
  .cq-dock.is-collapsed .cq-dock-panel {
    min-width: 0;
  }
  .cq-dock-toggle {
    padding: 7px 8px;
    font-size: 11px;
    gap: 5px;
  }
  .cq-dock-spine {
    padding: 6px 10px;
    gap: 6px;
  }
  .cq-dock-spine-text {
    font-size: 13px;
    letter-spacing: 0.28em;
  }
  .cq-dock-spine-gem {
    width: 5px;
    height: 5px;
  }
  .cq-dock-list {
    min-width: 88px;
    padding: 6px 0 8px;
  }
  .cq-dock-btn {
    gap: 6px;
    padding: 10px 8px 8px;
  }
  .cq-dock-seal {
    width: 46px;
    height: 46px;
  }
  .cq-dock-btn .cq-ic {
    width: 22px;
    height: 22px;
  }
  .cq-dock-label {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .cq-dock-btn:hover,
  .cq-dock-item:focus-within .cq-dock-btn {
    transform: none;
  }
  .cq-dock-pop {
    right: calc(100% + 10px);
  }
  .cq-dock-pop-card img {
    width: 140px;
    height: 140px;
  }
  .cq-dock-pop-frame {
    padding: 10px 12px 8px;
  }
  .cq-dock-pop-title {
    font-size: 14px;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  .cq-dock-pop-tip {
    font-size: 11px;
    margin-top: 8px;
  }

  /* 默认：窄屏三按钮（PC 缩窗 / 后台预览）仍单行紧凑 */
  .cq-header-inner {
    padding: 8px 14px;
    flex-wrap: nowrap;
    gap: 10px;
    min-height: var(--cq-header-h);
  }
  .cq-logo { flex-shrink: 0; min-width: 0; }
  .cq-logo img { height: 34px; max-width: 120px; object-fit: contain; object-position: left center; }
  .cq-nav {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .cq-pf-btn {
    padding: 7px 10px;
    font-size: 12px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 88px;
    justify-content: center;
    gap: 5px;
  }
  .cq-nav--dual {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
  }
  .cq-nav--dual .cq-pf-item {
    width: 100%;
    min-width: 0;
  }
  .cq-nav--dual .cq-pf-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .cq-pf-btn span { display: none; }
  .cq-ic { width: 17px; height: 17px; flex-shrink: 0; }

  /* 移动端真机：安卓 + 苹果双按钮单行 */
  .cq-header--mobile .cq-header-inner {
    padding: 8px 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .cq-header--mobile .cq-logo {
    flex: 0 1 auto;
    min-width: 0;
  }
  .cq-header--mobile .cq-logo img {
    height: 32px;
    max-width: 96px;
  }
  .cq-header--mobile .cq-nav--dual {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 6px;
  }
  .cq-header--mobile .cq-nav--dual .cq-pf-item {
    width: 100%;
    min-width: 0;
  }
  .cq-header--mobile .cq-nav--dual .cq-pf-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 8px 10px;
    font-size: 11px;
    gap: 4px;
    letter-spacing: 0;
    border-radius: 5px;
    justify-content: center;
    background: linear-gradient(180deg, rgba(232,93,26,0.28) 0%, rgba(200,160,90,0.12) 100%);
    border-color: rgba(200,160,90,0.55);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 10px rgba(200,160,90,0.18);
  }
  .cq-header--mobile .cq-nav--dual .cq-pf-btn span {
    display: inline !important;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }
  .cq-header--mobile .cq-nav--dual .cq-ic {
    width: 15px;
    height: 15px;
  }
  .cq-header--mobile .cq-nav--solo {
    flex: 0 0 auto;
  }
  .cq-header--mobile .cq-nav--solo .cq-pf-btn {
    flex: none;
    max-width: none;
    min-width: auto;
    padding: 10px 20px;
    font-size: 14px;
    gap: 8px;
    letter-spacing: 0.06em;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(232,93,26,0.32) 0%, rgba(200,160,90,0.14) 100%);
    border-color: rgba(200,160,90,0.65);
    box-shadow: 0 2px 12px rgba(0,0,0,0.35), 0 0 14px rgba(200,160,90,0.22);
  }
  .cq-header--mobile .cq-nav--solo .cq-pf-btn span {
    display: inline;
    font-weight: 600;
    white-space: nowrap;
  }
  .cq-header--mobile .cq-nav--solo .cq-ic {
    width: 18px;
    height: 18px;
  }

  .cq-modal-card { padding: 28px 22px 24px; }
}
