/* Yingju UI upgrade: global front-end visual layer. */
:root {
  --yg-bg: #06111d;
  --yg-bg-soft: #091827;
  --yg-surface: rgba(13, 28, 45, .82);
  --yg-surface-strong: rgba(17, 37, 58, .92);
  --yg-line: rgba(148, 189, 220, .16);
  --yg-line-strong: rgba(116, 215, 235, .34);
  --yg-text: #f3f8fb;
  --yg-muted: #a8bac8;
  --yg-cyan: #22d3ee;
  --yg-cyan-deep: #0891b2;
  --yg-green: #22c55e;
  --yg-amber: #f4c76b;
  --yg-rose: #fb7185;
  --yg-radius: 18px;
  --yg-radius-sm: 12px;
  --yg-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --yg-shadow-soft: 0 10px 28px rgba(0, 0, 0, .18);
  --yg-ease: cubic-bezier(.2, .8, .2, 1);
}

html {
  scroll-padding-top: 92px;
}

body {
  color: var(--yg-text);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, .08), transparent 34%),
    linear-gradient(180deg, #071320 0%, #081624 44%, #050b13 100%) !important;
  letter-spacing: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .48;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 78%);
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body :where(h1, h2, h3, h4, .section-title, .hero-title, .featured-hero h1, .collections-heading-copy h1) {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

body :where(p, .section-desc, .hero-description, .collection-desc, .featured-hero p, .collections-subtitle) {
  color: rgba(219, 232, 241, .78);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(34, 211, 238, .34) !important;
  outline-offset: 3px;
}

.navbar {
  top: 12px !important;
  width: min(1420px, calc(100% - 28px));
  margin: 12px auto 0;
  border: 1px solid rgba(148, 189, 220, .16) !important;
  border-radius: 20px;
  background: rgba(6, 16, 28, .76) !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .24);
}

body.yg-nav-scrolled .navbar {
  background: rgba(6, 16, 28, .91) !important;
  border-color: rgba(34, 211, 238, .22) !important;
}

