/* ht-community-x.css — Community hub redesign (v5.8.0). Template: template-parts/community-reporters.php.
   Phone first; the side column starts at 1100px. Colours come from variables so light mode works. */

main.x {
  --g: var(--v-amber, #f5a623); --gt: var(--v-amber-ink, #f5a623);
  --tx: var(--v-text); --mu: var(--v-muted); --di: var(--v-dim);
  --ln: rgba(255,255,255,.08); --sf: rgba(255,255,255,.035);
  --g1: rgba(255,255,255,.06); --g2: rgba(255,255,255,.02); --hi: rgba(255,255,255,.06);
  --pill: rgba(10,10,10,.62); --pill-ln: rgba(255,255,255,.13); --bg: var(--v-night, #0b0b0c);
  padding-bottom: 110px;
}
[data-theme="light"] main.x {
  --ln: rgba(0,0,0,.09); --sf: rgba(0,0,0,.03);
  --g1: #ffffff; --g2: #fbfaf7; --hi: rgba(255,255,255,.9);
  --pill: rgba(255,255,255,.86); --pill-ln: rgba(0,0,0,.1);
}
main.x a { text-decoration: none; }
.x-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.x-sec { margin-top: 32px; }
.x-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.x-h h2 { margin: 0; font: 800 20px/1.2 var(--v-display); letter-spacing: -.025em; color: var(--tx); white-space: nowrap; }
.x-h a, .x-note { font: 600 13px/1 var(--v-sans); color: var(--mu); }
.x-h:has(.x-seg) { flex-wrap: wrap; row-gap: 12px; }

/* shared glass surface */
.x-b, .x-qs a, .x-mem-c, .x-qz a, .x-pod, .x-rows, .x-you, .x-chs a, .x-card {
  border: 1px solid var(--ln);
  background: linear-gradient(180deg, var(--g1), var(--g2));
  box-shadow: inset 0 1px 0 var(--hi);
}

/* avatars */
.x-av { --s: 36px; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: hsl(var(--h) 35% 22%); color: hsl(var(--h) 70% 82%); font: 800 calc(var(--s) * .4)/1 var(--v-display); }
.x-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-av.is-ring, .x-av.is-gold { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--g); }
.x-av.is-dim { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ln); }

/* sub menu: shared, in ht-community-pages.css */

/* ── header ── */
.x-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; row-gap: 8px; margin: 18px 0 16px; }
.x-title { margin: 0; font: 800 32px/1 var(--v-display); letter-spacing: -.035em; color: var(--tx); }
.x-find { font: 600 14px/1 var(--v-sans); color: var(--mu); padding-bottom: 4px; }
.x-stats { flex-basis: 100%; display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--mu); }
.x-stats b { color: var(--tx); font-weight: 800; }
.x-stats > i { width: 3px; height: 3px; margin: 0 4px; border-radius: 50%; background: var(--di); }
.x-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }

