/* ── CTA design tokens ─────────────────────────────────────────────────────
   One definition for every "make it" action on the site. Change it here. */
:root {
  --kc-cta-bg: #d5342a;      /* white on this is ~5.1:1 — #e63b2e was 4.18 */
  --kc-cta-bg-hover: #c22e24;
  --kc-cta-ink: #111111;
  --kc-cta-radius: 999px;
  --kc-cta-lift: 0 4px 0 var(--kc-cta-ink);
  --kc-cta-press: 0 1px 0 var(--kc-cta-ink);
}

/* Base class + `.kc-cta--sm` size modifier. Everything else just picks a width. */
.kc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-height: 50px;
  min-width: 0;
  padding: 0 26px;
  border: 0;
  border-radius: var(--kc-cta-radius);
  background: var(--kc-cta-bg);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--kc-cta-lift);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.kc-cta:hover { background: var(--kc-cta-bg-hover); color: #fff; }
.kc-cta:active { transform: translateY(3px); box-shadow: var(--kc-cta-press); }
.kc-cta:focus-visible { outline: 2px solid var(--kc-cta-ink); outline-offset: 3px; }

.kc-cta--sm {
  height: 46px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

/* Homepage-only KickClap branding. Original structure, type, and spacing remain. */
:root {
  --background: #fafaf7;
  --foreground: #111111;
  --card: #ffffff;
  --card-foreground: #111111;
  --popover: #ffffff;
  --popover-foreground: #111111;
  --primary: #e63b2e;
  --primary-foreground: #ffffff;
  --secondary: #fff0ed;
  --secondary-foreground: #111111;
  --muted: #f2f2ef;
  --muted-foreground: #636363;
  --accent: #ffe3de;
  --accent-foreground: #111111;
  --border: #e5dfdc;
  --input: #d8d2cf;
  --ring: #111111;
  --stroke: #111111;
  --shadow-hard: #111111;
  --sidebar: #fafaf7;
  --sidebar-foreground: #111111;
  --sidebar-primary: #e63b2e;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #fff0ed;
  --sidebar-accent-foreground: #111111;
  --sidebar-border: #e5dfdc;
  --sidebar-ring: #111111;
  --vm-ink: #111111;
  --vm-pop: #e63b2e;
  --vm-pop-deep: #c6281f;
  --vm-sun: #ffe3de;
  --vm-blush: #fff0ed;
  --vm-blush-2: #f5d9d3;
  --vm-up: #c6281f;
  --vm-on-sun: #111111;
}
:root .vm-logo {
  gap: 7px;
}
:root .vm-logo > .vm-logo-lock {
  display: none;
}
:root .vm-logo::before {
  content: '';
  display: block;
  flex: 0 0 31px;
  width: 31px;
  height: 35px;
  background: url('/meme-site/brand/mark.svg') center / contain no-repeat;
}
:root .vm-logo::after {
  content: '';
  display: block;
  width: 140px;
  height: 39px;
  background: url('/meme-site/brand/wordmark.svg') center / contain no-repeat;
}
:root .vm-memo {
  background: url('/meme-site/brand/mark.svg') center / contain no-repeat;
}
:root .vm-memo > svg {
  visibility: hidden;
}
/* Honor removed homepage lifecycle indicators despite the original display rules. */
:root [hidden] {
  display: none !important;
}

.vm-rail-link[hidden], .vm-tab[hidden] { display: none !important; }
/* Keep the archived React action mounted; install.js exposes it in the page header. */
@media (min-width: 900px) {
  .vm-rail { z-index: 40; }
  .vm-rail-foot { display: contents; }
  .vm-rail .vm-rail-foot > .vm-btn {
    display: none;
  }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .vm-main { padding-top: 64px; }
  .vm-main > .kc-collected-feed { height: calc(100dvh - 64px); }
}
@media (min-width: 1280px) {
  .vm-side { padding-top: 96px; }
}

/* All archived pages share the approved KickClap identity. */
.vm-life, .vm-bars, .vm-reel-top > span:last-child,
.vm-brow-mv > small, #trending-stages { display: none !important; }
section:has(> #trending-stages) { display: none !important; }
.vm-sec > h2[id^="group-"], .vm-sec > h2[id^="group-"] + p { display: none !important; }
/* M01: change only the homepage ranked list into image-led masonry. */
:root:has(#today-title) section[aria-labelledby="board-title"] { container-type: inline-size; }
:root:has(#today-title) section[aria-labelledby="board-title"] > .vm-board {
  display: block; columns: 2; column-gap: 16px; margin-top: 18px;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-board > li {
  display: inline-block; width: 100%; break-inside: avoid; margin: 0 0 22px; border: 0;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-brow {
  display: block; position: relative; padding: 0; border: 0; min-height: 0; background: transparent;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-brow > img {
  display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 16px; margin: 0 0 10px;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-brow-n {
  position: absolute; top: 10px; left: 10px; z-index: 1; background: #fafaf7; color: #111; border-radius: 8px; padding: 3px 8px; font-size: 15px; line-height: 24px; min-width: 30px; text-align: center;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-eyebrow,
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-brow-mv { display: none; }
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-brow b {
  display: block; font-size: 17px; line-height: 1.3; margin: 0 2px 5px;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-brow small {
  display: block; font-size: 14px; line-height: 1.45; margin: 0 2px; color: #636363; white-space: normal;
}
@container (min-width: 600px) {
  :root:has(#today-title) section[aria-labelledby="board-title"] > .vm-board { columns: 3; }
}
@container (min-width: 920px) {
  :root:has(#today-title) section[aria-labelledby="board-title"] > .vm-board { columns: 4; }
}
/* Keep ranks in reading order across columns. */
:root:has(#today-title) section[aria-labelledby="board-title"] > .vm-board {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1px; gap: 16px;
}
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-board > li { margin: 0; min-width: 0; }
@container (min-width: 600px) {
  :root:has(#today-title) section[aria-labelledby="board-title"] > .vm-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (min-width: 920px) {
  :root:has(#today-title) section[aria-labelledby="board-title"] > .vm-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Homepage recommendations do not show numeric ranks. */
:root:has(#today-title) .vm-brow-n,
:root:has(#today-title) .vm-reel-rank { display: none !important; }
:root:has(#today-title) .vm-feature-example video { display: block; width: 100%; height: auto; border-radius: 22px; background: #111; }
/* Compact brand-red action; keep the video as the dominant feature. */
:root:has(#today-title) .vm-top1 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
:root:has(#today-title) .vm-top1 .vm-cta2 { display: flex; justify-content: flex-start; }
/* Placement only — the CTA look comes from .kc-cta. */
:root:has(#today-title) .vm-top1 .vm-cta2 > .vm-btn { flex: 0 0 auto; width: auto; min-width: 0; }
@media (max-width: 640px) {
  :root:has(#today-title) .vm-top1 { grid-template-columns: minmax(0, 1fr); }
}
/* Original COLORS player supplies its matching cover and preserves 16:9. */
:root:has(#today-title) .vm-feature-example iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 22px; }
/* Shared click-to-play covers, including Feed. */
.vm-card-play { position: absolute; left: calc(50% - 24px); top: calc(var(--cover-height, 200px) / 2 - 24px); width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #e63b2e; color: #fff; cursor: pointer; z-index: 3; opacity: 0; transition: opacity .15s; box-shadow: 0 2px 10px #0003; }
.vm-card-play span { padding-left: 3px; font-size: 20px; }
li:hover > .vm-card-play, li:focus-within > .vm-card-play { opacity: 1; }
.vm-card-play:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.vm-card-player { position: absolute; top: 0; left: 0; width: 100%; height: var(--cover-height); border: 0; border-radius: 16px; z-index: 2; background: #fafaf7; }
.vm-playing > .vm-card-play { opacity: 1; top: 8px; left: auto; right: 8px; width: 30px; height: 30px; }
.vm-playing > .vm-card-play span { font-size: 0; padding: 0; }
.vm-playing > .vm-card-play span::after { content: '×'; font-size: 24px; }
@media (hover: none), (pointer: coarse) { .vm-card-play { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vm-card-play { transition: none; } }
@media (max-width: 640px) { .vm-card-play { opacity: 1; } }
/* Subtle, explicit close control on an active card player only. */
.vm-playing > .vm-card-play {
  width: 26px; height: 26px; top: 8px; right: 8px;
  background: #fafaf7; color: #333; border: 1px solid #d8d2cf;
  border-radius: 7px; box-shadow: 0 1px 4px #0002;
}
.vm-playing > .vm-card-play span::after { font-size: 21px; font-weight: 500; line-height: 1; }
.vm-playing > .vm-card-play:hover { background: #fff; color: #111; }
.vm-feature-example { position: relative; aspect-ratio: 16 / 9; --cover-height: 100%; }
.vm-feature-cover { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }
.vm-feature-example > .vm-card-play { top: calc(50% - 24px); }
.vm-feature-example:hover > .vm-card-play, .vm-feature-example:focus-within > .vm-card-play { opacity: 1; }
.vm-feature-example.vm-playing > .vm-card-play { top: 8px; }
:root:has(#today-title) .vm-feature-example > .vm-card-player { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Smaller close icon; retain a larger transparent touch target. */
.vm-playing > .vm-card-play {
  width: 20px; height: 20px; top: 7px; right: 7px;
  border-radius: 5px; border: 1px solid #ddd; box-shadow: none;
}
.vm-playing > .vm-card-play span::after { font-size: 16px; font-weight: 400; }
.vm-playing > .vm-card-play::before { content: ''; position: absolute; inset: -8px; }
.vm-feature-example.vm-playing > .vm-card-play { top: 7px; }
.vm-board-help-button { flex: 0 0 22px; width: 22px; height: 22px; padding: 0; margin-left: 8px; border: 1px solid #bbb; border-radius: 50%; background: transparent; color: #636363; font-size: 14px; line-height: 20px; cursor: pointer; }
.vm-board-help-button:hover { border-color: #e63b2e; color: #e63b2e; }
.vm-board-help-button:focus-visible { outline: 2px solid #e63b2e; outline-offset: 3px; }
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-sec-h { justify-content: flex-start; gap: 0; }
:root:has(#today-title) section[aria-labelledby="board-title"] .vm-sec-h > a { margin-left: auto; }
.vm-board-help { margin-top: 12px; padding: 16px; border: 1px solid #e5dfdc; border-radius: 12px; background: #fff; }
.vm-board-help .vm-dek-after { font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
.vm-board-help .vm-source { font-size: 13px; line-height: 1.5; margin: 0; }
/* Placement only. The look comes from .kc-cta / .kc-cta--sm above — do not restyle here. */
:root .kc-make-video-action { justify-self: start; align-self: flex-start; max-width: max-content; }
.kc-video-card, .kc-video-original { position: relative; min-width: 0; }
.kc-video-card > .vm-card { width: 100%; height: 100%; }
.kc-video-card:hover > .vm-card-play, .kc-video-card:focus-within > .vm-card-play,
.kc-video-original:hover > .vm-card-play, .kc-video-original:focus-within > .vm-card-play { opacity: 1; }
.kc-video-original .vm-orig-play { display: none !important; }
/* Shared breadcrumbs use the same hierarchy before and after hydration. */
.kc-breadcrumbs { margin: 0 0 16px; color: #686868; font-size: 13px; line-height: 1.5; grid-column: 1 / -1; }
.kc-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.kc-breadcrumbs li { display: flex; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; }
.kc-breadcrumbs [aria-current] { overflow-wrap: anywhere; }
.kc-breadcrumbs a { color: inherit; text-decoration: none; padding-block: 3px; }
.kc-breadcrumbs a:hover { color: var(--vm-pop); text-decoration: underline; text-underline-offset: 3px; }
.kc-breadcrumbs a:focus-visible { outline: 2px solid var(--vm-pop); outline-offset: 3px; border-radius: 2px; }
.kc-breadcrumb-separator { color: #969696; flex: none; }
.kc-collected-feed > .kc-breadcrumbs { position: absolute; z-index: 3; top: 0; left: 0; right: 0; margin: 0; padding: 8px 20px; color: #ccc; background: #0d0a12e6; transition: opacity 160ms ease; }
.kc-collected-feed .kc-breadcrumbs a:hover { color: #fff; }
.kc-collected-feed[data-playing="true"]:not([data-interacting="true"]):not(:has(.vm-slide-foot:focus-within)):not(:has(.kc-breadcrumbs:focus-within)) > .kc-breadcrumbs { opacity: 0; pointer-events: none; }
/* F02: video fills the viewport above a compact title and sound row. */
.kc-collected-feed { position: relative; display: flex; flex-direction: column; height: 100dvh; }
.kc-feed-sound { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; color: #fff; background: transparent; border: 1px solid #ffffff70; border-radius: 50%; padding: 0; cursor: pointer; }
.kc-feed-sound[hidden] { display: none; }
.kc-feed-sound[aria-pressed="false"] .kc-sound-on, .kc-feed-sound[aria-pressed="true"] .kc-sound-off { display: none; }
.kc-feed-sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.kc-autoplay-fallback > .vm-card-play { opacity: 1; }
.kc-collected-feed .vm-feed { flex: 1; height: auto; min-height: 0; }
.kc-collected-feed .vm-feed:focus-visible { outline: 2px solid var(--vm-pop); outline-offset: -2px; }
.kc-collected-feed .vm-slide { position: relative; display: grid; grid-template-rows: minmax(0,1fr) 60px; }
.kc-collected-feed .vm-slide::after { display: none; }
.kc-collected-feed .vm-slide-media { position: relative; min-height: 0; background: #0d0a12; overflow: hidden; }
.kc-collected-feed .vm-slide-media > img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.kc-collected-feed .vm-card-player { height: 100%; border-radius: 0; background: #0d0a12; }
.kc-collected-feed .vm-slide-media.vm-playing > .vm-card-play { display: none; }
.kc-collected-feed .vm-slide-foot { position: static; display: flex; flex-direction: row; align-items: center; width: 100%; min-width: 0; transform: none; padding: 8px 16px; gap: 12px; background: #0d0a12; }
.kc-collected-feed .vm-slide-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; text-shadow: none; }
.kc-collected-feed .vm-slide-name:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kc-feed-status { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 68px; padding: 8px 12px; border-radius: 8px; background: #0d0a12e6; font-size: 12px; color: #ddd; pointer-events: none; }
.kc-feed-status:empty { display: none; }
/* Keep desktop breadcrumbs clear of the embedded player's native controls. */
@media (min-width: 900px) { .kc-collected-feed { padding-top: 44px; } }
@media (max-width: 899px) {
  .kc-breadcrumbs { display: none !important; }
  .vm-top-r > button.vm-btn { display: none; }
  .kc-collected-feed { height: calc(100dvh - 63px - 84px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); }
  .kc-collected-feed .vm-slide-foot { padding-inline: 14px; }
  .kc-collected-feed .vm-slide-name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .kc-collected-feed > .kc-breadcrumbs { transition: none; } }
/* Hide the archived homepage date and search-ranking status line. */
:root:has(#today-title) .vm-screen > .vm-date { display: none !important; }
/* Right rail keeps its existing width; its content switches in place. */
.vm-side-board { display: none !important; }
.vm-side .vm-side-make { margin-top: 12px; }
.vm-side.kc-studio-open > :not(#kc-studio) { display: none !important; }
#kc-studio { padding: 4px 0 20px; font-size: 14px; line-height: 1.45; }
.kc-studio-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kc-studio-head h2 { font-size: 22px; font-weight: 800; margin: 0; }
.kc-studio-head button { width: 26px; height: 26px; border: 1px solid #ddd; border-radius: 5px; background: #fafaf7; font-size: 20px; cursor: pointer; }
.kc-studio-sub { color: #636363; margin: 4px 0 20px; }
.kc-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.kc-photo-slot { display: flex; position: relative; min-height: 150px; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #c8c4bf; border-radius: 12px; overflow: hidden; cursor: pointer; padding: 10px 4px; }
.kc-photo-slot > span { font-size: 26px; color: #636363; }
.kc-photo-slot img { width: 100%; height: 100px; object-fit: contain; margin-bottom: 6px; }
.kc-photo-slot small { font-size: 12px; color: #636363; }
.kc-photo-slot input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; cursor: pointer; }
.kc-photo-slot:focus-within { outline: 2px solid #e63b2e; outline-offset: 2px; }
.kc-upload-help { color: #636363; font-size: 12px; margin: 10px 0; }
.kc-swap { display: block; margin: 10px auto 20px; border: 0; background: transparent; color: #636363; cursor: pointer; }
.kc-format { display: grid; gap: 8px; padding: 0; margin: 0 0 20px; border: 0; }
.kc-format legend { font-weight: 700; margin-bottom: 10px; }
.kc-format label { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid #ddd; border-radius: 10px; cursor: pointer; }
.kc-format label:has(:checked) { border-color: #e63b2e; background: #fff0ed; color: #c6281f; }
#kc-studio input { accent-color: #e63b2e; }
.kc-consent { display: flex; align-items: flex-start; gap: 8px; }
.kc-consent input { margin-top: 4px; }
.kc-studio-message { font-size: 13px; color: #c6281f; margin: 14px 0; }
@media (max-width: 1279px) {
 .vm-side.kc-studio-open { display: block !important; position: fixed; inset: 0; z-index: 100; width: 100%; height: 100dvh; max-height: none; overflow-y: auto; padding: 20px; background: #fafaf7; box-sizing: border-box; }
 #kc-studio { max-width: 440px; margin: 0 auto; }
}
/* Center the creation panel close glyph inside its button. */
.kc-studio-head > button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; line-height: 1; flex-shrink: 0;
}
.kc-draggable-promo { cursor: grab; touch-action: pan-y; }
.kc-draggable-promo h3 { touch-action: none; }
.kc-draggable-promo.kc-dragging { cursor: grabbing; user-select: none; z-index: 4; }
.kc-draggable-promo h3:focus-visible { outline: 2px solid #e63b2e; outline-offset: 4px; border-radius: 4px; }
.kc-draggable-promo a { cursor: pointer; }
.kc-meme-picker { display: grid; gap: 6px; margin: 12px 0 20px; font-size: 13px; }
.kc-meme-picker > span { color: #636363; }
.kc-meme-picker select { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #d8d2cf; border-radius: 9px; background: #fff; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.kc-meme-picker select:focus-visible { outline: 2px solid #e63b2e; outline-offset: 2px; }
/* Keep the selector arrow inset and vertically centered across browsers. */
.kc-meme-picker select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23636363' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px 16px; background-position: right 12px center;
}
.kc-recipe-mark { position: relative; display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 4px; margin-left: 5px; border: 0; background: transparent; border-radius: 4px; cursor: pointer; line-height: 1; }
.kc-recipe-mark > img { display: block; width: 16px !important; height: 16px !important; margin: 0 !important; border: 0; border-radius: 0; object-fit: contain; }
.kc-recipe-mark > span { display: none; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 5px 8px; border: 1px solid #e5dfdc; border-radius: 6px; background: #fff; color: #111; font-size: 12px; font-weight: 500; line-height: 18px; white-space: nowrap; z-index: 10; }
.kc-recipe-mark:hover > span, .kc-recipe-mark:focus-visible > span { display: block; }
.kc-recipe-mark:focus-visible { outline: 2px solid #e63b2e; outline-offset: 2px; }
.vm-story-ring > .vm-make-dot { display: none !important; }
.vm-story-ring { position: relative; }
.kc-story-recipe-mark { position: absolute; right: -1px; bottom: -1px; display: grid; place-items: center; width: 21px; height: 21px; border: 2px solid #fafaf7; border-radius: 50%; background: #fafaf7; z-index: 1; }
.vm-story-ring .kc-story-recipe-mark > img { display: block; width: 15px; height: 15px; border: 0; border-radius: 0; object-fit: contain; }
.vm-reel > .kc-pick-label { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 8px; border-radius: 6px; background: #e63b2e; color: #fff; font-size: 11px; line-height: 16px; font-weight: 700; pointer-events: none; }
/* Date archive pages share the approved responsive masonry and player controls. */
.kc-date-feed { container-type: inline-size; }
.kc-date-feed > .vm-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1px; gap: 16px; margin-top: 18px; }
.kc-date-feed .vm-board > li { display: block; margin: 0; min-width: 0; width: 100%; border: 0; }
.kc-date-feed .vm-brow { display: block; position: relative; padding: 0; border: 0; min-height: 0; background: transparent; }
.kc-date-feed .vm-brow > img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 16px; margin: 0 0 10px; }
.kc-date-feed .vm-brow-n, .kc-date-feed .vm-brow-mv, .kc-date-feed .vm-eyebrow { display: none !important; }
.kc-date-feed .vm-brow b { display: block; font-size: 17px; line-height: 1.3; margin: 0 2px 5px; }
.kc-date-feed .vm-brow small { display: block; font-size: 14px; line-height: 1.45; margin: 0 2px; color: #636363; white-space: normal; }
@container (min-width: 600px) { .kc-date-feed > .vm-board { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@container (min-width: 920px) { .kc-date-feed > .vm-board { grid-template-columns: repeat(4,minmax(0,1fr)); } }
/* Discard residual original rank captions in the merged catalog. */
.vm-card > small { display: none !important; }
/* Date archive rows remain clickable without decorative arrows. */
section:has(> #trending-days) .vm-brow > .vm-brow-mv { display: none !important; }
.kc-archive-heading { display: flex; align-items: center; gap: 8px; }
.kc-archive-heading h1 { min-width: 0; }
.kc-archive-heading .vm-board-help-button { flex-shrink: 0; }
/* Date navigation shows only each edition's title, without a featured meme caption. */
section:has(> #trending-days) .vm-brow > span > small { display: none !important; }
.vm-detail .vm-prose p { margin: 12px 0; }
.vm-detail .vm-prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.vm-detail .vm-prose li { margin: 8px 0; }
.vm-detail .vm-prose a { text-decoration: underline; text-underline-offset: 3px; }
.kc-editorial-original { position: relative; }
.kc-editorial-cover { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; }
.kc-editorial-cover img { width: 100%; height: 100%; object-fit: cover; }
.kc-editorial-original:hover > .vm-card-play, .kc-editorial-original:focus-within > .vm-card-play { opacity: 1; }

/* ── Hotel Lobby detail: sales unit ─────────────────────────────────────────
   Facts first, offer second, objection handled before it is felt. */
/* A spec line, not a row of badges: one rhythm, one weight, separated by dots. */
.kc-verdict-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 12px 0 2px;
  color: var(--muted-foreground);
  font-size: 13.5px;
  line-height: 1.6;
}
.kc-fact {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  white-space: nowrap;
  color: inherit;
}
.kc-fact + .kc-fact::before {
  content: "·";
  margin: 0 7px;
  color: #c9c1bc;
  font-weight: 700;
}
.kc-fact b { color: var(--vm-ink); font-weight: 800; }

/* ── Offer bar ──────────────────────────────────────────────────────────────
   One component for every "make it" CTA: identity + price on the left, the
   action on the right. Price and button never drift apart. */
.kc-offer-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 8px 8px 8px 16px;
  border: 1.5px solid #e8e2df;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.05);
  box-sizing: border-box;
  max-width: 100%;
}
/* Centre the bar on the page. When the column is narrower than the bar needs, wrap instead of
   letting the button sit on top of the facts. */
.vm-detail .kc-offer-bar,
.kc-route .kc-offer-bar {
  display: flex;
  flex-wrap: wrap;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.kc-offer-facts {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 1 auto;
  min-width: 0;
}
/* The bar is a label, not a filled row: let the text decide the width and the button follow. */
.kc-offer-copy { flex: 0 0 auto; }
.kc-offer-mark { width: 38px; height: 35px; flex: none; display: block; }
.kc-offer-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kc-offer-copy b {
  font-size: 18px;
  font-weight: 850;
  line-height: 1.1;
  color: var(--vm-ink);
  white-space: nowrap;
}
.kc-offer-copy small {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.kc-offer-cta { flex: 0 0 auto; }

@media (max-width: 560px) {
  .kc-offer-bar { gap: 10px; padding: 8px 8px 8px 13px; }
  .kc-offer-mark { width: 30px; height: 28px; }
  .kc-offer-copy b { font-size: 15.5px; }
  .kc-offer-copy small { font-size: 11.5px; }
  .kc-offer-cta { height: 46px; min-width: 0; padding: 0 16px; font-size: 15px; }
}
.kc-steps { list-style: none; padding-left: 0; counter-reset: kc; }
.kc-steps li {
  counter-increment: kc;
  position: relative;
  padding-left: 38px;
  margin: 14px 0;
}
.kc-steps li::before {
  content: counter(kc);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vm-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  display: grid;
  place-items: center;
}
/* Closing block — the last thing read before the decision. */
/* No card, no headline — just the offer bar, centred. */
.kc-close {
  margin: 30px 0 10px;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  justify-content: center;
}
.kc-close .kc-offer-bar { margin: 0; }
.kc-fineprint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted-foreground);
}
/* The sample is a native player, so give it the same frame as the cards. */
.kc-editorial-cover .kc-sample {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

/* ---- Story layout: pages KickClap cannot render yet ---- */
.kc-route {
  margin: 18px 0 8px;
  padding: 22px;
  border: 2.5px solid var(--vm-ink);
  border-radius: 20px;
  background: var(--vm-blush);
  box-shadow: 4px 4px 0 var(--vm-ink);
}
.kc-route-k {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vm-pop-deep);
}
.kc-route-h { margin: 0 0 8px; font-size: 21px; font-weight: 850; line-height: 1.2; color: var(--vm-ink); }
.kc-route-p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--vm-ink); }
.kc-route .kc-verdict-row { margin: 0 0 16px; }
.kc-route .kc-make-video-action {
  justify-self: start;
  display: inline-flex;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}
@media (max-width: 560px) {
  .kc-route { padding: 16px; }
  .kc-route-h { font-size: 18px; }
  .kc-route .kc-make-video-action { width: 100%; justify-content: center; }
}

.kc-story-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 10px;
  border: 2.5px solid var(--vm-ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--vm-ink);
  text-decoration: none;
  color: var(--vm-ink);
}
.kc-story-card img { width: 64px; height: 88px; object-fit: cover; border-radius: 10px; flex: none; }
.kc-story-card b { display: block; font-size: 16px; font-weight: 850; }
.kc-story-card small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted-foreground); }
.kc-story-card:hover { background: var(--vm-sun); }

/* ---- Process: two photos on top, one line down, the finished video below ---- */
.kc-process { margin: 0; }
.kc-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kc-in .kc-step img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: #ececec;
}
.kc-step figcaption {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--muted-foreground);
}
.kc-step figcaption b { color: var(--vm-ink); font-weight: 850; font-size: 12.5px; }

/* The connector: the only thing that says "these become that" */
.kc-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 12px;
}
.kc-flow-line { width: 2px; height: 26px; background: var(--vm-ink); }
.kc-flow-tip {
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border-right: 2px solid var(--vm-ink);
  border-bottom: 2px solid var(--vm-ink);
  transform: rotate(45deg);
}

.kc-out .kc-step-video { position: relative; margin: 0; }
/* The sample is a 720x1280 portrait render, so the box follows the file. */
.kc-step-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 62vh;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 16px;
  background: #1c1c1c;
}
.kc-out { max-width: 340px; margin: 0 auto; }
.kc-sound {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.kc-sound:hover { background: rgba(17, 17, 17, 0.9); }
.kc-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.kc-process-note {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.kc-process-note .kc-prompt { margin: 0; color: var(--vm-ink); }
.kc-process-note a { font-size: 13px; color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 640px) {
  .kc-in { gap: 10px; }
  .kc-step figcaption { font-size: 11px; gap: 5px; }
  .kc-step figcaption b { font-size: 11.5px; }
  .kc-flow-line { height: 20px; }
  .kc-process-note { font-size: 12.5px; gap: 4px 8px; }
}



/* The archive's h1 is a poster headline at 46px. This page is a product page, not a poster. */
.vm-detail h1.kc-capbox,
.vm-detail h1.vm-capbox { font-size: 30px; line-height: 1.2; }
@media (max-width: 900px) {
  .vm-detail h1.kc-capbox,
  .vm-detail h1.vm-capbox { font-size: 25px; }
}
@media (max-width: 560px) {
  .vm-detail h1.kc-capbox,
  .vm-detail h1.vm-capbox { font-size: 21px; line-height: 1.25; }
}

/* ---- Sticky offer dock: mark + price on the left, one loud button on the right ---- */
.vm-dock.kc-dock-offer {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.kc-dock-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1.5px solid #e8e2df;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
}
.kc-dock-facts {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-left: 8px;
}
.kc-dock-mark { width: 30px; height: 28px; flex: none; display: block; }
.kc-dock-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kc-dock-copy b {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
  color: var(--vm-ink);
  white-space: nowrap;
}
.kc-dock-copy small {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.kc-dock-cta { flex: 1 1 auto; }

@media (max-width: 480px) {
  .kc-dock-facts { padding-left: 4px; gap: 7px; }
  .kc-dock-mark { width: 24px; height: 22px; }
  .kc-dock-copy b { font-size: 13.5px; }
  .kc-dock-copy small { font-size: 11px; }
  .kc-dock-cta { height: 42px; padding: 0 16px; font-size: 14px; }
}

/* ---- Right-rail promo card: same CTA language as the offer bar ---- */
.vm-side-make {
  border: 2px solid var(--vm-ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--vm-ink);
  background: #fff;
}
.vm-side-make h3 {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.vm-side-make p {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.vm-side-make > .kc-cta { margin-top: 4px; }

/* ---- Left rail "Make my video": same red pill + black underline as the offer bar ---- */
.vm-rail > .kc-cta { width: auto; margin-top: 6px; }

/* ── Story template ────────────────────────────────────────────────────────
   Value first, pitch second. See the comment block in overrides.js. */
.kc-story { margin-bottom: 8px; }
.kc-story-hook {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--vm-ink);
  text-wrap: balance;
}
.kc-story-short {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--vm-ink);
}
.kc-story-k {
  display: inline-block;
  margin-right: 9px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--vm-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.kc-story-sec { margin-top: 30px; }
.kc-story-tl { margin-top: 14px; }
.kc-story-versions { margin: 0; padding-left: 20px; }
.kc-story-versions li { margin: 10px 0; }

/* The pivot: the only place a page explains what we cannot make, and the first offer. */
.kc-story-pivot {
  margin: 34px 0 0;
  padding: 24px 22px;
  border: 2px solid var(--vm-ink);
  border-radius: 20px;
  background: var(--vm-blush);
  box-shadow: 5px 5px 0 var(--vm-ink);
}
.kc-story-pivot .vm-h2 { margin-top: 0; }
.kc-pivot-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}
.kc-pivot-card img {
  width: 74px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}
.kc-pivot-body b { display: block; font-size: 17px; font-weight: 850; }
.kc-pivot-body p { margin: 4px 0 10px; font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.kc-story-close { margin-top: 34px; }
@media (max-width: 560px) {
  .kc-story-pivot { padding: 18px 15px; }
  .kc-pivot-card { gap: 12px; }
  .kc-pivot-card img { width: 62px; height: 84px; }
}

/* Keep the source clip in view for the whole read. The archive already pins the media column
   at top:24px; the story layout just has to stop it from being clipped by a short grid row,
   and give it a sane max height so it never crowds the article column. */
.vm-detail:has(.kc-story) {
  align-items: start;
}
/* The source clip follows the read, but only where the grid gives it its own column.
   Below 900px the layout is single-column: a sticky 500px block there covers the article and
   swallows clicks on the offer — verified, elementFromPoint over the CTA returned the image. */
.vm-detail:has(.kc-story) .vm-detail-media { position: static; top: auto; }

@media (min-width: 900px) {
  .vm-detail:has(.kc-story) .vm-detail-media {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100dvh - 48px);
    overflow: auto;
    overscroll-behavior: contain;
  }
}
.vm-detail:has(.kc-story) .vm-detail-media .vm-reel.is-original:not(.vm-reel-sm) > img {
  max-height: calc(100dvh - 160px);
}


/* The archive switches to two columns at 900px but leaves the story column 248px wide, which
   overflows the pivot card. Hold two columns until there is room for both. */
@media (min-width: 900px) and (max-width: 1050px) {
  .vm-detail:has(.kc-story) { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
}
.kc-pivot-card { min-width: 0; }
.kc-pivot-body { min-width: 0; }


/* The caption's "Open the post" read as prose; make it look like the link it is. */
.vm-detail-media figcaption a,
.vm-detail-media .vm-reel-cap a,
.vm-original figcaption a {
  color: var(--vm-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Source links were 15px-tall targets on a 23px pitch — too tight to tap on a phone. */
.vm-sources { display: flex; flex-direction: column; gap: 2px; }
.vm-sources li { margin: 0; }
.vm-sources a {
  display: inline-block;
  padding: 7px 0;
  min-height: 24px;
  box-sizing: border-box;
}

/* Container-aware, not viewport-aware: the article column is 448px on a 1440 screen, so a
   viewport media query would never fire where the bar actually needs to stack. */
/* The bar wraps when its own contents do not fit. `:has()` on the flex line is not available,
   so stack on viewport width where the article column is known to be narrow, and let a very
   long label wrap inside the button instead of pushing it sideways. */
.kc-offer-cta { white-space: normal; text-align: center; }

/* Stacked is the default: the bar always lives in a narrow column (the article is 448px even on
   a 1440 screen). It only becomes a single row when the column is genuinely wide. */
.kc-offer-bar { width: 100%; border-radius: 22px; gap: 8px; padding: 10px; flex-wrap: wrap; }
.kc-offer-facts { flex: 1 1 100%; padding: 0 4px; gap: 9px; }
.kc-offer-mark { width: 30px; height: 28px; }
.kc-offer-copy b { font-size: 16px; }
.kc-offer-copy small { font-size: 12.5px; }
.kc-offer-bar .kc-offer-cta { flex: 1 1 100%; margin-left: 0; height: 46px; font-size: 15px; }

@media (min-width: 1400px) {
  .kc-offer-bar { width: max-content; border-radius: 999px; gap: 16px; padding: 8px 8px 8px 16px; flex-wrap: nowrap; }
  .kc-offer-facts { flex: 0 1 auto; padding: 0; gap: 11px; }
  .kc-offer-mark { width: 38px; height: 35px; }
  .kc-offer-copy b { font-size: 18px; }
  .kc-offer-copy small { font-size: 13px; }
  .kc-offer-bar .kc-offer-cta { flex: 0 0 auto; height: 50px; font-size: 17px; }
}

/* Current support copy uses the existing article and CTA styles. */
.kc-support .vm-prose p { margin: 12px 0; }
.kc-support .vm-prose ul { list-style: disc; padding-left: 22px; }
.kc-support .vm-prose li { margin: 8px 0; }
.kc-support .vm-prose a, .kc-support .vm-dek a { text-decoration: underline; text-underline-offset: 3px; }
.kc-support-footer { margin-top: 28px; color: #686868; font-size: 13px; line-height: 1.5; }
.kc-support-footer p { margin: 8px 0; }
.kc-support-footer a { text-decoration: underline; text-underline-offset: 3px; }
.kc-support-updated { font-size: 12px; }
.kc-support[data-kc-support-page="pricing"] > .vm-note {
  background: none;
  color: var(--muted-foreground);
  padding: 0;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.5;
}
@media (min-width: 600px) {
  .kc-offer-bar--compact { width: max-content; }
  .kc-offer-bar--compact .kc-offer-facts, .kc-offer-bar--compact .kc-offer-cta { flex: 0 1 auto; }
}
