/* Account, payment and bridge screens. Values from the mock-ups (screens/screens.css, the app's
   cream theme). Every class is prefixed rc- so these screens cannot collide with the shell. */
.rc {
  --rc-cream: #F3EEE5; --rc-top: #F8F5EF; --rc-bottom: #E7DFD2;
  --rc-ink: #221A1F; --rc-plum: #461A30; --rc-rose: #A87479;
  --rc-fg2: rgba(34,26,31,.72); --rc-fg3: rgba(34,26,31,.66);
  --rc-field: rgba(70,26,48,.05); --rc-field-edge: rgba(70,26,48,.18); --rc-hair: rgba(34,26,31,.10);
  --rc-on-photo: #F8F3EC;
  box-sizing: border-box; position: relative; min-height: 100vh; min-height: 100dvh; width: 100%;
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--rc-ink); -webkit-font-smoothing: antialiased; text-align: left;
}
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }
.rc-cream { background: linear-gradient(180deg, var(--rc-top) 0%, var(--rc-cream) 45%, var(--rc-bottom) 100%); }
.rc-page { display: flex; flex-direction: column; padding: 12px 22px calc(18px + env(safe-area-inset-bottom)); }
.rc-inner { position: relative; z-index: 2; width: 100%; max-width: 440px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; }
.rc-grow { flex: 1; min-width: 0; }
.rc-center { text-align: center; }
.rc-only-desk { display: none !important; }

.rc h1 { font-weight: 300; font-size: 28px; line-height: 1.18; letter-spacing: -.6px; margin: 6px 0 8px; }
.rc-sub { font-size: 14.5px; line-height: 1.42; color: var(--rc-fg2); margin: 0; }
.rc-small { font-size: 12px; line-height: 1.45; color: var(--rc-fg3); margin: 14px 0 0; }
.rc-small a, .rc-legal a { color: inherit; text-decoration: underline; }
.rc-step { font: 500 10.5px/1 "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: 2.4px; text-transform: uppercase; color: var(--rc-fg3); margin: 16px 0 0; }

/* top row: Back, step bars, the way out */
.rc-top { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.rc-back { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 9px; border-radius: 15px;
  background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); font: inherit; font-size: 12.5px; font-weight: 500;
  color: var(--rc-ink); box-shadow: 0 1px 6px rgba(70,26,48,.08); cursor: pointer; flex: none; }
.rc-bars { display: flex; gap: 8px; width: 100%; }
.rc-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(70,26,48,.12); }
.rc-bars i.on { background: var(--rc-plum); }
.rc-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; flex: none; }
.rc-brand > span { display: inline-flex; }

/* buttons */
.rc-btn { display: flex; width: 100%; align-items: center; justify-content: center; height: 50px; border-radius: 25px; border: 0;
  background: var(--rc-plum); color: var(--rc-cream); font: inherit; font-size: 14.5px; font-weight: 500; letter-spacing: -.07px;
  cursor: pointer; text-decoration: none; }
