/* YayMotion (sites/yaymotion). The kit in /kit/ gives the system (grid, nav, buttons, cards, footer); this file is the site:
   its colours and type, the videos with the photos they were made from, the uploader, the wall, the feed and the make panel.
   Design record: proto/yaymotion/ (user sign-off 2026-11-26). */
:root {
  --p-bg: #0f0e0c; --p-surface: #1a1816; --p-ink: #f1ece1; --p-muted: #a8a297;
  --p-accent: #f2c230; --p-accent-ink: #0f0e0c; --p-action: #f2c230; --p-action-ink: #0f0e0c;
  --p-inv-bg: #f1ece1; --p-inv-surface: #dfdad0; --p-inv-ink: #0f0e0c; --p-inv-muted: #5a5853;
  --p-inv-accent: #0f0e0c; --p-inv-accent-ink: #f1ece1; --p-inv-action: #0f0e0c; --p-inv-action-ink: #f1ece1;
  --font-display: "Host Grotesk", system-ui, sans-serif;
  --font-text: "Host Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.04em;
}
.hero__lead, .hero-copy > .t-lead { color: var(--ink); }
.hero .pill { justify-self: start; align-self: flex-start; width: fit-content; }

/* a video with its source photos pinned on its lower left: the site's one signature picture */
.vid { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--surface); --pin: 84px; }
.vid--card { aspect-ratio: 3 / 4; --pin: 60px; }
.vid__f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.vid__pins { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; align-items: flex-end; }
.vid__pins img { width: var(--pin); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 3px solid #f1ece1; box-shadow: 0 10px 24px rgb(0 0 0 / .5); }
.vid__play { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgb(15 14 12 / .62); display: grid; place-items: center; }
.vid__play svg { width: 14px; height: 14px; fill: #f1ece1; margin-left: 2px; }

/* home hero: two videos side by side */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.duo .vid { --pin: 88px; }

/* template cards */
.tpl .card { gap: var(--s-3); }
.tpl .card > p { color: var(--muted); }
.tpl .card > .vid { margin-bottom: var(--s-2); }

/* theme page hero: the head row, then the four templates */
.th-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: var(--s-7); }
.th-head h1 { grid-column: 1 / span 7; }
.th-head > div { grid-column: 9 / span 4; display: grid; gap: var(--s-5); justify-items: start; }
.th-head p { font-size: var(--t-lead); line-height: 1.5; }

/* template page hero: words and uploader on the left, the video on the right */
.t-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); height: 100%; align-items: start; }
.t-hero__copy { grid-column: 1 / span 6; display: grid; gap: var(--s-5); align-content: start; }
.t-hero__vid { grid-column: 9 / span 4; height: 100%; min-height: 0; }
.t-hero__vid .vid { height: 100%; aspect-ratio: auto; --pin: 104px; }
.t-hero__copy h1 { font-size: clamp(38px, 4.2vw, 60px); }

/* the uploader */
.up { display: grid; gap: var(--s-4); margin-top: var(--s-3); max-width: 560px; }
.up__slots { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.up__slot { display: grid; justify-items: start; align-content: start; gap: 4px; min-height: 148px; padding: var(--s-4); border-radius: var(--r-md); border: 1px dashed var(--line-strong); background: var(--surface); cursor: pointer; }
.up__slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.up__plus { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); margin-bottom: var(--s-4); }
.up__plus svg { width: 14px; height: 14px; }
.up__slot b { font-weight: 500; } .up__slot small { color: var(--muted); font-size: var(--t-small); line-height: 1.4; }
.up__ok { display: flex; gap: var(--s-3); align-items: center; font-size: var(--t-small); }
.up__ok input { width: 18px; height: 18px; accent-color: var(--action); }
.up .btn { width: 100%; }

/* small UI pieces inside frames */
.mini { background: #151311; color: #f1ece1; border-radius: 14px; padding: 16px; font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 20px 40px -20px rgb(0 0 0 / .7); display: grid; gap: 12px; }
.mini b { font-weight: 500; } .mini small { color: #a8a297; font-size: 13px; } .mini__ok { color: #f2c230; font-weight: 500; }
.mini__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; } .mini__head span { color: #a8a297; font-size: 13px; }
.mini__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini__slot { display: grid; gap: 8px; padding: 10px; border-radius: 10px; background: rgb(255 255 255 / .05); }
.mini__slot img { width: 100%; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; }
.mini__slot div { display: grid; gap: 2px; }
.mini__go { height: 44px; border-radius: 99px; display: grid; place-items: center; font-weight: 500; font-size: 15px; background: rgb(255 255 255 / .1); }
.mini--done { grid-template-columns: 72px 1fr; align-items: center; gap: 14px; padding: 12px; width: 260px; }
.mini--done img { width: 72px; height: 128px; border-radius: 8px; object-fit: cover; } .mini--done div { display: grid; gap: 4px; }

/* the three steps and the beats as lists beside a frame */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); }
.steps3 li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-4); align-items: start; }
.steps3 h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; margin: 4px 0 var(--s-2); }
.steps3 p { max-width: 44ch; }
.beats { list-style: none; margin: 0; padding: 0; }
.beats li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); font-size: var(--t-lead); line-height: 1.4; }
.beats li:first-child { padding-top: 0; }
.beats span { font: 400 var(--t-small)/1.9 var(--font-mono); color: var(--muted); }

/* photos in, video out */
.inout { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: var(--s-5); align-items: center; height: 100%; padding: var(--s-7); background: var(--surface); border-radius: var(--r-lg); }
.inout__in { display: grid; gap: var(--s-4); }
.inout__in img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 3px solid #f1ece1; }
.inout__arrow { color: var(--muted); }
.inout .vid { --pin: 0px; }

@media (max-width: 1023px) {
  .th-head { display: grid; grid-template-columns: 1fr; row-gap: var(--s-4); margin-bottom: var(--s-5); }
  .th-head h1, .th-head > div { grid-column: 1; }
}
@media (max-width: 639px) {
  .duo { gap: 12px; } .duo .vid { --pin: 44px; } .vid__pins { left: 8px; bottom: 8px; gap: 4px; } .vid__pins img { border-width: 2px; } .vid__play { right: 8px; bottom: 8px; width: 32px; height: 32px; }
  .tpl .grid { grid-template-columns: 1fr 1fr; } .tpl .grid > .card { grid-column: auto; --c-pad: 12px; } .vid--card { --pin: 40px; }
  .th-hero .vid--card { aspect-ratio: 1 / 1; } .th-hero .card > p { display: none; }
  .t-hero { grid-template-columns: 150px 1fr; column-gap: 12px; row-gap: var(--s-4); height: auto; }
  .t-hero__copy { display: contents; }
  .t-hero__copy > .pill, .t-hero__copy > h1, .t-hero__copy > p { grid-column: 1 / -1; }
  .t-hero__vid { grid-column: 1; grid-row: 4; height: auto; } .t-hero__vid .vid { aspect-ratio: 9 / 16; height: auto; --pin: 40px; }
  .up { display: contents; }
  .up__slots { grid-column: 2; grid-row: 4; grid-template-columns: 1fr; gap: 12px; }
  .up__slot { min-height: 0; padding: 12px; } .up__slot small { display: none; } .up__plus { width: 28px; height: 28px; margin-bottom: 6px; }
  .up__ok, .up .btn, .up > p { grid-column: 1 / -1; }
  .inout { padding: var(--s-4); gap: var(--s-3); }
  .mini--done { width: 220px; }
}

