/* Rea's own additions, on top of the look's two files (style.css and app.css, both unchanged).
   Same language: black page, hairline borders, the look's greys. Nothing here restyles the look's screens;
   it covers what the look did not have (the real result content, the consent line, the post form,
   the licence and owner pages) and what a keyboard or screen reader needs. */
[hidden]{display:none!important}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip{position:absolute;left:-999rem;top:0;z-index:200;background:#000;color:var(--text);padding:12px 16px;font-size:13px}
.skip:focus{left:12px;top:12px}
:focus-visible{outline:2px solid #fff;outline-offset:2px}
h1:focus,h2:focus,.work-status:focus{outline:0}
.composer:focus-within{border-color:#5a5a5e}
textarea.field:focus-visible{outline:0}
.ghost-empty{visibility:hidden}
/* on a phone the unseen copy gives the top bar its height; on a wide screen nothing needs it, and on the
   wide working screen it would push the cat off centre */
@media (min-width:601px){.ghost-empty{display:none}}
footer a,.note a,.meta a,.kept a{border-bottom:1px solid #2c2c2e;padding-bottom:1px}

/* moved here from the look's inline style attributes (same values) */
.work-frames{margin:48px auto 0}
.cta-gap{margin-top:28px}
.bar i{width:0}

/* working: the look's .work rule also matches the page body, which makes this block only as wide as its
   longest line. Full width keeps the list of steps and the bar at the look's 440 whatever the lines say. */
main.work{width:100%}
.step .n{flex:none;white-space:nowrap}

/* touch targets of 44px without changing how anything looks */
.pill,.go,.ghost,.tab,.dl a,.dl button,.pw-close,.card summary,footer a,.note a,.meta a,.by a,.card p a{position:relative}
.pill::after,.go::after,.ghost::after,.tab::after,.dl a::after,.dl button::after,.pw-close::after,.card summary::after,footer a::after,.note a::after,.meta a::after,.by a::after,.card p a::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;min-width:44px;transform:translateY(-50%)}
.go::after{left:50%;right:auto;width:44px;transform:translate(-50%,-50%)}
.pill.thumbpill .x{position:relative;min-width:24px}
.pill.thumbpill .x::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.pill.thumbpill::after{content:none}

/* home: the two things the engine needs that the look did not have. Each row is a real 44px tall. */
.err:empty{margin:0}
.recent h2{font-size:12px;color:var(--soft);font-weight:500;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.consent{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 13px;color:var(--muted);font-size:12.5px;cursor:pointer}
.consent input{width:18px;height:18px;margin:0;flex:none;accent-color:#fff;color-scheme:dark;cursor:pointer}
.kept{margin-top:0;max-width:520px;text-align:center}
.kept summary{color:var(--soft);font-size:12.5px;line-height:15px;padding:14px 0 15px;list-style-position:inside}
.kept p{color:var(--soft);font-size:12.5px;line-height:1.55}

/* out of free tries: the look's two cards (label, big figure, grey line), then the wide buttons.
   The link field is inside the first card with no box of its own, like the field in the message box. */
.paywall .pw-inner{margin:auto}
.plan h3{font:inherit}
.plan h3 .plan-t,.plan h3 .plan-p{display:block}
#claim-form{margin-top:14px;padding-top:2px;border-top:1px solid var(--line)}
#claim-form .lbl{display:block;margin:12px 0 0}
.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;color:var(--text);font-weight:600}
.pw-field{display:block;width:100%;height:44px;padding:0;font:inherit;font-size:15px;color:var(--text);caret-color:#fff;background:transparent;border:0;outline:0}
.pw-field::placeholder{color:var(--soft);opacity:1}
.pw-field:focus-visible{outline:0}
.plan:focus-within{border-color:#5a5a5e}
#claim-note{margin-top:0}
.pw-inner h2:focus,#claim-status:focus{outline:0}
.pw-inner h2{margin-bottom:26px}
#claim-status:empty{margin:0}

/* a shot picture that is not the upright shape of its frame (a wide or square video) is shown whole inside
   the look's frame, not cut to fill it. app.js and work.js add the class from the picture's own size. */
.frames img.fit,.strip img.fit,.ritem img.fit{object-fit:contain}
.ritem img.fit{background:#0b0b0c}

/* results: the real content inside the look's cards */
.rhead h1{text-wrap:balance}
.panel>.card{min-width:0;overflow-wrap:anywhere}
.card h2,.card h3{font-size:12px;font-weight:500;color:var(--soft);letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.card h5,.card h6{font-size:13px;font-weight:500;color:var(--muted);margin:16px 0 8px}
.card h4{margin-top:16px}
.card p+p,.card ul+p,.card p+ul,.card .scroll+p,.card pre+p{margin-top:10px}
.card ul:not(.beats){list-style:disc;padding-left:18px;font-size:14.5px;line-height:1.55;color:#d1d1d6;margin-top:8px}
.card ul:not(.beats) ul{margin-top:4px}
.card li+li{margin-top:4px}
.beats li+li{margin-top:0}
.beats li li{display:list-item;padding:0;border-top:0;font-size:inherit;line-height:inherit}
.beats li li+li{margin-top:4px}
.beats p{font-size:inherit;line-height:inherit}
.card strong{color:var(--text);font-weight:500}
.card code{font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#c7c7cc}
.card pre{white-space:pre-wrap;word-break:break-word;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;background:#0b0b0c;border:1px solid var(--line);border-radius:14px;padding:14px 16px;color:#d1d1d6;margin-top:10px}
.card a{border-bottom:1px solid #2c2c2e;padding-bottom:1px}
.card a.cta{border-bottom:0;padding-bottom:0}
/* a table keeps whole words and scrolls sideways inside its box when it is wider than the card */
.card .scroll{overflow-x:auto;margin-top:12px;overflow-wrap:normal}
.card table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.5;color:#d1d1d6}
.card th,.card td{text-align:left;vertical-align:top;padding:9px 14px 9px 0;border-top:1px solid var(--line)}
.card thead th{border-top:0;color:var(--soft);font-weight:500;white-space:nowrap}
.card td form{display:flex;gap:8px;flex-wrap:wrap}
.card audio{display:block;width:100%;height:44px;margin-top:6px;color-scheme:dark}
.card td audio{min-width:200px;margin:0}
.player{margin-top:14px;font-size:13px;color:var(--soft)}
.player:first-of-type{margin-top:0}
.card summary{min-height:24px}
.dl button{background:transparent;border:0;border-bottom:1px solid #2c2c2e;padding:0 0 1px;font:inherit;color:inherit;cursor:pointer}
.note{margin-top:18px;color:var(--soft);font-size:12.5px;line-height:1.55}
.panel+.note{margin-top:26px}
.strip .ghostf{width:100%;aspect-ratio:9/16;border-radius:14px;border:1px dashed var(--line2)}
/* a video with many shots: the row keeps the look's picture size and scrolls sideways (8 or fewer fit as before) */
@media (min-width:601px){.strip{overflow-x:auto}.strip figure{min-width:112px}}

@media (max-width:600px){
 /* the look sets the two rows of small links 28px apart; 44px touch areas need the rows 44px apart */
 .dl{white-space:normal;margin-top:15px;row-gap:28px}
 .card th,.card td{padding-right:10px}
 .card .scroll table{min-width:720px}
}
@media (prefers-reduced-motion:reduce){
 .step.now .dot{animation:none}
 .bar i{transition:none}
}
