@import url("/css/app.css?v=50a2c280eb00");

.main-mode {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 8%, #e9dcf1 0, #f4f4f1 52%);
}

.main-mode [hidden] { display: none !important; }

.feed {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 12px;
}

.feed-stage { position: relative; }

.feed .phone {
  width: min(402px, calc(100vw - 24px), calc((100dvh - 24px) * 422 / 894));
  box-shadow: inset 0 0 0 1px #3a3a3c, 0 26px 70px rgba(47, 35, 63, 0.25);
}

.feed-nav {
  position: absolute;
  left: calc(100% + 20px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
}
.feed-nav button {
  width: 62px;
  height: 62px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1px;
  border: 1px solid #ded6e7;
  border-radius: 18px;
  background: #ffffffdc;
  box-shadow: 0 8px 24px #34254718;
  color: #483c5b;
}
.feed-nav button:hover { background: #fff; border-color: #b9a4d3; transform: translateY(-2px); }
.feed-nav button:focus-visible { outline: 3px solid #8c78d8; outline-offset: 3px; }
.feed-nav button:disabled { opacity: 0.4; cursor: default; transform: none; }
.feed-nav button span { font-size: 25px; line-height: 1; }
.feed-nav button small { font-size: 11px; line-height: 1.2; }

.feed .phone-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.feed-reel {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.feed-reel::-webkit-scrollbar { display: none; }

.feed-card {
  position: relative;
  isolation: isolate;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: linear-gradient(150deg, #8570af 0%, #51445d 53%, #231f2b 100%);
}

.feed-cover, .feed-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.feed-cover { object-fit: cover; }
.feed-shade { background: linear-gradient(180deg, rgba(5, 6, 11, 0.45), transparent 27%, rgba(8, 7, 13, 0.18) 44%, rgba(8, 7, 13, 0.94) 100%); }

.feed-top {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 8px #0008;
}
.feed-top img { width: 120px; max-height: 36px; object-fit: contain; filter: drop-shadow(0 2px 8px #0008); }
.feed-top span { white-space: nowrap; letter-spacing: 0.15em; }

.feed-copy {
  position: absolute;
  z-index: 1;
  bottom: 33px;
  left: 22px;
  right: 22px;
  color: #fff;
  text-shadow: 0 1px 12px #000a;
}
.feed-subtitle {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3d2e8;
}
.feed-copy h1 { margin: 0; font-size: clamp(23px, 6vw, 31px); line-height: 1.25; font-weight: 750; }
.feed-tagline { margin: 12px 0 22px; font-size: 13px; line-height: 1.65; color: #f0ebf2; }
.feed-actions { display: grid; gap: 10px; }
.feed-actions button {
  width: 100%;
  min-height: 43px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-shadow: none;
}
.feed-play { background: #fff; border: 1px solid #fff; color: #332b40; }
.feed-play:hover:not(:disabled) { background: #f3ddec; }
.feed-next { background: #ffffff20; border: 1px solid #ffffff8c; color: #fff; backdrop-filter: blur(8px); }
.feed-next:hover { background: #ffffff38; }
.feed-play:disabled { opacity: 0.55; cursor: default; }

.feed .phone-toolbar { padding-bottom: 9px; }
.feed .phone-body > .screen { width: 100%; }
.feed .phone-body .vars { background: #10110f; }

@media (max-width: 600px) {
  .feed-nav { display: none; }
}

@media (max-width: 480px) {
  .feed { padding: 0; }
  .feed .phone { width: 100vw; height: 100dvh; aspect-ratio: auto; padding: 0; border-radius: 0; box-shadow: none; }
  .feed .phone-screen { border-radius: 0; }
  /* 真机已有系统状态栏 / 刘海；模拟灵动岛仅保留在桌面手机模型里。 */
  .feed .phone-status { display: none; }
  .feed .phone-home { bottom: max(6px, env(safe-area-inset-bottom)); }
  .feed-copy { bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px)); }
}