.site-announcement-bar {
  position: fixed;
  left: 50%;
  top: 88px;
  z-index: 998;
  width: min(980px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.site-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 14px;
  background: rgba(7, 18, 31, .88);
  color: rgba(239, 249, 255, .92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .26);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.site-announcement-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #86efac;
  box-shadow: 0 0 0 5px rgba(134, 239, 172, .12);
}

.site-announcement-text,
.site-announcement-link {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-announcement-link:hover {
  color: #7dd3fc;
}

.navbar .container {
  min-height: 68px;
  width: min(1320px, calc(100% - 32px)) !important;
}

.navbar-logo-icon,
.home-entry-icon,
.platform-mini-card i,
.section-title-icon {
  color: var(--yg-cyan) !important;
}

.navbar-logo-icon {
  border-radius: 13px !important;
  background: linear-gradient(135deg, rgba(8, 145, 178, .22), rgba(34, 197, 94, .12)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 24px rgba(34, 211, 238, .12) !important;
}

.nav-category,
.nav-action-btn,
.search-btn,
.btn,
.hero-cta-primary,
.hero-cta-secondary,
.movie-get-btn,
.quick-tag,
.featured-filter-options button,
.collections-filter-options button,
.pan-type-btn {
  min-height: 42px;
  cursor: pointer;
  border-radius: 13px !important;
  transition: transform .18s var(--yg-ease), border-color .18s var(--yg-ease), background .18s var(--yg-ease), box-shadow .18s var(--yg-ease), color .18s var(--yg-ease) !important;
}

.nav-category:hover,
.nav-category:focus-visible,
.nav-action-btn:hover,
.nav-action-btn:focus-visible,
.search-btn:hover,
.search-btn:focus-visible {
  transform: translateY(-1px);
}

.nav-category.active,
.btn-primary,
.hero-cta-primary,
.movie-get-btn:hover,
.featured-filter-options button.is-active,
.collections-filter-options button.is-active {
  color: #041318 !important;
  background: linear-gradient(135deg, #22d3ee 0%, #7dd3fc 58%, #86efac 100%) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  box-shadow: 0 12px 30px rgba(34, 211, 238, .18) !important;
}

.btn-secondary,
.hero-cta-secondary,
.navbar-search,
.nav-action-btn,
.quick-tag {
  background: rgba(13, 28, 45, .68) !important;
  border-color: rgba(148, 189, 220, .16) !important;
  color: rgba(236, 246, 252, .9) !important;
}

.btn:hover,
.hero-cta-primary:hover,
.hero-cta-secondary:hover,
.movie-card:hover,
.rail-card:hover,
.recommend-card:hover,
.collection-card:hover,
.home-entry-card:hover,
.platform-mini-card:hover {
  transform: translateY(-3px);
}

.navbar-search:focus-within,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.search-input:focus {
  border-color: rgba(34, 211, 238, .48) !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .1) !important;
}

html[data-content-density="compact"] .section-block,
html[data-content-density="compact"] .home-section,
html[data-content-density="compact"] .featured-section,
html[data-content-density="compact"] .collections-section {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

html[data-content-density="compact"] :where(.movie-grid, .rail-grid, .collections-grid, .home-entry-grid, .featured-grid) {
  gap: 14px !important;
}

html[data-content-density="compact"] :where(.movie-card, .rail-card, .recommend-card, .collection-card, .home-entry-card, .platform-mini-card) {
  border-radius: 16px !important;
}

html[data-content-density="compact"] :where(.movie-info, .rail-card-body, .collection-card-body, .home-entry-card) {
  padding: 14px !important;
}

:where(.hero-section, .featured-hero, .collections-hero, .list-page-hero, .static-hero, .copyright-page-banner, .collection-detail-hero) {
  border-bottom: 1px solid rgba(148, 189, 220, .12) !important;
}

.hero-section {
  margin-top: -84px !important;
  padding-top: 84px;
}

.hero-slide::after {
  background:
    linear-gradient(90deg, rgba(4, 12, 20, .96) 0%, rgba(4, 12, 20, .82) 36%, rgba(4, 12, 20, .44) 68%, rgba(4, 12, 20, .22) 100%),
    linear-gradient(180deg, rgba(4, 12, 20, .18) 0%, rgba(4, 12, 20, .86) 100%) !important;
}

.hero-slide::before {
  background:
    linear-gradient(115deg, rgba(34, 211, 238, .12), transparent 36%),
    linear-gradient(180deg, transparent, rgba(4, 12, 20, .42)) !important;
  mix-blend-mode: normal !important;
  opacity: .72 !important;
}

.hero-kicker,
.section-kicker,
.page-eyebrow,
.featured-kicker,
.collections-kicker,
.collections-section-kicker,
.detail-topline,
.detail-kicker,
.state-feedback-kicker {
  color: var(--yg-cyan) !important;
  letter-spacing: .04em !important;
}

.hero-title {
  max-width: 780px;
}

.hero-description {
  max-width: 690px;
  color: rgba(232, 243, 250, .78) !important;
}

.hero-pill,
.movie-badge,
.helper-chip,
.trust-stat-pill,
.mini-pill,
.featured-chip-static,
.collections-hero-tags span,
.collection-tags span,
.detail-context-item,
.status-chip {
  border-color: rgba(148, 189, 220, .16) !important;
  background: rgba(14, 31, 50, .68) !important;
  color: rgba(232, 243, 250, .86) !important;
}

:where(.movie-card, .rail-card, .recommend-card, .collection-card, .polished-collection-card, .home-entry-card, .platform-mini-card, .trust-card, .detail-card, .detail-side-panel, .detail-cta-panel, .resource-entry-card, .state-feedback-bar, .explore-filter-card, .featured-filter-panel, .collections-toolbar, .static-step-card, .static-contact-card, .static-side-card, .empty-state-card) {
  border: 1px solid rgba(148, 189, 220, .14) !important;
  background: linear-gradient(180deg, rgba(15, 32, 51, .86), rgba(8, 19, 32, .88)) !important;
  box-shadow: var(--yg-shadow-soft) !important;
}

:where(.movie-card, .rail-card, .recommend-card, .collection-card, .polished-collection-card, .home-entry-card, .platform-mini-card):hover,
:where(.movie-card, .rail-card, .recommend-card, .collection-card, .polished-collection-card, .home-entry-card, .platform-mini-card):focus-visible {
  border-color: rgba(34, 211, 238, .38) !important;
  box-shadow: var(--yg-shadow), 0 0 0 1px rgba(34, 211, 238, .08) !important;
}

.movie-card,
.rail-card,
.recommend-card,
.collection-card,
.polished-collection-card,
.home-entry-card,
.platform-mini-card {
  cursor: pointer;
}

.movie-cover,
.rail-cover,
.recommend-cover,
.detail-cover,
.hero-slide-bg {
  background: #0a1726;
}

.movie-title,
.rail-title,
.recommend-title,
.collection-title,
.detail-main h1,
.detail-title,
.section-title {
  color: #f6fbff !important;
}

.movie-meta,
.rail-meta,
.rail-note,
.recommend-meta,
.collection-desc,
.collection-card-summary,
.detail-cta-text,
.detail-desc,
.summary-text,
.empty-state-text {
  color: rgba(184, 202, 215, .78) !important;
}

.platform-status-section,
.trust-section,
.home-entry-section,
.home-section-panel,
.page-section,
.movie-section,
.content-rail-section,
.recommend-section {
  position: relative;
}

.platform-status-wrap {
  border: 1px solid rgba(148, 189, 220, .12);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(12, 27, 44, .72), rgba(8, 19, 32, .55));
  box-shadow: var(--yg-shadow-soft);
}

.platform-mini-card {
  min-height: 132px;
}

.home-entry-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch;
}

.home-entry-card {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  min-height: 92px;
  padding: 18px 20px !important;
  text-decoration: none !important;
}

.home-entry-card strong {
  display: block;
  color: #f6fbff;
  font-size: 15px;
  line-height: 1.25;
}

.home-entry-card em {
  display: block;
  margin-top: 4px;
  color: rgba(184, 202, 215, .76);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.shared-entry-section {
  position: relative;
  z-index: 4;
  padding: 24px 0 26px !important;
  border-top: 1px solid rgba(148, 189, 220, .1);
  border-bottom: 1px solid rgba(148, 189, 220, .08);
  background: rgba(5, 14, 24, .24);
}

.shared-entry-section .home-entry-card[aria-current="page"],
.shared-entry-section .home-entry-card.is-current {
  border-color: rgba(34, 211, 238, .45) !important;
  background: linear-gradient(180deg, rgba(34, 211, 238, .12), rgba(8, 19, 32, .88)) !important;
}

body.featured-page.list-page .featured-hero,
body.series-page .featured-hero,
body.series-recent-page .featured-hero {
  border-bottom: 1px solid rgba(34, 211, 238, .14);
  background:
    linear-gradient(115deg, rgba(4, 12, 22, .52) 0%, rgba(4, 12, 22, .1) 48%, rgba(34, 211, 238, .08) 100%),
    #06111d !important;
}

body.featured-page.list-page .featured-hero-bg,
body.series-page .featured-hero-bg,
body.series-recent-page .featured-hero-bg {
  opacity: .58 !important;
  filter: saturate(1.08) contrast(1.04) !important;
}

body.featured-page.list-page .featured-hero-mask,
body.series-page .featured-hero-mask,
body.series-recent-page .featured-hero-mask {
  background:
    linear-gradient(90deg, rgba(3, 9, 17, .92) 0%, rgba(4, 12, 22, .72) 44%, rgba(4, 12, 22, .32) 74%, rgba(4, 12, 22, .72) 100%),
    linear-gradient(180deg, rgba(3, 9, 17, .2) 0%, rgba(3, 9, 17, .86) 100%) !important;
}

body.featured-page.list-page .featured-hero-inner,
body.series-page .featured-hero-inner,
body.series-recent-page .featured-hero-inner {
  position: relative !important;
}

body.featured-page.list-page .featured-hero-copy,
body.series-page .featured-hero-copy,
body.series-recent-page .featured-hero-copy {
  position: relative;
  z-index: 3;
}

body.featured-page.list-page .featured-kicker,
body.series-page .featured-kicker,
body.series-recent-page .featured-kicker {
  color: rgba(148, 235, 255, .88) !important;
}

body.featured-page.list-page .featured-hero-tags,
body.series-page .featured-hero-tags,
body.series-recent-page .featured-hero-tags {
  max-width: 760px;
}

body.featured-page.list-page .featured-chip,
body.series-page .featured-chip,
body.series-recent-page .featured-chip,
body.featured-page.list-page .featured-chip-static {
  min-height: 38px;
  border: 1px solid rgba(148, 189, 220, .22) !important;
  background: rgba(8, 22, 36, .58) !important;
  color: rgba(232, 244, 250, .88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

body.featured-page.list-page .featured-chip.active,
body.series-page .featured-chip.active,
body.series-recent-page .featured-chip.active,
body.featured-page.list-page .featured-chip:hover,
body.series-page .featured-chip:hover,
body.series-recent-page .featured-chip:hover {
  border-color: rgba(34, 211, 238, .46) !important;
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(34, 197, 94, .12)) !important;
  color: #f8fdff !important;
}

body.featured-page .featured-filter-panel,
body.featured-page .featured-reco-bar,
body.featured-page .series-status-bar {
  border: 1px solid rgba(148, 189, 220, .16) !important;
  background:
    linear-gradient(180deg, rgba(11, 26, 42, .82), rgba(6, 16, 28, .78)) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
}

body.featured-page .featured-filter-label {
  color: rgba(232, 244, 250, .92) !important;
}

body.featured-page .featured-filter-pill {
  min-height: 36px;
  border: 1px solid rgba(148, 189, 220, .16) !important;
  background: rgba(9, 22, 35, .62) !important;
  color: rgba(201, 218, 230, .86) !important;
}

body.featured-page .featured-filter-pill:hover,
body.featured-page .featured-filter-pill:focus-visible,
body.featured-page .featured-filter-pill.active {
  border-color: rgba(34, 211, 238, .44) !important;
  background: rgba(34, 211, 238, .12) !important;
  color: #f5fbff !important;
}

body.featured-page .featured-total-pill {
  border: 1px solid rgba(34, 211, 238, .24) !important;
  background: rgba(34, 211, 238, .1) !important;
  color: #c9f7ff !important;
}

body.featured-page .featured-resource-card {
  border-color: rgba(148, 189, 220, .15) !important;
  background: linear-gradient(180deg, rgba(14, 30, 47, .88), rgba(7, 18, 31, .92)) !important;
}

body.featured-page .featured-resource-card:hover,
body.featured-page .featured-resource-card:focus-visible {
  border-color: rgba(34, 211, 238, .36) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36), 0 0 0 1px rgba(34, 211, 238, .1);
}

@media (min-width: 1024px) {
  body.featured-page.list-page .featured-hero,
  body.series-page .featured-hero,
  body.series-recent-page .featured-hero {
    min-height: 414px !important;
    overflow: hidden;
  }

  body.featured-page.list-page .featured-hero-inner,
  body.series-page .featured-hero-inner,
  body.series-recent-page .featured-hero-inner {
    min-height: 414px !important;
    padding-top: 124px !important;
    padding-bottom: 58px !important;
  }

  body.featured-page.list-page .featured-hero-copy,
  body.series-page .featured-hero-copy,
  body.series-recent-page .featured-hero-copy {
    max-width: min(720px, 58%) !important;
  }

  body.featured-page.list-page .featured-hero h1,
  body.series-page .featured-hero h1,
  body.series-recent-page .featured-hero h1 {
    max-width: 720px;
    font-size: 52px !important;
    line-height: 1.05 !important;
  }

  body.featured-page.list-page .featured-hero p,
  body.series-page .featured-hero p,
  body.series-recent-page .featured-hero p {
    max-width: 680px;
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  body.featured-page.list-page .featured-hero-inner::before,
  body.series-page .featured-hero-inner::before,
  body.series-recent-page .featured-hero-inner::before {
    content: "";
    position: absolute;
    right: clamp(28px, 5vw, 88px);
    top: 124px;
    z-index: 1;
    width: 360px;
    height: 220px;
    border: 1px solid rgba(148, 189, 220, .2);
    border-radius: 24px;
    background:
      repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 18px),
      linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(34, 197, 94, .1) 46%, rgba(4, 12, 22, .78));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
    transform: perspective(900px) rotateY(-13deg) rotateZ(1deg);
  }

  body.featured-page.list-page .featured-hero-inner::after,
  body.series-page .featured-hero-inner::after,
  body.series-recent-page .featured-hero-inner::after {
    content: "";
    position: absolute;
    right: clamp(96px, 10vw, 168px);
    top: 84px;
    z-index: 2;
    width: 218px;
    height: 300px;
    border: 1px solid rgba(226, 239, 247, .16);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 22%),
      linear-gradient(135deg, rgba(34, 211, 238, .72), rgba(34, 197, 94, .28) 46%, rgba(9, 21, 35, .92) 47%),
      repeating-linear-gradient(0deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 18px);
    box-shadow: 0 26px 64px rgba(0, 0, 0, .42), 0 0 0 10px rgba(6, 16, 28, .32);
    transform: rotate(-4deg);
  }
}

@media (max-width: 1023px) {
  body.featured-page.list-page .featured-hero,
  body.series-page .featured-hero,
  body.series-recent-page .featured-hero {
    min-height: auto !important;
  }

  body.featured-page.list-page .featured-hero-inner,
  body.series-page .featured-hero-inner,
  body.series-recent-page .featured-hero-inner {
    padding-top: 112px !important;
    padding-bottom: 42px !important;
  }

  body.featured-page.list-page .featured-hero-copy,
  body.series-page .featured-hero-copy,
  body.series-recent-page .featured-hero-copy {
    max-width: 760px !important;
  }
}

.featured-filter-panel,
.explore-filter-card,
.collections-toolbar {
  border-radius: 22px !important;
}

.featured-filter-options button,
.collections-filter-options button,
.quick-tag {
  border-radius: 999px !important;
}

input,
select,
textarea,
.search-input {
  color: var(--yg-text) !important;
}

input::placeholder,
textarea::placeholder,
.search-input::placeholder {
  color: rgba(168, 186, 200, .58) !important;
}

.modal-content {
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(12, 27, 44, .98), rgba(6, 16, 28, .98)) !important;
  border-color: rgba(34, 211, 238, .22) !important;
}

