/* v13, 2026-11-09. James: "I prefer a computer screen than a browser for the presentation and the formatting on phone is off...header is cropped".
   1. Every framed screen is a computer screen: a thin dark bezel, no browser bar; the big ones stand on a monitor stand.
   2. The Today phone gets the status bar, so its own header clears the rounded corner.
   3. On a phone: the header fits one row, the preview bar is one tidy row, the chips stop covering the screen. */

/* 1. the computer screen */
.rf5 .v4-plat>.v4-shot,.rf5 .v4-tile .v4-shot,.rf5 .v4-visual .v4-shot,.rf5 .v4-step .v4-shot{position:relative}
.rf5 .v4-shot{background:#141217!important;padding:clamp(5px,.75%,12px)!important;border-radius:14px!important;overflow:visible!important}
.rf5 .v4-shot .v4-bar{display:none!important}
.rf5 .v4-shot>img{display:block;border-radius:4px!important}
.rf5 .v4-ink .v4-shot{background:#1c1a21!important}
/* the stand: a neck and a foot under the big screens (tiles and the scrolling stage go without) */
.rf5 .v4-shot::before,.rf5 .v4-shot::after{content:"";position:absolute;left:50%;transform:translateX(-50%);pointer-events:none;z-index:-1}
.rf5 .v4-shot::before{top:100%;width:14%;height:clamp(14px,2.6vw,48px);background:linear-gradient(90deg,#b9b6bd,#d9d7db 50%,#b2afb6);
  clip-path:polygon(14% 0,86% 0,100% 100%,0 100%)}
.rf5 .v4-shot::after{top:calc(100% + clamp(14px,2.6vw,48px));width:26%;height:clamp(4px,.45vw,8px);border-radius:0 0 6px 6px;
  background:linear-gradient(#d4d2d6,#a8a5ac);box-shadow:0 10px 18px -8px rgb(0 0 0/.45)}
.rf5 .v4-ink .v4-shot::before{background:linear-gradient(90deg,#2b2930,#3d3a43 50%,#29272e)}
.rf5 .v4-ink .v4-shot::after{background:linear-gradient(#3a3740,#232127)}
.rf5 .v4-tile .v4-shot::before,.rf5 .v4-tile .v4-shot::after,
.rf5 .v4-stage>.v4-shot::before,.rf5 .v4-stage>.v4-shot::after,
.rf5 .v4-step .v4-shot::before,.rf5 .v4-step .v4-shot::after{display:none}
/* the scrolling stage carries one stand for whichever screen is on */
.rf5 .v4-stage:not(.v5-stage)::after{content:"";position:absolute;left:43%;width:14%;top:calc(100% + 6px);height:clamp(14px,2.6vw,48px);
  background:linear-gradient(90deg,#2b2930,#3d3a43 50%,#29272e);clip-path:polygon(14% 0,86% 0,100% 100%,0 100%)}
.rf5 .v4-stage:not(.v5-stage)::before{content:"";position:absolute;left:37%;width:26%;top:calc(100% + 6px + clamp(14px,2.6vw,48px));height:clamp(4px,.45vw,8px);
  border-radius:0 0 6px 6px;background:linear-gradient(#3a3740,#232127)}
.rf5 .v4-stage>.v4-shot{height:100%;box-sizing:border-box;display:flex}
.rf5 .v4-stage>.v4-shot>img{width:100%;height:100%;object-fit:cover;object-position:top}
.rf5 .v4-stage>.v4-shot:not(.on):not(.was){opacity:0!important}
/* the step labels sit under the stand, not over it */
.rf5 .v4-stage:not(.v5-stage)~.v8-prog,.rf5 .v8-how .v8-prog{margin-top:calc(clamp(14px,2.6vw,48px) + clamp(4px,.45vw,8px) + 26px)!important}
/* room under a standing screen */
.rf5 .v4-plat>.v4-shot{margin-bottom:clamp(30px,7%,70px)}
.rf5 .v4-plat>.v4-shot{transform:none!important}
.rf5 .v4-tile .v4-shot{border-radius:10px!important}
.rf5 .v4-tile .v4-shot>img{border-radius:3px!important}

/* 2. the Today phone, drawn as a phone with its status bar */
.rf5 .v4-plat .v13-phone{padding:6px!important;border:0!important;border-radius:clamp(30px,3.2vw,44px)!important;background:#0e0d12!important;
  display:flex!important;flex-direction:column;overflow:hidden;bottom:-2%!important;
  box-shadow:inset 0 0 0 1.5px #34333b,0 0 0 1px rgb(255 255 255/.06),0 30px 60px -20px rgb(0 0 0/.55)!important}
.rf5 .v13-phone .v11-sb{border-radius:clamp(24px,2.7vw,38px) clamp(24px,2.7vw,38px) 0 0;height:clamp(22px,2vw,30px)}
.rf5 .v13-phone img{border-radius:0 0 clamp(24px,2.7vw,38px) clamp(24px,2.7vw,38px)!important}
.rf5 .v5-pages .v11-phone{box-shadow:inset 0 0 0 1.5px #34333b,0 0 0 1px rgb(255 255 255/.06),0 30px 60px -20px rgb(0 0 0/.7)!important}

@media (max-width:900px){
  .rf5 .v4-plat{padding-bottom:20%}
  .rf5 .v4-plat .v13-phone{width:34%!important;padding:4px!important;border-radius:22px!important;bottom:-4%!important}
  .rf5 .v13-phone .v11-sb{border-radius:18px 18px 0 0;height:16px;font-size:7px}
  .rf5 .v13-phone img{border-radius:0 0 18px 18px!important}
  .rf5 .v4-plat .v4-chip{display:none!important}
  .rf5 .v4-shot{border-radius:9px!important;padding:4px!important}
  .rf5 .v4-shot>img{border-radius:3px!important}
  .rf5 .v4-stage::before,.rf5 .v4-stage:not(.v5-stage)::after{display:none}
  .rf5 .v4-step .v4-shot{margin-bottom:8px}
}

/* 3. the phone header: one row, nothing past the edge */
@media (max-width:560px){
  .rf5 header .small-cta{white-space:nowrap!important;width:auto!important;height:40px!important;min-height:0!important;
    padding:0 14px!important;font-size:14px!important;line-height:40px!important;display:inline-flex!important;align-items:center;gap:6px}
  .rf5 header{gap:10px}
  .rf5 header .login-link{display:none!important}
  .rf5 header .dial-name{display:none!important}
  /* the preview bar (Mobile / Desktop / Motion) as one quiet row */
  .rf5 .experience-bar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:8px 20px!important;min-height:0!important;
    background:transparent!important;border-bottom:1px solid rgb(21 19 24/.08)}
  .rf5 .experience-bar .experience-switch{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:rgb(21 19 24/.06)}
  .rf5 .experience-bar button{font:600 13px/1 Manrope,system-ui,sans-serif!important;padding:8px 12px!important;min-height:32px!important;
    border:0!important;border-radius:8px!important;background:transparent!important;color:#151318!important;box-shadow:none!important}
  .rf5 .experience-bar button[aria-pressed="true"],.rf5 .experience-bar button[aria-current="true"],.rf5 .experience-bar button.is-active{background:#fff!important;
    box-shadow:0 1px 2px rgb(0 0 0/.12)!important}
  .rf5 .experience-bar>button{width:auto!important;height:32px!important;padding:0 12px!important;border-radius:16px!important;
    background:rgb(21 19 24/.06)!important;font-size:12px!important;white-space:nowrap!important;text-indent:0!important;overflow:visible!important}
  .rf5 .experience-bar>button::before,.rf5 .experience-bar>button::after{display:none!important}
}
@media (max-width:360px){.rf5 header .small-cta{padding:0 11px!important;font-size:13px!important}}
