/* The reel: one card fills the screen, and the picture gets the whole card.
   Loaded after app.css, which brings the font and the colours. */

.reel-page { height: 100vh; height: 100dvh; overflow: hidden; overscroll-behavior: none; }
.reel-page #app { height: 100%; }
.reel-noscript { position: fixed; inset: auto 0 0; padding: 16px; text-align: center; background: var(--bg); }

/* Colour fields. A card with no picture of its own sits on one flat colour.
   Text on every field is at least 4.5 to 1. */
.stage, .rc, .reel-steps, .reel-menu, .reel-sheet {
  --field: #E8E8E3; --on: #222124; --on2: #4C4B50; --hair: rgba(34, 33, 36, .26);
  --tray: 100px;                                              /* how tall the tray of links and kinds is */
  --pic-top: calc(64px + env(safe-area-inset-top));           /* where a drawn picture may start */
  --label: rgba(34, 33, 36, .8);                              /* the flat backing behind words on a picture */
}
[data-field=sand] { --field: #EADCC3; }
[data-field=sky] { --field: #E4DFFC; }
[data-field=sage] { --field: #D3DFCB; }
[data-field=clay] { --field: #EBCFBF; }
[data-field=bone] { --field: #E8E8E3; }
[data-field=paper] { --field: #F6F6F3; }
[data-field=ink] { --field: #222124; --on: #F6F6F3; --on2: #B7B6BB; --hair: rgba(246, 246, 243, .36); }

.stage {
  position: relative; width: min(100%, 460px); height: 100%; margin: 0 auto; overflow: hidden;
  background: var(--field); color: var(--on);
}
.reel {
  display: block; padding: 0; position: relative; height: 100%; overflow-x: hidden; overflow-y: auto;
  scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none;
}
.reel::-webkit-scrollbar { display: none; }
.stage :focus-visible { outline-color: var(--on); }

/* The top: a small wordmark, always. */
.reel-logo {
  position: absolute; z-index: 7; left: 10px; top: calc(10px + env(safe-area-inset-top));
  display: block; padding: 7px 8px; border-radius: 8px; color: var(--on); transition: color .2s, background-color .2s;
}
.reel-logo::before {
  content: ""; display: block; width: 68px; height: 14px; background: currentColor;
  -webkit-mask: url(/assets/coco-wordmark-c4.svg) left center / contain no-repeat;
  mask: url(/assets/coco-wordmark-c4.svg) left center / contain no-repeat;
}
.stage[data-over=media] .reel-logo { background: var(--label); color: #F6F6F3; }

/* Browse, Send your own and the kinds. On a phone: a tray over the top of the picture that tucks
   away while you scroll and comes back at the top, or on a small pull down. */
.reel-menu { --field: #F6F6F3; --on: #222124; --hair: rgba(34, 33, 36, .26); color: #222124; }
.reel-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.reel-nav a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
  color: inherit; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.reel-nav a.send { border: 1px solid var(--hair); }
.reel-chips { display: flex; gap: 6px; }
.reel-chip {
  flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair);
  background: transparent; color: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.reel-chip[aria-pressed=true] { background: var(--on); border-color: var(--on); color: var(--field); }
.reel-chip.focus { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.reel-chip.focus .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#app[data-wide=true] .reel-chip.focus { max-width: 100%; }
/* Search: one box, "What do you need?", and plain rows of use cases under it. */
.reel-row2 { display: flex; align-items: center; min-width: 0; }
.reel-seek { flex: none; display: flex; align-items: center; gap: 6px; min-width: 0; }
.reel-seek-in {
  flex: 1; min-width: 0; width: 100%; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair);
  background: transparent; color: inherit; font: 600 16px/1.2 var(--f); -webkit-appearance: none; appearance: none;
}
.reel-seek-in::placeholder { color: #5D5C61; opacity: 1; }
.reel-seek-in::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.reel-seek-x { display: none; flex: none; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
#app[data-seek=open] .reel-seek-x { display: inline-flex; }
#app[data-seek=open] .reel-chips { display: none; }
.reel-found { display: grid; gap: 2px; align-content: start; text-align: left; }
.reel-hit { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 16px; line-height: 1.25; font-weight: 600; cursor: pointer; }
.reel-hit .n { flex: none; font-size: 13px; font-weight: 500; color: #5D5C61; }
.reel-hit:hover, .reel-hit[aria-selected=true] { background: #E4E4DF; }
.reel-none { padding: 12px 14px; font-size: 15px; line-height: 1.4; color: #4C4B50; }
.reel-none a { color: #222124; font-weight: 600; }
.reel-menu :focus-visible { outline-color: var(--blue); }
#app[data-wide=false] .reel-menu {
  position: absolute; z-index: 6; inset: 0 0 auto; padding-top: env(safe-area-inset-top);
  background: #F6F6F3; border-bottom: 1px solid var(--line-2); border-radius: 0 0 20px 20px;
  transform: translateY(-102%); transition: transform .22s ease;
}
#app[data-wide=false] .stage[data-menu=open] .reel-menu { transform: none; }
#app[data-wide=false] .stage[data-menu=open] .reel-logo { background: transparent; color: #222124; }
#app[data-wide=false] .reel-nav { min-height: 48px; padding: 6px 12px 6px 104px; }
#app[data-wide=false] .reel-row2 { min-height: 52px; padding: 4px 0 12px 16px; gap: 6px; }
#app[data-wide=false] .reel-seek { width: 192px; }
#app[data-wide=false] .reel-chips { flex: 1; min-width: 0; overflow-x: auto; padding-right: 16px; scrollbar-width: none; }
/* Searching on a phone: the tray grows to fill the screen, with the answers under the box. */
#app[data-wide=false][data-seek=open] .reel-menu { bottom: 0; border-radius: 0; display: flex; flex-direction: column; }
#app[data-wide=false][data-seek=open] .reel-seek { flex: 1; width: auto; padding-right: 16px; }
#app[data-wide=false][data-seek=open] .reel-found { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 8px 16px; }
#app[data-wide=false] .reel-chips::-webkit-scrollbar { display: none; }

/* A stop in the feed: a row holding one card, or the versions of one use case side by side. */
.rs { position: relative; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.rs-row { display: flex; height: 100%; overflow: hidden; }
.rs.many .rs-row { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.rs-row::-webkit-scrollbar { display: none; }
/* Where you are among the versions: a few dots near the top of the picture. */
.rs-dots { position: absolute; z-index: 4; inset: calc(45px + env(safe-area-inset-top)) 0 auto; display: flex; justify-content: center; pointer-events: none; transition: transform .22s ease; }
.rs-pips { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: var(--label); color: #F6F6F3; font-size: 12px; line-height: 1; font-weight: 600; }
.rs-pips i { width: 6px; height: 6px; border-radius: 50%; background: rgba(246, 246, 243, .4); }
.rs-pips i.on { background: #F6F6F3; }
#app[data-wide=false] .stage[data-menu=open] .rs-dots { transform: translateY(var(--tray)); }

/* A card */
.rc {
  position: relative; flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  background: var(--field); color: var(--on);
}
/* The first card rests with the tray open, so its drawn picture starts below the tray.
   A drawn picture also stops short of the round controls (--rail-n of them) on its right. */
/* The tray starts tucked away on a phone, so the first card's picture starts where every other card's does. */
#app[data-wide=true] .rs:first-child .rc { --pic-top: calc(var(--tray) + 30px + env(safe-area-inset-top)); }
.rc-pic { min-height: 0; display: flex; padding: var(--pic-top) 20px calc(var(--rail-n, 2) * 62px - 68px); }

/* The words: a title, one small line, one button. They sit over the bottom edge of the picture. */
.rc-body {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: end;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom));
}
.rc-title {
  margin-right: 62px; font-size: 28px; line-height: 1.08; font-weight: 600; letter-spacing: -.02em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding-bottom: .08em;
}
.rc-open { cursor: pointer; }
.rc-by { margin-right: 62px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; line-height: 1.3; font-weight: 600; }
.rc-by .hug { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; }
.rc-by a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* One compact line for a bigger promise: how long it runs and the first thing it gives. */
.rc-promise { margin-right: 62px; display: flex; min-width: 0; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--on2); }
.rc-promise .hug { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-by + .rc-promise { margin-top: -3px; }
.rc-more { position: relative; border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rc-more::after { content: ""; position: absolute; inset: -9px -8px; }
.rc-by .hug + .rc-more { margin-left: 6px; }
.rc-tag {
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px;
  background: #CBEF6E; color: #222124; font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.rc-line { font-size: 16px; line-height: 1.35; color: var(--on2); }
.rc-acts { display: flex; gap: 8px; padding-top: 2px; }
.rc-build {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px;
  border-radius: 999px; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer;
}
/* "for wallpap" shares the By line and gives way first: it shortens with an ellipsis rather than wrap the line. */
.rc-by:has(.rc-for) { flex-wrap: nowrap; }
.rc-by .hug:has(.rc-for) { min-width: 0; max-width: 100%; flex: 0 1 auto; overflow: hidden; }
.rc-by:has(.rc-for) > .rc-more { flex: 0 0 auto; }
.rc-for { font-weight: 500; opacity: .85; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.rc-by .hug > :not(.rc-for) { flex: 0 0 auto; }
.sheet-ask { font-size: 15px; line-height: 1.4; }
@media (max-width: 360px) { .rc-build { padding: 0 12px; font-size: 15px; } .rc-go { padding: 0 14px; font-size: 16px; } }
.rc-go, .rc-makebtn {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 18px; font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
/* Two buttons on a post: the one that leads (.is-main) is blue and takes more room; the other is solid ink,
   never an outline, so it reads on any picture. */
.rc-acts > * { min-width: 0; }
.rc-acts > .is-main { flex: 1.2 1 0; }
.rc-acts > :not(.is-main) { flex: 1 1 0; }
.rc-acts > .rc-go:not(.is-main), .rc-acts > .rc-build:not(.is-main) {
  background: #222124; color: #F6F6F3; border: 1px solid rgba(246, 246, 243, .22); font-size: 16px; padding: 0 14px;
}
.rc-build { gap: 7px; }
.rc-build svg { flex: none; width: 17px; height: 17px; }
.rc-build span { overflow: hidden; text-overflow: ellipsis; }
.rc-build.is-main { background: var(--blue); color: #fff; border: 0; font-size: 18px; }
.rc-link { margin-right: 62px; }
.rc-link input { min-height: 44px; font-size: 14px; color: #222124; }

/* The controls down the right side: a small round button with one word under it. They hug the
   right edge and the lower half, clear of the middle of the picture. */
.rc-rail { position: absolute; z-index: 3; right: 6px; bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; gap: 6px; justify-items: center; }
.rc-ctl {
  display: grid; justify-items: center; gap: 2px; width: 52px; padding: 0; border: 0; background: none;
  color: var(--on); font: inherit; text-decoration: none; cursor: pointer;
}
.rc-cap { font-size: 11.5px; line-height: 1.25; font-weight: 600; }
.rc-round {
  width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--hair);
  background: transparent; color: var(--on); display: grid; place-items: center; cursor: pointer; text-decoration: none;
}
.rc-round svg { width: 22px; height: 22px; }
.rc-ctl .rc-round { width: 40px; height: 40px; }
.rc-ctl .rc-round svg { width: 20px; height: 20px; }
.rc-round[aria-pressed=true], .rc-ctl[aria-pressed=true] .rc-round { background: var(--on); border-color: var(--on); color: var(--field); }
.rc-round:disabled { opacity: .35; cursor: default; }
.rc-ctl:focus-visible { outline-offset: 1px; border-radius: 12px; }

/* One small word in the corner of the picture: Example, Reference, Made on Coco. */
.rc-word, .pv-ex {
  position: absolute; z-index: 2; top: calc(15px + env(safe-area-inset-top)); right: 14px;
  font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--on2); transition: transform .22s ease;
}
.rc-word { max-width: 56%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-ex { top: calc(15px + env(safe-area-inset-top) - var(--pic-top)); right: -6px; }
#app[data-wide=false] .stage[data-menu=open] .rc-word,
#app[data-wide=false] .stage[data-menu=open] .pv-ex { transform: translateY(var(--tray)); }

/* A post with its own picture or clip. The media fills the card edge to edge. Words on it get a
   flat backing no bigger than the words themselves, so the picture shows everywhere else. */
.rc.media { display: block; }
.rc-media { position: absolute; inset: 0; overflow: hidden; background: #222124; }
.rc-media.tappable { cursor: pointer; }
.rc-media img, .rc-media video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rc.media .rc-body { position: absolute; inset: auto 0 0; }
.hug { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rc.media .hug { background: var(--label); color: #F6F6F3; padding: .08em .3em; border-radius: .26em; }
.rc.media .rc-title { font-size: 27px; line-height: 1.42; padding-bottom: .1em; }
.rc.media .rc-by .hug { padding: 0 9px; border-radius: 8px; }
.rc.media .rc-more { text-decoration: none; }
.rc.media .rc-by .hug + .rc-more { margin-left: 0; }
.rc.media .rc-word { padding: 3px 9px; border-radius: 8px; }
.rc.media .rc-promise .hug { padding: 3px 9px; border-radius: 8px; }
.rc.media .rc-ctl .rc-round { background: var(--label); border-color: transparent; color: #F6F6F3; }
.rc.media .rc-ctl[aria-pressed=true] .rc-round { background: #F6F6F3; color: #222124; }
.rc.media .rc-cap { padding: 0 5px; border-radius: 5px; }
/* A picture taller than the card shows from its top and drifts down once while it is on screen. */
.rc-media.tall img { height: auto; object-fit: fill; }
.on .rc-media.tall img { animation: reel-pan var(--pan-t, 8s) linear .7s 1 both; }
@keyframes reel-pan { from { transform: none; } to { transform: translateY(var(--pan, 0)); } }

/* A YouTube video in YouTube's own player. The player gets a clear rectangle of its own: none of
   our words or controls sit on it. An upright video fills that rectangle. A wide one is
   letterboxed on ink, with the title below it. */
.rc-embed { min-height: 0; display: grid; place-items: center; padding: var(--pic-top) 0 calc(var(--rail-n, 2) * 62px - 68px); }
.rc-frame { position: relative; width: 100%; overflow: hidden; background: #000; }
.rc-frame.upright { height: 100%; }
.rc-frame.wide { aspect-ratio: 16 / 9; max-height: 100%; }
.rc-frame iframe { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; border: 0; }
.rc-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.rc-frame.wide .rc-poster { object-fit: cover; }
.rc-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 60px; min-height: 60px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--label); color: #F6F6F3; font: 600 16px/1 var(--f); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.rc-play svg { width: 24px; height: 24px; }
.rc-play span { display: none; }
[data-motion=off] .rc-play span { display: inline; }
.rc-frame.live .rc-play { visibility: hidden; }

/* Cards with no post behind them */
.rc.say { grid-template-rows: minmax(0, 1fr); }
.rc.say .rc-pic { display: none; }
.rc-alt { justify-self: center; min-height: 44px; margin-top: -10px; padding: 0 12px; border: 0; background: none; color: var(--on); font: 600 16px/1.2 var(--f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rc-alt:disabled { opacity: .6; cursor: default; }
.rc.say .rc-body { align-content: end; gap: 22px; padding-top: var(--pic-top); }
.rc.lone .rc-title { font-size: clamp(34px, 10vw, 44px); }
.rc.lone .rc-line { margin-right: 62px; font-size: 17px; }
.rc.say .rc-title { margin-right: 0; display: block; overflow: visible; font-size: clamp(38px, 11.5vw, 50px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.rc.note { grid-template-rows: minmax(0, 1fr); }
.rc.note .rc-pic { display: none; }
.rc.note .rc-body { align-content: center; gap: 14px; padding-top: var(--pic-top); }
.rc.note .rc-title { margin-right: 0; -webkit-line-clamp: 3; }
.rc.note .rc-go { flex: 0 1 auto; }
.rc.skel .rc-pic { padding-bottom: 20px; }
.sk-block { flex: 1; border-radius: 28px; background: rgba(34, 33, 36, .07); }
.rc.skel .rc-body::before, .rc.skel .rc-body::after { content: ""; display: block; border-radius: 12px; background: rgba(34, 33, 36, .08); }
.rc.skel .rc-body::before { width: 68%; height: 32px; }
.rc.skel .rc-body::after { height: 52px; border-radius: 999px; }
.rc.skel .sk-block, .rc.skel .rc-body { animation: reel-wait 1.6s ease-in-out infinite; }
@keyframes reel-wait { 50% { opacity: .5; } }

/* The sheet: everything the face of a card leaves out, one tap away */
.reel-scrim { position: absolute; inset: 0; z-index: 8; background: rgba(34, 33, 36, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.stage[data-sheet=open] .reel-scrim { opacity: 1; pointer-events: auto; }
.reel-sheet {
  --field: #fff; --on: #222124; --on2: #4C4B50;
  position: absolute; z-index: 9; inset: auto 0 0; max-height: 80%; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; background: #fff; color: #222124;
  visibility: hidden; transform: translateY(104%); transition: transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s .24s;
}
.stage[data-sheet=open] .reel-sheet { visibility: visible; transform: none; transition: transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.reel-sheet.drag { transition: none; }
.sheet-grab { justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: #CACAC4; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.sheet-word { font-size: 14px; font-weight: 600; color: #5D5C61; }
.sheet-close { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #CACAC4; background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; }
.sheet-title { font-size: 24px; line-height: 1.1; font-weight: 600; letter-spacing: -.015em; }
.sheet-line { font-size: 16px; line-height: 1.4; color: #4C4B50; }
.sheet-get { display: grid; gap: 8px; }
.sheet-get h4 { margin: 0; font-size: 14px; font-weight: 600; color: #5D5C61; }
.sheet-runs { font-size: 18px; font-weight: 600; }
.sheet-list { display: grid; gap: 7px; }
.sheet-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.35; }
.sheet-list svg { width: 20px; height: 20px; color: var(--blue); }
.sheet-makers { font-size: 15px; font-weight: 600; }
.sheet-make { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #222124; font-size: 16px; font-weight: 600; text-underline-offset: 3px; }
.sheet-vers { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid #DDDDD8; }
.sheet-vers h4 { margin: 0; font-size: 14px; font-weight: 600; color: #5D5C61; }
.sheet-vers ul { display: grid; gap: 6px; }
.sheet-ver {
  width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px;
  border: 1px solid #CACAC4; border-radius: 14px; background: transparent; color: #222124; font-size: 15px; line-height: 1.25; font-weight: 600;
  text-align: left; text-decoration: none; cursor: pointer;
}
.sheet-ver .n { flex: none; font-size: 13px; font-weight: 500; color: #5D5C61; }
.sheet-all { justify-self: start; min-height: 40px; padding: 0 4px; border: 0; background: none; color: #222124; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sheet-ladder { display: grid; gap: 12px; }
.sheet-ladder:empty { display: none; }
.sheet-ways { padding-top: 0; border-top: 0; }
.sheet-recipe { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid #DDDDD8; outline: none; }
.sheet-recipe h4 { margin: 0; font-size: 14px; font-weight: 600; color: #5D5C61; }
.sheet-recipe p { font-size: 15px; line-height: 1.4; }
.sheet-recipe pre { margin: 0; max-height: 180px; overflow: auto; padding: 12px; border-radius: 12px; background: #F6F6F3; font: 500 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.sheet-rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 20px; padding: 14px 0; border-top: 1px solid #DDDDD8; border-bottom: 1px solid #DDDDD8; font-size: 15px; }
.sheet-rows dt { color: #5D5C61; }
.sheet-rows dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; }
.sheet-acts { display: grid; gap: 8px; padding-top: 2px; }
.sheet-try {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px;
  border: 1px solid #222124; color: #222124; font-size: 16px; font-weight: 600; text-decoration: none;
}
.reel-sheet :focus-visible { outline-color: var(--blue); }

.reel-toast {
  position: absolute; z-index: 10; left: 50%; top: calc(var(--tray) + 14px + env(safe-area-inset-top));
  transform: translate(-50%, -6px); padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  background: #222124; color: #F6F6F3; border: 1px solid rgba(246, 246, 243, .3);
  font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
.reel-toast.show { opacity: 1; transform: translate(-50%, 0); }
.reel-copybox { position: fixed; left: -9999px; top: 0; width: 10px; height: 10px; opacity: 0; }

/* Wider screens: a phone-width column on the page, with two buttons beside it */
.reel-steps { display: none; }
@media (min-width: 700px) and (min-height: 560px) {
  .reel-page #app { padding: 16px 0; }
  .stage { border-radius: 28px; }
  .reel-steps { display: grid; gap: 8px; justify-items: start; position: fixed; top: 50%; left: calc(50% + 248px); transform: translateY(-50%); }
  .reel-sides { display: flex; gap: 6px; margin-top: 12px; }
  .reel-steps :focus-visible { outline-color: var(--blue); }
}
/* Wide screens: the links and the kinds stand beside the column, never over the picture. */
#app[data-wide=true] .stage { --tray: 0px; }
#app[data-wide=true] .rc { --pic-top: 52px; }
#app[data-wide=true] .reel-menu {
  position: fixed; top: 28px; right: calc(50% + 258px); width: 220px; max-height: calc(100% - 56px); overflow-y: auto; scrollbar-width: none;
  display: grid; gap: 22px; justify-items: end;
}
#app[data-wide=true] .reel-nav { flex-direction: column; align-items: flex-end; gap: 6px; }
#app[data-wide=true] .reel-row2 { display: grid; gap: 18px; justify-items: end; width: 100%; padding: 2px; }
#app[data-wide=true] .reel-seek { width: 100%; }
#app[data-wide=true] .reel-found { width: 100%; }
#app[data-wide=true] .reel-chips { flex-direction: column; align-items: flex-end; padding: 2px; }

@media (max-height: 640px) {
  .rc-title, .rc.media .rc-title { font-size: 24px; }
  .rc-go { min-height: 48px; }
  .rc-rail { bottom: calc(70px + env(safe-area-inset-bottom)); gap: 4px; }
  .rc-ctl .rc-round { width: 36px; height: 36px; }
  .rc.say .rc-title { font-size: 34px; }
}

/* ============================== Previews ==============================
   Drawn examples, built by previews.js. A preview is laid out on a canvas --aw units wide and
   --ah units tall, and one unit is sized so the canvas fits its container. Everything inside
   is measured in em, so the whole picture scales as one. */
.pv { position: relative; flex: 1; min-width: 0; min-height: 0; container-type: size; display: grid; place-items: center; }
.pv-art {
  position: relative; flex: none; width: calc(var(--aw, 32) * 1em); height: calc(var(--ah, 38) * 1em);
  font-size: 10px; font-size: min(calc(100cqw / var(--aw, 32)), calc(100cqh / var(--ah, 38)), 15px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em;
  color: #222124; font-weight: 600; line-height: 1.2; text-align: left; overflow-wrap: normal;
  -webkit-user-select: none; user-select: none;
}
.pv-art .f1 { font-size: 1.1em; }
.pv-art .f2 { font-size: 1.32em; }
.pv-art .f3 { font-size: 1.7em; letter-spacing: -.01em; }
.pv-art .f4 { font-size: 2.25em; letter-spacing: -.02em; line-height: 1.06; }
.pv-art .f5 { font-size: 2.9em; letter-spacing: -.025em; line-height: 1; }
.pv-art .mu { color: #5D5C61; font-weight: 500; }
.pv-art .dim { color: #B7B6BB; font-weight: 500; }
.pv-art .tb { color: #5747E6; }
.pv-art .num { font-variant-numeric: tabular-nums; }

.pv-win { flex: none; width: 26em; display: flex; flex-direction: column; gap: 1.15em; padding: 1.7em; border-radius: 1.8em; background: #fff; overflow: hidden; }
.pv-win.w27 { width: 27em; }
.pv-win.w28 { width: 28em; }
.pv-win.w29 { width: 29em; }
.pv-win.flush { padding: 0; gap: 0; }
.pv-row { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.pv-row.left { justify-content: flex-start; }
.pv-grow { flex: 1; min-width: 0; display: grid; gap: .25em; }
.pv-rule { flex: none; height: 1px; background: #DDDDD8; }
.pv-pill { display: inline-flex; align-items: center; padding: .3em .85em; border-radius: 99em; background: #ECECE7; white-space: nowrap; }
.pv-pill.on { background: #5747E6; color: #fff; }
.pv-pill.line { background: transparent; box-shadow: inset 0 0 0 1px #222124; }
.pv-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: .6em 1.2em; border-radius: 99em; background: #222124; color: #fff; white-space: nowrap; }
.pv-btn.bl { background: #5747E6; }
.pv-btn.wide { align-self: stretch; }
.pv-ph { flex: none; display: grid; place-items: center; border-radius: .9em; color: #222124; }
.ph-sand { background: #EADCC3; }
.ph-sky { background: #E4DFFC; }
.ph-sage { background: #D3DFCB; }
.ph-clay { background: #EBCFBF; }
.ph-paper { background: #F6F6F3; }
.pv-thing { width: 62%; height: 62%; fill: currentColor; }
.pv-check { flex: none; width: 1.7em; height: 1.7em; fill: #222124; }
.pv-check.bl { fill: #5747E6; }
.pv-bar { display: block; height: .7em; border-radius: 99em; background: #DDDDD8; }
.pv-copy { display: grid; gap: .6em; }
.pv-chip { display: inline-flex; align-items: center; gap: .7em; padding: .6em 1.3em .6em .7em; border-radius: 99em; background: #fff; }
.pv-chip-dark { width: 27em; display: flex; align-items: center; gap: 1em; padding: 1em 1.4em 1em 1.1em; border-radius: 1.6em; background: #222124; color: #F6F6F3; }
.pv-swap { display: inline-grid; justify-items: end; align-items: center; }
.pv-swap > * { grid-area: 1 / 1; }
.pv-old { opacity: 0; }

/* 1. Discount code */
.pv-item { display: flex; align-items: center; gap: 1em; }
.pv-item .pv-ph { width: 4.2em; height: 4.2em; }
.pv-code { display: flex; align-items: stretch; gap: .7em; }
.pv-input { flex: 1; display: flex; align-items: center; min-height: 3.5em; padding: 0 1em; border-radius: .9em; box-shadow: inset 0 0 0 1px #CACAC4; }
.pv-typed { position: relative; letter-spacing: .06em; }
.pv-cover { position: absolute; inset: -.3em; background: #fff; transform: scaleX(0); transform-origin: right center; }

/* 2. Shipping rates */
.pv-rates { display: grid; gap: .5em; }
.pv-rate { position: relative; display: flex; align-items: center; gap: .8em; padding: .85em 1.1em; border-radius: 1em; background: #F6F6F3; }
.pv-rate > * { position: relative; }
.pv-rate > .pv-tint { position: absolute; inset: 0; border-radius: inherit; background: #E4DFFC; box-shadow: inset 0 0 0 1.5px #5747E6; }

/* 3. Product page */
.pv-url { display: flex; padding: .9em 1.2em; border-bottom: 1px solid #DDDDD8; }
.pv-pad { display: flex; flex-direction: column; gap: .95em; padding: 1.3em 1.5em 1.5em; }
.pv-shot { height: 11em; border-radius: 1.2em; }
.pv-shot .pv-thing { width: auto; height: 80%; }
.pv-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6em; }
.pv-thumbs .pv-ph { height: 3.2em; }
.pv-thumbs .pv-thing { width: auto; height: 72%; }
.pv-thumbs .sel { box-shadow: inset 0 0 0 2px #222124; }
.pv-pad > .mu { line-height: 1.35; }

/* 4. Fixing a section, 5. a collection */
.pv-nav { display: flex; align-items: center; gap: .6em; }
.pv-nav .pv-bar { width: 2.6em !important; }
.pv-tiles, .pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.pv-tile { position: relative; display: grid; gap: .3em; align-content: start; }
.pv-tile .pv-ph { width: 100%; aspect-ratio: 1; }
.pv-under { gap: .8em; justify-content: center; }
.pv-section .pv-new { background: #5747E6; color: #fff; }
.pv-n { position: absolute; z-index: 1; left: .5em; top: .5em; width: 1.7em; height: 1.7em; border-radius: 50%; background: #222124; color: #fff; display: grid; place-items: center; }

/* 6. Five ads */
.pv-fan { position: relative; flex: none; width: 32em; height: 21em; }
.pv-ad {
  position: absolute; left: calc(50% - 6em); top: 1em; width: 12em; height: 17.5em; padding: 1.1em; border-radius: 1.3em;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  color: #222124; box-shadow: 0 0 0 1px rgba(34, 33, 36, .14); transform-origin: 50% 130%;
}
.pv-ad .pv-thing { align-self: center; width: 68%; height: auto; }
.pv-cap { color: #F6F6F3; }

/* 7. Landing page */
.pv-browser { height: 35em; }
.pv-view { flex: 1; min-height: 0; overflow: hidden; }
.pv-page { display: flex; flex-direction: column; gap: 1.1em; padding: 1.4em 1.6em; }
.pv-hl { text-wrap: balance; }
.pv-hero { height: 11em; border-radius: 1.3em; display: flex; align-items: flex-end; justify-content: center; gap: 1.5em; padding-bottom: 1.3em; color: #222124; }
.pv-hero .pv-thing { width: 6.2em; height: 6.2em; }
.pv-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.pv-feat { display: grid; gap: .5em; }
.pv-feat .pv-ph { height: 4.6em; }
.pv-feat .pv-thing { width: auto; height: 62%; }
.pv-band { display: flex; flex-direction: column; align-items: flex-start; gap: .9em; padding: 1.3em; border-radius: 1.3em; background: #222124; color: #F6F6F3; }
.pv-band .pv-btn { background: #F6F6F3; color: #222124; }

/* 8. Internal tool */
.pv-table, .pv-rows { display: grid; gap: .4em; }
.pv-tr { display: grid; grid-template-columns: minmax(0, 1fr) 5em 6.4em; align-items: center; gap: .6em; padding: .7em .9em; border-radius: .9em; background: #F6F6F3; }
.pv-tr.th { background: transparent; padding-block: .1em; }
.pv-tr.new { background: #E4DFFC; }
.pv-tr .pv-pill { justify-self: start; background: #fff; }
.pv-form { width: 28em; display: flex; align-items: stretch; gap: .7em; padding: 1em; border-radius: 1.6em; background: #222124; color: #F6F6F3; }
.pv-field { flex: 1; display: grid; gap: .15em; padding: .6em .9em; border-radius: .9em; background: #29282B; }
.pv-field.short { flex: 0 0 7.4em; }
.pv-form .pv-btn { border-radius: .9em; padding-inline: 1.5em; }

/* 9. Full setup */
.pv-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; align-items: start; }
.pv-col { display: grid; gap: .5em; align-content: start; min-height: 21.4em; padding: .6em; border-radius: 1.1em; background: #F6F6F3; }
.pv-col > .pv-row { padding: .2em .3em; }
.pv-mini { position: relative; display: flex; align-items: flex-start; gap: .45em; height: 4.2em; padding: .6em; border-radius: .8em; background: #fff; }
.pv-mini .pv-check, .pv-dot { flex: none; width: 1.25em; height: 1.25em; margin-top: .05em; }
.pv-dot { border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CACAC4; }
.pv-slot { height: 4.2em; border-radius: .8em; border: 1px dashed #CACAC4; }
.pv-faces { display: flex; padding-left: .45em; }
.pv-faces span { width: 2em; height: 2em; margin-left: -.45em; border-radius: 50%; background: #222124; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }

/* 10. Campaign */
.pv-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45em; }
.pv-day { display: grid; gap: .25em; justify-items: center; }
.pv-cell { width: 100%; height: 4.4em; display: grid; padding: .3em; border-radius: .8em; background: #F6F6F3; }
.pv-post { display: grid; place-items: center; border-radius: .6em; background: #222124; color: #fff; }
.pv-post.bl { background: #5747E6; }
.pv-env { width: 1.6em; height: 1.2em; }
.pv-drafts { display: grid; gap: .5em; }
.pv-draft { display: flex; align-items: center; gap: .8em; padding: .7em .8em; border-radius: 1em; background: #F6F6F3; }
.pv-ico { flex: none; width: 2.7em; height: 2.7em; display: grid; place-items: center; border-radius: .7em; background: #fff; }
.pv-draft .pv-pill { background: #fff; }

/* 11. Growth funnel */
.pv-funnel { display: grid; gap: .9em; justify-items: center; }
.pv-step { width: 100%; display: grid; gap: .35em; justify-items: center; }
.pv-fbar { position: relative; height: 3.6em; display: grid; place-items: center; border-radius: 1em; background: #222124; color: #fff; }
.pv-fbar.s1 { width: 100%; }
.pv-fbar.s2 { width: 76%; background: #3A3A3D; }
.pv-fbar.s3 { width: 54%; background: #5D5C61; }
.pv-fbar.s4 { width: 36%; background: transparent; }
.pv-fill { position: absolute; inset: 0; border-radius: inherit; background: #5747E6; }
.pv-fbar > .pv-swap { position: relative; justify-items: center; }

/* 12. Daily report */
.pv-phone { flex: none; width: 23em; height: 35em; display: flex; flex-direction: column; gap: 1em; padding: 1.2em 1.4em 1.6em; border-radius: 3em; background: #F6F6F3; box-shadow: 0 0 0 .4em #29282B; overflow: hidden; }
.pv-status { padding: 0 .6em; }
.pv-notch { width: 6em; height: 1.5em; border-radius: 99em; background: #222124; }
.pv-batt { width: 2em; height: 1em; border-radius: .3em; background: #222124; }
.pv-chat { display: flex; align-items: center; gap: .8em; padding-bottom: 1em; border-bottom: 1px solid #DDDDD8; }
.pv-ava { flex: none; width: 2.3em; height: 2.3em; display: grid; place-items: center; border-radius: 50%; background: #5747E6; color: #fff; }
.pv-bubble { align-self: flex-start; width: 90%; display: grid; gap: .8em; padding: 1.3em; border-radius: 1.6em 1.6em 1.6em .5em; background: #fff; }
.pv-stat { display: grid; gap: .1em; padding-top: .8em; border-top: 1px solid #DDDDD8; }
.pv-sent { padding-left: .6em; align-self: flex-start; }

/* 13. Anything else, and the last card */
.pv-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding-bottom: .08em; }
.pv-done { display: flex; align-items: center; gap: .8em; }
.pv-done .pv-bar { height: .8em; }
.pv-words { display: flex; flex-wrap: wrap; gap: .1em .28em; }
.pv-drop { padding: .9em 1em; border-radius: .9em; border: 1px dashed #CACAC4; }

/* Content, a game, an email */
.pv-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4em; }
.pv-date { height: 2.7em; display: grid; padding: .25em; border-radius: .6em; background: #F6F6F3; }
.pv-fillin { display: block; border-radius: .42em; background: #222124; }
.pv-fillin.bl, .pv-gem.bl { background: #5747E6; }
.pv-fillin.sand, .pv-gem.sand { background: #EADCC3; }
.pv-fillin.clay, .pv-gem.clay { background: #EBCFBF; }
.pv-fillin.sage, .pv-gem.sage { background: #D3DFCB; }
.pv-thumb { width: 2.7em; height: 2.7em; border-radius: .7em; }
.pv-board-dark { flex: none; width: 25em; display: flex; flex-direction: column; gap: 1.2em; padding: 1.6em; border-radius: 2em; background: #222124; color: #F6F6F3; }
.pv-board-dark .pv-pill { background: #29282B; color: #F6F6F3; }
.pv-board-dark .pv-pill.on { background: #F6F6F3; color: #222124; }
.pv-gems { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5em; padding: .6em; border-radius: 1.3em; background: #29282B; }
.pv-cell-g { aspect-ratio: 1; display: grid; padding: .35em; border-radius: .9em; }
.pv-cell-g.hit { background: #F6F6F3; }
.pv-gem { display: block; border-radius: 50%; }
.pv-gem.clay { border-radius: .7em; }
.pv-gem.sage { border-radius: 50% 50% .5em .5em; }
.pv-gem.sand { border-radius: .5em 50%; }
.pv-mail { display: flex; align-items: center; gap: .8em; padding: .8em .9em; border-radius: 1em; background: #F6F6F3; }
.pv-mail.new { background: #E4DFFC; }
.pv-unread { flex: none; width: .8em; height: .8em; border-radius: 50%; background: transparent; }
.pv-mail.new .pv-unread { background: #5747E6; }
.pv-letter { margin-top: -4.6em; box-shadow: 0 0 0 1.5px #222124; }

/* Motion. The resting styles above are the finished picture. The loop below plays it in,
   holds it, and starts again. It runs only on the card that is on screen (class "on"),
   moves only transform and opacity, and takes 2.8 seconds. */
.pv .an { transform: var(--to, none); }
.on .pv .an { animation: 2.8s cubic-bezier(.2, .75, .25, 1) infinite both; }
.on .pv .a1 { animation-name: pv-a1; }
.on .pv .a2 { animation-name: pv-a2; }
.on .pv .a3 { animation-name: pv-a3; }
.on .pv .a4 { animation-name: pv-a4; }
.on .pv .a5 { animation-name: pv-a5; }
.on .pv .a6 { animation-name: pv-a6; }
.on .pv .a7 { animation-name: pv-a7; }
.on .pv .a8 { animation-name: pv-a8; }
.on .pv .a9 { animation-name: pv-a9; }
.on .pv .a10 { animation-name: pv-a10; }
.on .pv .a11 { animation-name: pv-a11; }
.on .pv .a12 { animation-name: pv-a12; }
.on .pv .a13 { animation-name: pv-a13; }
.on .pv .a14 { animation-name: pv-a14; }
@keyframes pv-a1 { 0%, 3% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 12%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a2 { 0%, 8% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 17%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a3 { 0%, 13% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 22%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a4 { 0%, 18% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 27%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a5 { 0%, 23% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 32%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a6 { 0%, 28% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 37%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a7 { 0%, 33% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 42%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a8 { 0%, 38% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 47%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a9 { 0%, 43% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 52%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a10 { 0%, 48% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 57%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a11 { 0%, 53% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 62%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a12 { 0%, 58% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 67%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a13 { 0%, 63% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 72%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }
@keyframes pv-a14 { 0%, 68% { opacity: var(--fo, 0); transform: var(--from, translateY(1.4em)); } 77%, 93% { opacity: 1; transform: var(--to, none); } 100% { opacity: var(--fo, 0); transform: var(--to, none); } }

/* A value changing: the old one leaves upward as the new one arrives. */
.on .pv .pv-old { animation: pv-old 2.8s ease infinite both; }
.on .pv .pv-new { animation: pv-new 2.8s ease infinite both; }
@keyframes pv-old { 0%, 46% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: translateY(-70%); } }
@keyframes pv-new { 0%, 48% { opacity: 0; transform: translateY(70%); } 57%, 100% { opacity: 1; transform: none; } }
/* Typing: a cover slides off the text in steps. */
.on .pv .pv-cover { animation: pv-type 2.8s infinite both; }
@keyframes pv-type { 0%, 5% { transform: scaleX(1); animation-timing-function: steps(9, end); } 33%, 100% { transform: scaleX(0); } }
/* A button being pressed. */
.on .pv .pv-press { animation: pv-press 2.8s ease infinite both; }
.on .pv .pv-press.late { animation-name: pv-press-late; }
@keyframes pv-press { 0%, 36% { transform: none; } 39% { transform: scale(.9); } 43%, 100% { transform: none; } }
@keyframes pv-press-late { 0%, 52% { transform: none; } 55% { transform: scale(.9); } 59%, 100% { transform: none; } }
/* A page scrolling down and back. */
.on .pv .pv-page { animation: pv-scroll 2.9s ease-in-out infinite alternate both; }
@keyframes pv-scroll { 0%, 10% { transform: none; } 100% { transform: translateY(-14em); } }

/* Reduced motion: nothing loops, nothing slides. Every picture shows its finished state. */
@media (prefers-reduced-motion: reduce) {
  .pv *, .rc.skel *, .rc-media img { animation: none !important; }
  .reel-toast, .reel-logo, .reel-menu, .reel-sheet, .reel-scrim, .rc-word, .pv-ex, .rs-dots { transition: none !important; }
}
[data-motion=off] .pv *, [data-motion=off] .rc.skel *, [data-motion=off] .rc-media img { animation: none !important; }
[data-motion=off] .reel-toast, [data-motion=off] .reel-logo, [data-motion=off] .reel-menu, [data-motion=off] .reel-sheet,
[data-motion=off] .reel-scrim, [data-motion=off] .rc-word, [data-motion=off] .pv-ex, [data-motion=off] .rs-dots { transition: none !important; }

/* ---------- Phone fixes ---------- */
/* The search button: top right, beside the wordmark. It brings the tray down. Not needed on a wide screen. */
.reel-menubtn {
  position: absolute; z-index: 7; right: 10px; top: calc(8px + env(safe-area-inset-top));
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0;
  background: var(--label); color: #F6F6F3; cursor: pointer;
}
.reel-menubtn svg { width: 20px; height: 20px; }
#app[data-wide=true] .reel-menubtn { display: none; }
#app[data-wide=false] .stage[data-menu=open] .reel-menubtn { background: #222124; }
#app[data-wide=false] .reel-nav { padding-right: 56px; }
/* With the tray shut the corner word and the version dots keep clear of the search button. */
#app[data-wide=false] .rc-word, #app[data-wide=false] .pv-ex { right: 58px; }
.reel-type {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0;
  background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
/* A dark band rising from the bottom of a picture, so the title and buttons read on any frame. */
.rc.media::after {
  content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 58%; pointer-events: none;
  background: linear-gradient(to top, rgba(34, 33, 36, .94) 0%, rgba(34, 33, 36, .86) 38%, rgba(34, 33, 36, .45) 70%, rgba(34, 33, 36, 0) 100%);
}
.rc.media .rc-ctl, .rc.media .rc-rail { z-index: 3; }
/* Titles get three lines before they shorten; the By line never breaks inside a name. */
.rc-title { -webkit-line-clamp: 3; }
.rc-by .hug { white-space: nowrap; }
@media (max-width: 420px) {
  .rc.media .rc-title { font-size: 23px; line-height: 1.38; }
  .rc-title { font-size: 25px; }
  .rc-go, .rc-makebtn, .rc-build.is-main { font-size: 17px; padding: 0 14px; }
  .rc-acts > .rc-go:not(.is-main), .rc-acts > .rc-build:not(.is-main) { font-size: 15px; padding: 0 10px; }
}

/* ---------- "Get this for your brand": the ask sheet ---------- */
.ask-head { display: flex; gap: 12px; align-items: center; }
.ask-thumb { flex: none; width: 56px; height: 72px; object-fit: cover; border-radius: 10px; background: #222124; }
.ask-what { font-size: 15px; line-height: 1.35; color: var(--on2); margin-top: 4px; }
.ask-form { display: grid; gap: 12px; }
.ask-field { display: grid; gap: 6px; }
.ask-label { font-size: 14px; font-weight: 600; }
.ask-field input, .ask-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--hair);
  background: #fff; color: #222124; font: 500 16px/1.35 var(--f); resize: vertical;
}
.ask-help { font-size: 13px; line-height: 1.4; color: var(--on2); }
.ask-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 360px) { .ask-two { grid-template-columns: 1fr; } }
.ask-chips { display: flex; gap: 8px; }
.ask-chip {
  flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: inherit;
  font: 600 16px var(--f); cursor: pointer;
}
.ask-chip[aria-checked=true] { background: var(--on); color: var(--field); border-color: var(--on); }
.ask-price { font-size: 16px; font-weight: 600; }
.ask-say { font-size: 14px; line-height: 1.4; color: #B3261E; font-weight: 600; }
.ask-send { width: 100%; }
.ask-full { justify-self: center; font-size: 14px; color: var(--on2); }
.ask-done { display: grid; gap: 14px; }

/* ---------- "What brings you here?" ---------- */
.type-list { display: grid; gap: 10px; }
.type-pick {
  display: grid; gap: 4px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--hair);
  background: transparent; color: inherit; font: inherit; cursor: pointer;
}
.type-pick[aria-pressed=true] { border-color: var(--on); box-shadow: inset 0 0 0 1px var(--on); }
.type-name { font-size: 18px; font-weight: 600; }
.type-line { font-size: 14px; line-height: 1.4; color: var(--on2); }

/* On a phone the second button drops its icon so its words fit, and "Verified" gives way to "for <brand>"
   on the By line (the sheet still says both). */
@media (max-width: 420px) {
  .rc-acts > .rc-build:not(.is-main) svg { display: none; }
  .rc-by:has(.rc-for) .rc-tag { display: none; }
}

/* Same job, several ways: versions side by side in one picture, each labelled with who it was made for. */
.rc.cmp .rc-pic { padding: var(--pic-top) 12px 14px; }
.cmp-strip { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: end; }
/* Three or four make two columns; two stack. Each tile is wide, so a wide shot fills it rather than sitting in black bands. */
.cmp-strip[style*="--n:3"], .cmp-strip[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp-p { border-radius: 14px; aspect-ratio: 1 / 1; }
.cmp-strip[style*="--n:2"] .cmp-p { aspect-ratio: 16 / 10; }
.cmp-p { position: relative; min-width: 0; overflow: hidden; border: 0; margin: 0; padding: 0; background: #29282B; cursor: pointer; }
.cmp-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-l { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: 8px; background: rgba(34, 33, 36, .82); font-size: 14px; font-weight: 700; line-height: 1.2; color: #F6F6F3; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-h { position: absolute; left: 8px; bottom: 9px; max-width: calc(100% - 16px); padding: 2px 8px; border-radius: 999px; background: #CBEF6E; color: #222124; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-p:focus-visible { outline: 3px solid #CBEF6E; outline-offset: -3px; }
.rc.cmp .rc-title { margin-right: 0; }
.rc.cmp .rc-line { color: inherit; opacity: .8; }
/* Above the use cases: every post that matches the words typed. */
.reel-allq { display: block; width: 100%; margin: 0 0 6px; padding: 12px 14px; border: 0; border-radius: 12px; background: #CBEF6E; color: #222124; font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.reel-allq b { font-weight: 700; }
/* Who is looking: a chip beside the search box, the same height as the kinds. */
.reel-row2 .reel-type { flex: none; min-height: 36px; border: 1px solid var(--hair); text-decoration: none; padding: 0 12px; }
#app[data-wide=true] .reel-row2 .reel-type { align-self: flex-end; }
