/* VERITAS · Command Entry — 企业级科技控制台 */

:root {
  --vtx-bg: #030508;
  --vtx-bg-2: #080c14;
  --vtx-surface: #0d1119;
  --vtx-elevated: #141c2b;
  --vtx-glass: rgba(13, 17, 25, 0.82);
  --vtx-border: rgba(255, 255, 255, 0.07);
  --vtx-border-hi: rgba(79, 140, 255, 0.28);
  --vtx-blue: #4f8cff;
  --vtx-blue-soft: rgba(79, 140, 255, 0.12);
  --vtx-blue-glow: rgba(79, 140, 255, 0.35);
  --vtx-gold: #d4a853;
  --vtx-gold-hi: #f0c96e;
  --vtx-gold-soft: rgba(212, 168, 83, 0.14);
  --vtx-text: #e8edf7;
  --vtx-muted: #7b8ba8;
  --vtx-dim: #4a5568;
  --vtx-mono: "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --vtx-radius: 14px;
  --vtx-radius-sm: 10px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --app-h: 100dvh;
}

.entry-gate,
.entry-gate *,
.chat-app,
.chat-app * {
  box-sizing: border-box;
}

/* ── 入口全屏（禁止上下滑动，一屏展示） ── */
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  height: var(--app-h, 100dvh);
  max-height: 100dvh;
  max-height: var(--app-h, 100dvh);
  background: var(--vtx-bg);
  color: var(--vtx-text);
  overflow: hidden;
  touch-action: manipulation;
  overscroll-behavior: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s;
}

.entry-gate.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02) translateY(-8px);
}

/* ── 背景系统 ── */
.entry-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(79, 140, 255, 0.09), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 60%, rgba(212, 168, 83, 0.05), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(79, 140, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #030508 0%, #060a12 45%, #030508 100%);
  overflow: hidden;
}

.entry-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.entry-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(79, 140, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 140, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 15%, transparent 72%);
  animation: vtx-grid-drift 32s linear infinite;
}

.entry-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.7;
}

.entry-orb--1 {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -100px;
  background: rgba(79, 140, 255, 0.14);
  animation: vtx-orb-1 12s ease-in-out infinite;
}

.entry-orb--2 {
  width: 260px;
  height: 260px;
  bottom: 8%;
  left: -100px;
  background: rgba(212, 168, 83, 0.1);
  animation: vtx-orb-2 14s ease-in-out infinite;
}

.entry-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vtx-blue), transparent);
  opacity: 0;
  animation: vtx-scan 6s ease-in-out infinite;
  box-shadow: 0 0 20px var(--vtx-blue-glow);
}

.entry-frame {
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(79, 140, 255, 0.08);
  border-radius: 20px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.entry-frame::before,
.entry-frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(79, 140, 255, 0.35);
  border-style: solid;
}

.entry-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}

.entry-frame::after {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
  border-radius: 0 4px 0 0;
}

@keyframes vtx-grid-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(56px); }
}

@keyframes vtx-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 20px); }
}

@keyframes vtx-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -12px); }
}

@keyframes vtx-scan {
  0%, 100% { top: 12%; opacity: 0; }
  8% { opacity: 0.6; }
  45% { top: 78%; opacity: 0.15; }
  55% { opacity: 0; }
}

/* ── 三段式：上半区 Logo / 模块+按钮 / 底部标语（手机端） ── */
.entry-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: stretch;
  row-gap: clamp(8px, 1.2vh, 12px);
  width: 100%;
  max-width: 480px;
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: max(8px, var(--safe-t)) 16px max(4px, var(--safe-b));
  text-align: center;
  overflow: hidden;
  min-height: 0;
  overscroll-behavior: none;
  gap: 0;
  column-gap: 0;
}

.entry-upper {
  display: grid;
  place-items: center;
  align-content: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.entry-upper .entry-brand {
  flex-shrink: 0;
  max-height: 100%;
}

.entry-mid {
  flex-shrink: 0;
  padding: clamp(10px, 1.5vh, 14px) 0;
}

.entry-mid .entry-services {
  gap: 0;
  padding: 0;
  margin: 0;
}

.entry-services-line {
  display: block;
  width: min(200px, 56vw);
  height: 1px;
  margin: 7px auto;
  background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.28), transparent);
  flex-shrink: 0;
}

.entry-lower {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
  padding: clamp(6px, 1vh, 10px) 0 0;
  gap: clamp(18px, 2.8vh, 26px);
}

.entry-middle,
.entry-modules {
  flex-shrink: 0;
  align-content: start;
}

