/* ===================== My List: dropdown filters + Overview home ===================== */

/* two (three) pill dropdowns instead of rows of chips */
.filter-row { display: flex; gap: 8px; margin-top: 10px; }
.dd { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px;
  background: var(--chip); border-radius: 999px; padding: 0 30px 0 12px; height: 40px; cursor: pointer; }
.dd-sort { flex: 0 0 44px; padding: 0; justify-content: center; }
.dd-sort .dd-ic { font-size: 18px; }
.dd-sort select { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }
.dd-sort::after { display: none; }
.dd[hidden] { display: none; }
.dd-ic { font-size: 13px; color: var(--accent); flex: none; }
.dd select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text);
  font-weight: 700; font-size: 15px; width: 100%; min-width: 0; padding: 0; cursor: pointer; outline: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd::after { content: ''; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.dd.flag { background: var(--warn-bg); }
.dd.flag select, .dd.flag .dd-ic { color: var(--warn); }
.dd select option { color: #111; }

/* overview */
.overview { padding: 6px 0 30px; }
.ov-hello { font-size: 15px; font-weight: 700; color: var(--muted); padding: 10px 16px 0; }
.stats-strip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 4px; scrollbar-width: none; }
.stats-strip::-webkit-scrollbar, .hero-row::-webkit-scrollbar, .shelf::-webkit-scrollbar { display: none; }
.stat { flex: none; border: 0; border-radius: 16px; padding: 10px 14px; min-width: 92px; text-align: left; color: #fff;
  font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.18); cursor: pointer; }
.stat b { display: block; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.stat.s1 { background: linear-gradient(135deg, #ff5f86, #e8345a); }
.stat.s2 { background: linear-gradient(135deg, #ffc23d, #f39c12); }
.stat.s3 { background: linear-gradient(135deg, #2ccfbf, #1aa3b5); }
.stat.s4 { background: linear-gradient(135deg, #b07cff, #8e44c9); }
.stat.s5 { background: linear-gradient(135deg, #8a93b8, #5d6690); }

.shelf-head { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 16px 8px; }
.shelf-head h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.see { border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 14px; cursor: pointer; }

/* big "Continue" cards */
.hero-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scroll-padding: 16px; }
.hero { flex: none; width: min(86vw, 360px); scroll-snap-align: start; display: flex; gap: 14px; padding: 14px; border-radius: 22px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(140deg, var(--h1), var(--h2));
  color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.25); cursor: pointer; position: relative; overflow: hidden; }
.hero::after { content: '✦'; position: absolute; right: 14px; bottom: 6px; font-size: 54px; opacity: .12; pointer-events: none; }
.hero .cover { width: 96px; height: 140px; border-radius: 12px; flex: none; box-shadow: 0 6px 16px rgba(0,0,0,.35); font-size: 12px; }
.hero-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hero-type { font-size: 12px; font-weight: 700; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }
.hero-title { font-size: 18px; font-weight: 800; line-height: 1.2; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-prog { font-size: 14px; font-weight: 600; opacity: .9; margin-top: 6px; }
.hero-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); margin-top: 6px; overflow: hidden; }
.hero-bar i { display: block; height: 100%; background: #fff; border-radius: 3px; }
.hero-plus { margin-top: auto; align-self: flex-start; border: 0; border-radius: 12px; padding: 9px 16px; font-weight: 800; font-size: 15px;
  background: rgba(255,255,255,.95); color: #2b2b6b; box-shadow: 0 3px 8px rgba(0,0,0,.2); cursor: pointer; }
.hero-plus:active { transform: scale(.95); }

/* swipeable shelves */
.shelf { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding: 16px; }
.stile { flex: none; width: 108px; scroll-snap-align: start; cursor: pointer; }
.stile .cover { width: 108px; height: 160px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.2); font-size: 12px; }
.stile .cover.ph { padding: 8px; }
.stile .tile-meta { font-style: normal; }

@media (hover: hover) {
  .hero, .stile .cover, .stat { transition: transform .15s ease; }
  .hero:hover { transform: translateY(-2px); }
  .stile:hover .cover { transform: translateY(-3px); }
  .stat:hover { transform: translateY(-2px); }
}
@media (min-width: 900px) {
  .filter-row { max-width: 640px; }
  .ov-hello, .stats-strip, .shelf-head, .hero-row, .shelf { padding-left: 28px; padding-right: 28px; }
  .stat { min-width: 120px; }
  .hero { width: 380px; }
  .stile { width: 140px; }
  .stile .cover { width: 140px; height: 206px; }
}

.info-card .genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.info-card .genres span { background: var(--chip); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { padding: 4px 0; font-size: 14px; }
.cov-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.cov-stats div { background: var(--chip); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--muted); }
.cov-stats b { display: block; font-size: 20px; color: var(--text); }