.toast,
.yg-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 5000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(520px, calc(100vw - 32px));
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, .26);
  background: rgba(7, 19, 31, .94);
  color: #f3f8fb;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .32);
  backdrop-filter: blur(14px);
}

.toast.active,
.toast.show,
.yg-toast.is-visible {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

.yg-toast[data-type="success"] {
  border-color: rgba(34, 197, 94, .34);
}

.yg-toast[data-type="error"] {
  border-color: rgba(251, 113, 133, .34);
}

.yg-toast[data-type="warn"] {
  border-color: rgba(244, 199, 107, .38);
}

.yg-loading {
  position: relative;
  pointer-events: none;
  opacity: .8;
}

.yg-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: ygSpin .8s linear infinite;
}

.yg-ripple {
  position: absolute;
  inset: auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, .36);
  transform: translate(-50%, -50%) scale(0);
  animation: ygRipple .48s ease-out forwards;
}

@keyframes ygSpin {
  to { transform: rotate(360deg); }
}

@keyframes ygRipple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (max-width: 991px) {
  .navbar {
    top: 8px !important;
    width: calc(100% - 18px);
    margin-top: 8px;
    border-radius: 18px;
  }

  .navbar .container {
    width: calc(100% - 24px) !important;
  }

  .hero-section {
    margin-top: -96px !important;
    padding-top: 96px;
  }

  .platform-status-wrap {
    padding: 18px;
  }

  .home-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    background: linear-gradient(180deg, #071320 0%, #081624 52%, #050b13 100%) !important;
  }

  .navbar {
    width: calc(100% - 12px);
    border-radius: 16px;
  }

  .navbar .container {
    gap: 10px;
  }

  .hero-title {
    font-size: 36px !important;
  }

  .section-title,
  .featured-hero h1,
  .collections-heading-copy h1,
  .detail-main h1 {
    font-size: 30px !important;
  }

  body.featured-page.list-page .featured-hero-inner,
  body.series-page .featured-hero-inner,
  body.series-recent-page .featured-hero-inner {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    min-width: 0 !important;
    padding-top: 118px !important;
  }

  body.featured-page.list-page .featured-hero-copy,
  body.series-page .featured-hero-copy,
  body.series-recent-page .featured-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.featured-page.list-page .featured-hero h1,
  body.series-page .featured-hero h1,
  body.series-recent-page .featured-hero h1 {
    max-width: 100% !important;
    font-size: 42px !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  body.featured-page.list-page .featured-hero p,
  body.series-page .featured-hero p,
  body.series-recent-page .featured-hero p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.featured-page.list-page .featured-hero-tags,
  body.series-page .featured-hero-tags,
  body.series-recent-page .featured-hero-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  body.featured-page .featured-content-section .container,
  body.featured-page .featured-filter-panel,
  body.featured-page .featured-reco-bar {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.featured-page .featured-filter-row {
    max-width: 100% !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }

  body.featured-page .featured-filter-row::-webkit-scrollbar {
    display: none;
  }

  body.featured-page .featured-grid,
  body.series-page .series-grid,
  body.series-recent-page .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.featured-page .featured-resource-card,
  body.series-page .series-resource-card,
  body.series-recent-page .series-resource-card {
    min-width: 0 !important;
  }

  .platform-status-wrap {
    border-radius: 18px;
    padding: 16px;
  }

  .platform-mini-card {
    min-height: auto !important;
  }

  body.explore-page .platform-status-top {
    display: grid !important;
    gap: 14px !important;
  }

  body.explore-page .platform-status-copy .trust-headline {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  body.explore-page .platform-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.explore-page .platform-mini-card {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    column-gap: 9px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }

  body.explore-page .platform-mini-card span,
  body.explore-page .platform-mini-card strong,
  body.explore-page .trust-headline {
    overflow-wrap: anywhere;
  }

  body.explore-page .community-open-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  body.explore-page .explore-state-panel,
  body.explore-page .state-feedback-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  body.explore-page .explore-state-pills,
  body.explore-page .state-feedback-actions {
    justify-content: flex-start !important;
  }

  .home-entry-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .home-entry-card {
    min-height: 74px;
    padding: 15px 16px !important;
  }

  .hero-progress {
    bottom: 18px !important;
    height: 2px !important;
    width: 46vw !important;
  }

  .hero-dots {
    right: 20px !important;
    left: auto !important;
    bottom: 9px !important;
    transform: none !important;
  }

  .hero-dot-btn {
    width: 7px !important;
    height: 7px !important;
  }

  .hero-dot-btn.active {
    width: 20px !important;
  }

  .movie-card,
  .rail-card,
  .recommend-card,
  .collection-card,
  .home-entry-card {
    border-radius: 18px !important;
  }
}

body.detail-page .detail-card-polished,
body.detail-page .detail-visual-column,
body.detail-page .detail-main,
body.detail-page .detail-structured-grid,
body.detail-page .detail-cta-panel,
body.detail-page .detail-summary-card,
body.detail-page .detail-flow-panel,
body.detail-page .resource-entry-overview-shell,
body.detail-page .detail-continue-panel,
body.detail-page .detail-recommend-header,
body.detail-page .detail-recommend-scroll,
body.detail-page .qr-modal-shell {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.detail-page .detail-card-polished {
  overflow: hidden;
}

body.detail-page .detail-visual-column,
body.detail-page .detail-main {
  width: 100% !important;
}

body.detail-page .detail-cover {
  box-shadow: 0 22px 54px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

body.detail-page .detail-side-item strong,
body.detail-page .detail-info-item strong,
body.detail-page .detail-resource-info-row strong,
body.detail-page .detail-cta-title,
body.detail-page .detail-cta-text,
body.detail-page .detail-cta-note {
  overflow-wrap: anywhere;
}

body.detail-page .detail-cta-panel-primary {
  position: relative;
  isolation: isolate;
}

body.detail-page .detail-cta-panel-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 211, 238, .18), transparent 34%),
    linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(34, 197, 94, .06));
  pointer-events: none;
}

body.detail-page .qr-modal-shell {
  width: min(560px, calc(100vw - 28px)) !important;
  border-radius: 24px !important;
}

body.detail-page .qr-modal-body,
body.detail-page .qr-status-grid,
body.detail-page .qr-steps-card,
body.detail-page .qr-link-row {
  max-width: 100% !important;
}

body.collection-detail-page .collection-detail-shell,
body.collection-detail-page .collection-detail-visual-panel,
body.collection-detail-page .collection-detail-content-panel,
body.collection-detail-page .collection-flow-panel,
body.collection-detail-page .detail-flow-grid,
body.collection-detail-page .collection-movies-header,
body.collection-detail-page #collectionMoviesGrid {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.collection-detail-page .collection-detail-shell *,
body.collection-detail-page .collection-detail-route-section *,
body.collection-detail-page .collection-movies-shell * {
  box-sizing: border-box;
}

body.collection-detail-page .collection-detail-shell {
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr) !important;
  gap: 24px !important;
}