.entry-lower .entry-cta-stack,
.entry-cta-stack {
  flex-shrink: 0;
  margin-top: 0;
  margin-bottom: 0;
  gap: 8px;
}

.entry-foot-inline {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 4px;
}

.entry-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
  flex-shrink: 0;
  overflow: visible;
}

.entry-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(188px, 54vw, 240px);
  height: auto;
  aspect-ratio: 800 / 610;
  margin-bottom: 10px;
  padding: 4px 8px;
  background: transparent;
  overflow: visible;
}

/* Logo 动态光圈 */
.entry-logo-halo {
  position: absolute;
  inset: -4px -8px;
  border-radius: 50%;
  border: 1px solid rgba(79, 140, 255, 0.22);
  box-shadow:
    0 0 20px rgba(79, 140, 255, 0.12),
    inset 0 0 16px rgba(79, 140, 255, 0.06);
  animation: vtx-halo-breathe 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.entry-logo-glow {
  position: absolute;
  inset: 0 -6px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 72% 58% at 50% 42%, rgba(212, 168, 83, 0.42) 0%, rgba(212, 168, 83, 0.08) 42%, transparent 72%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(79, 140, 255, 0.14) 0%, transparent 68%);
  animation: vtx-logo-pulse 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.entry-logo-ring {
  position: absolute;
  inset: 2px -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(79, 140, 255, 0.55) 40deg,
    transparent 80deg,
    transparent 180deg,
    rgba(212, 168, 83, 0.5) 220deg,
    transparent 260deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 1px));
  animation: vtx-ring-spin 10s linear infinite;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

@keyframes vtx-logo-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes vtx-halo-breathe {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.98);
    box-shadow: 0 0 16px rgba(79, 140, 255, 0.1), inset 0 0 12px rgba(79, 140, 255, 0.04);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
    box-shadow: 0 0 28px rgba(79, 140, 255, 0.22), 0 0 48px rgba(212, 168, 83, 0.1), inset 0 0 20px rgba(79, 140, 255, 0.08);
  }
}

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

.entry-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 20px rgba(212, 168, 83, 0.35));
  background: transparent;
}

.entry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  margin-bottom: 8px;
  font-family: var(--vtx-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--vtx-blue);
  background: var(--vtx-blue-soft);
  border: 1px solid var(--vtx-border-hi);
  border-radius: 999px;
}

.entry-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vtx-blue);
  box-shadow: 0 0 10px var(--vtx-blue);
  animation: vtx-pulse 2.2s ease-in-out infinite;
}

@keyframes vtx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.entry-subbrand {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--vtx-dim);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.entry-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.entry-headline {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.entry-headline span {
  background: linear-gradient(135deg, #fff 20%, var(--vtx-blue) 55%, var(--vtx-gold-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.entry-desc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 5px 16px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--vtx-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(79, 140, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.06);
}

/* 服务标签区 */
.entry-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}

.entry-services::before {
  display: none;
}

.entry-services-tags {
  margin: 0;
  font-family: var(--vtx-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--vtx-gold-hi);
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(212, 168, 83, 0.25);
}

.entry-services-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #b8c4dc;
  white-space: nowrap;
}

/* 指标条（保留样式供其他页复用） */
.entry-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.entry-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-family: var(--vtx-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--vtx-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--vtx-border);
  border-radius: 999px;
}

.entry-metric i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: vtx-pulse 2.2s ease-in-out infinite;
}

.entry-section-head {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.entry-section-head::before,
.entry-section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vtx-border-hi), transparent);
}

.entry-section-label {
  flex-shrink: 0;
  font-family: var(--vtx-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--vtx-dim);
  text-transform: uppercase;
}

/* ── 业务模块 ── */
.entry-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, auto));
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 0;
  align-self: stretch;
  justify-self: center;
}

