:root {
  --bg: #f7f4ef;
  --surface: #fff;
  --surface-soft: #f0f7f4;
  --ink: #171717;
  --muted: #6b6b6b;
  --line: #ded8ce;
  --brand: #0f7a5b;
  --brand-dark: #07513d;
  --accent: #d95f3d;
  --gold: #f0b23d;
  --shadow: 0 18px 48px rgba(22, 24, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.notice {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--brand-dark);
  color: #fff;
}

.notice.hidden {
  display: none;
}

.notice-text {
  border: 0;
  background: transparent;
  color: inherit;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 22px;
}

.notice-close {
  position: absolute;
  right: 14px;
  width: 32px;
  height: 32px;
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 25;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(18px);
}

.notice.hidden + .site-header {
  top: 0;
}

.header-inner {
  display: flex;
  max-width: 1180px;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #303030;
  padding: 10px 14px;
}

.desktop-nav .active,
.desktop-nav a:hover,
.desktop-nav button:hover {
  background: #e7eee9;
  color: var(--brand-dark);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: min(340px, calc(100vh - 80px));
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 40px 20px 60px;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 25, 20, 0.86) 0%, rgba(8, 25, 20, 0.58) 48%, rgba(8, 25, 20, 0.2) 100%),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(740px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf70;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.65;
}

.wechat-guide {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.46);
}

.wechat-guide[hidden] {
  display: none;
}

.wechat-guide-panel {
  width: min(320px, calc(100vw - 48px));
  padding: 28px 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.wechat-guide-panel h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.wechat-guide-panel p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.wechat-guide-panel .secondary-button {
  width: 100%;
}

.group-qr-img {
  display: block;
  width: min(280px, 100%);
  margin: 14px auto;
  border-radius: 8px;
}

.downapp-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-app-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-app-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.search-bar {
  display: grid;
  width: min(650px, 100%);
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.search-bar i {
  color: var(--brand);
  font-size: 22px;
  text-align: center;
}

.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 17px 4px;
}

.search-bar button,
.primary-button {
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
}

.search-bar button {
  align-self: stretch;
  margin: 6px;
  padding: 0 22px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  letter-spacing: 0;
}

.ghost-button,
.secondary-button,
.chip,
.filter-group button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 13px;
}

.ranking-section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.ranking-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sort-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip.active,
.filter-group button.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.filters {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-group span {
  width: 46px;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.pagination span {
  min-width: 110px;
  color: var(--muted);
  text-align: center;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.movie-card button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--surface-soft);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 34px;
  border-radius: 8px;
  background: var(--gold);
  color: #211600;
  padding: 6px 8px;
  font-weight: 900;
  text-align: center;
}

.score-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 6px 8px;
  font-size: 13px;
}

.movie-info {
  padding: 12px;
}

.movie-info h3 {
  overflow: hidden;
  min-height: 42px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.drawer.open,
.modal.open {
  display: block;
}

.drawer-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  width: min(310px, 84vw);
  gap: 4px;
  height: 100%;
  align-content: start;
  background: var(--surface);
  padding: 26px;
  box-shadow: var(--shadow);
}

.drawer-panel a,
.drawer-panel button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 14px;
  text-align: left;
}

.drawer-panel a:hover,
.drawer-panel button:hover {
  background: var(--surface-soft);
}

.modal-panel,
.request-panel,
.group-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  transform: translate(-50%, -50%);
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-panel {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
}

.modal-panel img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
}

.modal-content {
  padding: 44px 30px 30px;
}

.modal-content h3,
.request-panel h3,
.group-panel h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.modal-content p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 5px 10px;
  color: var(--ink);
  font-size: 13px;
}

.detail-section {
  margin-top: 18px;
}

.detail-section strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.detail-section p {
  margin: 0;
}

.detail-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.detail-row span {
  color: var(--muted);
  font-size: 13px;
}

.detail-row p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.muted-row {
  color: var(--muted);
}

.detail-loading {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 13px;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 14px;
}

.primary-button,
.secondary-button {
  min-height: 42px;
  padding: 10px 15px;
}

.safe-note {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 13px;
}

.request-panel,
.group-panel {
  width: min(460px, calc(100vw - 32px));
  padding: 30px;
}

.request-panel textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 12px;
  margin: 10px 0 14px;
}

.request-panel textarea:focus {
  border-color: var(--brand);
}

.group-panel {
  text-align: center;
}