/* ---------- home v3 (user 11-26): a wall of template videos behind, search on top, trending templates, categories ---------- */
.h-wall { position: relative; overflow: hidden; }
.wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 8px; padding: 0 8px; opacity: .9; }
.wall__col { display: flex; flex-direction: column; gap: 8px; animation: wall-up 120s linear infinite; will-change: transform; }
.wall__col:nth-child(even) { animation-name: wall-down; animation-duration: 150s; }
.wall__col img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; display: block; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.h-wall::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(46% 40% at 50% 38%, rgb(15 14 12 / .95) 0 38%, rgb(15 14 12 / .62) 72%, rgb(15 14 12 / .34) 100%), linear-gradient(rgb(15 14 12 / .5), rgb(15 14 12 / 0) 14%, rgb(15 14 12 / 0) 52%, rgb(15 14 12 / .82) 76%, var(--bg) 100%); }
.h-wall > .wrap { position: relative; z-index: 2; }
.h-top { display: grid; justify-items: center; text-align: center; gap: var(--s-4); }
.h-top h1 { max-width: 18ch; }
.h-top .t-lead { max-width: 46ch; }
.find { display: flex; align-items: center; gap: var(--s-3); width: min(680px, 100%); height: 64px; padding: 0 8px 0 24px; margin-top: var(--s-4); border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); }
.find svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
.find input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: 400 18px/1 var(--font-text); }
.find input::placeholder { color: var(--muted); }
.find .btn { flex: none; }
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); background: rgb(15 14 12 / .6); font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.trend { margin-top: var(--s-7); }
.trend__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-3); }
.trend__head h2 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; }
.trend__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.tcard { display: grid; grid-template-columns: 118px 1fr; gap: var(--s-4); align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: left; }
.tcard .vid { --pin: 0px; border-radius: 10px; }
.tcard b { display: block; font-weight: 500; font-size: var(--t-card); line-height: 1.25; }
.tcard small { display: block; margin-top: 6px; color: var(--muted); font-size: var(--t-small); line-height: 1.4; }
.tcard .go { display: inline-flex; margin-top: var(--s-3); font-size: var(--t-small); font-weight: 500; color: var(--action); }
.all-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--head-gap); }
.all-none { display: none; padding: var(--s-6) 0; font-size: var(--t-lead); }
.all-none.is-on { display: block; }
@media (prefers-reduced-motion: reduce) { .wall__col { animation: none; } }
@media (max-width: 1023px) { .wall { grid-template-columns: repeat(10, minmax(0, 1fr)); } .wall__col:nth-child(n+11) { display: none; } .trend__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 0 6px; } .wall__col { gap: 6px; } .wall__col:nth-child(n+7) { display: none; }
  .h-top { gap: var(--s-3); } .find { height: 56px; padding-left: 18px; margin-top: var(--s-2); } .find input { font-size: 16px; } .find .btn { display: none; }
  .cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: calc(100% + 48px); margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; } .cats::-webkit-scrollbar { display: none; } .chip { flex: none; }
  .trend { margin-top: var(--s-5); }
  .trend__row { display: flex; gap: 12px; overflow-x: auto; width: calc(100% + 48px); margin-inline: -24px; padding-inline: 24px; scroll-snap-type: x mandatory; scrollbar-width: none; } .trend__row::-webkit-scrollbar { display: none; }
  .tcard { flex: none; width: 264px; grid-template-columns: 84px 1fr; scroll-snap-align: start; }
}

/* price cards (credits, user 11-26) */
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.plan-top h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; }
.card--plan .price { align-items: baseline; gap: var(--s-3); }
.plan-per { color: var(--ink); }

