/* release 561 (owner: "double check the phone version; we may not need videos and complicated buttons on phones; the new
   panels and cards are not visible on phones; check all pages so that by simply dragging, the user understands each page's
   intention and is led to the proper next step"). Phones only (under 768px wide; the panels under 900px like the desktop rule).
   1. Scroll films (Home's hero, Simulation and satellite, the films on How it works, Track record, Pricing and the simulators)
      do not pin on phones: their scripts stop there (release 561), so each shows its still with its words and buttons.
   2. Home's first screen on phones: words, then the two buttons side by side, then the numbers, nothing on top of anything.
   3. Buttons on phones: square, one line, no dots.
   4. Games and Live: the picture panels (the two players in the teams' colours) sit on top of every phone card; Games shows
      one game per row so the picture has room.
   5. Under Games: one closing band instead of three sales sections in a row.
   6. The footer on phones: the legal links, the notes and the hotline stay; the menu's duplicate link lists and the black card
      go (the menu and the bar at the bottom have them); the long legal text folds into "Legal details" (b561_phone.js). */

/* 2-3. Home's first screen and the buttons */
@media (max-width: 767px) {
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-hero.h9-sky { height: auto !important; min-height: 0 !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky .sky-stage { position: relative !important; top: auto !important; height: auto !important; min-height: 0 !important; display: flex !important; flex-direction: column; padding: 28px 0 26px; overflow: hidden; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky :is(.sky-still, .sky-canvas, .sky-shade) { position: absolute !important; inset: 0 !important; height: 100% !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky .sky-still img { width: 100% !important; height: 100% !important; object-fit: cover; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky :is(.sky-words, .sky-foot) { position: relative !important; inset: auto !important; top: auto !important; bottom: auto !important; transform: none !important; opacity: 1 !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky .sky-foot { margin-top: 30px; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky .sky-beat { display: none !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky .h9-btns { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-pill { min-height: 46px !important; padding: 0 16px !important; border-radius: 0 !important; gap: 0 !important; font-size: 13px !important; letter-spacing: .04em !important; box-shadow: none !important; white-space: nowrap; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-pill::before { display: none !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-sky .h9-pill:not(.is-dark), html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .r9 .h9-pill.is-ghost { box-shadow: inset 0 0 0 2px #fff !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .h9-btns { gap: 10px !important; }
}

/* 4. the picture panels on phone cards */
@media (max-width: 899px) {
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp { position: relative; display: block; aspect-ratio: 21 / 8; overflow: hidden; container-type: inline-size; color: #fff; background: linear-gradient(118deg, color-mix(in srgb, var(--gxp-a, #1F2937) 62%, #0A0B0F) 0 50%, color-mix(in srgb, var(--gxp-b, #374151) 62%, #0A0B0F) 50% 100%); }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp[data-gxp-sport="nfl"] { background: #1B2A5C url("/static/img/games/flag-1600.webp?v=r521") center / cover no-repeat; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp[data-gxp-sport="epl"] { background: #F4F4F4 url("/static/img/games/flag-eng-1600.webp?v=r523") center / cover no-repeat; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp:is([data-gxp-sport="nfl"], [data-gxp-sport="epl"])::before { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(10, 11, 15, .6), rgba(10, 11, 15, .28)); }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-art { position: absolute; inset: 0; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-code { position: absolute; font: 400 20cqi/.8 "Clay Attica", Manrope, system-ui, sans-serif; font-style: normal; letter-spacing: -.03em; color: rgba(255, 255, 255, .17); white-space: nowrap; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-code.is-a { left: 3cqi; top: 4cqi; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-code.is-b { right: 3cqi; bottom: 2cqi; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-chip { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 11px; background: #0A0B0F; color: #fff; font: 800 12px/1 Manrope, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl img { position: absolute; bottom: 4%; height: 86%; width: auto; max-width: 40%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp[data-gxp-sport="nfl"] .gxp-ppl img { bottom: 0; height: 90%; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl img.is-a { left: 16%; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl img.is-b { right: 16%; transform: scaleX(-1); }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp { display: block !important; aspect-ratio: 16 / 9 !important; margin: -2px -2px 12px; width: calc(100% + 4px); }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-code { font-size: 30cqi !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl img { max-width: 44% !important; height: 88% !important; bottom: 0 !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl img.is-a { left: 6% !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-ppl img.is-b { right: 6% !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp.has-ppl :is(.gxp-kits, .gxp-ball), html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) :is(.gxp-more, .gxp-cap, .gxp-d) { display: none !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-kits { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6cqi; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-kits :is(.lvk-j, .gx-kit, .lv-kit) { display: block; width: 24cqi; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-kits svg { display: block; width: 100% !important; height: auto !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-chip { left: 10px !important; top: 10px !important; padding: 5px 8px !important; font-size: 10.5px !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-edge { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 9px; background: #fff; color: #0A0B0F; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-edge b { font: 800 16px/1 Manrope, system-ui, sans-serif; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) .gxp-edge small { font: 800 10px/1 Manrope, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #4B5060; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) > .lvk-btn { flex-direction: column !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body :is(.gxk, .lv9) { overflow: hidden; border-radius: 0 !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .bt-badge.is-disagree { border-radius: 0 !important; background: #0A0B0F !important; color: #fff !important; box-shadow: none !important; }
}
@media (max-width: 767px) {
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .bt-day-list:has(> .gxk) { grid-template-columns: minmax(0, 1fr) !important; }
}

/* 5. one closing band under Games */
@media (max-width: 767px) {
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body .b371-more:has(> .b-cta-plain) > :is(section.b-cta, section.b-section) { display: none !important; }
}

/* 6. the footer */
@media (max-width: 767px) {
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b-footer-top > section:not(:last-of-type), html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b-footer-card { display: none !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b-footer-top { padding-top: 8px !important; padding-bottom: 8px !important; min-height: 0 !important; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b561-legal { margin: 6px 20px 0; border-top: 1px solid rgba(10, 11, 15, .14); }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b561-legal > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; font: 800 13px/1 Manrope, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b561-legal > summary::-webkit-details-marker { display: none; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b561-legal > summary::after { content: "+"; font-size: 20px; }
  html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9):not(#q10) body footer.scoutics-footer .b561-legal[open] > summary::after { content: "\2212"; }
}