.qr-box {
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  margin: 18px auto;
  border: 8px solid #fff;
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, #101010 0 8px, #fff 8px 16px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}

.app-download-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.app-download-head h1 {
  font-size: 34px;
}

.app-download-sub {
  color: var(--muted);
}

.app-download-card {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.app-qr-wrap {
  flex: 0 0 auto;
  text-align: center;
}

.app-qr-wrap .qr-box {
  margin: 0;
}

.app-qr-wrap p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.app-download-actions .primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  padding: 12px 24px;
}

.app-download-tip {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.app-guide {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.app-guide h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.app-guide-img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
}

.app-guide ol {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 2.1;
}

.app-guide ol strong {
  color: var(--text);
}

@media (max-width: 560px) {
  .app-download-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.qr-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-box i {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-size: 44px;
}

.resource-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 20px;
  text-align: center;
}

.resource-empty-icon {
  color: var(--muted);
  font-size: 44px;
  line-height: 1;
}

.resource-empty-card h3 {
  margin: 0;
  font-size: 18px;
}

.resource-empty-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.resource-empty-card .primary-button {
  display: inline-flex;
  margin-top: 6px;
}

#jumpModal .primary-button,
#jumpModal .secondary-button {
  display: block;
  width: 100%;
  margin-top: 10px;
}

.loading-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 32px 36px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.loading-panel .search-spinner {
  width: 34px;
  height: 34px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: none;
  transform: translateX(-50%);
  border-radius: 8px;
  background: #171717;
  color: #fff;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

.search-page {
  min-height: 100vh;
}

.search-header {
  top: 0;
}

.search-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 72px;
}

.search-panel {
  border-bottom: 1px solid var(--line);
  padding: 24px 0 36px;
}

.search-panel h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 72px);
}

.search-page-bar {
  margin-top: 0;
  box-shadow: 0 10px 30px rgba(22, 24, 28, 0.09);
}

.search-page-bar.is-loading {
  outline: 2px solid rgba(14, 137, 112, 0.26);
  box-shadow: 0 14px 36px rgba(14, 137, 112, 0.18);
}

.search-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid rgba(14, 137, 112, 0.22);
  border-radius: 8px;
  background: rgba(14, 137, 112, 0.08);
  padding: 14px 16px;
  color: var(--brand-dark);
}

.search-progress[hidden] {
  display: none;
}

.search-progress strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.search-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.search-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 3px solid rgba(14, 137, 112, 0.2);
  border-top-color: var(--brand-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.search-results-section {
  padding-top: 34px;
}

.search-tabs .chip span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 12px;
}

.search-tabs .chip.active span {
  background: rgba(255, 255, 255, 0.2);
}

.search-status {
  margin-bottom: 14px;
  color: var(--muted);
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.resource-loading-card {
  border-color: rgba(14, 137, 112, 0.24);
  background: linear-gradient(90deg, rgba(14, 137, 112, 0.08), var(--surface));
}

.resource-loading-card .resource-index {
  background: transparent;
}

.primary-button[data-busy="true"] i {
  animation: spin 0.8s linear infinite;
}

.resource-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-weight: 850;
}

.resource-body h3 {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.45;
}

.resource-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.link-dialog-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  transform: translate(-50%, -50%);
  overflow: auto;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: 0 24px 70px rgba(12, 18, 31, 0.28);
  padding: 22px 20px 16px;
}

.link-dialog-head {
  text-align: center;
}

.link-dialog-head h3 {
  margin-bottom: 8px;
  color: #475569;
  font-size: 16px;
}

.link-dialog-head h3 span {
  color: #2563eb;
}

.link-dialog-head p {
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 12px;
}

.qr-display {
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.qr-display img {
  width: 136px;
  height: 136px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.countdown-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  background: #ff5661;
  color: #fff;
  padding: 14px;
}

.countdown-icon {
  font-size: 24px;
}

.countdown-card strong {
  display: block;
  margin-bottom: 4px;
}

.countdown-card mark {
  border-radius: 4px;
  background: #ffd21f;
  color: #c2410c;
  padding: 1px 5px;
}

.countdown-card p {
  margin: 0;
  font-size: 12px;
}

.dialog-tips {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.tip {
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
}

.tip.danger {
  border: 1px solid #ff5d5d;
  background: #fff7f7;
  color: #ef4444;
}

.tip.success {
  border: 1px solid #f1c36d;
  background: #fff8e7;
  color: #bd6a18;
}

.tip.warm {
  border: 1px solid #f5d66f;
  background: #fffbe8;
  color: #b66b11;
}

.dialog-resource-title {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #64748b;
  line-height: 1.55;
}

.group-entry-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #f97316;
}

.dialog-statement {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 11px;
}

.empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 42px 20px;
  color: var(--muted);
  text-align: center;
}

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

  .menu-button {
    display: inline-grid;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-panel img {
    max-height: 360px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 42px;
  }

  .header-inner {
    min-height: 64px;
    padding: 0 14px;
  }

  .hero {
    min-height: 300px;
    padding: 36px 16px 52px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .search-bar {
    grid-template-columns: 42px 1fr;
  }

  .search-bar button {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .section {
    padding: 34px 16px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 12px;
  }

  .filter-group {
    gap: 6px;
  }

  .filter-group span {
    width: auto;
    min-width: 40px;
    font-size: 12px;
  }

  .filter-group button {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 13px;
  }

  .movie-info {
    padding: 10px;
  }

  .movie-info h3 {
    min-height: 0;
    margin-bottom: 4px;
    font-size: 14px;
  }

  .movie-info p {
    font-size: 12px;
  }

  .poster {
    aspect-ratio: 2 / 3;
  }

  .resource-item {
    grid-template-columns: 38px 1fr;
  }

  .resource-item .primary-button {
    grid-column: 1 / -1;
  }
}