/* make it here: the uploader opens over the page you were on (home and theme page), the template page stays the address */
.mk::backdrop { background: rgb(0 0 0 / .62); }
.mk { width: min(940px, calc(100% - 48px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 24px; background: #f1ece1; color: #0f0e0c; overflow: hidden; }
.mk__in { display: grid; grid-template-columns: 320px 1fr; }
.mk__vid { position: relative; background: #0f0e0c; min-height: 568px; }
.mk__vid img.mk__f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk__pins { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.mk__pins img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 3px solid #f1ece1; box-shadow: 0 10px 24px rgb(0 0 0 / .5); }
.mk__body { display: grid; gap: 16px; align-content: start; padding: 32px 32px 28px; }
.mk__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.mk__head h2 { font: 500 34px/1.1 var(--font-display); letter-spacing: -0.03em; }
.mk__x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(15 14 12 / .08); color: #0f0e0c; cursor: pointer; }
.mk__line { font-size: 18px; line-height: 1.45; max-width: 44ch; }
.mk__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk__slots.is-one { grid-template-columns: 1fr; }
.mk__slot { display: grid; gap: 4px; align-content: start; min-height: 132px; padding: 16px; border-radius: 16px; border: 1.5px dashed rgb(15 14 12 / .35); cursor: pointer; }
.mk__slot i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #0f0e0c; color: #f1ece1; margin-bottom: 10px; }
.mk__slot i svg { width: 14px; height: 14px; }
.mk__slot b { font-weight: 500; } .mk__slot small { color: #5a5853; font-size: 14px; line-height: 1.35; }
.mk__ok { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.mk__ok input { width: 20px; height: 20px; accent-color: #0f0e0c; }
.mk__go { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 999px; background: #0f0e0c; color: #f1ece1; font-weight: 500; font-size: 18px; }
.mk__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #5a5853; font-size: 14px; }
.mk__foot a { color: #0f0e0c; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) { .mk__in { grid-template-columns: 1fr; } .mk__vid { min-height: 220px; } .mk__body { padding: 20px; } }

/* slots show the example's own photo, faded, where yours goes (user 11-26): no photos pinned on the video in a panel */
.ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; opacity: .34; pointer-events: none; }
.eg { position: absolute; right: 10px; top: 10px; z-index: 1; height: 22px; padding: 0 8px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; }
.mk__slot { position: relative; overflow: hidden; min-height: 176px; align-content: end; }
.mk__slot > i, .mk__slot > b, .mk__slot > small { position: relative; z-index: 1; }
.mk__slot > i { position: absolute; left: 14px; top: 14px; margin: 0; }
.mk__slot::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(rgb(241 236 225 / 0), #f1ece1 62%); pointer-events: none; }
.mk__slot .eg { background: rgb(15 14 12 / .72); color: #f1ece1; }
.mk__vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk__snd { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(15 14 12 / .62); color: #f1ece1; }
.up__slot { position: relative; overflow: hidden; min-height: 176px; align-content: end; }
.up__slot > b, .up__slot > small { position: relative; z-index: 1; }
.up__slot > .up__plus { position: absolute; left: 14px; top: 14px; margin: 0; z-index: 1; }
.up__slot::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(rgb(26 24 22 / 0), var(--surface) 62%); pointer-events: none; }
.up__slot .eg { background: rgb(241 236 225 / .86); color: #0f0e0c; }
@media (max-width: 639px) { .up__slot { min-height: 118px; } .up__slot .eg { display: none; } }

/* theme page: the theme's own backdrop (user 11-26: the Christmas page gets a Christmas background), light snow over it */
.h-theme { position: relative; overflow: hidden; }
.h-theme__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.h-theme::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 30% at 50% 20%, rgb(15 14 12 / .6) 0 40%, rgb(15 14 12 / .28) 100%), linear-gradient(rgb(15 14 12 / .5), rgb(15 14 12 / .12) 18%, rgb(15 14 12 / .12) 62%, rgb(15 14 12 / .88) 94%, var(--bg) 100%); }
/* the theme's cards let the backdrop through */
.h-theme .card { background: rgb(26 24 22 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgb(241 236 225 / .16); }
.h-theme .chip { background: rgb(15 14 12 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-theme .chip.is-on { background: var(--ink); }
.h-theme > .wrap { position: relative; z-index: 2; }
.snow { position: absolute; inset: -300px 0 0 0; z-index: 1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(2px 2px at 24px 36px, #fff 50%, transparent 52%), radial-gradient(3px 3px at 150px 110px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 260px 210px, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 90px 250px, #fff 50%, transparent 52%), radial-gradient(2.5px 2.5px at 210px 20px, #fff 50%, transparent 52%);
  background-size: 300px 300px; animation: snow 16s linear infinite; }
@keyframes snow { to { transform: translateY(300px); } }
@media (prefers-reduced-motion: reduce) { .snow { animation: none; } }

/* desktop, same idea as the phone (user 11-26: watch first): a card is quiet until the pointer is on it, then its clip plays
   and its link turns gold */
.vid > video.vid__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard .go { color: var(--muted); transition: color .2s ease; }
.tcard .go::after { content: "\203A"; margin-left: 6px; }
.tcard:hover .go, .tcard.is-hover .go, .tcard:focus-visible .go { color: var(--action); }
.tcard:hover, .tcard.is-hover { border-color: var(--line-strong); }
a.is-hover .vid__play, a:hover .vid__play { opacity: 0; }
.vid__play { transition: opacity .2s ease; }

/* template page v2 (user 11-26): the page people land on from ChatGPT or Google. The example plays on the left,
   everything needed to make it is on the right, on the first screen. Same picture as the panel. */
.t-hero__vid { grid-column: 1 / span 4; grid-row: 1; height: 100%; min-height: 0; }
.t-hero__copy { grid-column: 6 / span 7; grid-row: 1; }
.t-vid { height: 100%; aspect-ratio: auto; border-radius: var(--r-lg); }
.t-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-facts { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--muted); font-size: var(--t-small); }
.t-facts li::before { content: "\2713"; margin-right: 6px; color: var(--action); }
@media (max-width: 639px) {
  .hero.t-page { padding-top: var(--nav); }
  .t-hero { display: flex; flex-direction: column; gap: 14px; height: auto; }
  .t-hero__vid { grid-column: auto; grid-row: auto; margin: 0 -24px; height: 42svh; flex: none; }
  .t-vid { border-radius: 0; height: 100%; }
  .t-hero__copy { display: grid; gap: 10px; grid-column: auto; }
  .t-hero__copy > .pill { display: none; }
  .t-hero__copy > .pill, .t-hero__copy > h1, .t-hero__copy > p { grid-column: auto; }
  .t-hero__copy h1 { font-size: 28px; }
  .t-hero__copy .t-lead { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .up { display: grid; gap: 10px; max-width: none; margin-top: 0; }
  .up__slots { grid-column: auto; grid-row: auto; grid-template-columns: 1fr 1fr; gap: 10px; }
  .up__slot { min-height: 112px; }
  .up__ok, .up .btn, .up > p { grid-column: auto; }
  .up > p, .t-facts { display: none; }
}

/* nothing about consent, credits or price until the photos are in (user 11-26): the first step is only the photo slots */
.up__next { display: grid; gap: var(--s-4); } .up__next[hidden] { display: none; }
.chg { display: none; position: absolute; right: 10px; top: 10px; z-index: 1; height: 22px; padding: 0 8px; border-radius: 99px; align-items: center; font-size: 12px; font-weight: 500; background: rgb(15 14 12 / .72); color: #f1ece1; }
.is-filled .ghost { opacity: 1; } .is-filled .eg { display: none; } .is-filled .chg { display: inline-flex; }
.is-filled .up__plus, .is-filled > i { display: none; }
.up__slot.is-filled, .mk__slot.is-filled { border-style: solid; }
.mk__next { display: grid; gap: 16px; } .mk__next[hidden] { display: none; }
.mk__hint { color: #5a5853; font-size: 15px; }
@media (max-width: 639px) {
  .t-hero { align-items: stretch; }
  .t-hero__vid .t-vid { aspect-ratio: auto; height: 100%; }
  .up__next { gap: 10px; } .up__next > p, .up__next > .t-facts { display: none; }
  .up > p.up__hint { display: block; }
}

/* the button is always there; credits and prices only after it is pressed (guest), or on it (signed in) (user 11-26) */
.up__hint { color: var(--action); } .up__hint[hidden], .mk__hint[hidden] { display: none; }
.mk__hint { color: #9a3412; font-size: 15px; }
.mk__pane { display: grid; gap: 16px; } .mk__pane[hidden] { display: none; }
.pk { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.pk__row { display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1.5px solid rgb(15 14 12 / .2); cursor: pointer; }
.pk__row:has(input:checked) { border-color: #0f0e0c; background: rgb(15 14 12 / .05); }
.pk__row input { width: 18px; height: 18px; accent-color: #0f0e0c; }
.pk__main b { display: block; font-weight: 500; font-size: 18px; } .pk__main small { color: #5a5853; font-size: 14px; }
.pk__badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-left: 8px; border-radius: 99px; background: #f2c230; color: #0f0e0c; font-size: 12px; font-weight: 500; vertical-align: 2px; }
.pk__price { font: 500 22px/1 var(--font-display); letter-spacing: -0.02em; }
.mk__bar { height: 8px; border-radius: 99px; background: rgb(15 14 12 / .12); overflow: hidden; } .mk__bar i { display: block; width: 28%; height: 100%; border-radius: 99px; background: #0f0e0c; }
@media (max-width: 639px) { .up > p.up__hint[hidden] { display: none; } .up > .t-facts { display: none; } }

/* ================= the site build (2026-11-26): what the draft did not need ================= */
[hidden] { display: none !important; }
.vid__none { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--muted); font-size: var(--t-small); }
.find .btn.btn--secondary { background: #f1ece1; color: #0f0e0c; border-color: #f1ece1; }
.all-more { margin-top: var(--s-6); }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* long real headlines: the first screen still has to hold what the page is for */
.h-top h1 { max-width: 22ch; font-size: clamp(34px, 4.4vw, 64px); }
.h-theme .h-top h1 { max-width: 26ch; font-size: clamp(30px, 3.4vw, 50px); }
.h-theme .h-top .t-lead { max-width: 84ch; font-size: 18px; }
.h-theme .vid--card { aspect-ratio: 1 / 1.12; }
.h-theme .h-top .cats { margin: 0; }
.h-theme #all-grid { margin-top: var(--s-6); }
.t-hero__copy h1 { font-size: clamp(30px, 3.1vw, 46px); }
.t-hero__copy .t-lead { font-size: 18px; line-height: 1.45; max-width: 56ch; }
.t-hero__copy { gap: var(--s-4); }

/* cards say they can be used (theme page and "all templates"), quiet until the pointer is on them */
.tpl .card .go { font-size: var(--t-small); font-weight: 500; color: var(--muted); transition: color .2s ease; }
.tpl .card .go::after { content: "\203A"; margin-left: 6px; }
.tpl .card:hover .go, .tpl .card.is-hover .go, .tpl .card:focus-visible .go { color: var(--action); }

/* header: signed in, the balance and the account menu (static/app.js fills them) */
.nav__credits { font-variant-numeric: tabular-nums; }
.nav__me { position: relative; }
.nav__me summary { list-style: none; cursor: pointer; } .nav__me summary::-webkit-details-marker { display: none; }
.top-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 500; font-size: 15px; }
.nav__pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 220px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); display: grid; gap: 2px; box-shadow: 0 24px 48px -16px rgb(0 0 0 / .7); }
.nav__pop a, .nav__pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; }
.nav__pop a:hover, .nav__pop button:hover { background: rgb(241 236 225 / .08); }
.top-who { padding: 6px 12px 10px; color: var(--muted); font-size: var(--t-small); overflow: hidden; text-overflow: ellipsis; }
.test-badge { margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: var(--action); color: var(--action-ink); font: 500 11px/1.4 var(--font-mono); }

/* the uploader on the template page */
.up__slots.is-one { grid-template-columns: minmax(0, 320px); }
.up__ok a, .mk__ok a { text-decoration: underline; text-underline-offset: 3px; }
.up__ok.is-miss, .mk__ok.is-miss { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 6px; }
.up__slot.is-miss, .mk__slot.is-miss { border-color: var(--action); border-style: solid; }
.mk__slot.is-miss { border-color: #9a3412; }
.up__slot.is-drag, .mk__slot.is-drag { border-style: solid; }
.mk__slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t-tips { display: grid; gap: var(--s-3); font-size: var(--t-lead); line-height: 1.4; }

/* the make panel */
.mk { color-scheme: light; }
.mk__body { overflow-y: auto; max-height: calc(100svh - 48px); }
.mk__head > div { flex: 1; min-width: 0; }
.mk__thumb { flex: none; width: 54px; height: 96px; object-fit: cover; border-radius: 8px; display: none; }
.mk__sub { display: none; color: #5a5853; font-size: 14px; margin-top: 2px; }
button.mk__go { border: 0; width: 100%; font-family: inherit; cursor: pointer; }
.mk__go[disabled] { opacity: .6; cursor: default; }
.mk__in-row { display: flex; align-items: center; gap: 14px; }
.mk__ins { display: flex; gap: 8px; }
.mk__ins img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid rgb(15 14 12 / .2); }
.mk__in-row b { display: block; font-weight: 500; }
.mk__back { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: #0f0e0c; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mk__wait { display: grid; gap: 10px; }
.mk__wait input { height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgb(15 14 12 / .35); background: #fff; color: #0f0e0c; font: 400 17px/1 var(--font-text); }
.mk .form-msg { font-size: 15px; } .mk .form-msg.ok { color: #166534; } .mk .form-msg.err { color: #9a3412; }
.mk__bar i { animation: mk-bar 1.6s ease-in-out infinite alternate; }
@keyframes mk-bar { from { margin-left: 0; } to { margin-left: 72%; } }
@media (prefers-reduced-motion: reduce) { .mk__bar i { animation: none; } }

/* which video to make: the theme page's table */
.picks-wrap { border-top: 1px solid var(--line); }
.picks { width: 100%; border-collapse: collapse; text-align: left; }
.picks th, .picks td { padding: var(--s-4) var(--s-4) var(--s-4) 0; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.picks thead th { font: 400 var(--t-small)/1.4 var(--font-mono); color: var(--muted); }
.picks tbody th { font-weight: 500; white-space: nowrap; } .picks tbody th a { text-decoration: underline; text-underline-offset: 4px; }
.picks td:nth-child(2) { width: 40%; }

/* help and policy pages, the pricing page */
.doc { padding-top: calc(var(--nav-h, 72px) + var(--s-7)); }
.doc > .wrap { max-width: 820px; } .doc--wide > .wrap { max-width: 1120px; }
.doc h1 { font-size: clamp(34px, 4vw, 56px); margin-bottom: var(--s-5); }
.doc__date { margin-bottom: var(--s-6); }
.plans { margin: var(--s-6) 0 var(--s-8); }
.plans .btn { width: 100%; }
.prose { display: grid; gap: var(--s-4); font-size: 18px; line-height: 1.6; max-width: 72ch; }
.prose h2 { font: 500 28px/1.2 var(--font-display); letter-spacing: -0.02em; margin-top: var(--s-6); }
.prose h3 { font: 500 20px/1.3 var(--font-text); letter-spacing: 0; margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; } .prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font: 400 var(--t-small)/1.4 var(--font-mono); color: var(--muted); }
.table-scroll { overflow-x: auto; }
.report, .stock form.login { display: grid; gap: 10px; max-width: 520px; }
.report label { font-size: var(--t-small); color: var(--muted); margin-top: 6px; }
.report input, .report select, .report textarea, .stock input[type=email] { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 17px/1.4 var(--font-text); }
.form-msg.ok { color: #86efac; } .form-msg.err { color: var(--action); }

/* account and order pages: build.mjs's markup (static/app.js fills it) in this site's clothes */
.stock { padding-top: calc(var(--nav-h, 72px) + var(--s-7)); padding-bottom: var(--s-9); min-height: 70svh; }
.stock > .wrap { display: grid; gap: var(--s-5); max-width: 920px; }
.stock .acct-out, .stock .acct-in { display: grid; gap: var(--s-5); justify-items: start; }
.stock h1 { font-size: clamp(34px, 4vw, 56px); } .stock h2 { font: 500 24px/1.2 var(--font-display); letter-spacing: -0.02em; } .stock h3 { font: 500 18px/1.3 var(--font-text); letter-spacing: 0; margin-top: 8px; }
.stock .lede { font-size: var(--t-lead); } .stock .muted { color: var(--muted); } .stock .sticker-line { display: none; }
.stock .btn, .stock form.login button, .stock .tier-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--action); background: var(--action); color: var(--action-ink); font: 500 16px/1 var(--font-text); cursor: pointer; }
.stock .btn-ghost, .stock .btn-google { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.stock .acct-google { display: grid; gap: 12px; justify-items: start; }
.stock .acct-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gutter); width: 100%; }
.stock .acct-item { display: grid; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.stock .acct-item video, .stock .acct-ph { width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; background: #000; object-fit: cover; }
.stock .acct-ph { display: grid; place-items: center; padding: 12px; text-align: center; color: var(--muted); background: rgb(241 236 225 / .05); }
.stock .acct-meta { display: grid; gap: 6px; } .stock .acct-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; } .stock .acct-links a:not(.btn) { text-decoration: underline; font-size: var(--t-small); }
.stock .acct-progress, .stock .acct-plist { display: grid; gap: 12px; width: 100%; }
.stock .acct-busy { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.stock .acct-new { border-color: var(--action); }
.stock .order-bar { height: 8px; border-radius: 99px; background: rgb(241 236 225 / .14); overflow: hidden; } .stock .order-bar span { display: block; height: 100%; width: 6%; border-radius: 99px; background: var(--action); transition: width 1s linear; }
.stock .order { justify-items: start; } .stock .order-wait { display: grid; gap: 12px; width: 100%; }
.stock .order-done video { width: min(360px, 100%); aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: #000; }
.stock .order-dls { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; }
.stock .order-link { word-break: break-all; text-decoration: underline; }
.stock dialog.acct-dlg { width: min(520px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: 24px; background: #f1ece1; color: #0f0e0c; }
.stock dialog.acct-dlg::backdrop { background: rgb(0 0 0 / .62); }
.stock .acct-dlg > * + * { margin-top: 12px; } .stock .acct-dlg .muted { color: #5a5853; } .stock .acct-dlg a { text-decoration: underline; }
.stock .acct-bal strong { font: 500 40px/1 var(--font-display); letter-spacing: -0.03em; }
.stock .ps-close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(15 14 12 / .08); font-size: 22px; cursor: pointer; }
.stock .acct-buy { display: grid; gap: 8px; } .stock .acct-buy .tier-buy { justify-content: space-between; background: #0f0e0c; border-color: #0f0e0c; color: #f1ece1; width: 100%; }
.stock .acct-ledger { list-style: none; padding: 0; margin: 0; display: grid; } .stock .acct-ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgb(15 14 12 / .12); }
.stock .acct-ledger small { display: block; } .stock .cr-plus { color: #166534; font-weight: 500; } .stock .cr-minus { font-weight: 500; }
.stock .acct-added { padding: 10px 14px; border-radius: 10px; background: #f2c230; }
.stock .acct-dlg .btn { background: #0f0e0c; border-color: #0f0e0c; color: #f1ece1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------------- phones, portrait: the make panel is a sheet from the bottom ---------------- */
@media (max-width: 719px) and (orientation: portrait) {
  .mk { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92svh; }
  .mk__in { grid-template-columns: 1fr; } .mk__vid { display: none; }
  .mk__body { padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); gap: 14px; max-height: 92svh; }
  .mk__head { align-items: center; gap: 12px; } .mk__head h2 { font-size: 22px; line-height: 1.15; }
  .mk__thumb:not([hidden]) { display: block; } .mk__sub { display: block; }
  .mk__line { font-size: 16px; } #mk-form > .mk__line { display: none; }
  .mk__slot { min-height: 168px; padding: 56px 14px 14px; } .mk__go { height: 52px; font-size: 17px; }
  .mk__foot { font-size: 13px; }
  .pk__row { padding: 12px 14px; gap: 12px; } .pk__main b { font-size: 17px; } .pk__main small { font-size: 13px; } .pk__price { font-size: 19px; }
  /* the template page: example on top, the two slots, the button: all on the first screen */
  .t-hero__vid { height: 34svh; }
  .t-hero__copy .t-lead { font-size: 15px; line-height: 1.4; -webkit-line-clamp: unset; display: block; overflow: visible; }
  .t-hero__copy h1 { font-size: 24px; line-height: 1.12; }
  .up__slot { min-height: 124px; padding: 50px 12px 12px; }
  .up__slot > .up__plus { width: 30px; height: 30px; left: 10px; top: 10px; }
  .up__slot .eg { display: inline-flex; right: 8px; top: 8px; height: 20px; font-size: 11px; }
  .up__slot small { display: block; font-size: 12px; line-height: 1.3; }
  .up__slots.is-one { grid-template-columns: 1fr; }
  .picks thead { display: none; } .picks, .picks tbody, .picks tr, .picks th, .picks td { display: block; width: auto; }
  .picks tr { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); } .picks th, .picks td { border: 0; padding: 2px 0; } .picks td:nth-child(2) { width: auto; }
  .picks td::before { content: attr(data-l) ": "; color: var(--muted); font-size: var(--t-small); }
  .picks tbody th { font-size: 20px; padding-bottom: 6px; white-space: normal; }
  .prose { font-size: 17px; }
  .tpl .card .go { display: none; }
}

/* ---------------- phones, portrait: the home and theme pages open as a feed ---------------- */
.fd, .fd-bar { display: none; }
@media (max-width: 719px) and (orientation: portrait) {
  html.feed-on, html.feed-on body { overflow: hidden; height: 100%; }
  body[data-bar] { --tab: 60px; }
  body[data-bar] .footer { padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
  .fd-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, 1fr); background: #0f0e0c; border-top: 1px solid rgb(241 236 225 / .16); }
  .fd-bar a { display: grid; place-items: center; align-content: center; gap: 3px; font-size: 12px; color: #a8a297; }
  .fd-bar a.is-on { color: #f1ece1; } .fd-bar svg { width: 22px; height: 22px; }
  html.feed-on .fd { display: block; position: fixed; inset: 0; z-index: 50; background: #000; color: #f1ece1; }
  .fd__feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; } .fd__feed::-webkit-scrollbar { display: none; }
  .fd-post { position: relative; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
  .fd-post > img, .fd-post > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
  .fd-post::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgb(15 14 12 / .62), rgb(15 14 12 / 0) 20%, rgb(15 14 12 / 0) 62%, rgb(15 14 12 / .78) 92%, rgb(15 14 12 / .9)); }
  .fd-top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; padding: calc(12px + env(safe-area-inset-top)) 16px 0; display: grid; gap: 10px; }
  .fd-top__bar { display: flex; align-items: center; justify-content: space-between; height: 44px; }
  .fd-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
  .fd-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(15 14 12 / .45); color: #f1ece1; } .fd-icon svg { width: 20px; height: 20px; }
  .fd-tabs { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; font-size: 16px; font-weight: 500; } .fd-tabs::-webkit-scrollbar { display: none; }
  .fd-tabs a { flex: none; padding: 6px 0 8px; color: rgb(241 236 225 / .72); border-bottom: 2px solid transparent; } .fd-tabs a.is-on { color: #f1ece1; border-color: #f1ece1; }
  .fd-info { position: absolute; z-index: 2; left: 16px; right: 64px; bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 14px); display: grid; gap: 8px; justify-items: start; }
  .fd-pins { display: flex; gap: 6px; align-items: flex-end; }
  .fd-pins img { width: 40px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 16%; border-radius: 5px; border: 1.5px solid #f1ece1; }
  .fd-pins span { font-size: 12px; color: rgb(241 236 225 / .8); padding-bottom: 1px; }
  .fd-name { margin: 0; font: 500 18px/1.2 var(--font-text); letter-spacing: -0.01em; }
  .fd-line { margin: -4px 0 0; font-size: 14px; line-height: 1.4; color: rgb(241 236 225 / .86); }
  /* watch first (user 2026-11-26): a quiet pill while the clip plays; once it has played through it becomes the gold button */
  .fd-make { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 500; font-size: 15px; background: rgb(15 14 12 / .5); color: #f1ece1; border: 1px solid rgb(241 236 225 / .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .35s ease, color .35s ease, border-color .35s ease, padding .35s ease; }
  .fd-make svg { width: 12px; height: 12px; } .fd-make .long { display: none; }
  .fd-post.is-ready .fd-make { background: #f2c230; color: #0f0e0c; border-color: #f2c230; padding: 0 22px; height: 48px; font-size: 16px; }
  .fd-post.is-ready .fd-make .short { display: none; } .fd-post.is-ready .fd-make .long { display: inline; }
  .fd-swipe { position: absolute; z-index: 2; right: 14px; bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 18px); writing-mode: vertical-rl; font-size: 12px; color: rgb(241 236 225 / .7); transition: opacity .3s ease; }
  html.fd-moved .fd-swipe { opacity: 0; }
  .fd-dots { position: absolute; z-index: 3; right: 8px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; }
  .fd-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgb(241 236 225 / .4); } .fd-dots i.is-on { height: 16px; border-radius: 2px; background: #f1ece1; }
}

/* ---------------- phones, landscape (844 x 390): everything still fits a short, wide screen ---------------- */
@media (orientation: landscape) and (max-height: 520px) {
  .hero.h-wall, .hero.h-theme, .hero.t-page { min-height: 0; height: auto; padding-top: calc(var(--nav-h, 64px) + 12px); padding-bottom: 24px; }
  .h-top { gap: 8px; } .h-top h1, .h-theme .h-top h1 { font-size: 24px; max-width: none; } .h-top .t-lead { display: none; }
  .find { height: 48px; margin-top: 4px; width: min(560px, 100%); } .find input { font-size: 16px; }
  .cats { flex-wrap: nowrap; } .chip { height: 34px; font-size: 14px; }
  .trend { margin-top: 16px; } .trend__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .tcard { grid-template-columns: 52px 1fr; gap: 10px; padding: 8px; } .tcard .vid { aspect-ratio: 1 / 1; } .tcard .vid__play { display: none; } .tcard b { font-size: 15px; } .tcard small, .tcard .go { display: none; }
  .wall { grid-template-columns: repeat(14, minmax(0, 1fr)); } .wall__col:nth-child(n+15) { display: none; } .wall__col:nth-child(n+11) { display: flex; }
  .h-theme #all-grid, .tpl .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .h-theme #all-grid > .card, .tpl .grid > .card { grid-column: auto; --c-pad: 10px; }
  .vid--card, .h-theme .vid--card { aspect-ratio: 16 / 10; --pin: 30px; } .tpl .card > p, .tpl .card .go { display: none; } .tpl .card h3 { font-size: 15px; } .tpl .card { gap: 6px; } .tpl .card > .vid { margin-bottom: 0; }
  /* template page: the example on the left at screen height, title, slots and button on the right */
  .t-hero { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; height: auto; align-items: start; }
  .t-hero__vid { grid-column: 1; grid-row: 1; margin: 0; height: calc(100svh - var(--nav-h, 64px) - 36px); aspect-ratio: 9 / 16; flex: none; }
  .t-vid { border-radius: 14px; height: 100%; }
  .t-hero__copy { grid-column: 2; grid-row: 1; display: grid; gap: 8px; }
  .t-hero__copy > .pill, .t-hero__copy .t-lead, .t-facts { display: none; }
  .t-hero__copy h1 { font-size: 22px; line-height: 1.15; }
  .up { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; max-width: none; }
  .up__slots { grid-template-columns: 1fr 1fr; gap: 10px; } .up__slots.is-one { grid-template-columns: minmax(0, 260px); }
  .up__slot { min-height: 104px; padding: 44px 10px 10px; } .up__slot small { font-size: 12px; line-height: 1.3; } .up__slot > .up__plus { width: 28px; height: 28px; left: 10px; top: 10px; }
  .up .btn { min-height: 44px; }
  /* the make panel: example left, the steps right, the button always reachable */
  .mk { width: min(820px, calc(100% - 24px)); max-height: calc(100svh - 16px); border-radius: 18px; }
  .mk__in { grid-template-columns: auto 1fr; } .mk__vid { min-height: 0; height: calc(100svh - 16px); aspect-ratio: 9 / 16; }
  .mk__body { padding: 14px 18px; gap: 10px; max-height: calc(100svh - 16px); }
  .mk__head h2 { font-size: 22px; } .mk__x { width: 40px; height: 40px; }
  .mk__line { font-size: 15px; } #mk-form > .mk__line { display: none; }
  .mk__slot { min-height: 108px; padding: 44px 10px 10px; } .mk__slot small { font-size: 12px; } .mk__slot > i { width: 28px; height: 28px; left: 10px; top: 10px; }
  .mk__go { height: 44px; font-size: 16px; } .mk__foot { font-size: 13px; }
  .pk { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pk__row { grid-template-columns: 1fr; gap: 4px; padding: 10px 12px; align-content: start; } .pk__row input { position: absolute; opacity: 0; } .pk__main b { font-size: 15px; } .pk__main small { font-size: 12px; line-height: 1.3; display: block; } .pk__price { font-size: 18px; } .pk__badge { margin-left: 0; display: flex; width: fit-content; }
  .mk__in-row { gap: 10px; } .mk__ins img { width: 30px; height: 40px; border-radius: 6px; }
  .doc, .stock { padding-top: calc(var(--nav-h, 64px) + 20px); }
}

/* a slot with your photo in it: the photo is the content, only its name stays on it */
.is-filled > small { display: none; }
.up__slot.is-filled::after { inset: 62% 0 0 0; background: linear-gradient(rgb(15 14 12 / 0), rgb(15 14 12 / .82)); }
.mk__slot.is-filled::after { inset: 62% 0 0 0; background: linear-gradient(rgb(15 14 12 / 0), rgb(15 14 12 / .82)); }
.mk__slot.is-filled > b { color: #f1ece1; }
.mk__head h2:focus { outline: none; }
.pk__price { display: grid; justify-items: end; gap: 4px; } .pk__price small { font: 500 12px/1 var(--font-text); letter-spacing: 0; color: #5a5853; }
.plans .btn--secondary { border: 1px solid var(--line-strong); }
.plan-per span { display: block; color: var(--action); margin-top: 2px; }
@media (orientation: landscape) and (max-height: 520px) { #mk-pay > .mk__line { display: none; } .pk__price { justify-items: start; } }
/* sections below the first screen are as tall as what is in them (the kit's one-section-per-screen rule left half-empty screens) */
main > .section:not(.hero) { height: auto; min-height: 0; padding-block: clamp(48px, 7vw, 96px); }
main > .section:not(.hero) > .wrap { height: auto; }
main > .section:not(.hero) > .wrap > .fill { flex: none; }
main > .section.doc { padding-top: calc(var(--nav-h, 72px) + var(--s-7)); min-height: 70svh; }
footer.closing { height: auto; min-height: 0; }
footer.closing > .wrap { height: auto; }
.closing__links { margin-top: var(--s-8); }
.stack-5 > p:not(.t-lead) { font-size: 17px; line-height: 1.55; max-width: 60ch; }

/* ---- after the review of the built pages (2026-11-26) ---- */
.all-none { text-align: center; }
.t-facts li::before { color: var(--muted); }
.up__slots.is-one { grid-template-columns: 1fr; }
.plan-per { min-height: 3.2em; }
.doc > .wrap, .doc--wide > .wrap, .stock > .wrap { max-width: none; }
.stock .acct-out, .stock .acct-in, .stock .order { max-width: 920px; }
/* on the template's own page the panel is only the steps: the example is playing on the page behind it */
.mk.is-solo { width: min(560px, calc(100% - 48px)); } .mk.is-solo .mk__in { grid-template-columns: 1fr; } .mk.is-solo .mk__vid { display: none; }
.fd-what { display: none; }
@media (min-width: 640px) and (max-width: 1023px) {
  .tpl .grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .tpl .grid > .card { grid-column: auto !important; }
}
@media (max-width: 719px) and (orientation: portrait) {
  /* template page: the example whole (9:16) beside the title; slots and button under it, on the first screen of a short phone too */
  .hero.t-page { padding-top: calc(var(--nav-h, 56px) + 12px); }
  .t-hero { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; row-gap: 10px; height: auto; align-items: start; align-content: start; }
  .t-hero__vid { grid-column: 1; grid-row: 1 / span 2; margin: 0; height: auto; aspect-ratio: 9 / 16; }
  .t-hero__vid .t-vid { border-radius: 12px; height: 100%; aspect-ratio: auto; }
  .t-hero__vid .mk__snd { width: 32px; height: 32px; right: 6px; bottom: 6px; }
  .t-hero__copy { display: contents; }
  .t-hero__copy h1 { grid-column: 2; grid-row: 1; font-size: 21px; line-height: 1.14; }
  .t-hero__copy .t-lead { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.4; }
  .up { grid-column: 1 / -1; grid-row: 3; }
  .up__slot { min-height: 112px; }
  .th-hero .card > p { display: block; font-size: 13px; line-height: 1.35; }
  .stack-5 { margin-top: var(--s-6); }
  .plans .is-featured { order: -1; }
  /* the only list of templates on a small site: a column, not a strip to swipe */
  .trend--only .trend__row { display: grid; grid-template-columns: 1fr; width: auto; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .trend--only .tcard { width: auto; }
  /* the feed says once what this is; it leaves with the first swipe */
  .fd-what { display: block; margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: rgb(241 236 225 / .92); text-shadow: 0 1px 8px rgb(0 0 0 / .6); transition: opacity .3s ease; }
  html.fd-moved .fd-what { opacity: 0; }
  /* the pack step on a short phone: everything down to the button without scrolling */
  .mk__thumb:not([hidden]) { width: 44px; height: 78px; }
  #mk-pay { gap: 10px; } .pk { gap: 8px; } .pk__row { padding: 10px 14px; }
  .mk__ins img { width: 36px; height: 48px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .tpl .grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } .tpl .grid > .card { grid-column: auto !important; }
  .inout { max-width: 440px; padding: 16px; }
  .pk__row { grid-template-rows: 1fr auto; } .pk__row:has(input:checked) { box-shadow: inset 0 0 0 1.5px #0f0e0c; }
  .up__slots.is-one { grid-template-columns: 1fr; }
}

/* fewer than four templates: the row is as many columns as there are cards, in the middle of the page */
@media (min-width: 1024px) {
  .trend__row[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trend__row[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; } .trend__row[data-n="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .h-theme #all-grid[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; } .h-theme #all-grid[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; } .h-theme #all-grid[data-n="1"] { grid-template-columns: minmax(0, 300px); justify-content: center; }
  .h-theme #all-grid[data-n="3"] > .card, .h-theme #all-grid[data-n="2"] > .card, .h-theme #all-grid[data-n="1"] > .card { grid-column: auto; }
}
/* short desktop windows (user 11-28: Trending now cut in half at about 1000 x 640): the kit holds a hero to exactly one screen
   and .h-wall / .h-theme hide what overflows (the moving wall), so cards past the fold were cut off. Here the home and theme
   heroes are at least the first screen and grow with their content, as on phones; at full height nothing changes.
   (Short landscape phones keep their own rule above.) */
@media (min-width: 640px) and (min-height: 521px) {
  main > .hero:is(.h-wall, .h-theme) { height: auto; min-height: 100vh; min-height: 100svh; }
  main > .hero:is(.h-wall, .h-theme) > .wrap { height: auto; }
}
@media (orientation: landscape) and (max-height: 520px) { .trend__row[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } .h-theme #all-grid[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/* the logo (user 2026-11-26): 32 px high on wide screens, 28 px on phones (42 and 36 read too big in the real header), never under 28. The y's tail hangs below the line,
   so the picture sits a little higher (6% of its height): the yellow shape then has about the same room above and below, and
   "Motion" stays on the line of the menu words. (The kit's 14% left 5 px above and 15 px below in this low bar.) */
.nav__logo img.logo__img, img.logo__img { display: block; height: 32px; width: auto; max-width: none; transform: translateY(-6%); }
.footer__mark img.logo__img { height: 56px; transform: none; }
@media (max-width: 719px), (orientation: landscape) and (max-height: 520px) { .nav__logo img.logo__img, img.logo__img { height: 28px; } .footer__mark img.logo__img { height: 44px; } }
.fd-logo img.logo__img { height: 28px; }
/* a lower header (user 2026-11-26: the space above and below the logo made the bar tall): 52 px on wide screens, 48 px on phones; no button in it */
:root { --nav: 52px; }
@media (max-width: 639px) { :root { --nav: 48px; } }
@media (orientation: landscape) and (max-height: 520px) { :root { --nav: 48px; } }
.nav__toggle { width: 40px; height: 40px; }

/* the consent line under the button (content/notice.json): small, quiet, never a box to tick */
.up__notice { color: #c9c3b6; font-size: 13px; line-height: 1.45; max-width: 60ch; }
.up__notice a { color: var(--ink); }
.up__notice a, .mk__notice a { text-decoration: underline; text-underline-offset: 3px; }
.mk__notice { color: #5a5853; font-size: 13px; line-height: 1.45; }
@media (max-width: 719px) and (orientation: portrait) { .up > p.up__notice { display: block; font-size: 13px; } }
@media (orientation: landscape) and (max-height: 520px) { .up__notice, .mk__notice { font-size: 12px; line-height: 1.35; } }

/* ---- after the three reviews of 2026-11-27 ---- */
/* an illustration says it is one (templates with no clip made on this site yet) */
.vid__tag { position: absolute; left: 10px; top: 10px; z-index: 2; height: 22px; padding: 0 8px; border-radius: 99px; background: rgb(15 14 12 / .74); color: #f1ece1; font: 500 12px/22px var(--font-text); letter-spacing: 0; }
.mk__vid .vid__tag { left: 14px; top: 14px; }
/* the photo slot: the faded picture is an example and says so; the pill says what to do; your own photo shows whole */
.ghost { opacity: .26; }
.eg { height: 24px; padding: 0 10px; font-size: 12.5px; }
.up__slot > .up__plus, .mk__slot > i { width: auto; height: 32px; padding: 0 13px 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--font-text); font-style: normal; }
.up__slot > .up__plus svg, .mk__slot > i svg { width: 12px; height: 12px; flex: none; }
.is-filled .ghost { opacity: 1; object-fit: contain; object-position: 50% 50%; background: #0b0a09; }
.up__slot.is-filled::after, .mk__slot.is-filled::after { inset: 70% 0 0 0; }
.up__slot.is-miss, .mk__slot.is-miss { border-color: var(--line-strong); border-style: dashed; }
.mk__slot.is-miss { border-color: rgb(15 14 12 / .35); }

@media (max-width: 719px) and (orientation: portrait) {
  /* the make panel is a sheet across the whole width, on the template's own page too */
  .mk, .mk.is-solo { width: 100%; max-width: 100%; margin: auto 0 0; }
  /* template page: the example fills the top of the screen, the title sits on it, then the slot, the button and its line */
  .hero.t-page { padding-top: var(--nav); }
  .t-hero { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .t-hero__vid { grid-column: 1; grid-row: 1; margin: 0 calc(-1 * var(--gut, 24px)); aspect-ratio: auto; height: clamp(220px, calc(100svh - var(--nav) - 292px), 520px); position: relative; }
  .t-hero__vid .t-vid { border-radius: 0; height: 100%; }
  .t-hero__vid .t-vid video, .t-hero__vid .t-vid .vid__f { object-position: 50% 30%; }
  .t-hero__vid::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(rgb(15 14 12 / 0), rgb(15 14 12 / .9)); pointer-events: none; }
  .t-hero__vid .mk__snd { z-index: 3; width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .t-hero__copy h1 { grid-column: 1; grid-row: 1; align-self: end; position: relative; z-index: 2; padding: 0 52px 12px 0; font-size: 22px; line-height: 1.14; pointer-events: none; text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
  .up { grid-column: 1; grid-row: 2; }
  .t-hero__copy .t-lead { grid-column: 1; grid-row: 3; font-size: 15px; }
  .up > .t-facts { display: flex; gap: 4px 14px; font-size: 12px; margin: 0; }
  .up__slot { min-height: 108px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  /* cards in a short, wide screen: the picture keeps its upright shape beside the words, nobody's face is cut off */
  .tpl .grid > .card { display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: 12px; align-items: center; align-content: center; }
  .tpl .card > .vid { grid-row: 1 / span 3; margin: 0; }
  .vid--card, .h-theme .vid--card { aspect-ratio: 3 / 4; }
  .tpl .card .vid__pins, .tpl .card .vid__play, .tpl .card .vid__tag { display: none; }
  .tpl .card > p { display: block; font-size: 12px; line-height: 1.3; }
  .tpl .card .go { display: none; }
  .vid--card .vid__f { object-position: 50% 24%; }
  /* pricing: the three packs side by side with their buttons on the first screen */
  .doc h1 { font-size: 22px; margin-bottom: 8px; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px; margin: 6px 0 24px; }
  .plans > .card { grid-column: auto !important; --c-pad: 12px; gap: 6px; }
  .plans .checks { display: none; } .plans .t-stat { font-size: 24px; } .plan-per { min-height: 0; font-size: 12px; } .plans .btn { height: 40px; }
}
/* the feed: the same tag on a still */
.fd-tag { display: none; }
@media (max-width: 719px) and (orientation: portrait) { .fd-tag { display: block; position: absolute; z-index: 2; left: 16px; top: calc(env(safe-area-inset-top) + 176px); height: 22px; padding: 0 8px; border-radius: 99px; background: rgb(15 14 12 / .6); color: #f1ece1; font: 500 12px/22px var(--font-text); } }
/* with your photo in: no "Add photo", no "Example photo" */
.up__slot.is-filled > .up__plus, .mk__slot.is-filled > i, .up__slot.is-filled .eg, .mk__slot.is-filled .eg { display: none !important; }

.faq a, .prose a { text-decoration: underline; text-underline-offset: 3px; }

/* how many people are in the photo (templates that ask): one row of numbers under the photo slot */
.cnt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.cnt__q { font-weight: 500; font-size: 15px; }
.cnt__opts { display: flex; gap: 8px; }
.cnt__opt { position: relative; cursor: pointer; }
.cnt__opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cnt__opt span { display: grid; place-items: center; width: 46px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 500; font-variant-numeric: tabular-nums; }
.cnt__opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cnt__opt input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.cnt small { flex-basis: 100%; color: var(--muted); font-size: 13px; line-height: 1.35; }
.cnt.is-miss .cnt__opt span { border-color: var(--action); }
.mk .cnt__opt span { border-color: rgb(15 14 12 / .35); } .mk .cnt__opt input:checked + span { background: #0f0e0c; color: #f1ece1; border-color: #0f0e0c; }
.mk .cnt small { color: #5a5853; } .mk .cnt.is-miss .cnt__opt span { border-color: #9a3412; }
@media (max-width: 719px) and (orientation: portrait) {
  .cnt { gap: 4px 12px; } .cnt__q { font-size: 14px; } .cnt__opt span { width: 44px; height: 38px; } .cnt small { font-size: 12px; }
  /* the page with the question has one more row under the photo: the example gives up that much height */
  .t-hero:has(.up.has-count) .t-hero__vid { height: clamp(200px, calc(100svh - var(--nav) - 372px), 480px); }
}
@media (orientation: landscape) and (max-height: 520px) { .cnt small { display: none; } .cnt__q { font-size: 13px; } .cnt__opt span { width: 42px; height: 34px; } .up.has-count .up__slot { min-height: 84px; } }
/* ---------- the template page (user 11-27, direction C): every template, large, on the first screen ---------- */
main > .section.h-lib { padding-top: calc(var(--nav) + 40px); padding-bottom: 72px; }
.h-lib .h-top { gap: 12px; }
.h-lib .h-top h1 { max-width: none; font-size: clamp(30px, 3.1vw, 44px); }
.h-lib .h-top .t-lead { max-width: 84ch; font-size: 18px; }
.big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.big[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; } .big[data-n="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
.bcard { display: block; min-width: 0; text-align: left; }
.vid--big { aspect-ratio: 4 / 5; max-height: calc(100svh - 392px); min-height: 240px; width: 100%; border-radius: 20px; --pin: 64px; }
.vid--big .vid__f { object-position: 50% 26%; }
.vid__len { position: absolute; right: 14px; bottom: 14px; z-index: 2; height: 24px; padding: 0 9px; border-radius: 6px; background: rgb(15 14 12 / .62); color: #f1ece1; font: 500 12px/24px var(--font-text); display: inline-flex; align-items: center; gap: 5px; }
.vid__len::before { content: ""; border-left: 6px solid currentColor; border-block: 4px solid transparent; }
.bcard__txt { display: block; margin-top: 16px; }
.bcard b { display: block; font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.bcard small { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.bcard .go { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.bcard .go::after { content: "\203A"; margin-left: 6px; }
.bcard:hover .go, .bcard.is-hover .go, .bcard:focus-visible .go { color: var(--action); }
.bcard .vid { transition: transform .3s ease; } .bcard:hover .vid, .bcard.is-hover .vid { transform: translateY(-3px); }
.h-on { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 36px; } .h-on__l { color: var(--muted); font-size: 15px; margin-right: 4px; } .h-on .chip span { margin-left: 8px; color: var(--muted); font-variant-numeric: tabular-nums; } .h-on .link { margin-left: auto; }
.lib-tools { align-items: center; margin: 28px 0 0; } .lib-tools .cats { justify-content: flex-start; }
.bcard[hidden] { display: none; }
.find--sm { width: 280px; height: 44px; margin: 0; padding: 0 16px; gap: 10px; } .find--sm input { font-size: 15px; } .find--sm svg { width: 16px; height: 16px; }
@media (max-width: 719px) and (orientation: portrait) {
  main > .section.h-lib { padding-top: calc(var(--nav) + 16px); padding-bottom: 32px; }
  .h-lib .h-top { justify-items: start; text-align: left; gap: 6px; } .h-lib .h-top h1 { font-size: 24px; } .h-lib .h-top .t-lead { font-size: 15px; }
  .big, .big[data-n="2"], .big[data-n="1"] { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .bcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 18px; background: rgb(241 236 225 / .05); }
  .vid--big { aspect-ratio: 3 / 4; max-height: none; min-height: 0; border-radius: 12px; } .bcard:hover .vid { transform: none; }
  .vid__len { right: 6px; bottom: 6px; height: 20px; padding: 0 7px; font-size: 11px; line-height: 20px; } .bcard .vid__pins { display: none; }
  .bcard .vid__tag { left: 6px; top: 6px; height: 18px; padding: 0 6px; font-size: 10px; line-height: 18px; }
  .bcard__txt { margin: 0; } .bcard b { font-size: 18px; } .bcard small { font-size: 14px; margin-top: 4px; } .bcard .go { font-size: 14px; margin-top: 10px; color: var(--action); }
  .h-on { margin-top: 20px; }
  .lib-tools { gap: 12px; margin: 16px 0 0; } .find--sm { width: 100%; order: -1; }
}
@media (orientation: landscape) and (max-height: 520px) {
  main > .section.h-lib { padding-top: calc(var(--nav) + 12px); padding-bottom: 24px; }
  .h-lib .h-top { justify-items: start; text-align: left; } .h-lib .h-top h1 { font-size: 22px; } .h-lib .h-top .t-lead { display: none; }
  .big { gap: 12px; margin-top: 12px; }
  .bcard { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: rgb(241 236 225 / .05); }
  .vid--big { aspect-ratio: 3 / 4; max-height: none; min-height: 0; border-radius: 10px; } .bcard:hover .vid { transform: none; }
  .vid__len { right: 6px; bottom: 6px; height: 20px; padding: 0 7px; font-size: 11px; line-height: 20px; } .bcard .vid__pins { display: none; }
  .bcard .vid__tag { left: 6px; top: 6px; height: 18px; padding: 0 6px; font-size: 10px; line-height: 18px; }
  .bcard__txt { margin: 0; } .bcard b { font-size: 16px; } .bcard small { font-size: 12px; margin-top: 4px; } .bcard .go { font-size: 12.5px; margin-top: 8px; white-space: nowrap; color: var(--action); }
  .lib-tools { margin: 10px 0 0; } .find--sm { width: 200px; height: 36px; }
}
/* phones: the menu's last row (Log in) sits above the app bar, not under it (review 2026-11-27) */
@media (max-width: 719px) and (orientation: portrait) { body[data-bar] .nav.is-open .nav__actions { bottom: calc(var(--tab) + env(safe-area-inset-bottom)); } }
/* the page's closing block (user 2026-11-27: the button that ran the whole width was too heavy): the words on the left, an
   ordinary button on the right; on a phone the button sits under the words, as wide as they are */
.closing__cta.close--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--s-6); }
.close__go { flex: none; height: 56px; padding-inline: 28px; gap: 10px; font: 500 18px/1 var(--font-text); letter-spacing: 0; }
@media (max-width: 719px) and (orientation: portrait) { .closing__cta.close--row { flex-direction: column; align-items: stretch; gap: var(--s-5); } .close__go { height: 48px; justify-content: center; } }
@media (orientation: landscape) and (max-height: 520px) { .close__go { height: 48px; font-size: 16px; padding-inline: 22px; } }
/* template cards (user 2026-11-27): the name is the link to the template's own page and looks like one on every screen;
   the rest of the card opens the maker */
.bcard[data-make], .tcard[data-make], .card[data-make] { cursor: pointer; }
.nm { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: rgb(241 236 225 / .4); transition: text-decoration-color .2s ease; }
.nm:hover, .nm:focus-visible { text-decoration-color: currentColor; }
button.go { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }

/* Sign-in card (2026-11-27): centred, one column, every control full width; the signed-in view is unchanged. */
.stock .acct-out { justify-self: center; width: min(440px, 100%); justify-items: stretch; gap: var(--s-4); text-align: center;
  padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 36px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.stock .acct-out h1 { font-size: clamp(32px, 3.4vw, 44px); }
.stock .acct-out .lede { font-size: 17px; color: var(--muted); margin-top: -8px; }
.stock .acct-out .acct-google { justify-items: stretch; gap: var(--s-4); }
.stock .acct-out .btn-google { width: 100%; min-height: 52px; }
.stock .acct-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.stock .acct-or::before, .stock .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.stock .acct-out form.login { max-width: none; width: 100%; }
.stock .acct-out form.login input, .stock .acct-out form.login button { width: 100%; min-height: 52px; }
.stock .acct-out form.login input { text-align: left; }
.stock .acct-out > .muted { font-size: 14px; line-height: 1.5; }

/* Signed in, no videos yet (2026-11-27): one card with the templates to start from. */
.stock .acct-empty { width: 100%; display: grid; gap: var(--s-5); justify-items: start; padding: clamp(20px, 4vw, 32px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.stock .acct-empty__t { font: 500 26px/1.2 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.stock .acct-picks { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.stock .acct-pick { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.stock .acct-pick:hover, .stock .acct-pick:focus-visible { border-color: var(--action); }
.stock .acct-pick img, .stock .acct-pick__ph { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: #000; }
.stock .acct-pick b { display: block; font-weight: 500; line-height: 1.3; } .stock .acct-pick small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* Admins see a way into the admin next to the title. */
.stock .acct-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.stock .acct-admin { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Trending now waits for /api/home before showing cards (only templates the admin put on the home page). */
.trend[data-home-pending] .tcard { visibility: hidden; }

/* Sound button (2026-11-27): a crossed-out speaker while muted, sound waves when on; it reacts to hover and press. */
.mk__snd { cursor: pointer; transition: background-color .15s, transform .15s; }
.mk__snd:hover { background: rgb(15 14 12 / .85); transform: scale(1.08); }
.mk__snd:active { transform: scale(.96); }
.mk__snd:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.mk__snd .snd-on, .mk__snd.is-on .snd-off { display: none; }
.mk__snd.is-on .snd-on { display: inline; }
.mk__snd.is-on { background: var(--action); color: var(--action-ink); }

/* Upload consent (2026-11-27): shown once, right after the first photo is chosen. */
.up-ok { width: min(520px, calc(100% - 32px)); padding: 32px 28px 24px; border: 0; border-radius: 24px; background: #f1ece1; color: #0f0e0c; }
.up-ok::backdrop { background: rgb(0 0 0 / .62); }
.up-ok h2 { font: 500 24px/1.25 var(--font-display); letter-spacing: -0.02em; margin: 0 32px 14px 0; }
.up-ok p { font-size: 16px; line-height: 1.55; color: #3d3b37; margin: 0 0 14px; }
.up-ok .up-ok__by { margin: 18px 0 8px; color: #0f0e0c; }
.up-ok__docs { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.up-ok__docs li { display: flex; align-items: center; gap: 10px; }
.up-ok__docs li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0f0e0c; color: #f1ece1; font-size: 12px; flex: none; }
.up-ok__docs a { color: #0f0e0c; text-decoration: underline; text-underline-offset: 3px; }
.up-ok__go { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.up-ok__go button { min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 16px/1 var(--font-text); cursor: pointer; }
.up-ok__no { background: transparent; border: 1px solid rgb(15 14 12 / .2); color: #0f0e0c; }
.up-ok__yes { background: #0f0e0c; border: 1px solid #0f0e0c; color: #f1ece1; }
.up-ok__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(15 14 12 / .08); font-size: 22px; cursor: pointer; color: #0f0e0c; }
@media (max-width: 480px) { .up-ok__go button { flex: 1; } }

/* Small print by the pay buttons (2026-11-27, instead of Stripe's consent box). */
.mk__terms { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: rgb(15 14 12 / .6); text-align: center; }
.mk__terms a, .plans-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.plans-terms { margin-top: var(--s-4); font-size: 14px; color: var(--muted); text-align: center; }

/* Order popup (2026-11-27): drawn only when someone tries to pay while new orders are paused; its words come from /api/hold. */
.hold { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 32px 28px 26px; border: 0; border-radius: 24px; background: #f1ece1; color: #0f0e0c; }
.hold::backdrop { background: rgb(0 0 0 / .62); }
.hold h2 { font: 500 26px/1.2 var(--font-display); letter-spacing: -0.02em; margin: 0 40px 12px 0; }
.hold__t { font-size: 16px; line-height: 1.55; color: #3d3b37; margin: 0 0 20px; }
.hold__f { display: grid; gap: 10px; }
.hold__f input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgb(15 14 12 / .2); background: #fff; color: #0f0e0c; font: 400 17px/1.4 var(--font-text); }
.hold__f button { min-height: 52px; border-radius: 999px; border: 0; background: #0f0e0c; color: #f1ece1; font: 500 17px/1 var(--font-text); cursor: pointer; }
.hold__f button:disabled { opacity: .6; cursor: default; }
.hold__f[hidden] { display: none; }
.hold__msg { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: #3d3b37; }
.hold__msg:empty { display: none; }
.hold__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(15 14 12 / .08); font-size: 22px; cursor: pointer; color: #0f0e0c; }
@media (min-width: 720px) and (min-height: 500px) { .hold__f { grid-template-columns: 1fr auto; } .hold__f button { padding: 0 24px; } }
@media (max-height: 480px) { .hold { padding: 20px 22px 18px; } .hold h2 { font-size: 22px; margin-bottom: 8px; } .hold__t { margin-bottom: 12px; font-size: 15px; } .hold__f { grid-template-columns: 1fr auto; } .hold__f input, .hold__f button { min-height: 46px; } .hold__f button { padding: 0 20px; } }
