/* 已确认的底栏样式及独立运行所需的布局。 */
.download-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; align-items: center;
  color: #fff; text-decoration: none; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.download-bar:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.app-icon { object-fit: cover; }
.banner-copy { flex: 1; min-width: 0; text-align: center; display: grid; }
.banner-copy > strong { white-space: nowrap; }
.banner-pill { display: block; width: fit-content; max-width: 100%; margin: 0 auto; border-radius: 20px; white-space: nowrap; }
.banner-right { position: relative; display: flex; align-items: center; justify-content: center; }
.banner-right::before, .banner-right::after { position: absolute; }
.download-circle { display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; text-align: center; }
.download-circle > span { font-weight: 800; }
.download-circle i { font-weight: 900; font-style: normal; }
.download-notice { color-scheme: light; border: 0; border-radius: 24px; padding: 32px 24px 24px; width: min(340px, calc(100% - 40px)); text-align: center; color: #44233c; background: #fff; box-shadow: 0 20px 80px #220c3940; }
.download-notice::backdrop { background: #21102180; backdrop-filter: blur(5px); }
.download-notice img { border-radius: 15px; }
.download-notice h2 { font-size: 22px; }
.download-notice p { font-size: 14px; line-height: 1.8; color: #886b81; }
.download-notice-close { position: absolute; right: 10px; top: 6px; border: 0; background: none; font-size: 28px; color: #94708b; cursor: pointer; }
.download-notice-ok { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: #f34898; color: #fff; font-weight: 700; cursor: pointer; }
.video-feed { padding-bottom: calc(var(--bar-height) + env(safe-area-inset-bottom, 0px) + var(--gap)); }
.video-card { height: calc(100svh - var(--gap) * 2 - var(--bar-height) - env(safe-area-inset-bottom, 0px)); min-height: 360px; }
@media (max-height: 600px) and (orientation: landscape) { .video-card { min-height: calc(100svh - var(--gap) * 2 - var(--bar-height) - env(safe-area-inset-bottom, 0px)); } }
:root {
  --banner-width: min(100vw, 560px);
  --bar-height: clamp(65px, 18.7vw, 105px);
}
.download-bar {
  width: var(--banner-width);
  height: calc(var(--bar-height) + env(safe-area-inset-bottom, 0px));
  min-height: 0;
  gap: clamp(4px, 1.5vw, 8px);
  padding: 0 0 env(safe-area-inset-bottom, 0px) clamp(9px, 3vw, 18px);
  border: 0;
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, #ffbbda35 10px 15px, transparent 15px 25px),
    repeating-linear-gradient(90deg, transparent 0 13px, #ffbfd83d 13px 18px, transparent 18px 31px),
    linear-gradient(110deg, #fc69b1 0%, #ff409b 50%, #fc73b6 100%);
  box-shadow: 0 -3px 14px #db2b7133;
  isolation: isolate;
}
.download-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(110deg, transparent 0 63px, #dc227525 63px 72px, transparent 72px 90px);
}
.app-icon {
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(48px, 15.5vw, 86px);
  height: clamp(48px, 15.5vw, 86px);
  border: 3px solid #fffbe7;
  border-radius: clamp(9px, 2.4vw, 14px);
  box-shadow: 0 2px 3px #a932604d;
}
.banner-copy {
  position: relative;
  z-index: 1;
  gap: clamp(4px, 1.4vw, 8px);
  align-content: center;
}
.banner-copy > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1vw, 6px);
  font-size: clamp(19px, 5.7vw, 33px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.8px;
  color: #fffdfb;
  text-shadow: 0 2px 0 #dd5997;
}
.spark {
  font-size: clamp(15px, 4vw, 24px);
  color: #fff277;
  -webkit-text-stroke: .7px #9b4e60;
  text-shadow: none;
}
.tv {
  position: relative;
  width: clamp(17px, 5vw, 28px);
  height: clamp(18px, 5vw, 29px);
  flex: 0 0 auto;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffdc58, #ff8d21);
  box-shadow: 0 2px 0 #db5d3b;
}
.tv::before {
  content: "";
  position: absolute;
  inset: 5px 4px 5px;
  border-radius: 3px;
  background: #fffcd3;
  transform: rotate(-9deg);
}
.tv::after {
  content: "";
  position: absolute;
  width: 65%; height: 3px; left: 20%; top: -5px;
  background: #fff8c3;
  box-shadow: 0 0 0 1px #ec9983;
  transform: rotate(-14deg);
}
.banner-pill {
  min-width: 84%;
  padding: 2px 8px 3px;
  background: #fffbdc;
  color: #de508e;
  font-size: clamp(12px, 3.6vw, 20px);
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 1px 0 #ffffff80;
}
.banner-right {
  z-index: 1;
  align-self: stretch;
  flex: 0 0 27%;
  margin: 0;
  border: 0;
  padding: 0 0 0 8px;
  background: #29282b;
}
.banner-right::before {
  content: "";
  left: -3px; top: 0; bottom: 0; width: 10px;
  background: #fff9dd;
  clip-path: polygon(25% 0,100% 0,100% 100%,15% 100%,25% 93%,0 86%,30% 79%,8% 71%,35% 64%,0 56%,25% 48%,5% 42%,35% 35%,10% 27%,35% 20%,0 12%);
}
.banner-right::after { content: "✦"; top: 3px; right: 3px; font-size: clamp(14px, 4vw, 22px); color: #ffe578; }
.download-circle {
  flex: 0 0 auto;
  width: clamp(53px, 15.8vw, 89px);
  height: clamp(53px, 15.8vw, 89px);
  border: 3px solid #ffa568;
  box-shadow: 0 0 0 3px #e9b38a55;
  background: #fffdf4;
  color: #ee9356;
  line-height: 1.08;
}
.download-circle b { font-size: clamp(12px, 3.5vw, 20px); white-space: nowrap; }
.download-circle > span { margin-top: 3px; font-size: clamp(11px, 3.2vw, 18px); white-space: nowrap; }
.download-circle i { margin-top: 1px; font-size: clamp(16px, 4.4vw, 25px); line-height: .7; }
.banner-hearts { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.banner-hearts i { position: absolute; color: #fff581; font-style: normal; font-size: clamp(12px, 4vw, 22px); text-shadow: 1px 1px #843e56, -1px -1px #843e56; transform: rotate(-15deg); }
.banner-hearts i:nth-child(1) { left: 1%; top: 3%; color: #ae2d69; text-shadow: none; }
.banner-hearts i:nth-child(2) { left: 23%; bottom: 10%; }
.banner-hearts i:nth-child(3) { left: 27%; top: -3%; color: #932054; text-shadow: none; }
.banner-hearts i:nth-child(4) { left: 69%; bottom: 9%; transform: rotate(18deg); }
.banner-hearts i:nth-child(5) { left: 3%; bottom: 3%; color: #95265e; text-shadow: none; }
.banner-hearts i:nth-child(6) { right: 20%; bottom: 4%; color: #fb7bb6; }
