/* 6.109 — slides de gravação e roteiro em foco. Fontes dos slides servidas pelo próprio MarkFlow (licença SIL OFL 1.1). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/rec/bricolage-grotesque-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/rec/bricolage-grotesque-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(fonts/rec/dm-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(fonts/rec/dm-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/rec/caveat-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/rec/caveat-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* o slide: palco fixo 1920×1080, isolado do estilo do app (o estilo inline do slide manda) */
.rec-fit { position: relative; overflow: hidden; border-radius: 10px; background: #1E1916; flex: none; }
.rec-sc { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.rec-sc section, .recp-sc section, .recpr-pg section { position: relative; width: 1920px; height: 1080px; overflow: hidden; line-height: normal; text-align: left; -webkit-font-smoothing: antialiased; }
:is(.rec-sc, .recp-sc, .recpr-pg) section * { margin: 0; box-sizing: border-box; color: inherit; font-family: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; }
:is(.rec-sc, .recp-sc, .recpr-pg) section :is(h1, h2, h3, h4) { font-size: inherit; font-weight: inherit; }
:is(.rec-sc, .recp-sc, .recpr-pg) section p:empty { display: none; }

/* a tela do módulo */
.rec-mods { margin: -4px 0 14px; flex-wrap: wrap; border-radius: 18px; } .rec-mods a { min-width: 38px; text-align: center; } .rec-mods a.rec-off { opacity: .45; }
.rec-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 16px; align-items: start; }
.rec-main.no-notes { grid-template-columns: minmax(0, 1fr); } .rec-main.no-notes .rec-notes { display: none; }
.rec-stage { width: 100%; } .rec-stage .rec-fit { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.rec-nav { display: flex; align-items: center; gap: 8px; margin-top: 10px; } .rec-nav .sp { flex: 1; } .rec-nav #recN { min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.rec-notes { position: sticky; top: 12px; max-height: calc(100vh - 120px); overflow: auto; padding: 14px 16px; }
.rec-nh { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; margin-bottom: 8px; }
.rec-nb p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.rec-nb .rec-fala { font-size: 18px; } .rec-nb .rec-fala b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.rec-nb .rec-cue { font-size: 13px; color: var(--text-muted); } .rec-nb .rec-cue b { color: var(--accent); }
.rec-nb .rec-hist { padding: 8px 10px; border-radius: 8px; background: rgba(255,107,0,.1); font-size: 15px; }
.rec-thumbs { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.rec-gh { font-size: 13px; margin: 0 0 6px; color: var(--text-2); }
.rec-gr { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.rec-th { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; flex: none; }
.rec-th .rec-fit { border-radius: 9px; } .rec-th > span { position: absolute; left: 6px; bottom: 5px; font-size: 11px; color: #fff; background: rgba(0,0,0,.55); border-radius: 6px; padding: 0 5px; }
.rec-th.on { border-color: var(--accent); }
@media (max-width: 980px) { .rec-main { grid-template-columns: 1fr; } .rec-notes { position: static; max-height: none; } }
/* atalho no treinamento */
.rec-card { margin-bottom: 16px; padding: 12px 16px; } .rec-ch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .rec-chips .chip { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.rec-chips .chip span { font-size: 11px; opacity: .6; }
.trn-script-a { display: inline-flex; gap: 6px; margin-left: auto; } .scr-f { margin-left: 4px; } .scr-lh .sp { flex: 1; } .scr-lh { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.scr-mh .scr-f { vertical-align: middle; font-size: 12px; }

/* apresentar */
.recp { position: fixed; inset: 0; z-index: 9999; background: #000; outline: none; }
.recp-stage { position: absolute; inset: 0; } .recp-sc { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; }
.recp-sc section { animation: recIn .2s ease; } @keyframes recIn { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .recp-sc section { animation: none; } }
.recp-ui { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 6px; align-items: center; opacity: 0; transition: opacity .2s; color: #fff; font-size: 13px; }
.recp:hover .recp-ui, .recp-ui:focus-within { opacity: .85; }
.recp-ui button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }

/* roteiro em foco */
.rfo { position: fixed; inset: 0; z-index: 10000; background: #0B0A09; color: #F4EFE8; outline: none; display: flex; flex-direction: column; }
.rfo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #161412; border-bottom: 1px solid #2A2622; flex-wrap: wrap; }
.rfo-bar .sp { flex: 1; } .rfo-t { font-size: 14px; color: #BFB4A6; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rfo-bar button { min-width: 40px; height: 40px; border-radius: 10px; border: 0; background: #2A2622; color: #F4EFE8; font-size: 16px; font-weight: 700; display: grid; place-items: center; cursor: pointer; padding: 0 10px; }
.rfo-bar button.on { background: var(--accent); color: #0A0A0A; } .rfo-v { font-size: 12px; color: #8F8579; min-width: 56px; font-variant-numeric: tabular-nums; }
.rfo-sep { width: 1px; height: 24px; background: #2A2622; margin: 0 4px; }
.rfo-scroll { flex: 1; overflow-y: auto; scroll-behavior: auto; }
.rfo-in { max-width: 1100px; margin: 0 auto; padding: 32vh 6vw 60vh; line-height: 1.45; }
.rfo-in.mirror { transform: scaleX(-1); }
.rfo-in h2 { font-size: 1.15em; line-height: 1.15; margin: 0 0 .8em; color: var(--accent); }
.rec-h1 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.rfo-in h4 { font-size: .62em; letter-spacing: .06em; text-transform: uppercase; color: #8F8579; margin: 1.6em 0 .4em; font-weight: 700; }
.rfo-in p, .rfo-in li { margin: .25em 0; color: #CFC6BA; font-size: .7em; } .rfo-in ul { padding-left: 1em; margin: .2em 0; }
.rfo-in blockquote { margin: .35em 0; padding: 0; border: 0; background: none; font-style: normal; color: #FFFFFF; font-weight: 500; }
.rfo-end { margin-top: 2em; font-size: .55em; color: #8F8579; } .rfo-end button { background: none; border: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.rfo-guide { position: absolute; left: 0; right: 0; top: 34vh; height: 0; border-top: 2px solid rgba(255,107,0,.35); pointer-events: none; }
@media (max-width: 700px) { .rfo-t { max-width: 100%; order: 10; flex-basis: 100%; } .rfo-in { padding: 26vh 5vw 60vh; } }

/* PDF dos slides */
#recPrint { display: none; }
@media print {
  html.mf-print-rec body > *:not(#recPrint) { display: none !important; }
  html.mf-print-rec #recPrint { display: block !important; }
  html.mf-print-rec, html.mf-print-rec body { background: #fff !important; margin: 0; }
  .recpr-pg { width: 1920px; height: 1080px; break-after: page; page-break-after: always; overflow: hidden; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .recpr-pg:last-child { break-after: auto; page-break-after: auto; }
  html.mf-print-scr .scr-f, html.mf-print-scr .trn-script-a { display: none !important; }
}