body.collection-detail-page .collection-detail-visual-panel {
  width: 100% !important;
  max-width: 420px !important;
}

body.collection-detail-page .collection-detail-cover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(34, 211, 238, .22), transparent 34%),
    linear-gradient(135deg, rgba(30, 64, 175, .72), rgba(8, 19, 32, .96)) !important;
}

body.collection-detail-page .collection-detail-content-panel,
body.collection-detail-page .collection-detail-side-card,
body.collection-detail-page .collection-movies-header {
  background: linear-gradient(180deg, rgba(15, 32, 51, .88), rgba(8, 19, 32, .9)) !important;
  border-color: rgba(148, 189, 220, .15) !important;
  box-shadow: var(--yg-shadow-soft) !important;
}

body.collection-detail-page .collection-detail-content-panel {
  overflow: hidden;
}

body.collection-detail-page .collection-detail-summary,
body.collection-detail-page .collection-state-feedback {
  border-color: rgba(148, 189, 220, .14) !important;
}

body.collection-detail-page .collection-detail-content-panel .detail-title,
body.collection-detail-page .collection-detail-summary,
body.collection-detail-page .collection-card-topline,
body.collection-detail-page .collection-card-footer {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  body.detail-page .detail-card-polished {
    grid-template-columns: 1fr !important;
  }

  body.detail-page .detail-visual-column {
    max-width: min(360px, 100%) !important;
  }

  body.detail-page .detail-structured-grid,
  body.detail-page .detail-cta-panel-primary,
  body.detail-page .qr-status-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  body.detail-page .container,
  body.detail-page .detail-wrap {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.detail-page .detail-page-main {
    overflow-x: clip;
  }

  body.detail-page .detail-context-strip,
  body.detail-page .detail-meta,
  body.detail-page .compact-pill-row {
    max-width: 100%;
    overflow: hidden;
  }

  body.detail-page .detail-card-polished {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }

  body.detail-page .detail-visual-column {
    justify-self: center;
    max-width: min(276px, 100%) !important;
  }

  body.detail-page .detail-cover {
    min-height: 0 !important;
    max-height: none !important;
  }

  body.detail-page .detail-main h1 {
    font-size: 32px !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }

  body.detail-page .detail-cta-panel-primary,
  body.detail-page .detail-resource-info-card,
  body.detail-page .detail-summary-card,
  body.detail-page .detail-flow-panel,
  body.detail-page .resource-entry-overview-shell,
  body.detail-page .detail-continue-panel,
  body.detail-page .detail-recommend-header {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  body.detail-page .detail-actions-row-primary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.detail-page .detail-actions-row-primary .btn,
  body.detail-page .detail-actions-row-primary a {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  body.detail-page .detail-recommend-scroll {
    overflow-x: auto !important;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  body.detail-page .detail-recommend-scroll::-webkit-scrollbar {
    display: none;
  }

  body.detail-page .modal-content.qr-modal-shell {
    width: calc(100vw - 24px) !important;
    margin: 12px auto !important;
  }
}

@media (max-width: 1024px) {
  body.collection-detail-page .collection-detail-shell,
  body.collection-detail-page .collection-detail-route-section .collection-flow-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.collection-detail-page .collection-detail-visual-panel {
    justify-self: stretch !important;
    max-width: none !important;
  }
}

@media (max-width: 767px) {
  body.collection-detail-page .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.collection-detail-page .collection-detail-page-main {
    overflow-x: clip;
  }

  body.collection-detail-page .collection-detail-hero {
    padding-top: 94px !important;
    padding-bottom: 24px !important;
  }

  body.collection-detail-page .collection-detail-content-panel {
    order: -1;
    padding: 17px !important;
    border-radius: 20px !important;
  }

  body.collection-detail-page .collection-detail-content-panel .detail-title {
    font-size: 31px !important;
    line-height: 1.14 !important;
  }

  body.collection-detail-page .collection-detail-cover {
    aspect-ratio: 16 / 9 !important;
    border-radius: 19px !important;
  }

  body.collection-detail-page #collectionMetaPills,
  body.collection-detail-page #collectionFlowPills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 100%;
    overflow: visible;
  }

  body.collection-detail-page #collectionMetaPills .hero-pill,
  body.collection-detail-page #collectionFlowPills .hero-pill {
    max-width: 100%;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body.collection-detail-page .collection-state-feedback {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 15px !important;
  }

  body.collection-detail-page .state-feedback-copy,
  body.collection-detail-page .state-feedback-copy strong,
  body.collection-detail-page .state-feedback-copy p {
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body.collection-detail-page .collection-detail-side-card,
  body.collection-detail-page .collection-movies-header,
  body.collection-detail-page .collection-detail-route-section .modal-status-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  body.collection-detail-page .collection-detail-actions,
  body.collection-detail-page .collection-detail-side-actions,
  body.collection-detail-page .state-feedback-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.collection-detail-page .collection-detail-actions .btn,
  body.collection-detail-page .collection-detail-side-actions .btn,
  body.collection-detail-page .state-feedback-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  .navbar {
    top: 6px !important;
    width: calc(100% - 10px) !important;
    margin-top: 6px !important;
    border-radius: 15px !important;
    overflow: visible !important;
  }

  .navbar .container {
    position: static;
    width: calc(100% - 16px) !important;
    min-height: 52px !important;
    height: 52px;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .navbar-logo {
    order: 1 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    gap: 7px !important;
  }

  .navbar-logo-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
  }

  .navbar-logo h1 {
    max-width: 74px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .navbar-categories {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 68px !important;
    max-width: none !important;
    padding: 0 !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .navbar-categories::-webkit-scrollbar {
    display: none;
  }

  .navbar-categories .nav-category,
  .nav-category {
    flex: 0 0 auto !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .navbar-search {
    order: 3 !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    position: static !important;
    overflow: visible !important;
  }

  .navbar-search .search-btn {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 12px !important;
    display: grid !important;
    place-items: center !important;
  }

  .navbar-search .search-input {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    top: calc(100% + 8px) !important;
    z-index: 140 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 48px 0 14px !important;
    border: 1px solid rgba(72, 200, 255, .28) !important;
    border-radius: 14px !important;
    background: rgba(7, 18, 31, .96) !important;
    color: var(--yg-text) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .04) !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s var(--yg-ease), transform .18s var(--yg-ease);
  }

  .navbar-search.yg-search-open .search-input,
  .navbar-search:focus-within .search-input {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar-search.yg-search-open .search-btn,
  .navbar-search:focus-within .search-btn {
    color: #041318 !important;
    background: linear-gradient(135deg, #22d3ee 0%, #86efac 100%) !important;
  }

  .navbar-actions {
    order: 4 !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    padding: 0 !important;
    gap: 5px !important;
  }

  .navbar-actions .nav-link-btn {
    display: none !important;
  }

  .nav-action-btn {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 380px) {
  .navbar-logo h1 {
    display: none !important;
  }

  .navbar-categories {
    min-width: 86px !important;
  }
}

@media (max-width: 767px) {
  .site-announcement-bar {
    top: 66px;
    width: calc(100% - 18px);
  }

  .site-announcement-inner {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 13px;
  }

  .site-announcement-text,
  .site-announcement-link {
    font-size: 12px;
  }

  html[data-mobile-nav-mode="stacked"] .navbar {
    overflow: hidden !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar .container {
    width: calc(100% - 16px) !important;
    height: auto !important;
    min-height: 96px !important;
    padding: 7px 0 !important;
    flex-wrap: wrap !important;
    align-content: center !important;
    gap: 7px !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar-logo {
    order: 1 !important;
    flex: 0 0 auto !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar-search {
    order: 2 !important;
    flex: 1 1 112px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 92px !important;
    height: 36px !important;
    position: relative !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar-search .search-input {
    position: static !important;
    width: 100% !important;
    height: 36px !important;
    padding: 0 38px 0 12px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar-search .search-btn {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar-actions {
    order: 3 !important;
  }

  html[data-mobile-nav-mode="stacked"] .navbar-categories {
    order: 4 !important;
    flex: 1 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Resource radar refinement: compact front-end discovery strip */
.resource-radar-section {
  padding: 24px 0 26px !important;
  border-top: 1px solid rgba(244, 199, 107, .12) !important;
  border-bottom: 1px solid rgba(148, 189, 220, .08) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 199, 107, .12), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, .08), transparent 32%),
    linear-gradient(180deg, rgba(6, 17, 29, .72), rgba(5, 12, 22, .48)) !important;
}

.resource-radar-wrap {
  padding: 18px 20px !important;
  border-color: rgba(244, 199, 107, .20) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(15, 31, 49, .82), rgba(7, 18, 32, .60)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

.resource-radar-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 12px !important;
}

.resource-radar-top > *,
.resource-radar-wrap,
.resource-radar-actions,
.resource-radar-stats {
  min-width: 0 !important;
}

.resource-radar-kicker {
  color: var(--yg-amber) !important;
}

.resource-radar-title {
  color: #f7fbff !important;
  font-size: 20px !important;
  font-weight: 880 !important;
  line-height: 1.45 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.resource-radar-note {
  margin: 7px 0 0 !important;
  max-width: 760px;
  color: rgba(190, 207, 226, .78) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.resource-radar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.resource-radar-btn {
  min-height: 42px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 16px !important;
  border: 1px solid rgba(148, 189, 220, .18) !important;
  border-radius: 999px !important;
  background: rgba(9, 21, 38, .72) !important;
  color: rgba(235, 246, 255, .94) !important;
  font-weight: 850 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: normal !important;
  cursor: pointer !important;
  transition: transform .2s var(--yg-ease), border-color .2s var(--yg-ease), background .2s var(--yg-ease), box-shadow .2s var(--yg-ease) !important;
}

.resource-radar-btn i {
  color: var(--yg-amber) !important;
  font-size: 14px !important;
}

.resource-radar-btn:hover,
.resource-radar-btn:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(244, 199, 107, .46) !important;
  background: rgba(244, 199, 107, .12) !important;
  box-shadow: 0 14px 32px rgba(244, 199, 107, .12) !important;
  outline: none !important;
}

.resource-radar-btn.is-primary {
  color: #06111d !important;
  border-color: rgba(244, 199, 107, .72) !important;
  background: linear-gradient(135deg, #ffd166, #ffb020) !important;
  box-shadow: 0 16px 36px rgba(255, 176, 32, .20) !important;
}

.resource-radar-btn.is-primary i {
  color: #06111d !important;
}

.resource-radar-stats {
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.resource-radar-stats .trust-stat-pill {
  min-height: 32px !important;
  padding: 6px 12px !important;
  border-color: rgba(255, 255, 255, .10) !important;
  background: rgba(255, 255, 255, .045) !important;
}

body.list-page .resource-radar-section,
body.series-page .resource-radar-section {
  padding: 16px 0 18px !important;
}

body.list-page .resource-radar-wrap,
body.series-page .resource-radar-wrap {
  padding: 16px 18px !important;
  border-radius: 20px !important;
}

body.list-page .resource-radar-title,
body.series-page .resource-radar-title {
  font-size: 17px !important;
}

body.list-page .resource-radar-note,
body.series-page .resource-radar-note {
  font-size: 12px !important;
}

.shared-entry-section {
  padding: 14px 0 16px !important;
  background: rgba(5, 14, 24, .16) !important;
}

.shared-entry-section .home-entry-grid {
  gap: 10px !important;
}

.shared-entry-section .home-entry-card {
  min-height: 64px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.shared-entry-section .home-entry-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
}

@media (max-width: 767px) {
  .resource-radar-section {
    padding: 18px 0 20px !important;
  }

  .resource-radar-wrap {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .resource-radar-top {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 12px !important;
  }

  .resource-radar-title {
    font-size: 18px !important;
  }

  .resource-radar-actions {
    justify-content: stretch !important;
  }

  .resource-radar-btn {
    flex: 1 1 100% !important;
  }

  .resource-radar-stats {
    gap: 7px !important;
  }

  .resource-radar-stats .trust-stat-pill {
    font-size: 12px !important;
  }

  .shared-entry-section .home-entry-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .shared-entry-section .home-entry-card {
    flex: 0 0 174px;
    min-height: 58px !important;
    scroll-snap-align: start;
  }

  .shared-entry-section .home-entry-card em {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .resource-radar-note {
    display: none !important;
  }

  .resource-radar-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  .resource-radar-btn {
    min-height: 40px !important;
    padding: 0 12px !important;
    flex: initial !important;
  }

  .resource-radar-btn.is-primary {
    grid-column: 1 / -1;
  }

  .resource-radar-stats {
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .resource-radar-stats::-webkit-scrollbar,
  .shared-entry-section .home-entry-grid::-webkit-scrollbar {
    display: none;
  }

  .shared-entry-section .home-entry-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}
