:root {
  color-scheme: dark;
  --yp-ink: #e8eaef;
  --yp-ink-strong: #f4f5f7;
  --yp-muted: #8b909b;
  --yp-line: rgba(255, 255, 255, 0.08);
  --yp-line-strong: rgba(255, 255, 255, 0.14);
  --yp-red: #f04445;
  --yp-red-dark: #d7353a;
  --yp-surface: #1a1d26;
  --yp-surface-2: #222632;
  --yp-canvas: #0e1016;
  --yp-chip: rgba(255, 255, 255, 0.06);
  --yp-chip-active: rgba(240, 68, 69, 0.16);
  font-family: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--yp-canvas);
  color: var(--yp-ink);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.yp-search-page { min-height: calc(100vh - 130px); padding: 1px 0 48px; }
.yp-searchbar-wrap { width: min(720px, calc(100% - 40px)); margin: 28px auto 26px; }
.yp-searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid var(--yp-line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}
.yp-searchbar:focus-within {
  border-color: rgba(240, 68, 69, 0.45);
  box-shadow: 0 0 0 3px rgba(240, 68, 69, 0.12), 0 14px 36px rgba(0, 0, 0, 0.32);
}
.yp-searchbar__icon { width: 18px; height: 18px; margin-left: 13px; color: #a5a9b1; flex: none; }
.yp-searchbar input {
  height: 100%;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252831;
  font-size: 14px;
}
.yp-searchbar input::placeholder { color: #a8acb4; }
.yp-searchbar button {
  height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
  background: var(--yp-red);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.yp-searchbar button:hover { background: var(--yp-red-dark); transform: translateY(-1px); }

.yp-results-layout {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 166px minmax(400px, 1fr) 260px;
  gap: 22px;
  align-items: start;
}
.yp-drive-sidebar { display: flex; flex-direction: column; gap: 6px; }
.source-chip {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--yp-surface);
  color: var(--yp-muted);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: color .18s, background .18s, border-color .18s;
}
.source-chip:hover {
  color: #ff8d8b;
  background: var(--yp-surface-2);
  border-color: var(--yp-line);
}
.source-chip.is-active {
  border-color: rgba(240, 68, 69, 0.35);
  background: var(--yp-chip-active);
  color: #ff9a98;
  font-weight: 700;
}
.source-chip img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.yp-drive-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yp-drive-count { color: #6f7582; font-size: 12px; font-variant-numeric: tabular-nums; }
.yp-drive-fallback {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--yp-chip-active);
  color: var(--yp-red);
  font-size: 9px;
}

.yp-result-column { min-width: 0; }
.yp-results-overview {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  margin: 0 0 14px;
}
.yp-results-overview__heading h1 {
  margin: 2px 0 10px;
  color: var(--yp-ink-strong);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.3px;
}
.yp-results-overview__heading p { margin: 0; color: var(--yp-muted); font-size: 12px; }
.yp-back-link {
  margin-top: 8px;
  color: #7a808c;
  font-size: 12px;
  white-space: nowrap;
  transition: color .18s;
}
.yp-back-link:hover { color: #ff8d8b; }
.yp-result-stats { display: none; }

.yp-results-list {
  overflow: hidden;
  border: 1px solid var(--yp-line);
  border-radius: 12px;
  background: var(--yp-surface);
}

/* 片单式：左封面 + 右内容 + 操作 */
.serp-item {
  position: relative;
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) max-content !important;
  grid-template-rows: auto auto auto !important;
  align-items: stretch !important;
  column-gap: 16px !important;
  row-gap: 6px !important;
  min-height: 118px !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--yp-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.serp-item:last-child { border-bottom: 0 !important; }
.serp-item:hover { background: rgba(255, 255, 255, 0.02) !important; }
.serp-item__content { display: contents; }

.serp-item__poster {
  position: relative !important;
  display: block !important;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 78px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(160deg, #2a3140, #151922);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.serp-item__poster img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  display: block;
}
.serp-item__poster .cover-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 110px;
  gap: 6px;
  padding: 8px 4px 10px;
}
.serp-item__poster .cover-fallback__glyph {
  font-size: 28px;
}
.serp-item__poster .cover-fallback__label {
  max-width: 92%;
  padding: 2px 5px;
  font-size: 8px;
  letter-spacing: 0.04em;
}
.serp-item__poster .cover-fallback__glow {
  width: 80%;
  height: 36%;
  top: 22%;
  left: 10%;
  filter: blur(6px);
}

.serp-item h2 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  margin: 0 !important;
  color: var(--yp-ink-strong) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.serp-item h2 a {
  display: block;
  overflow: hidden;
  color: inherit !important;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.serp-item h2 a:hover { color: #ff8d8b !important; }

.serp-item__description {
  display: -webkit-box;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  margin: 0 !important;
  color: #7a808c !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.serp-item__source {
  grid-column: 2;
  grid-row: 3;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0;
  margin: 2px 0 0 !important;
  color: #6f7582 !important;
  font-size: 11px !important;
}
.serp-item__source img { width: 18px !important; height: 18px !important; object-fit: contain; }
.serp-item__cloud-name { font-weight: 600 !important; color: #b8bcc6 !important; }

.serp-meta.serp-item__actions {
  grid-column: 3;
  grid-row: 1 / span 3;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: center;
  justify-self: end;
  gap: 8px !important;
  margin: 0 !important;
  color: var(--yp-muted) !important;
  font-size: 11px !important;
}
.serp-meta.serp-item__actions > span:first-child { display: none !important; }
.serp-item__actions .serp-action-pill {
  margin: 0;
  flex: none;
  align-self: center;
  white-space: nowrap;
  padding: 9px 13px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--yp-chip-active) !important;
  color: #ff9a98 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .18s, color .18s;
}
.serp-item__actions .serp-action-pill:hover {
  background: var(--yp-red) !important;
  color: #fff !important;
}
.serp-item__actions .serp-action-pill svg { display: none !important; }
.serp-meta .is-valid,
.serp-meta .is-checking,
.serp-meta .is-invalid { display: none !important; }

.yp-right-sidebar { position: sticky; top: 82px; }
.yp-hot-card {
  padding: 16px 16px 8px;
  border: 1px solid var(--yp-line);
  border-radius: 12px;
  background: var(--yp-surface);
}
.yp-hot-card__heading { display: flex; align-items: center; gap: 9px; }
.yp-hot-card__heading h2 {
  flex: 1;
  margin: 0;
  color: var(--yp-ink-strong);
  font-size: 15px;
  font-weight: 800;
}
.yp-hot-card__heading > a { color: #7a808c; font-size: 11px; transition: color .18s; }
.yp-hot-card__heading > a:hover { color: #ff8d8b; }
.yp-hot-card__flame {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yp-chip-active);
  color: var(--yp-red);
  font-size: 15px;
}
.yp-hot-card__intro { margin: 10px 0 6px; color: var(--yp-muted); font-size: 11px; }
.yp-hot-list { margin: 0; padding: 0; list-style: none; }
.yp-hot-list li { border-top: 1px solid var(--yp-line); }
.yp-hot-list li > a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c4c8d0;
  transition: color .18s;
}
.yp-hot-list li > a:hover { color: #ff8d8b; }
.yp-hot-rank {
  width: 22px;
  color: #6f7582;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.yp-hot-rank.is-top { color: var(--yp-red); }
.yp-hot-word {
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yp-hot-tag {
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--yp-chip-active);
  color: #ff8d8b;
  font-size: 9px;
}
.yp-hot-empty { padding: 20px 0; color: var(--yp-muted); }
.yp-request-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--yp-line);
  border-radius: 12px;
  background: var(--yp-surface);
}
.yp-request-card h2 { margin: 0; color: var(--yp-ink-strong); font-size: 14px; }
.yp-request-card p { margin: 7px 0 12px; color: var(--yp-muted); font-size: 11px; }
.yp-request-card button {
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 7px;
  background: var(--yp-chip-active);
  color: #ff9a98;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.yp-request-card button:hover { background: var(--yp-red); color: #fff; }

.serp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 20px 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}
.serp-pagination::-webkit-scrollbar { display: none; width: 0; height: 0; }
.serp-pagination button,
.serp-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  flex: 0 0 auto;
  box-sizing: border-box;
  vertical-align: middle;
}
.serp-pagination button {
  height: 36px;
  border: 1px solid var(--yp-line-strong);
  border-radius: 7px;
  background: var(--yp-surface);
  color: #a0a5b0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.serp-pagination .pager-page { min-width: 36px; padding: 0 8px; }
.serp-pagination .pager-nav { min-width: 60px; padding: 0 12px; font-size: 13px; }
.serp-pagination button:hover:not(:disabled) {
  border-color: rgba(240, 68, 69, 0.4);
  color: #ff8d8b;
  background: var(--yp-chip-active);
}
.serp-pagination button.is-active {
  border-color: var(--yp-red);
  background: var(--yp-red);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(224, 66, 63, 0.25);
}
.serp-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: var(--yp-line);
  color: #6f7582;
}
.serp-pagination span {
  min-width: 16px;
  height: 36px;
  color: #6f7582;
  font-size: 12px;
}
.serp-pagination.is-hidden { display: none; }

.cinema-search-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(240, 68, 69, 0.25);
  border-top-color: var(--yp-red);
  border-radius: 50%;
  animation: cinema-transfer-spin .8s linear infinite;
}

/* 敏感词拦截：明显涟漪 + 盾牌呼吸，不恐吓、不透词 */
.cinema-sensitive-block {
  padding: 56px 20px 48px;
  text-align: center;
  animation: cinema-sensitive-fade-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cinema-sensitive-block__orb {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
}
.cinema-sensitive-block__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(240, 68, 69, 0.55);
  box-shadow: 0 0 0 0 rgba(240, 68, 69, 0.25);
  animation: cinema-sensitive-ring 1.4s ease-out infinite;
}
.cinema-sensitive-block__ring:nth-child(2) {
  animation-delay: 0.45s;
}
.cinema-sensitive-block__core {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 140, 138, 0.4), rgba(240, 68, 69, 0.16) 55%, rgba(240, 68, 69, 0.05) 70%);
  border: 1.5px solid rgba(240, 68, 69, 0.45);
  color: #ff8d8b;
  box-shadow: 0 0 24px rgba(240, 68, 69, 0.22);
  animation: cinema-sensitive-breathe 1.6s ease-in-out infinite;
}
.cinema-sensitive-block__core svg {
  width: 34px;
  height: 34px;
  animation: cinema-sensitive-icon 1.6s ease-in-out infinite;
}
.cinema-sensitive-block__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--yp-ink-strong, #e8eaed);
  animation: cinema-sensitive-fade-in 0.55s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cinema-sensitive-block__desc {
  margin: 0 auto;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--yp-muted, #94a3b8);
  animation: cinema-sensitive-fade-in 0.55s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 搜索无结果：引导求片 */
.cinema-empty-request {
  padding: 52px 20px 44px;
  text-align: center;
  animation: cinema-sensitive-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cinema-empty-request__orb {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
}
.cinema-empty-request__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 68, 69, 0.4);
  animation: cinema-sensitive-ring 1.5s ease-out infinite;
}
.cinema-empty-request__core {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff8d8b;
  background: radial-gradient(circle at 35% 30%, rgba(255, 140, 138, 0.38), rgba(240, 68, 69, 0.12) 55%, rgba(240, 68, 69, 0.04) 70%);
  border: 1.5px solid rgba(240, 68, 69, 0.4);
  box-shadow: 0 0 20px rgba(240, 68, 69, 0.18);
}
.cinema-empty-request__core svg {
  width: 28px;
  height: 28px;
}
.cinema-empty-request__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--yp-ink-strong, #e8eaed);
}
.cinema-empty-request__desc {
  margin: 0 auto 18px;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--yp-muted, #94a3b8);
}
.cinema-empty-request__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #e04443;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #ff6363 0%, #e04443 100%);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(224, 68, 67, 0.22);
  transition: transform 0.15s ease, background 0.18s ease;
}
.cinema-empty-request__btn:hover {
  background: linear-gradient(180deg, #f25555 0%, #d7353a 100%);
  transform: translateY(-1px);
}
.cinema-empty-request__btn:focus-visible {
  outline: 2px solid #f04445;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .cinema-empty-request,
  .cinema-empty-request__ring,
  .cinema-empty-request__btn {
    animation: none !important;
    transition: none !important;
  }
  .cinema-empty-request__btn:hover { transform: none; }
}
@keyframes cinema-sensitive-fade-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cinema-sensitive-ring {
  0% { transform: scale(0.62); opacity: 0.85; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes cinema-sensitive-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(240, 68, 69, 0.18); }
  50% { transform: scale(1.08); box-shadow: 0 0 32px rgba(240, 68, 69, 0.38); }
}
@keyframes cinema-sensitive-icon {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.92; }
  50% { transform: scale(1.12) rotate(-4deg); opacity: 1; }
}
.cinema-transfer-backdrop {
  position: fixed;
  z-index: 10020;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(4px);
}
.cinema-transfer-modal {
  position: fixed;
  z-index: 10021;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  padding: 22px;
  border: 1px solid var(--yp-line-strong);
  border-radius: 12px;
  background: var(--yp-surface-2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color: var(--yp-ink);
}
.cinema-transfer-modal[hidden],
.cinema-transfer-backdrop[hidden] { display: none; }
.cinema-transfer-modal__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cinema-transfer-modal__heading h2 { margin: 0; font-size: 16px; color: var(--yp-ink-strong); }
.cinema-transfer-modal__heading button {
  border: 0;
  background: none;
  color: var(--yp-muted);
  font-size: 25px;
  cursor: pointer;
}
.cinema-transfer-loading { padding: 20px 0; text-align: center; }
.cinema-transfer-loading p,
.cinema-transfer-content p { color: var(--yp-muted); font-size: 12px; }
.cinema-transfer-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(240, 68, 69, 0.25);
  border-top-color: var(--yp-red);
  border-radius: 50%;
  animation: cinema-transfer-spin .8s linear infinite;
}
@keyframes cinema-transfer-spin { to { transform: rotate(360deg); } }
.cinema-transfer-content h3 { word-break: break-all; color: var(--yp-ink-strong); }
.cinema-transfer-qr {
  margin: 10px 0 14px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(240, 68, 69, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  animation: cinema-qr-panel-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cinema-transfer-qr__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffb4b2;
  background: rgba(240, 68, 69, 0.14);
  border: 1px solid rgba(240, 68, 69, 0.35);
  animation: cinema-qr-badge-pulse 1.6s ease-in-out infinite;
}
.cinema-transfer-qr__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f04445;
  box-shadow: 0 0 0 0 rgba(240, 68, 69, 0.55);
  animation: cinema-qr-dot-ping 1.4s ease-out infinite;
}
.cinema-transfer-qr__bubble {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  animation: cinema-qr-tip-in 0.45s ease both;
}
.cinema-transfer-qr__bubble--warn {
  color: #ffe8a3;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
}
.cinema-transfer-qr__bubble--info {
  color: #c7e2ff;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.cinema-transfer-qr__bubble strong {
  font-weight: 700;
  color: inherit;
}
.cinema-transfer-qr__lead {
  margin: 0 0 8px !important;
  font-size: 15px !important;
  font-weight: 700;
  color: var(--yp-ink-strong, #e8eaed) !important;
  animation: cinema-qr-lead-nudge 2.2s ease-in-out infinite;
}
.cinema-transfer-qr__expire {
  margin: 0 0 14px !important;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px !important;
  font-weight: 700;
  line-height: 1.45;
  color: #fff1f0 !important;
  background: linear-gradient(135deg, rgba(240, 68, 69, 0.28), rgba(251, 146, 60, 0.22));
  border: 1px solid rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 0 1px rgba(240, 68, 69, 0.12), 0 8px 20px rgba(240, 68, 69, 0.18);
  animation: cinema-qr-expire-pulse 1.8s ease-in-out infinite;
}
.cinema-transfer-qr__expire-num {
  display: inline-block;
  margin: 0 2px;
  padding: 0 4px;
  font-size: 1.65em;
  font-weight: 900;
  line-height: 1;
  vertical-align: -0.08em;
  color: #ffd166;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.55);
}
.cinema-transfer-qr__frame {
  position: relative;
  display: inline-block;
  margin: 0 auto 10px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(240, 68, 69, 0.2);
  animation: cinema-qr-frame-glow 2s ease-in-out infinite;
}
.cinema-transfer-qr__scanline {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 68, 69, 0.85), transparent);
  box-shadow: 0 0 10px rgba(240, 68, 69, 0.55);
  animation: cinema-qr-scan 2.1s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.cinema-transfer-qr img {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.cinema-transfer-qr__scan-hint {
  margin: 0 0 12px !important;
  font-size: 12px !important;
  line-height: 1.5;
  color: var(--yp-muted, #94a3b8) !important;
}
@keyframes cinema-qr-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cinema-qr-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes cinema-qr-dot-ping {
  0% { box-shadow: 0 0 0 0 rgba(240, 68, 69, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(240, 68, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 68, 69, 0); }
}
@keyframes cinema-qr-lead-nudge {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(255, 141, 139, 0.25); }
}
@keyframes cinema-qr-frame-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 68, 69, 0.12); }
  50% { box-shadow: 0 0 0 6px rgba(240, 68, 69, 0.16); }
}
@keyframes cinema-qr-scan {
  0% { top: 10px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: calc(100% - 12px); opacity: 0; }
}
@keyframes cinema-qr-tip-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes cinema-qr-expire-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(240, 68, 69, 0.12), 0 8px 20px rgba(240, 68, 69, 0.18); }
  50% { transform: scale(1.015); box-shadow: 0 0 0 3px rgba(240, 68, 69, 0.2), 0 10px 24px rgba(240, 68, 69, 0.28); }
}
.cinema-transfer-link-row { word-break: break-all; }
.cinema-transfer-link-row a { color: #ff8d8b; }
.cinema-transfer-modal__actions { display: flex; justify-content: center; gap: 9px; }
.cinema-transfer-modal__actions button {
  padding: 9px 14px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}
.cinema-transfer-modal__actions button:first-child {
  background: var(--yp-chip);
  color: #c4c8d0;
}
.cinema-transfer-modal__actions button:last-child {
  background: var(--yp-red);
  color: #fff;
}

@media (max-width: 1100px) {
  .yp-results-layout {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 18px;
  }
  .yp-right-sidebar { position: static; grid-column: 2; }
  .yp-hot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}

@media (max-width: 700px) {
  .yp-searchbar-wrap { margin: 18px auto 18px; }
  .yp-searchbar { height: 50px; gap: 8px; }
  .yp-searchbar button { height: 40px; padding: 0 14px; font-size: 12px; }
  .yp-results-layout {
    width: calc(100% - 28px);
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .yp-drive-sidebar {
    width: 100%;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .yp-drive-sidebar::-webkit-scrollbar { display: none; }
  .source-chip { width: auto; height: 36px; flex: none; padding: 0 10px; font-size: 11px; }
  .source-chip img { width: 18px; height: 18px; }
  .yp-drive-count { display: none; }
  .yp-result-column,
  .yp-right-sidebar { width: 100%; }
  .yp-results-overview { min-height: 0; margin-bottom: 11px; }
  .yp-results-overview__heading h1 { margin: 0 0 6px; font-size: 17px; }
  .yp-results-overview__heading p,
  .yp-back-link { font-size: 10px; }
  .serp-item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    min-height: 96px !important;
    padding: 12px !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
  }
  .serp-item__poster { width: 64px; }
  .serp-item__poster img,
  .serp-item__poster .cover-fallback { min-height: 90px; }
  .serp-item__poster .cover-fallback__glyph { font-size: 24px; }
  .serp-item h2 { font-size: 13px !important; }
  .serp-item__source { margin-top: 0 !important; gap: 5px !important; font-size: 10px !important; }
  .serp-item__source img { width: 16px !important; height: 16px !important; }
  .serp-item__description { font-size: 10px !important; }
  .serp-meta.serp-item__actions {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    margin-top: 4px !important;
  }
  .serp-item__actions .serp-action-pill { padding: 7px 10px !important; font-size: 10px !important; }
  .yp-hot-card { padding: 14px 12px 7px; }
  .yp-hot-list { grid-template-columns: 1fr; }
  .yp-hot-list li > a { min-height: 42px; }
  .serp-pagination { gap: 5px; padding: 14px 4px 18px; }
  .serp-pagination button { height: 33px; font-size: 12px; }
  .serp-pagination .pager-page { min-width: 32px; padding: 0 6px; }
  .serp-pagination .pager-nav { min-width: 52px; padding: 0 8px; }
  .serp-pagination span { min-width: 14px; height: 33px; font-size: 11px; }
}
