/* CinePlay web, the look of the APK: dark, red accent, big backdrops. Phones (touch, bottom bar) and TVs / STB portals
   (remote control, old WebKit: no grid, no variables, no inset). */
html, body { margin: 0; padding: 0; background: #0B0F18; color: #F4F5F7; font-family: Roboto, "Segoe UI", Arial, Helvetica, sans-serif; font-size: 15px; }
body { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); overflow-x: hidden; }
a { color: inherit; text-decoration: none; cursor: pointer; }
h2 { font-size: 20px; margin: 16px 0 10px; }
h3 { font-size: 17px; margin: 20px 0 8px; }
#app { padding: 0 14px 96px; padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
.boot { text-align: center; padding-top: 42vh; font-weight: 900; font-size: 34px; }
.c { color: #E8364F; }
.p { background: #3FD0C9; color: #0B0F18; padding: 0 7px; margin-left: 3px; border-radius: 4px; }
.hint { color: #969EAC; font-size: 14px; line-height: 1.45; }
.err { color: #FF6B6B; font-weight: bold; min-height: 1.2em; }

/* navigation: a logo bar on top, the tabs at the bottom on phones, on top on TVs */
.topbar { position: relative; z-index: 3; padding: 12px 0 8px; padding-top: max(12px, env(safe-area-inset-top)); white-space: nowrap; }
.logo { font-weight: 900; font-size: 24px; letter-spacing: .3px; display: inline-block; vertical-align: middle; }
.overhero { position: absolute; left: 0; right: 0; top: 0; padding-left: 14px; padding-left: max(14px, env(safe-area-inset-left)); padding-right: 14px; padding-right: max(14px, env(safe-area-inset-right)); }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: rgba(11, 15, 24, .97); border-top: 1px solid #1A2131;
       padding-bottom: env(safe-area-inset-bottom); white-space: nowrap; font-size: 0; text-align: center; }
.nav a { display: inline-block; width: 20%; padding: 8px 0 9px; font-size: 11px; color: #969EAC; font-weight: bold; }
.nav a i { display: block; font-style: normal; font-size: 21px; line-height: 1.2; margin-bottom: 1px; }
.nav a.on { color: #fff; }
.nav a.on i { color: #E8364F; }
.tvnav { display: inline-block; vertical-align: middle; margin-left: 28px; }
.tvnav a { display: inline-block; padding: 8px 16px; margin-right: 6px; border-radius: 22px; color: #C9CFDA; font-weight: bold; font-size: 17px; }
.tvnav a.on { background: #E8364F; color: #fff; }
.back { display: inline-block; padding: 8px 14px; border-radius: 20px; background: rgba(26, 33, 49, .9); font-weight: bold; }

/* hero: backdrop, gradients, title, meta, synopsis, buttons */
.hero { position: relative; margin: 0 -14px; height: 64vh; min-height: 330px; background: #121826 center top / cover no-repeat; }
.shade { position: absolute; left: 0; right: 0; top: 0; bottom: 0;
         background: -webkit-linear-gradient(bottom, #0B0F18 0%, rgba(11, 15, 24, .55) 38%, rgba(11, 15, 24, 0) 70%);
         background: linear-gradient(to top, #0B0F18 0%, rgba(11, 15, 24, .55) 38%, rgba(11, 15, 24, 0) 70%); }
.shade2 { position: absolute; left: 0; right: 0; top: 0; height: 90px;
          background: -webkit-linear-gradient(top, rgba(11, 15, 24, .85), rgba(11, 15, 24, 0));
          background: linear-gradient(to bottom, rgba(11, 15, 24, .85), rgba(11, 15, 24, 0)); }
.hinfo { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2; }
.badge { color: #3FD0C9; font-weight: 900; letter-spacing: 1.2px; font-size: 12px; }
.hinfo h1 { font-size: 30px; line-height: 1.08; margin: 6px 0 6px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.meta { color: #D5DAE3; font-size: 13px; }
.meta .star { color: #FFC83D; }
.ov { color: #C9CFDA; font-size: 13.5px; line-height: 1.42; max-height: 4.3em; overflow: hidden; margin: 8px 0 12px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: bold; font-size: 15px; margin: 0 8px 8px 0; border: 0; }
.btn.play { background: #fff; color: #0B0F18; }
.btn.info { background: rgba(255, 255, 255, .2); color: #fff; }
.btn.red { background: #E8364F; color: #fff; }
.btn.wide { display: block; text-align: center; margin: 10px 0; }
.dots { margin-top: 4px; }
.dots span { display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .35); margin-right: 5px; }
.dots span.on { width: 16px; background: #E8364F; }

/* shelves: horizontal strips of posters and channels */
.strip { white-space: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding: 4px 0 6px; margin: 0 -14px; padding-left: 14px; }
.strip::-webkit-scrollbar { display: none; }
.card { display: inline-block; vertical-align: top; width: 112px; margin-right: 10px; white-space: normal; outline: none; }
.art { position: relative; width: 100%; padding-top: 150%; border-radius: 9px; background: #1A2131 center / cover no-repeat; overflow: hidden; }
.rank { position: absolute; left: 6px; bottom: 4px; font-weight: 900; font-size: 30px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }
.cap { font-size: 12px; margin-top: 5px; height: 2.45em; overflow: hidden; color: #C9CFDA; line-height: 1.22; }
.chan { width: 148px; }
.chan .art { padding-top: 58%; background-size: 70% auto; background-color: #151B28; }
.fav { color: #FFC83D; }

/* grids (categories, a category's titles, search) */
.grid { font-size: 0; margin: 0 -1%; }
.grid .card { width: 31.3%; margin: 0 1% 12px; }
.grid .chan { width: 48%; }
.cat { display: inline-block; vertical-align: top; box-sizing: border-box; width: 48%; margin: 0 1% 10px; padding: 16px 12px; border-radius: 10px;
       background: #151B28; font-weight: bold; font-size: 14px; min-height: 54px; outline: none; }
.more { display: block; text-align: center; padding: 14px; margin: 8px 1%; border-radius: 10px; background: #151B28; color: #3FD0C9; font-weight: bold; font-size: 14px; }
.search { display: block; width: 100%; box-sizing: border-box; font-size: 16px; padding: 12px 14px; margin: 6px 0 12px; border-radius: 10px;
          border: 2px solid #232B3D; background: #151B28; color: #F4F5F7; -webkit-appearance: none; }

/* details */
.dtop { position: relative; margin: 0 -14px; height: 46vh; min-height: 250px; background: #121826 center top / cover no-repeat; }
.dbody { position: relative; z-index: 2; margin-top: -70px; }
.dbody h1 { font-size: 26px; margin: 0 0 6px; line-height: 1.1; }
.dbody .ov { max-height: none; }
.season { display: inline-block; padding: 8px 14px; margin: 0 8px 8px 0; border-radius: 20px; background: #1A2131; font-weight: bold; }
.season.on { background: #3FD0C9; color: #0B0F18; }
.ep { display: block; padding: 10px; margin-bottom: 8px; border-radius: 10px; background: #151B28; outline: none; }
.ep .thumb { float: left; width: 120px; height: 68px; border-radius: 6px; margin-right: 10px; background: #1A2131 center / cover no-repeat; }
.ep b { display: block; font-size: 14px; margin-bottom: 3px; }
.ep small { color: #969EAC; font-size: 12px; display: block; max-height: 2.6em; overflow: hidden; }
.ep:after { content: ''; display: block; clear: both; }

.form { max-width: 420px; margin: 0 auto; padding-top: 11vh; }
.form input { display: block; width: 100%; box-sizing: border-box; font-size: 18px; padding: 14px; margin: 10px 0; border-radius: 10px; border: 2px solid #232B3D; background: #151B28; color: #F4F5F7; -webkit-appearance: none; }
.card2 { background: #151B28; border-radius: 12px; padding: 14px; margin: 10px 0; line-height: 1.55; }
.pix { max-width: 640px; margin: 0 auto; text-align: center; }
.pix img { width: 100%; border-radius: 10px; display: block; margin: 8px 0; }

/* Meu perfil, as the app: avatar in the top bar, plan pill, account cards, avatar picker */
.tright { float: right; white-space: nowrap; }
.avbtn { display: inline-block; vertical-align: middle; width: 34px; height: 34px; border-radius: 17px; overflow: hidden; margin-left: 8px; background: #1A2131; text-align: center; line-height: 34px; }
.avbtn img { width: 100%; height: 100%; display: block; }
.avbtn.on { box-shadow: 0 0 0 2px #E8364F; }
.avph { font-size: 20px; }
.pill { display: inline-block; vertical-align: middle; padding: 6px 10px; border-radius: 16px; font-size: 12px; font-weight: bold; background: rgba(255, 200, 61, .18); color: #FFC83D; }
.pill.ok { background: rgba(63, 208, 201, .16); color: #3FD0C9; }
.pill.warn { background: rgba(255, 200, 61, .18); color: #FFC83D; }
.pill.bad { background: rgba(232, 54, 79, .2); color: #FF6B6B; }
.prof { margin: 10px 0 14px; white-space: nowrap; }
.prof > div { display: inline-block; vertical-align: middle; white-space: normal; }
.prof h2 { margin: 0 0 2px; }
.prof .hint { margin: 0 0 6px; }
.avbig { display: inline-block; vertical-align: middle; width: 86px; height: 86px; border-radius: 43px; overflow: hidden; margin-right: 14px; background: #1A2131; text-align: center; line-height: 86px; }
.avbig img { width: 100%; height: 100%; display: block; }
.avbig .avph { font-size: 44px; }
.kv { padding: 10px 0; border-bottom: 1px solid #1A2131; }
.kv small { display: block; color: #969EAC; font-size: 11px; font-weight: bold; letter-spacing: .8px; }
.kv b { font-size: 16px; }
.pcard { display: block; background: #151B28; border-radius: 12px; padding: 14px; margin: 10px 0; outline: none; }
.pcard small { display: block; color: #3FD0C9; font-size: 11px; font-weight: bold; letter-spacing: .8px; }
.pcard b { display: block; font-size: 16px; margin: 3px 0; }
.pcard span { display: block; color: #969EAC; font-size: 13px; }
.avgrid { font-size: 0; margin: 0 -1%; }
.avopt { display: inline-block; vertical-align: top; width: 31.3%; margin: 0 1% 12px; text-align: center; font-size: 12px; outline: none; }
.avopt img { width: 100%; border-radius: 50%; display: block; border: 3px solid transparent; box-sizing: border-box; }
.avopt.on img { border-color: #E8364F; }
.avopt span { display: block; margin-top: 4px; color: #C9CFDA; }
.pix .qr { width: 240px; max-width: 80%; background: #fff; padding: 10px; border-radius: 12px; display: block; margin: 12px auto; }
/* Renove seu plano: the app's plan cards */
.renew { max-width: 760px; }
.lbl { display: block; color: #3FD0C9; font-size: 11px; font-weight: bold; letter-spacing: .8px; }
.tier { background: #121826; border-radius: 14px; padding: 12px; margin: 12px 0; }
.tierhead b { font-size: 18px; }
.hl { color: #C9CFDA; font-size: 13px; margin-top: 3px; }
.plans { font-size: 0; margin: 8px -1% 0; }
.plan { display: inline-block; vertical-align: top; box-sizing: border-box; width: 48%; margin: 0 1% 8px; padding: 12px; border-radius: 12px; background: #1A2131;
        font-size: 14px; outline: none; border: 2px solid transparent; }
.plan b { display: block; font-size: 16px; }
.plan em { display: inline-block; font-style: normal; font-size: 11px; color: #0B0F18; background: #3FD0C9; border-radius: 8px; padding: 1px 6px; margin-top: 3px; }
.plan.mine { border-color: #3FD0C9; }
.plan .price { display: block; font-size: 18px; font-weight: 900; margin: 6px 0 2px; }
.plan .sub { display: block; color: #969EAC; font-size: 12px; }
.badge2 { display: inline-block; color: #FFC83D; font-size: 11px; font-weight: bold; margin: 3px 0; }
.plan.f:focus { outline: 3px solid #fff; outline-offset: -3px; }

/* favourites, progress, the app's row labels */
.favmark { position: absolute; right: 6px; top: 4px; color: #FFC83D; font-size: 18px; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
.prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); }
.prog i { display: block; height: 100%; background: #E8364F; }
.rowlabel { color: #3FD0C9; font-weight: 900; font-size: 11px; letter-spacing: 1.2px; margin-top: 20px; }
h3.sub { margin-top: 2px; }
.cap small { display: block; color: #969EAC; font-size: 11px; margin-top: 2px; }
.cat.special { background: #1A2131; color: #3FD0C9; }
.cat.off { opacity: .55; }
#next .btn.info { margin-left: 0; }

/* the remote control's cursor */
.f:focus { outline: 3px solid #fff; outline-offset: 2px; }
.card.f:focus { outline: none; }
.card.f:focus .art { outline: 3px solid #fff; outline-offset: -3px; -webkit-transform: scale(1.04); transform: scale(1.04); }
.tv .card.f:focus .art { -webkit-transform: none; transform: none; }  /* weak TVs: the frame only, no zoom to redraw */
.cat.f:focus, .ep.f:focus, .pcard.f:focus { background: #232B3D; outline: 3px solid #fff; outline-offset: -3px; }
.avopt.f:focus { outline: none; }
.avopt.f:focus img { border-color: #fff; }

/* player */
#video { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: #000; z-index: 10; }
#bar { display: none; position: fixed; left: 0; right: 0; top: 0; z-index: 11; padding: 10px 12px 24px; padding-top: max(10px, env(safe-area-inset-top));
       background: -webkit-linear-gradient(top, rgba(0, 0, 0, .88), rgba(0, 0, 0, 0)); background: linear-gradient(to bottom, rgba(0, 0, 0, .88), rgba(0, 0, 0, 0)); white-space: nowrap; }
#bar .title { display: inline-block; font-weight: bold; font-size: 16px; vertical-align: middle; max-width: 40%; overflow: hidden; text-overflow: ellipsis; margin-left: 6px; }
#bar .title small { display: block; font-weight: normal; font-size: 12px; color: #3FD0C9; margin-top: 2px; }
#bar .pb { display: inline-block; vertical-align: middle; padding: 8px 12px; margin-left: 6px; border-radius: 8px; background: rgba(255, 255, 255, .16); font-weight: bold; font-size: 14px; }
#bar .right { float: right; }
#panel { display: none; position: fixed; right: 0; top: 0; bottom: 0; width: 380px; max-width: 88%; z-index: 13; background: rgba(11, 15, 24, .97);
         overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px; padding-top: max(14px, env(safe-area-inset-top)); box-sizing: border-box; }
#panel h3 { margin-top: 4px; }
#next { display: none; position: fixed; right: 16px; bottom: 90px; z-index: 13; width: 300px; max-width: 86%; background: rgba(11, 15, 24, .96);
        border: 1px solid #232B3D; border-radius: 12px; padding: 14px; }
#next b { display: block; margin-bottom: 4px; }
#next .btn { margin: 10px 8px 0 0; padding: 9px 14px; font-size: 14px; }
#st { display: none; position: fixed; left: 50%; bottom: 96px; z-index: 14; -webkit-transform: translateX(-50%); transform: translateX(-50%);
      background: rgba(11, 15, 24, .94); border: 1px solid #232B3D; padding: 10px 16px; border-radius: 10px; font-weight: bold; text-align: center; max-width: 86%; }
body.playing #app { display: none; }
body.stb.playing { background: transparent; }

/* TVs, STB portals (1280x720) and big windows */
@media (min-width: 900px) {
  html, body { font-size: 18px; }
  #app { padding: 0 4% 50px; }
  .hero { margin: 0 -4.6%; height: 74vh; }
  .hinfo { left: 4.6%; bottom: 13%; max-width: 46%; }
  .hinfo h1 { font-size: 46px; }
  .ov { font-size: 16px; }
  .meta { font-size: 16px; }
  .strip { margin: 0 -4.6%; padding-left: 4.6%; }
  .card { width: 160px; margin-right: 14px; }
  .chan { width: 230px; }
  .cap { font-size: 14px; }
  .grid .card { width: 14.6%; }
  .grid .chan { width: 23%; }
  .cat { width: 23%; }
  .dtop { margin: 0 -4.6%; height: 56vh; }
  .dbody { max-width: 60%; }
  .ep { display: inline-block; vertical-align: top; width: 48%; margin-right: 1.5%; box-sizing: border-box; }
  #st { bottom: 50px; }
  /* computers and TVs: account pages keep a reading width instead of spanning the screen */
  .prof, .kv, .pcard, .card2, .avgrid, .btn.wide { max-width: 720px; }
  .avopt { width: 14.6%; }
  .plan { width: 23%; }
  .pix, .renew { max-width: 760px; }
  .tright { margin-top: 2px; }
  .avbtn { width: 40px; height: 40px; border-radius: 20px; line-height: 40px; }
}
/* a mouse (computers): hover like the remote's focus, arrows to slide the rows, a visible slider */
@media (hover: hover) and (pointer: fine) {
  .card:hover .art { outline: 3px solid #fff; outline-offset: -3px; -webkit-transform: scale(1.04); transform: scale(1.04); }
  .cat:hover, .ep:hover, .pcard:hover, .plan:hover, .season:hover { background: #232B3D; }
  .btn:hover, .pb:hover, .avbtn:hover, .tvnav a:hover { -webkit-filter: brightness(1.2); filter: brightness(1.2); }
  .avopt:hover img { border-color: #fff; }
  .stripwrap { position: relative; }
  .sarrow { position: absolute; top: 0; bottom: 34px; width: 46px; z-index: 2; display: none; text-align: center; font-size: 34px; line-height: 1;
            padding-top: 60px; box-sizing: border-box; color: #fff; background: rgba(11, 15, 24, .65); cursor: pointer; }
  .sarrow.l { left: -14px; } .sarrow.r { right: -14px; }
  .stripwrap:hover .sarrow { display: block; }
}
/* notices and the free trial (only where the panel offers them: /web/api/extras) */
.notice { max-width: 560px; margin: 0 auto; padding-top: 8vh; text-align: center; }
.notice-art { height: 240px; border-radius: 16px; background-size: cover; background-position: center; margin-bottom: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.notice h2 { font-size: 24px; margin: 0 0 8px; }
.notice p { color: #B3B8C4; line-height: 1.5; margin: 0 0 18px; }
.row2 { display: flex; gap: 10px; margin-bottom: 10px; }
.row2 .btn { flex: 1; text-align: center; }

/* cópia playcn.online: a marca nova em imagem no lugar do texto "cine PLAY" */
.logo, .boot { background: url(/web/logo.png) no-repeat center center; -webkit-background-size: contain; background-size: contain; -webkit-background-origin: content-box; background-origin: content-box; }
.logo { width: 123px; height: 30px; }
.boot { display: block; width: 280px; max-width: 80%; height: 68px; margin-left: auto; margin-right: auto; }
.logo .c, .logo .p, .boot .c, .boot .p { visibility: hidden; }