.entry-module {
  position: relative;
  overflow: hidden;
  background: rgba(13, 17, 25, 0.55);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(79, 140, 255, 0.12);
  border-radius: 11px;
  padding: 11px 10px 10px 13px;
  text-align: left;
  min-height: 56px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mod-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.mod-head,
.mod-icon,
.mod-foot-row {
  display: none;
}

.mod-head__text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.entry-module .mod-tag {
  display: block;
  font-family: var(--vtx-mono);
  font-size: 14px;
  font-weight: 700;
  color: #9ec0ff;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.mod-name {
  display: block;
  font-size: 11px;
  color: var(--vtx-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-module .mod-desc {
  font-size: 10px;
  color: var(--vtx-muted);
  line-height: 1.32;
  flex: 1 1 auto;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  margin: 0;
  padding-left: 0;
}

.entry-module .mod-arrow {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 300;
  color: rgba(79, 140, 255, 0.45);
  line-height: 1;
  margin-top: 1px;
  opacity: 0.85;
  transition: color 0.2s, transform 0.2s, opacity 0.2s;
}

.entry-module:active .mod-arrow {
  color: var(--vtx-blue);
  opacity: 1;
}

.mod-badge-free {
  flex-shrink: 0;
  font-family: var(--vtx-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vtx-gold-hi);
  background: var(--vtx-gold-soft);
  border: 1px solid rgba(212, 168, 83, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 1px;
}

.mod-accent {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  height: auto;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--vtx-blue) 0%, rgba(79, 140, 255, 0.35) 100%);
  opacity: 0.95;
  box-shadow: 0 0 12px rgba(79, 140, 255, 0.4);
}

.entry-module::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.entry-module:hover {
  border-color: rgba(79, 140, 255, 0.28);
  background: rgba(20, 28, 43, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32), 0 0 20px rgba(79, 140, 255, 0.1);
}

.entry-module:active {
  transform: scale(0.98);
  background: rgba(20, 28, 43, 0.95);
}

.entry-module-detect {
  border-color: rgba(79, 140, 255, 0.12);
}

.entry-module:hover .mod-accent {
  box-shadow: 0 0 16px rgba(79, 140, 255, 0.55);
}

.entry-module:hover .mod-arrow {
  transform: translateX(3px);
  color: var(--vtx-blue);
  opacity: 1;
}

/* ── CTA：默认纵向全宽（手机优先） ── */
.entry-cta-stack {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.entry-cta {
  width: 100%;
  flex: none;
  min-height: 50px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 650;
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.25s, filter 0.18s;
  font-family: inherit;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.entry-cta-gold {
  flex: none;
}

.entry-cta:active {
  transform: scale(0.985);
}

.entry-cta-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0c96e 0%, #d4a853 42%, #a67c2a 100%);
  color: #0a0e17;
  box-shadow: 0 6px 28px rgba(212, 168, 83, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.entry-cta-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.entry-cta-gold:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 36px rgba(212, 168, 83, 0.42);
}

.entry-cta-gold:hover::before {
  transform: translateX(100%);
}

.entry-cta-outline {
  background: rgba(79, 140, 255, 0.06);
  color: var(--vtx-blue);
  border: 1px solid var(--vtx-border-hi);
}

.entry-cta-outline:hover {
  background: rgba(79, 140, 255, 0.12);
  box-shadow: 0 0 24px rgba(79, 140, 255, 0.12);
}

.entry-foot-inline {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 2px;
  font-family: var(--vtx-mono);
  font-size: 10px;
  font-weight: 600;
  color: #8b9cb8;
  letter-spacing: 0.14em;
  text-align: center;
  border-top: none;
  flex-shrink: 0;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 手机端（≤860px）精细适配 ── */
@media (max-width: 860px) {
  .entry-frame {
    display: block;
    inset: 8px;
    opacity: 0.55;
    border-color: rgba(79, 140, 255, 0.12);
  }

  .entry-grid {
    opacity: 0.85;
    animation: vtx-grid-drift 28s linear infinite;
  }

  .entry-scanline {
    animation: vtx-scan 5s ease-in-out infinite;
  }

  .entry-orb--1 { width: 280px; height: 280px; opacity: 0.8; }
  .entry-orb--2 { width: 220px; height: 220px; opacity: 0.75; }

  .entry-inner {
    max-width: none;
    width: 100%;
    padding: calc(6px + var(--safe-t)) 16px calc(4px + var(--safe-b));
    row-gap: clamp(5px, 1vh, 10px);
  }

  .entry-upper {
    padding: 0;
    height: 100%;
  }

  .entry-mid {
    padding: clamp(8px, 1.2vh, 12px) 0;
  }

  .entry-lower {
    gap: clamp(16px, 2.4vh, 22px);
    padding-top: 6px;
  }

  .entry-services-line {
    margin: 6px auto;
  }

  .entry-services-tags {
    font-size: 15px;
  }

  .entry-services-desc {
    font-size: 16px;
  }

  .entry-logo-wrap {
    width: clamp(180px, 52vw, 228px);
    padding: 4px 8px;
    margin-bottom: 10px;
  }

  .entry-brand {
    margin-bottom: 0;
    padding-top: 0;
    overflow: visible;
  }

  .entry-logo-halo { inset: -2px -6px; }
  .entry-logo-glow { inset: 2px -4px; }
  .entry-logo-ring { inset: 4px 0; }

  .entry-logo {
    filter: drop-shadow(0 6px 22px rgba(212, 168, 83, 0.32));
  }

  .entry-copy {
    gap: 6px;
    max-width: none;
    padding: 0 8px;
  }

  .entry-headline {
    font-size: 24px;
  }

  .entry-desc {
    font-size: 12px;
    padding: 5px 15px;
  }

  .entry-services {
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 5px;
  }

  .entry-services-tags {
    font-size: 14px;
  }

  .entry-services-desc {
    font-size: 15px;
  }

  .entry-services-line {
    width: min(160px, 46vw);
    margin: 5px auto;
  }

  .entry-modules {
    max-width: none;
    width: 100%;
    flex-shrink: 0;
    gap: 7px;
    grid-template-rows: repeat(3, minmax(0, auto));
    margin-top: 0;
    margin-bottom: 0;
    align-content: start;
  }

  .entry-module {
    padding: 10px 10px 9px 12px;
    border-radius: 10px;
    gap: 3px;
    height: auto;
    min-height: 54px;
    justify-content: center;
  }

  .entry-module .mod-tag {
    font-size: 13px;
  }

  .mod-name {
    display: none;
  }

  .entry-cta-stack {
    max-width: none;
    flex-direction: column !important;
    gap: 6px;
    margin-top: 0;
    padding-top: 0;
  }

  .entry-cta {
    width: 100% !important;
    flex: none !important;
    font-size: 15px;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 11px;
  }

  .entry-cta-gold {
    flex: none !important;
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.32);
  }

  .entry-cta-outline {
    min-height: 40px;
    font-size: 14px;
  }

  .entry-foot-inline {
    max-width: none;
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 2px;
    opacity: 0.9;
  }
}

/* 矮屏手机 */
@media (max-width: 860px) and (max-height: 740px) {
  .entry-inner { row-gap: 5px; }
  .entry-upper { padding: 0; }
  .entry-mid { padding: 6px 0; }
  .entry-lower { gap: 8px; }
  .entry-logo-wrap { width: clamp(160px, 48vw, 200px); margin-bottom: 8px; }
  .entry-headline { font-size: 22px; }
  .entry-desc { font-size: 11px; }
  .entry-services-tags { font-size: 14px; }
  .entry-services-desc { font-size: 15px; }
  .entry-copy { gap: 6px; }
  .entry-foot-inline { padding-top: 6px; }
}

@media (max-width: 860px) and (max-height: 640px) {
  .entry-inner { gap: 6px; }
  .entry-logo-wrap { width: clamp(124px, 36vw, 152px); }
  .entry-headline { font-size: 20px; }
  .entry-desc { font-size: 10px; padding: 4px 12px; }
  .entry-services-tags { font-size: 12px; }
  .entry-services-desc { font-size: 13px; }
  .entry-foot-inline { font-size: 9px; opacity: 0.85; }
}

@media (max-width: 360px) {
  .entry-inner { padding-left: 10px; padding-right: 10px; }
  .entry-cta { font-size: 12px; padding: 10px 8px; }
}

@media (min-width: 861px) {
  .entry-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    width: 100%;
    height: 100%;
    padding: max(20px, var(--safe-t)) 28px calc(36px + var(--safe-b));
    gap: clamp(22px, 3vh, 32px);
  }

  .entry-upper {
    flex: 0 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    overflow: visible;
  }

  .entry-lower {
    flex: 0 0 auto;
    width: 100%;
    gap: clamp(18px, 2.5vh, 24px);
    padding-top: 0;
  }

  .entry-foot-inline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: max(10px, var(--safe-b));
    width: 100%;
    max-width: 520px;
    flex: none;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 2px;
  }

  .entry-brand { margin-bottom: 0; }
  .entry-logo-wrap { width: 168px; padding: 10px 14px; margin-bottom: 10px; }
  .entry-logo { width: 100%; height: auto; }
  .entry-headline { font-size: 28px; }
  .entry-desc {
    font-size: 13px;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .entry-modules {
    max-width: 100%;
    margin-bottom: 0;
    gap: 10px;
    grid-template-rows: repeat(3, auto);
    flex: 0 0 auto;
  }
  .entry-module {
    padding: 10px 12px 9px 14px;
    min-height: 58px;
    height: auto;
  }
  .entry-module .mod-tag { font-size: 14px; }
  .entry-module .mod-desc { font-size: 11px; }
  .entry-cta-stack {
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
  }
  .entry-cta {
    width: 100%;
    flex: none;
    min-height: 44px;
    padding: 13px 20px;
    font-size: 15px;
  }
  .entry-module:hover { transform: translateY(-3px); }
  .entry-module:hover::after { opacity: 1; }
}