/* ── member circles ── */
.x-stories { display: flex; gap: 14px; margin: 16px -16px 0; padding: 4px 16px 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.x-stories::-webkit-scrollbar { display: none; }
.x-stories a { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 62px; }
.x-stories b { font: 600 12px/1.2 var(--v-sans); color: var(--mu); max-width: 62px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── your card ── */
.x-you { margin-top: 18px; padding: 14px; border-radius: 22px; }
.x-you-hd { display: flex; align-items: center; gap: 12px; }
.x-you-hd > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.x-you-hd b { font: 800 16px/1.2 var(--v-display); color: var(--tx); }
.x-you-hd em { font-style: normal; color: var(--gt); }
.x-you-hd small { font-size: 12.5px; color: var(--mu); }
.x-bar { display: block; height: 6px; margin-top: 12px; border-radius: 99px; background: var(--sf); overflow: hidden; }
.x-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d98a12, var(--g)); }
.x-bar.is-sm { height: 4px; margin-top: 6px; }
.x-you-l { margin: 8px 0 0; font-size: 13px; color: var(--mu); }
.x-you-cta { display: flex; gap: 8px; margin-top: 12px; }
.x-you.is-new { padding: 0; border: 0; background: none; box-shadow: none; }
.x-you.is-new .x-you-cta { margin-top: 0; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ln); background: var(--sf); color: var(--tx); font: 700 14px/1 var(--v-display); cursor: pointer; }
.x-btn.is-gold { flex: 1; border-color: var(--g); background: var(--g); color: #0b0b0c; }
.x-btn.is-ic { width: 40px; padding: 0; }

/* ── this week: top film + going ── */
.x-week { display: grid; gap: 10px; margin-top: 22px; }
.x-b { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: 14px; }
.x-b-bg { position: absolute; inset: -30px; z-index: -1; background: center/cover; filter: blur(34px) saturate(1.4); opacity: .5; }
.x-pick { display: flex; align-items: center; gap: 14px; padding: 12px; }
.x-pick::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.6), rgba(10,10,10,.2)); }
.x-pick > img { flex: none; width: 64px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 26px rgba(0,0,0,.55); }
.x-pick > span { min-width: 0; display: flex; flex-direction: column; }
.x-pick small { margin-bottom: 5px; font: 700 11.5px/1 var(--v-sans); color: var(--g); }
.x-pick b { font: 800 19px/1.15 var(--v-display); letter-spacing: -.02em; color: #fff; }
.x-pick em { margin-top: 6px; font: 800 14px/1 var(--v-display); font-style: normal; color: #fff; }
.x-pick em i { font-style: normal; color: var(--g); }
.x-h.is-in { margin-bottom: 10px; }
.x-h.is-in h2 { font-size: 16px; }
.x-go { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.x-go li, .x-go a { display: block; min-width: 0; }
.x-po { position: relative; display: block; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; background: var(--v-raised); }
.x-po img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-fl { position: absolute; left: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px 3px 5px; border-radius: 999px; background: rgba(10,10,10,.72); border: 1px solid rgba(255,255,255,.14); color: var(--g); font: 800 11px/1 var(--v-display); font-style: normal; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.x-go b { display: block; margin-top: 6px; font: 700 12px/1.2 var(--v-display); color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-go small { font-size: 11px; color: var(--di); }

/* ── members to follow: slim cards, quiet follow ── */
.x-mem { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.x-mem::-webkit-scrollbar { display: none; }
.x-mem li { position: relative; }
.x-mem-c { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; box-sizing: border-box; padding: 16px 10px 54px; border-radius: 20px; text-align: center; }
.x-mem-c > .x-av { margin-bottom: 8px; }
.x-mem-c b { max-width: 100%; font: 800 14px/1.2 var(--v-display); color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-mem-c small { font-size: 12px; color: var(--di); }
.x-mem .fl-btn, .x-mem-you { display: flex; align-items: center; justify-content: center; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 34px; min-height: 0; min-width: 0; margin: 0; padding: 0; border-radius: 999px; border: 1px solid var(--ln) !important; background: var(--sf) !important; color: var(--tx) !important; font: 700 13px/1 var(--v-display); box-shadow: none; }   /* ht-v4-community.css paints every .fl-btn gold with !important */
.x-mem .fl-btn.is-on, .x-mem-you { color: var(--mu) !important; }

/* ── feed ── */
.x-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sf); border: 1px solid var(--ln); }
.x-seg button { padding: 7px 12px; border: 0; border-radius: 999px; background: none; color: var(--mu); font: 700 12.5px/1 var(--v-display); cursor: pointer; }
.x-seg button.is-on { background: var(--ln); color: var(--tx); }
.x-seg.is-full { display: flex; width: 100%; box-sizing: border-box; margin-bottom: 14px; }
.x-seg.is-full button { flex: 1; }
.x-feed { list-style: none; margin: 0; padding: 0; }
.x-post { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--ln); }
.x-post[hidden], .x-cta[hidden] { display: none; }
.x-post-bd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.x-by { display: flex; align-items: baseline; gap: 5px; margin: 8px 0 0; font-size: 14px; line-height: 1.3; color: var(--mu); }
.x-by a { min-width: 0; font-weight: 700; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-by span { flex: none; white-space: nowrap; }
.x-by time { margin-left: auto; padding-left: 6px; color: var(--di); font-size: 12.5px; white-space: nowrap; }
.x-item { display: flex; flex-direction: column; gap: 6px; }
.x-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; }
.x-card-bg { position: absolute; inset: -20px; z-index: -1; background: center/cover; filter: blur(28px) saturate(1.3); opacity: .28; }
.x-card-art { flex: none; display: grid; place-items: center; width: 52px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: var(--v-raised); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.x-card.is-place .x-card-art { aspect-ratio: 1; border-radius: 12px; }
.x-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-card-art i { font: 800 18px/1 var(--v-display); font-style: normal; color: var(--mu); }
.x-card-tx { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.x-card-tx b { font: 800 16px/1.2 var(--v-display); letter-spacing: -.015em; color: var(--tx); }
.x-stars { color: var(--g); font-size: 13px; letter-spacing: 1.5px; }
.x-card-tx small { font-size: 12.5px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-rv { margin: 0; font-size: 14px; line-height: 1.45; color: var(--tx); }
.x-item .sx { margin: 0; }
.x-item .sx-b { padding: 2px 14px 2px 0; background: none !important; border: 0 !important; color: var(--di); }
.x-cta { list-style: none; display: grid; gap: 4px; margin: 14px 0; padding: 18px; border-radius: 22px; border: 1px solid rgba(245,166,35,.3); background: radial-gradient(130% 120% at 0% 0%, rgba(245,166,35,.22), transparent 55%), var(--v-surface); }
.x-cta-faces { display: flex; margin-bottom: 8px; }
.x-cta-faces .x-av { margin-left: -8px; box-shadow: 0 0 0 2px var(--v-surface); }
.x-cta-faces .x-av:first-child { margin-left: 0; }
.x-cta b { font: 800 18px/1.2 var(--v-display); letter-spacing: -.02em; color: var(--tx); }
.x-cta > span:not(.x-cta-faces) { font-size: 13px; color: var(--mu); }
.x-cta a { justify-self: start; margin-top: 10px; padding: 11px 18px; border-radius: 999px; background: var(--g); color: #0b0b0c; font: 800 14px/1 var(--v-display); }
.x-none { margin: 16px 0 0; font-size: 14px; color: var(--mu); }
.x-none a { color: var(--gt); font-weight: 700; }
.x-more { display: block; width: 100%; margin-top: 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--ln); background: var(--sf); color: var(--tx); font: 700 14px/1 var(--v-display); text-align: center; cursor: pointer; }
.x-more[hidden] { display: none; }

/* ── questions ── */
.x-qs { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; margin: 0 -16px; padding: 0 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.x-qs::-webkit-scrollbar { display: none; }
.x-qs li { scroll-snap-align: start; }
.x-qs a { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 160px; box-sizing: border-box; padding: 16px; border-radius: 22px; }
.x-qs a::before { content: ''; position: absolute; inset: -40% 40% 55% -20%; background: radial-gradient(closest-side, rgba(245,166,35,.16), transparent); pointer-events: none; }
.x-q-place { display: block; font: 700 12.5px/1.3 var(--v-sans); color: var(--gt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-q-place em { margin-left: 4px; font-style: normal; font-weight: 500; color: var(--mu); }
.x-q-place em::before { content: '· '; }
.x-qs b { flex: 1; font: 750 17px/1.3 var(--v-display); letter-spacing: -.01em; color: var(--tx); }
.x-q-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.x-q-ft small { min-width: 0; font-size: 12px; color: var(--di); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-ans { flex: none; padding: 8px 14px; border-radius: 999px; background: rgba(245,166,35,.14); color: var(--gt); font: 800 12.5px/1 var(--v-display); }

/* ── poll ── */
.x-poll .x-h + * { margin: 0 !important; border-radius: 22px !important; }

/* ── leaderboard ── */
.x-lb-p[hidden] { display: none; }
.x-lb-note { margin: -4px 0 12px; font: 600 12.5px/1.3 var(--v-sans); color: var(--gt); }
.x-pod { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 8px; padding: 20px 12px 0; border-radius: 24px; overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, rgba(245,166,35,.2), transparent 70%), linear-gradient(180deg, var(--g1), var(--g2)); }
.x-pod > a, .x-pod > span { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.x-pod b { max-width: 100%; margin-top: 8px; font: 800 14px/1.2 var(--v-display); color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-pod small { font: 700 12px/1 var(--v-display); color: var(--mu); white-space: nowrap; }
.x-pod .is-1 small { color: var(--gt); }
.x-step { display: grid; place-items: start center; width: 100%; box-sizing: border-box; margin-top: 10px; padding-top: 10px; border-radius: 14px 14px 0 0; border: 1px solid var(--ln); border-bottom: 0; background: linear-gradient(180deg, var(--ln), transparent); font: 800 15px/1 var(--v-display); color: var(--mu); }
.x-pod .is-1 .x-step { height: 64px; border-color: rgba(245,166,35,.35); background: linear-gradient(180deg, rgba(245,166,35,.32), rgba(245,166,35,.04)); color: var(--gt); }
.x-pod .is-2 .x-step { height: 46px; }
.x-pod .is-3 .x-step { height: 32px; }
.x-pod .is-me b { color: var(--gt); }
.x-open { background: transparent !important; border: 1.5px dashed var(--di); color: var(--di) !important; font-size: 20px !important; }
.x-pod .is-open b { color: var(--mu); }
.x-pod .is-open small { color: var(--di); font-weight: 600; }
.x-rows { margin: 10px 0 0; padding: 4px 14px; border-radius: 20px; list-style: none; }
.x-rows li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ln); }
.x-rows li:last-child { border: 0; }
.x-rows li > span { width: 18px; font: 800 13px/1 var(--v-display); color: var(--di); text-align: center; }
.x-rows a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.x-rows a > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.x-rows b { font: 700 14px/1.2 var(--v-display); color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-rows b i { margin-left: 4px; padding: 2px 6px; border-radius: 99px; background: var(--g); color: #0b0b0c; font: 800 10px/1 var(--v-display); font-style: normal; vertical-align: 2px; }
.x-rows small { font-size: 11.5px; color: var(--di); }
.x-rows em { font: 800 13.5px/1 var(--v-display); font-style: normal; color: var(--tx); }
.x-rows li.is-me em { color: var(--gt); }
.x-lb-n { margin: 12px 0 0; font-size: 13px; color: var(--mu); }
.x-lb-n a { color: var(--gt); font-weight: 700; }
.x-how { margin-top: 14px; font-size: 13.5px; color: var(--mu); }
.x-how summary { cursor: pointer; font-weight: 700; color: var(--gt); }
.x-how > a { display: inline-block; margin-top: 10px; color: var(--gt); font-weight: 700; }

/* ── challenges ── */
.x-chs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.x-chs a { display: flex; align-items: center; gap: 10px; height: 100%; box-sizing: border-box; padding: 10px; border-radius: 16px; }
.x-chs .ch-tile { flex: none; transform: scale(.82); transform-origin: left center; margin-right: -6px; }
.x-chs a > span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.x-chs b { font: 700 13px/1.2 var(--v-display); color: var(--tx); }
.x-chs small { font-size: 11.5px; color: var(--di); }

/* ── quizzes ── */
.x-qz { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 10px; margin: 0 -16px; padding: 0 16px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.x-qz::-webkit-scrollbar { display: none; }
.x-qz a { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 16px; border-radius: 22px; }
.x-qz a::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,166,35,.22), transparent); pointer-events: none; }
.x-qz-n { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--pill); border: 1px solid var(--pill-ln); font: 700 11.5px/1 var(--v-sans); color: var(--tx); }
.x-qz b { margin-top: 8px; font: 800 17px/1.2 var(--v-display); letter-spacing: -.015em; color: var(--tx); }
.x-qz small { flex: 1; font-size: 12.5px; line-height: 1.35; color: var(--mu); }
.x-qz-go { align-self: flex-start; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: var(--tx); color: var(--bg); font: 800 13px/1 var(--v-display); }

/* ── lists ── */
.x-lists { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 14px; margin: 0 -16px; padding: 0 16px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.x-lists::-webkit-scrollbar { display: none; }
.x-lists a { display: block; }
.x-fan { position: relative; display: block; height: 116px; }
.x-fan i { position: absolute; top: 0; left: 46px; width: 72px; aspect-ratio: 2/3; border-radius: 8px; background: var(--v-raised) center/cover; box-shadow: 0 8px 20px rgba(0,0,0,.45); border: 1px solid var(--ln); }
.x-fan i:nth-child(1) { left: 4px; transform: rotate(-6deg); z-index: 1; }
.x-fan i:nth-child(2) { left: 46px; top: -4px; z-index: 3; }
.x-fan i:nth-child(3) { left: 88px; transform: rotate(6deg); z-index: 2; }
.x-fan i:only-child { left: 46px; transform: none; }
.x-lists b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font: 700 14px/1.25 var(--v-display); color: var(--tx); }
.x-lists small { font-size: 12px; color: var(--di); }

/* the "at the theatre now" strip keeps its own look, with hub spacing */
main.x .lv-strip { margin-top: 22px; }

@media (max-width: 1099px) {
  .x-feedw .x-h .x-seg { display: flex; width: 100%; }
  .x-feedw .x-h .x-seg button { flex: 1; }
}

@media (min-width: 1100px) {
  .x-wrap { padding: 0 32px; }
  .x-head { margin: 28px 0 20px; }
  .x-title { font-size: 44px; }
  .x-stats { font-size: 15px; }
  .x-stories, .x-mem, .x-qs, .x-qz, .x-lists { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .x-stories { gap: 18px; margin-top: 24px; padding: 4px 4px 6px; }
  .x-you { max-width: 560px; }
  .x-week { grid-template-columns: 1fr 1.25fr; gap: 14px; margin-top: 32px; align-items: stretch; }
  .x-week:has(> :only-child) { grid-template-columns: minmax(0, 620px); }
  .x-b { border-radius: 26px; }
  .x-pick { padding: 18px; }
  .x-pick > img { width: 96px; }
  .x-pick b { font-size: 24px; }
  .x-go-b { padding: 20px; }
  .x-go { grid-template-columns: repeat(4, minmax(0, 118px)); gap: 14px; }
  .x-sec { margin-top: 48px; }
  .x-h { margin-bottom: 16px; }
  .x-h h2 { font-size: 22px; }
  .x-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
  .x-card { max-width: 620px; }
  .x-qs { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .x-qs a { min-height: 0; }
  .x-qz { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; }
  .x-lists { grid-auto-columns: minmax(168px, 1fr); }
  main.x .x-poll .hp-q, main.x .x-poll .hp-q a { font-size: 20px; line-height: 1.25; }
}

/* ══════════ v5.9.0 — screen first + compact phone ══════════ */

/* Screen of the week: the screen's own photo, badges, size, rating */
.x-sw { display: flex; align-items: flex-end; min-height: 168px; padding: 16px; }
.x-sw-bg { position: absolute; inset: 0; z-index: -1; background: center/cover; }
.x-sw-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.12) 0%, rgba(10,10,10,.9) 78%); }
.x-sw-tx { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.x-sw-tx small { font: 700 11.5px/1 var(--v-sans); color: var(--g); }
.x-sw-tx b { font: 800 20px/1.15 var(--v-display); letter-spacing: -.02em; color: #fff; }
.x-sw-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.x-sw-m em { font: 700 13px/1 var(--v-display); font-style: normal; color: rgba(255,255,255,.8); }
.x-sw-m em.is-st { color: #fff; }
.x-sw .sc-tg { background: rgba(10,10,10,.72); }

/* feed: badges, poster rows, places, one actions row */
.x-where { display: flex; align-items: center; gap: 6px; min-width: 0; }
.x-where small { min-width: 0; }
.x-tags { display: flex; gap: 5px; }
.x-prow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.x-prow::-webkit-scrollbar { display: none; }
.x-pc { flex: none; width: 96px; display: flex; flex-direction: column; gap: 4px; }
.x-pc-i { position: relative; display: grid; place-items: center; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: var(--v-raised); border: 1px solid var(--ln); box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.x-pc-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-pc-i > i { padding: 6px; font: 800 11px/1.2 var(--v-display); font-style: normal; color: var(--mu); text-align: center; }
.x-pc-f { position: absolute; left: 4px; right: 4px; bottom: 4px; display: flex; }
.x-pc-f .sc-tg { max-width: 100%; overflow: hidden; text-overflow: ellipsis; background: rgba(10,10,10,.78); }
.x-pc .x-stars { font-size: 11px; letter-spacing: .5px; }
.x-pc small { font: 500 11.5px/1.3 var(--v-sans); color: var(--mu); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
main.x .x-card { border-color: transparent; box-shadow: none; background: var(--sf); }
.x-place { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: 110px; padding: 12px 14px; border-radius: 16px; background: var(--v-raised); }
.x-place-bg { position: absolute; inset: 0; z-index: -1; background: center/cover; }
.x-place-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.05), rgba(10,10,10,.86)); }
.x-place-tx { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.x-place-tx b { font: 800 16px/1.2 var(--v-display); color: #fff; }
.x-place .sc-tg { background: rgba(10,10,10,.72); }
.x-acts .sx { margin: 0; }
.x-acts .sx-b { padding: 2px 14px 2px 0; background: none !important; border: 0 !important; color: var(--di); }
.x-acts .sx-b span:empty { display: none; }

/* Wrapped card (1 Dec – 31 Jan) */
.x-wr { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 16px 16px 16px 18px; border-radius: 20px;
  background: radial-gradient(120% 140% at 0% 100%, #ff7a18 0%, transparent 45%), radial-gradient(120% 140% at 100% 0%, #c2185b 0%, transparent 50%), linear-gradient(120deg, #2a1205, #3d0f2a 55%, #160a24);
  box-shadow: 0 14px 40px rgba(194,24,91,.22), inset 0 1px 0 rgba(255,255,255,.12); }
.x-wr::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.2) 45%, transparent 60%); transform: translateX(-120%); animation: xwr 3.2s ease-in-out infinite; }
@keyframes xwr { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.x-wr-glow { position: absolute; right: -30px; top: -40px; z-index: -1; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,166,35,.55), transparent); filter: blur(6px); animation: xwg 4s ease-in-out infinite alternate; }
@keyframes xwg { to { transform: translate(-30px, 20px) scale(1.2); } }
.x-wr-tx { display: flex; flex-direction: column; gap: 2px; }
.x-wr-tx small { font: 800 11px/1 var(--v-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.x-wr-tx b { font: 900 28px/1 var(--v-display); letter-spacing: -.04em; color: #fff; }
.x-wr-tx em { font-style: normal; background: linear-gradient(90deg, #ffd27a, #ff9a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-wr-tx > span { margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.82); }
.x-wr-go { flex: none; padding: 11px 16px; border-radius: 999px; background: #fff; color: #0b0b0c; font: 800 14px/1 var(--v-display); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .x-wr::after, .x-wr-glow { animation: none; } }

@media (min-width: 1100px) {
  .x-sw { min-height: 100%; padding: 22px; }
  .x-sw-tx b { font-size: 26px; }
  .x-wr { max-width: 620px; }
  .x-place { max-width: 620px; min-height: 140px; }
}

/* compact phone layout */
@media (max-width: 1099px) {
  .x-stories { gap: 12px; margin-top: 12px; }
  .x-stories a { width: 52px; gap: 5px; }
  .x-stories .x-av { --s: 48px !important; }
  .x-stories b { font-size: 11px; }
  .x-sec { margin-top: 24px; }
  .x-h { margin-bottom: 10px; }
  .x-h h2 { font-size: 18px; }
  .x-week { margin-top: 16px; gap: 8px; }
  .x-wr { margin-top: 12px; padding: 14px 14px 14px 16px; border-radius: 18px; }
  .x-wr-tx b { font-size: 25px; }
  .x-sw { min-height: 112px; padding: 12px 14px; border-radius: 18px; }
  .x-sw-tx { gap: 5px; }
  .x-sw-tx b { font-size: 17px; }
  .x-go-b { padding: 12px; border-radius: 18px; }
  .x-go { gap: 6px; }
  .x-go b { font-size: 11.5px; margin-top: 5px; }
  .x-h.is-in { margin-bottom: 8px; }
  .x-h.is-in h2 { font-size: 15px; }
  .x-post { gap: 10px; padding: 12px 0; }
  .x-post-av .x-av { --s: 32px !important; }
  .x-by { margin-top: 6px; font-size: 13.5px; }
  .x-post-bd { gap: 6px; }
  .x-card { padding: 8px; gap: 12px; border-radius: 14px; }
  .x-card-art { width: 44px; }
  .x-card-tx b { font-size: 15px; }
  .x-card-tx { gap: 3px; }
  .x-prow { gap: 8px; }
  .x-pc { width: 78px; gap: 3px; }
  .x-pc small { font-size: 11px; }
  .x-pc-f .sc-tg { height: 17px; padding: 0 5px; font-size: 9px; }
  .x-place { min-height: 84px; padding: 10px 12px; border-radius: 14px; }
  .x-place-tx b { font-size: 15px; }
  .x-acts .sx-b { padding: 0 14px 0 0; }
  .x-cta { padding: 14px; margin: 10px 0; border-radius: 18px; }
  .x-cta b { font-size: 16px; }
  .x-cta a { margin-top: 6px; padding: 9px 16px; }
  .x-mem { grid-auto-columns: 112px; gap: 8px; }
  .x-mem-c { padding: 12px 8px 48px; border-radius: 16px; }
  .x-mem-c > .x-av { --s: 44px !important; margin-bottom: 6px; }
  .x-mem-c b { font-size: 13px; }
  .x-mem-c small { font-size: 11px; }
  .x-mem .fl-btn, .x-mem-you { left: 8px; right: 8px; bottom: 8px; height: 30px; font-size: 12.5px; }
  .x-qs { grid-auto-columns: 78%; gap: 8px; }
  .x-qs a { min-height: 0; padding: 12px 14px; gap: 6px; border-radius: 18px; }
  .x-qs b { font-size: 15px; }
  .x-ans { padding: 6px 12px; }
  .x-pod { padding-top: 14px; border-radius: 18px; }
  .x-pod .x-av { --s: 46px !important; }
  .x-pod .is-1 .x-av { --s: 58px !important; }
  .x-pod b { margin-top: 6px; font-size: 13px; }
  .x-step { margin-top: 8px; padding-top: 7px; font-size: 13px; }
  .x-pod .is-1 .x-step { height: 48px; }
  .x-pod .is-2 .x-step { height: 34px; }
  .x-pod .is-3 .x-step { height: 24px; }
  .x-rows { padding: 2px 12px; border-radius: 16px; }
  .x-rows li { padding: 8px 0; }
  .x-rows .x-av { --s: 30px !important; }
  .x-seg.is-full { margin-bottom: 10px; }
  .x-seg button { padding: 6px 10px; }
  .x-chs { gap: 6px; }
  .x-chs a { padding: 8px; border-radius: 14px; }
  .x-lists { grid-auto-columns: 140px; gap: 10px; }
  .x-fan { height: 96px; }
  .x-fan i { width: 60px; }
  .x-fan i:nth-child(1) { left: 4px; }
  .x-fan i:nth-child(2) { left: 38px; }
  .x-fan i:nth-child(3) { left: 72px; }
  .x-fan i:only-child { left: 38px; }
  .x-lists b { font-size: 13px; margin-top: 8px; }
}

/* ══════════ v5.9.1 fixes ══════════ */
/* posters: the format badge fits ("DOLBY CINEMA" no longer cut) */
.x-pc-f { left: 3px; right: 3px; bottom: 3px; }
.x-pc-f .sc-tg { padding: 0 4px; letter-spacing: .02em; }
@media (max-width: 1099px) { .x-pc-f .sc-tg { font-size: 8.5px; } }
.x-pc small { -webkit-line-clamp: 1; white-space: nowrap; display: block; text-overflow: ellipsis; overflow: hidden; }

@media (min-width: 1100px) {
  /* Wrapped: a slim full-width banner on desktop, not a half-width card with a hole beside it */
  .x-wr { max-width: none; padding: 18px 22px 18px 26px; }
  .x-wr-tx { flex-direction: row; align-items: baseline; gap: 14px; }
  .x-wr-tx small { align-self: center; }
  .x-wr-tx > span { margin: 0; font-size: 14px; }
  /* feed: cards keep a readable width instead of stretching across the column */
  main.x .x-card, .x-place { max-width: 600px; }
  .x-pc { width: 112px; }
  .x-acts, .x-rv { max-width: 600px; }
}