.rc-btn:disabled, .rc-btn[aria-disabled="true"] { opacity: .38; cursor: default; }
.rc-btn:focus-visible, .rc-link:focus-visible, .rc-plan:focus-visible, .rc-back:focus-visible { outline: 2px solid var(--rc-deep, #6898C4); outline-offset: 2px; }
.rc-soft { background: rgba(70,26,48,.07); color: var(--rc-ink); }
.rc-short { height: 44px; margin-top: 8px; }
.rc-white { background: #fff; color: #1d1418; height: 46px; font-size: 16px; font-weight: 600; }
.rc-black { background: #000; color: #fff; }
.rc-line { background: transparent; border: 1px solid rgba(70,26,48,.28); color: var(--rc-ink); }
.rc-glassbtn { height: 46px; margin-top: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; }
.rc-apple-label { display: inline-flex; align-items: center; }
.rc-apple-glyph { display: inline-flex; font-size: 17px; margin: -3px 7px 0 0; }
.rc-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; text-decoration: underline; color: var(--rc-fg2); cursor: pointer; }
.rc-link:disabled { text-decoration: none; color: var(--rc-fg3); cursor: default; }

/* notes */
.rc-msg:empty { display: none; }
.rc-msg { margin-top: 12px; }
.rc-note { border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.42; display: flex; flex-direction: column; gap: 6px; }
.rc-note.bad { background: rgba(172,59,59,.10); color: #8E2F2F; }
.rc-note.good { background: rgba(46,125,91,.12); color: #1F5C43; }
.rc-note.info { background: rgba(70,26,48,.06); color: var(--rc-fg2); }
.rc-note .rc-link { color: inherit; font-size: 13px; }
.rc-note-actions { display: flex; gap: 16px; }
.rc-note + .rc-btn { margin-top: 10px; }

/* forms */
.rc-form { display: flex; flex-direction: column; flex: 1; }
.rc-label { display: block; font-size: 11.5px; color: var(--rc-fg3); margin: 16px 0 6px; }
.rc-field { height: 48px; width: 100%; border-radius: 15px; background: var(--rc-field); border: 1px solid var(--rc-field-edge);
  padding: 0 14px; font: inherit; font-size: 16px; color: var(--rc-ink); outline: none; }
.rc-field:focus { border-color: var(--rc-plum); background: #fff; }
.rc-foot { margin-top: auto; padding-top: 22px; }
.rc-form .rc-foot { padding-bottom: 4px; }

/* code boxes: one real input over six drawn boxes, so typing, paste and autofill all work */
.rc-code { position: relative; display: flex; gap: 8px; margin-top: 18px; cursor: text; }
.rc-code i { flex: 1; height: 56px; border-radius: 15px; background: var(--rc-field); border: 1px solid var(--rc-field-edge);
  display: grid; place-items: center; font-style: normal; font-size: 24px; font-weight: 300; }
.rc-code i.cur { border: 1.5px solid var(--rc-plum); background: #fff; }
.rc-code-input { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; color: transparent;
  caret-color: transparent; font-size: 16px; letter-spacing: 40px; padding: 0 0 0 12px; outline: none; }
.rc-code-input::selection { background: transparent; }
.rc-code-input:disabled + i, .rc-code-input:disabled { cursor: default; }
.rc-links { margin: 20px 0 0; display: flex; gap: 18px; flex-wrap: wrap; }

/* account: the photograph */
.rc-photo { background: rgb(46,26,32); color: var(--rc-on-photo); overflow: hidden; }
.rc-photo-img { position: absolute; left: 0; right: 0; top: 0; height: 78%; background: url(../assets/account.jpg) 62% top / cover no-repeat; }
.rc-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,26,30,0) 12%, rgba(44,26,30,.42) 24%, rgba(48,28,34,.82) 44%, rgb(46,26,32) 78%, rgb(46,26,32) 100%); }
.rc-photo-esc { position: absolute; top: 12px; right: 22px; z-index: 5; }
.rc-photo-body { padding-top: clamp(96px, 20vh, 176px); }
.rc-photo h1 { font-size: 30px; line-height: 1.12; letter-spacing: -.8px; margin: 8px 0 6px; color: var(--rc-on-photo); }
.rc-check { width: 30px; height: 30px; border-radius: 15px; background: var(--rc-on-photo); color: #3a2228; display: inline-grid; place-items: center; font-size: 16px; }
.rc-lead { font-size: 14.5px; line-height: 1.4; color: rgba(248,243,236,.9); margin: 0; }
.rc-photo .rc-step { color: rgba(248,243,236,.8); margin: 14px 0 8px; }
.rc-subtitle { font-size: 21px; font-weight: 300; color: var(--rc-on-photo); letter-spacing: -.4px; margin: 0; }
.rc-glass { margin-top: 18px; border-radius: 28px; background: rgba(120,100,100,.42); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--rc-on-photo); padding: 14px 18px 12px; }
.rc-offer { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.rc-offer-main { font-size: 28px; font-weight: 300; letter-spacing: -.6px; }
.rc-offer-per, .rc-offer-other { font-size: 12px; opacity: .75; }
.rc-offer-other { margin-left: auto; }
.rc-incl { display: flex; gap: 12px; font-size: 13px; line-height: 1.38; margin: 0 0 6px; }
.rc-tick { width: 18px; height: 18px; border-radius: 9px; background: var(--rc-plum); color: var(--rc-cream); display: inline-grid; place-items: center; font-size: 11px; flex: none; margin-top: 1px; }
.rc-glass .rc-tick { background: var(--rc-on-photo); color: #3a2228; }
.rc-actions { margin-top: auto; padding-top: 22px; }
.rc-photo .rc-actions .rc-btn + .rc-btn { margin-top: 8px; }
.rc-legal { text-align: center; color: rgba(248,243,236,.62); font-size: 10.5px; line-height: 1.45; margin: 9px 6px 0; }
.rc-photo .rc-note.bad { background: rgba(255,235,235,.92); }
.rc-photo .rc-note.info { background: rgba(255,255,255,.14); color: var(--rc-on-photo); }
.rc-actions-cream { margin-top: 22px; padding-top: 0; }
.rc-actions-cream .rc-btn + .rc-btn { margin-top: 8px; }
.rc-signin-title { margin-top: 18px !important; }

/* plan */
.rc-plans { margin-top: 12px; }
.rc-plan { display: flex; width: 100%; align-items: center; gap: 12px; border-radius: 18px; padding: 11px 14px; margin: 0 0 8px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(70,26,48,.16); font: inherit; color: var(--rc-ink); text-align: left; cursor: pointer; }
.rc-plan.sel { border: 1.5px solid var(--rc-plum); background: #fff; }
.rc-plan-name b { display: block; font-size: 15px; font-weight: 500; }
.rc-plan-name small { display: block; font-size: 11.5px; color: var(--rc-fg3); }
.rc-amt { margin-left: auto; text-align: right; font-size: 19px; font-weight: 300; letter-spacing: -.4px; }
.rc-amt small { display: block; font-size: 11.5px; color: var(--rc-fg3); letter-spacing: 0; }
.rc-radio { width: 20px; height: 20px; border-radius: 10px; border: 1.5px solid rgba(70,26,48,.4); flex: none; }
.rc-plan.sel .rc-radio { border: 6px solid var(--rc-plum); }
.rc-country { margin: 2px 4px 0; }
.rc-country .rc-link { font-size: 12px; }
.rc-checkout { margin-top: 12px; min-height: 64px; border-radius: 14px; }
.rc-loading { height: 120px; display: grid; place-items: center; font-size: 13px; color: var(--rc-fg3); border-radius: 14px; background: rgba(255,255,255,.5); }
.rc-mockpay { border: 1px dashed rgba(70,26,48,.35); border-radius: 14px; background: #fff; padding: 18px 16px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.rc-mockpay p { margin: 0; font-size: 13px; color: var(--rc-fg3); }
.rc-mockpay .rc-btn { border-radius: 12px; height: 46px; }
.rc-renewal { text-align: center; font-size: 11.5px; line-height: 1.45; color: var(--rc-fg3); margin: 10px 4px 0; }
.rc-next { text-align: center; font-size: 12px; line-height: 1.45; color: var(--rc-ink); margin: 0; }

/* paying */
.rc-spinner { width: 34px; height: 34px; margin: 28px auto 0; border-radius: 50%; border: 3px solid rgba(70,26,48,.14); border-top-color: var(--rc-plum); animation: rc-spin 1s linear infinite; }
.rc-spinner[hidden] { display: none; }
@keyframes rc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rc-spinner { animation: none; } }

/* bridge */
.rc-card { border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.5)); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 14px 30px rgba(70,26,48,.10); padding: 16px; margin-top: 16px; }
.rc-appcard { display: flex; align-items: center; gap: 14px; }
.rc-appcard img { width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.rc-appcard b { font-size: 17px; font-weight: 500; }
.rc-appcard .rc-small { margin: 0; }
.rc-badgebtn { margin-top: 14px; height: 52px; border-radius: 12px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.rc-ap { display: inline-flex; font-size: 28px; line-height: 1; margin-top: -4px; }
.rc-badgebtn small { display: block; font-size: 10.5px; line-height: 1; opacity: .9; }
.rc-badgebtn b { display: block; font-size: 20px; font-weight: 500; line-height: 1.1; letter-spacing: -.3px; }
.rc-coming { margin-top: 14px; border-radius: 14px; background: rgba(70,26,48,.06); padding: 12px 14px; }
.rc-coming b { display: block; font-size: 14.5px; font-weight: 500; }
.rc-coming .rc-small { margin: 4px 0 0; }
.rc-open { margin-top: 14px; }
.rc-numrow { display: flex; gap: 12px; margin-top: 14px; font-size: 13.5px; line-height: 1.42; color: var(--rc-fg2); }
.rc-numrow b { color: var(--rc-ink); font-weight: 500; }
.rc-num { width: 24px; height: 24px; border-radius: 12px; border: 1px solid rgba(70,26,48,.3); display: grid; place-items: center; font-size: 12px; font-weight: 500; flex: none; color: var(--rc-plum); }
.rc-bridge-body > .rc-note { margin-top: 14px; }
.rc-bridge-foot .rc-small { text-align: center; }
.rc-manage { text-align: center; margin-top: 8px; }
.rc-manage:empty { display: none; }
.rc-qrcard { text-align: center; padding: 26px; }
.rc-qr { position: relative; width: 100%; max-width: 278px; aspect-ratio: 1; margin: 0 auto; }
.rc-qr-svg, .rc-qr-svg svg { display: block; width: 100%; height: 100%; }
.rc-qr-icon { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.rc-qr-icon img { width: 48px; height: 48px; border-radius: 11px; }
.rc-qr-status { margin: 14px 0 0; font-size: 13px; color: var(--rc-ink); }
.rc-qr-note { margin: 6px 0 0; font-size: 13px; }
.rc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #A8661A; margin-right: 7px; }
.rc-done-mark { height: 278px; display: grid; place-items: center; }

/* ---------- computer ---------- */
@media (min-width: 900px) {
  .rc-only-desk { display: revert !important; }
  .rc-only-phone { display: none !important; }
  .rc-page { padding: 18px 44px 40px; }
  .rc-inner.rc-wide { max-width: 1040px; }
  .rc-top .rc-brand { font-size: 19px; gap: 9px; }
  .rc-split { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 440px); gap: 80px; justify-content: space-between; align-items: start; margin-top: 64px; }
  .rc-deskbars { width: 150px; margin-bottom: 14px; }
  .rc-wide h1 { font-size: 42px; letter-spacing: -1px; margin: 10px 0 12px; }
  .rc-wide .rc-sub { font-size: 17px; }
  .rc-wide .rc-step { margin-top: 0; }
  .rc-incls { margin-top: 24px; }
  .rc-incls .rc-incl { font-size: 15.5px; margin-bottom: 13px; }
  .rc-col-a .rc-next { text-align: left; font-size: 13.5px; margin-top: 22px; }
  .rc-paycard { border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.5)); border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 14px 30px rgba(70,26,48,.10); padding: 26px; margin-top: -30px; }
  .rc-paycard .rc-plans { margin-top: 0; }
  .rc-renewal { margin-top: 12px; }
  .rc-bridge-desk .rc-split { grid-template-columns: minmax(0, 470px) 330px; }
  .rc-bridge-desk .rc-col-b .rc-card { margin-top: -14px; }
  .rc-bridge-desk .rc-numrow { font-size: 15.5px; }
  .rc-bridge-desk .rc-bridge-body > .rc-numrow:first-child, .rc-bridge-desk .rc-bridge-body > div > .rc-numrow:first-child { margin-top: 22px; }
  .rc-bridge-desk .rc-bridge-body > .rc-note { margin-top: 22px; font-size: 15px; }
  .rc-bridge-desk .rc-bridge-foot { margin-top: 26px; padding-top: 0; }
  .rc-bridge-desk .rc-bridge-foot .rc-small { text-align: left; font-size: 13px; }
  .rc-bridge-desk .rc-manage { text-align: left; }
  .rc-bridge-phone, .rc-inner:not(.rc-wide) { max-width: 440px; }
  .rc-bridge-phone .rc-split { display: block; margin-top: 0; }
  .rc-inner:not(.rc-wide) { padding-top: 40px; flex: none; }
  .rc-inner:not(.rc-wide) .rc-foot, .rc-inner:not(.rc-wide) .rc-form { margin-top: 0; flex: none; }
  .rc-inner:not(.rc-wide) .rc-foot { padding-top: 28px; }
  .rc-photo-img { height: 100%; background-position: center 30%; }
  .rc-photo-shade { background: linear-gradient(90deg, rgba(46,26,32,.35), rgba(46,26,32,.82) 35%, rgba(46,26,32,.82) 65%, rgba(46,26,32,.35)); }
  .rc-photo .rc-photo-body { margin: auto; padding: 48px 0; }
  .rc-photo .rc-actions { margin-top: 0; }
}
