/* copy-edit-phone-chrome.css — Copy an Edit on phones is the page and nothing else (owner, 2026-11-08:
 * "Inside the Copy an Edit portal there shouldn't be a bar at the top that says go home, preview, or
 * anything like that. It should just be it.")
 *   - the header bar (Home / title / Preview / account) is gone below 761px; the tab bar at the bottom
 *     goes home and "You" holds the account, as on the other tabs
 *   - the page starts under the status bar (safe-area-inset-top), full bleed
 *   - "Preview" (the how-it-works video) moves onto the player, top right (copy-edit-setup.js)
 *   - everything that sat under the bar (sticky Generate row, the reading card) moves up to match
 * Desktop keeps its header. Loaded last on copy-edit.html; only copy-edit selectors. */
@media (max-width: 760px) {
  .cf-copy-shell > .cf-copy-bar { display: none !important; }
  .cf-copy-shell .cf-copy-main { padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important; }
  .cf-copy-shell .cf-go { top: calc(env(safe-area-inset-top, 0px) + 8px); }
  .cf-copy-shell .cf-studio, .cf-copy-shell #cfRenderProgress, .cf-copy-shell #cfOutput { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 12px); }
  .cf-copy-shell[data-stage="setup"] #cfProgress.cfm-has-stage:not([hidden]) { top: calc(env(safe-area-inset-top, 0px) + 10px) !important; }

  /* Preview, on the player */
  #cfSetup .cfs-frame > .ce-cover-back {
    position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0;
    height: 32px; min-height: 32px; padding: 0 12px; border-radius: 999px;
    font: 600 12px/1 Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer;
    color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  /* once an edit is picked the player is showing it (and its words): Preview steps aside */
  #cfSetup:not([data-mode="demo"]) .cfs-frame > .ce-cover-back { display: none; }
}
/* the copied on-screen words drawn over "Yours" (copy-edit-setup.js) */
#cfSetup .cfs-frame > .cfs-text { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* the cover (copy-edit-cover-layouts.js) on phones: no logo + light/dark row either (owner 2026-11-08,
   "no top bars"); the theme lives in You > Appearance. The video starts under the status bar. */
@media (max-width: 760px) {
  .cea.cel .cel-head { display: none !important; }
  .cea.cel .cel-wrap { padding-top: env(safe-area-inset-top, 0px); box-sizing: border-box; }
}
