/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Classic Movies: marquee tabs, ticket cards, a retro cinema for films and a 1950s TV set for shows */
.cm-app [hidden] { display: none !important; }
.cm-app { --cm-gold: #E8B54A; --cm-red: #7E1416; --cm-cream: #F7EDD6; --cm-ink: #2A1B12; }

/* Marquee tabs */
.cm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.cm-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 12px 14px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #3B0D0E, #240707); color: #F5D9A0; cursor: pointer; font: inherit; overflow: hidden; box-shadow: inset 0 0 0 3px #5C1A12; }
.cm-tab:disabled { cursor: default; opacity: .7; }
.cm-bulbs { position: absolute; inset: 5px; border-radius: 10px; pointer-events: none;
  background:
    radial-gradient(circle, var(--b) 2.6px, transparent 3.2px) 0 0 / 16px 8px repeat-x,
    radial-gradient(circle, var(--b) 2.6px, transparent 3.2px) 0 100% / 16px 8px repeat-x,
    radial-gradient(circle, var(--b) 2.6px, transparent 3.2px) 0 0 / 8px 16px repeat-y,
    radial-gradient(circle, var(--b) 2.6px, transparent 3.2px) 100% 0 / 8px 16px repeat-y;
  --b: #6B4A2A; }
.cm-tab[aria-selected="true"], .cm-tab[aria-current="page"] { background: linear-gradient(180deg, var(--cm-red), #4A0B0C); color: #FFF3D6; box-shadow: inset 0 0 0 3px var(--cm-gold), 0 6px 22px rgba(232, 181, 74, .25); }
.cm-tab[aria-selected="true"] .cm-bulbs, .cm-tab[aria-current="page"] .cm-bulbs { --b: #FFE7A0; filter: drop-shadow(0 0 3px #FFC94D); animation: cm-chase 1.2s steps(2) infinite; }
@keyframes cm-chase { 50% { filter: drop-shadow(0 0 1px #FFC94D) brightness(.7); } }
.cm-tab-name { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(22px, 4vw, 30px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cm-tab-sub { font-size: 13px; opacity: .85; }

/* Filters */
.cm-filters { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; align-items: end; margin-bottom: 14px; }
.cm-filters .field { margin: 0; }
.cm-label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.cm-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-seg button { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.cm-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cm-filters > .field:nth-child(4) { grid-column: 1 / 3; }
.cm-mine { min-height: 44px; justify-self: start; }
.cm-mine[aria-pressed="true"] { background: var(--cm-red); border-color: var(--cm-red); color: #fff; }
.cm-h { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.cm-recent { margin-bottom: 14px; }
.cm-recent-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.cm-chip { flex: none; min-height: 38px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.cm-chip span { color: var(--ink-2); font-size: 12.5px; }
.cm-count { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }

/* Ticket cards */
.cm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.cm-card { position: relative; }
/* Each ticket is a printed cinema stub: coloured card stock with a little grain, a double-ruled frame,
   punched corners, and a perforated "Admit One" coupon with a serial number along the bottom */
.cm-card { filter: drop-shadow(0 2px 2px rgba(40, 20, 5, .22)) drop-shadow(0 6px 10px rgba(40, 20, 5, .12)); }
.cm-card:has(.cm-ticket:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.cm-ticket { --paper: #F5E9CC; --acc: #8E1B1B; --stub: 42px; --perf: calc(100% - var(--stub));
  position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; height: 100%; min-height: 150px; padding: 12px 15px 0; border: 0; border-radius: 3px; color: var(--cm-ink); text-align: left; font: inherit; cursor: pointer; transition: transform .15s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(170deg, rgba(255, 255, 255, .28), rgba(0, 0, 0, .04)), var(--paper);
  -webkit-mask: radial-gradient(circle 9px at 0 var(--perf), #0000 96%, #000), radial-gradient(circle 9px at 100% var(--perf), #0000 96%, #000),
    radial-gradient(circle 6px at 0 0, #0000 96%, #000), radial-gradient(circle 6px at 100% 0, #0000 96%, #000), radial-gradient(circle 6px at 0 100%, #0000 96%, #000), radial-gradient(circle 6px at 100% 100%, #0000 96%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 9px at 0 var(--perf), #0000 96%, #000), radial-gradient(circle 9px at 100% var(--perf), #0000 96%, #000),
    radial-gradient(circle 6px at 0 0, #0000 96%, #000), radial-gradient(circle 6px at 100% 0, #0000 96%, #000), radial-gradient(circle 6px at 0 100%, #0000 96%, #000), radial-gradient(circle 6px at 100% 100%, #0000 96%, #000);
  mask-composite: intersect; }
.cm-ticket::before { content: ""; position: absolute; inset: 5px 5px calc(var(--stub) + 4px); border: 3px double color-mix(in srgb, var(--acc) 50%, transparent); border-radius: 4px; pointer-events: none; }
.cm-stock1 { --paper: #F2D2C6; --acc: #7A1730; }
.cm-stock2 { --paper: #D6E5CE; --acc: #1F5A3A; }
.cm-stock3 { --paper: #D2E0E8; --acc: #1C3F6E; }
.cm-stock4 { --paper: #F3DE9E; --acc: #6E3A0E; }
.cm-head { display: flex; align-items: center; justify-content: center; gap: 5px; font: 700 9.5px/1.3 Georgia, 'Times New Roman', serif; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); white-space: nowrap; overflow: hidden; }
.cm-head::before, .cm-head::after { content: "\2605"; font-size: 12px; letter-spacing: 0; }
.cm-stub { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--stub); margin: 10px -15px 0; padding: 0 14px; color: var(--acc);
  background: radial-gradient(circle 1.7px, color-mix(in srgb, var(--cm-ink) 55%, transparent) 90%, transparent) 4px 0 / 8px 4px repeat-x, color-mix(in srgb, var(--acc) 8%, transparent); }
.cm-stub b { font: 800 12px/1 Georgia, 'Times New Roman', serif; letter-spacing: .12em; white-space: nowrap; text-transform: uppercase; }
.cm-serial { font: 700 12px/1 'Courier New', Courier, monospace; letter-spacing: .04em; white-space: nowrap; }
.cm-ticket:hover { transform: translateY(-2px) rotate(-.4deg); }
.cm-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cm-year { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: var(--acc); letter-spacing: .06em; }
.cm-name { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 700; line-height: 1.2; }
.cm-who { font-size: 13.5px; color: #5B4636; }
.cm-genre { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A6A4A; }
.cm-badge { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: .04em; font-family: inherit; }
.cm-bw { background: #222; color: #F2F2F2; }
.cm-colour { background: linear-gradient(90deg, #D9452B, #E8B54A, #3B9A63, #2F6FD0); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.4); }
.cm-heart { position: absolute; top: 38px; right: 18px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.7); color: var(--cm-red); font-size: 18px; line-height: 1; cursor: pointer; }
.cm-heart[aria-pressed="true"] { background: var(--cm-red); color: #fff; }

/* The screening */
.cm-back { margin-bottom: 10px; min-height: 40px; }
.cm-stage { position: relative; border-radius: 16px; overflow: hidden; }
.cm-frame { position: relative; }
.cm-screen { position: relative; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.cm-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-screen:fullscreen { aspect-ratio: auto; }
.cm-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; text-align: center; color: #F5E6C8; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(16px, 2.4vw, 22px); }

/* Cinema */
.cm-stage[data-mode="film"] { background: radial-gradient(ellipse at 50% 30%, #3A1414, #120707 70%); padding: 0 0 8px; }
.cm-stage[data-mode="film"] .cm-frame { padding: clamp(34px, 7vw, 64px) clamp(36px, 10vw, 96px) clamp(16px, 3vw, 26px); }
.cm-stage[data-mode="film"] .cm-screen { max-width: 760px; margin: 0 auto; box-shadow: 0 0 0 6px #0B0B0B, 0 0 60px rgba(255, 240, 210, .18); }
.cm-valance { position: absolute; left: 0; right: 0; top: 0; height: clamp(26px, 5.5vw, 48px); z-index: 2;
  background: radial-gradient(ellipse 22px 14px at 50% 100%, transparent 96%, #8E1A1C 100%) 0 0 / 44px 100% repeat-x, linear-gradient(180deg, #5E0E10, #A3262A); border-bottom: 3px solid var(--cm-gold); }
.cm-curtain { position: absolute; top: 0; bottom: 0; width: clamp(30px, 9vw, 86px); z-index: 1;
  background: repeating-linear-gradient(90deg, #6B1012 0 6px, #A92A2D 12px, #7A1416 18px), linear-gradient(180deg, #8E1A1C, #4B0A0C); background-blend-mode: multiply; box-shadow: inset -10px 0 18px rgba(0,0,0,.45); }
.cm-curtain-l { left: 0; border-radius: 0 0 60% 0 / 0 0 12% 0; }
.cm-curtain-r { right: 0; transform: scaleX(-1); border-radius: 0 0 60% 0 / 0 0 12% 0; }
.cm-seats { height: 36px; margin: 0 4%; background: radial-gradient(ellipse 22px 26px at 50% 100%, #070303 96%, transparent 100%) 0 100% / 50px 100% repeat-x; }
.cm-tvside { display: none; }

/* Vintage TV */
.cm-stage[data-mode="tv"] { padding: clamp(14px, 3vw, 26px); background: repeating-linear-gradient(90deg, #E9DDBF 0 22px, #E2D3B0 22px 44px); }
.cm-stage[data-mode="tv"] .cm-valance, .cm-stage[data-mode="tv"] .cm-curtain, .cm-stage[data-mode="tv"] .cm-seats { display: none; }
.cm-stage[data-mode="tv"] .cm-frame { display: grid; grid-template-columns: minmax(0, 1fr) clamp(86px, 14vw, 120px); gap: clamp(12px, 2.4vw, 22px); max-width: 860px; margin: 0 auto; padding: clamp(14px, 3vw, 26px); border-radius: 26px;
  background: repeating-linear-gradient(100deg, rgba(0,0,0,.06) 0 3px, transparent 3px 9px), linear-gradient(180deg, #8A5429, #5C3416); box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -6px 14px rgba(0,0,0,.35), 0 18px 30px rgba(60, 35, 10, .35); }
.cm-stage[data-mode="tv"] .cm-screen { border-radius: 26px / 34px; box-shadow: 0 0 0 10px #1C1714, 0 0 0 13px #C9A66B, inset 0 0 40px rgba(0,0,0,.8); margin: 13px; }
.cm-stage[data-mode="tv"] .cm-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.14), transparent 55%); z-index: 1; }
.cm-stage[data-mode="tv"] .cm-msg { color: #DCE6E0; }
.cm-stage[data-mode="tv"] .cm-tvside { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; }
.cm-grille { width: 100%; flex: 1; min-height: 70px; max-height: 180px; border-radius: 10px; background: repeating-linear-gradient(180deg, #2B1A0C 0 3px, #C9A66B 3px 5px); box-shadow: inset 0 0 8px rgba(0,0,0,.5); }
.cm-knob { --turn: 0deg; position: relative; width: clamp(48px, 7vw, 62px); aspect-ratio: 1; border: 0; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 35% 30%, #5A4636, #1E1610 70%); box-shadow: 0 3px 6px rgba(0,0,0,.5), inset 0 0 0 4px #2E2219; transform: rotate(var(--turn)); transition: transform .3s; }
.cm-knob i { position: absolute; left: 50%; top: 10%; width: 4px; height: 32%; margin-left: -2px; border-radius: 2px; background: #E8D2A0; }
.cm-knob:disabled { opacity: .55; cursor: default; }
.cm-knob:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.cm-knob-l { font: 700 11px/1 Georgia, serif; letter-spacing: .12em; text-transform: uppercase; color: #F2DDB0; }
.cm-stage.is-tuning .cm-screen::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; animation: cm-static .6s steps(6) forwards;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, rgba(0,0,0,.25) 1px 3px), radial-gradient(circle at 50% 50%, #9AA 0, #222 70%); }
@keyframes cm-static { 0% { opacity: 1; background-position: 0 0; } 50% { opacity: .8; background-position: 0 7px; } 100% { opacity: 0; } }

/* Controls and details */
.cm-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.cm-controls .btn { min-height: 42px; font-size: 14.5px; }
.cm-fav[aria-pressed="true"] { background: var(--cm-red); border-color: var(--cm-red); color: #fff; }
.cm-info { margin-top: 6px; }
.cm-title { margin: 0 0 4px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(22px, 3.4vw, 30px); }
.cm-meta { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; }
.cm-desc { margin: 0 0 8px; }
.cm-credit { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.cm-episodes { margin-top: 14px; }
.cm-eplist { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.cm-eplist li { border-bottom: 1px solid var(--line); }
.cm-eplist li:last-child { border-bottom: 0; }
.cm-eplist button { display: block; width: 100%; padding: 10px 14px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: 14.5px; cursor: pointer; }
.cm-eplist button[aria-current="true"] { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 700; }
.cm-note { margin-top: 14px; }

/* Lights down: everything except the screening goes dark */
body.cm-dark::before { content: ""; position: fixed; inset: 0; background: rgba(4, 2, 2, .9); z-index: 9990; transition: opacity .4s; }
body.cm-dark .cm-show { position: relative; z-index: 9991; }
body.cm-dark .cm-show .cm-info, body.cm-dark .cm-show .cm-episodes, body.cm-dark .cm-back { color: #EADCC2; }
body.cm-dark .cm-show .cm-meta, body.cm-dark .cm-show .cm-credit { color: #BFAF95; }
body.cm-dark .cm-show .cm-credit a { color: #F2C66B; }
body.cm-dark .cm-eplist button { color: #EADCC2; }

@media (max-width: 720px) {
  .cm-filters { grid-template-columns: 1fr 1fr; }
  .cm-filters .cm-search { grid-column: 1 / -1; }
  .cm-filters > .field:nth-child(4) { grid-column: 1 / -1; }
  .cm-stage[data-mode="tv"] .cm-frame { grid-template-columns: 1fr; }
  .cm-stage[data-mode="tv"] .cm-tvside { flex-direction: row; padding: 0; }
  .cm-grille { min-height: 40px; height: 48px; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-tab[aria-selected="true"] .cm-bulbs, .cm-tab[aria-current="page"] .cm-bulbs, .cm-stage.is-tuning .cm-screen::before { animation: none; }
  .cm-ticket, .cm-knob { transition: none; }
}
.cm-search input { min-height: 48px; padding: 0 14px; background: var(--surface); color: var(--ink); border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px; width: 100%; font-family: inherit; }

/* Shelves by category */
.cm-shelf { margin-bottom: 18px; }
.cm-shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cm-shelf-head .cm-h { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; }
.cm-shelf-head .cm-h span { margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--cm-red) 12%, transparent); color: var(--cm-red); font: 700 12px Inter, sans-serif; vertical-align: 2px; }
.cm-seeall { padding: 4px 6px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.cm-row { list-style: none; margin: 0; padding: 2px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 210px); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.cm-row .cm-card { scroll-snap-align: start; }
.cm-person { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
body.cm-dark .cm-person { color: #F2C66B; }
@media (max-width: 720px) { .cm-row { grid-auto-columns: 72%; } }
.cm-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.cm-foot .cm-genre { margin-top: 0; }
.cm-dur { flex: none; font-size: 12.5px; font-weight: 700; color: #5B4636; white-space: nowrap; }

/* Live library: poster strip on each ticket, loading rows, "Show more" */
.cm-thumb { display: block; position: relative; margin: 0 0 8px; aspect-ratio: 16 / 9; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 45%, transparent);
  background: radial-gradient(circle at 50% 45%, #4A3424 0 14%, transparent 15%), repeating-conic-gradient(from 0deg at 50% 45%, #2A1B12 0 10deg, #3A281B 10deg 20deg); }
.cm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) contrast(1.05); }
.cm-loading { display: flex; align-items: center; gap: 10px; min-height: 120px; padding: 12px; color: var(--ink-2); font-size: 14px; }
.cm-grid .cm-loading { grid-column: 1 / -1; }
.cm-retry { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.cm-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; }
.cm-more .btn { min-height: 44px; }
#cm-morei { font-size: 13.5px; color: var(--ink-2); }

.cm-segn { font-size: 12px; opacity: .7; margin-left: 2px; }
.cm-epy { font-size: 12px; opacity: .65; margin-left: 4px; }
.cm-recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cm-clear { background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; cursor: pointer; min-height: 32px; }
.cm-clear:hover { color: var(--ink); }
.cm-chipw { display: inline-flex; align-items: stretch; flex: none; }
.cm-chipw .cm-chip { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.cm-chipx { border: 1px solid var(--line, #d8d2c4); border-left: 0; border-radius: 0 999px 999px 0; background: var(--surface); padding: 0 10px 0 6px; font-size: 18px; line-height: 1; color: var(--ink-2); cursor: pointer; min-width: 32px; }
.cm-chipx:hover { color: #b42318; }
body.cm-dark .cm-clear, body.cm-dark .cm-chipx { color: #BFAF95; }

/* The other app, next door */
a.cm-tab { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.cm-tab:hover, a.cm-tab:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 3px #8A3A1E, 0 6px 18px rgba(0, 0, 0, .25); color: #FFF3D6; }
.cm-tab[aria-current="page"] { cursor: default; }
.cm-next { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #3B0D0E, #240707); color: #F5D9A0; text-decoration: none; box-shadow: inset 0 0 0 2px var(--cm-gold); }
.cm-next:hover, .cm-next:focus-visible { color: #FFF3D6; box-shadow: inset 0 0 0 2px var(--cm-gold), 0 6px 18px rgba(232, 181, 74, .25); }
.cm-next-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 231, 160, .12); }
.cm-next-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cm-next-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cm-next-text b { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; letter-spacing: .02em; }
.cm-next-text span { font-size: 14px; opacity: .85; }
.cm-next-go { margin-left: auto; flex: none; font-weight: 700; white-space: nowrap; }
@media (max-width: 520px) { .cm-next-go { display: none; } }

/* Search carried over from the other app */
.cm-carry { margin: 6px 0 0; padding: 4px 8px; border-radius: 3px; background: #fff3c4; color: #5a4300; font-size: 13px; line-height: 1.35; }
.cm-carry[hidden] { display: none; }

/* v300c: ad after every 3 rows of cards (or 3 shelves). The app box stays put; the ad and a continued copy of the box
   (same classes, no id) follow it, so the ad sits on the page background. */
.cm-ad-row { margin: 24px 0; min-height: 120px; }
.cm-app + .cm-ad-row, .cm-ad-row + .cm-app { margin-top: 24px; }
@media (max-width: 720px) { .cm-ad-row { margin: 18px 0; } }
/* v1400c: tighter space around the between-rows ads (the column gap already spaces them, like other apps) */
.app-col > .cm-ad-row, .cm-app + .cm-ad-row, .cm-ad-row + .cm-app { margin-top: 0; margin-bottom: 0; }
.cm-app:has(+ .cm-ad-row) { padding-bottom: 14px; }
.cm-app:has(+ .cm-ad-row) .cm-shelf:last-child { margin-bottom: 0; }
.cm-ad-row + .cm-app { padding-top: 14px; }
