/*
 * iBET marketing theme. The first part is the app homepage stylesheet (staging-app
 * public/assets/templates/basic/css/home.css) so both sites look the same; site additions follow.
 */
:root {
  --ink: #0c0e2c; --ink2: #10143a; --panel: #181e4c; --panel2: #222a63; --line: #2f355e;
  --orange: #ff5300; --orange2: #ff8a00; --white: #fff; --text: #e6e9ff; --muted: #9aa3c7;
  --green: #34d399; --red: #f87171;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --r: 14px; --gut: clamp(16px, 4vw, 40px); --max: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange2); outline-offset: 3px; border-radius: 6px; }
.hp-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.hp h1, .hp h2, .hp h3 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; color: var(--white); line-height: .9; margin: 0; text-wrap: balance; }
.hp-eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--orange2); }
.hp-num { font-variant-numeric: tabular-nums; }
.hp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; padding: 12px 20px; white-space: nowrap; }
.hp-btn-orange { background: linear-gradient(90deg, var(--orange), var(--orange2)); color: var(--white); box-shadow: 0 10px 30px -10px rgba(255, 83, 0, .7); }
.hp-btn-orange:hover { filter: brightness(1.07); }
.hp-btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.hp-btn-ghost:hover { border-color: var(--muted); }
.hp-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-store { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid #3a3f63; border-radius: 12px; padding: 9px 18px 9px 14px; color: #fff; min-width: 170px; }
.hp-store:hover { border-color: var(--muted); }
.hp-store svg { width: 24px; height: 24px; flex: none; }
.hp-store small { display: block; font-size: 10.5px; line-height: 1.1; color: #cfd3ea; }
.hp-store strong { display: block; font-size: 18px; line-height: 1.1; font-weight: 600; }

/* header */
.hp-topbar { height: 6px; background: linear-gradient(90deg, var(--orange), var(--orange2)); }
.hp-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(12, 14, 44, .94); backdrop-filter: blur(8px); }
.hp-header .hp-wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.hp-logo img { height: 30px; width: auto; }
.hp-nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; color: var(--muted); }
.hp-nav a:hover { color: var(--white); }
.hp-header-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* hero */
.hp-hero { position: relative; overflow: hidden; }
.hp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .03) 58% 100%),
  repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .022) 46px 48px); }
.hp-hero::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 70%; height: 90%; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 83, 0, .28), transparent 70%); }
.hp-hero .hp-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 30px 18px; }
/* Sized so "More or less." and the band each hold one line in the hero's text column (about
   600px wide at desktop widths); the cap stops it outgrowing that column on wide screens. */
.hp-hero h1 { font-size: clamp(44px, 4.4vw, 60px); }
.hp-band { display: inline-block; margin: 10px 0 0 -8px; padding: 2px 22px 0 18px; background: linear-gradient(90deg, var(--orange), var(--orange2)); transform: skewX(-14deg); white-space: nowrap; font-size: .9em; }
.hp-band span { display: inline-block; transform: skewX(14deg); }
.hp-lede { margin: 20px 0 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); }
.hp-offer { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 40px; background: var(--panel); border: 1px solid var(--line); max-width: 100%; }
.hp-offer .tag { flex: none; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; background: var(--green); color: #062a1c; padding: 5px 10px; border-radius: 30px; }
.hp-offer b { color: var(--white); }
.hp-get { margin-top: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hp-qr-card { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px dashed var(--line); }
.hp-qr { width: 74px; height: 74px; background: #fff; border-radius: 8px; padding: 4px; flex: none; }
.hp-qr img { width: 100%; height: 100%; }
.hp-qr-card p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); max-width: 10em; }
.hp-qr-card p b { color: var(--white); display: block; font-size: 14px; }
.hp-proof { margin-top: 24px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hp-proof b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 28px; color: var(--white); line-height: 1; }

.hp-phones { position: relative; height: 430px; }
.hp-phone { position: absolute; width: 198px; aspect-ratio: 9/19.3; border-radius: 38px; background: #05061a; padding: 8px; box-shadow: 0 0 0 1px #3a3f63, 0 50px 90px -30px rgba(0, 0, 0, .9); }
.hp-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.hp-phone.front { right: 10%; top: 0; z-index: 2; }
.hp-phone.back { right: 50%; top: 64px; transform: rotate(-7deg); z-index: 1; }
.hp-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: 260px; background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); font-size: 13px; line-height: 1.3; color: var(--muted); }
.hp-chip b { color: var(--white); font-size: 15px; display: block; }
.hp-chip .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 15px; }
.hp-chip.boost { right: 0; top: 70px; }
.hp-chip.reboot { left: 0; bottom: 20px; }
.hp-chip.reboot .ic { background: var(--green); color: #062a1c; }

/* live leagues */
.hp-leagues { position: sticky; top: 68px; z-index: 30; border-block: 1px solid var(--line); background: rgba(16, 20, 58, .96); backdrop-filter: blur(8px); }
.hp-leagues .hp-wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.hp-live { flex: none; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--white); }
.hp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: hp-pulse 2s infinite; }
@keyframes hp-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
/* The bar scrolls sideways. Arrows and edge fades appear only on the side that has more. */
.hp-lg-nav { position: relative; flex: 1; min-width: 0; }
.hp-lg-nav::before, .hp-lg-nav::after { content: ""; position: absolute; top: 0; bottom: 0; width: 72px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .15s; }
.hp-lg-nav::before { left: 0; background: linear-gradient(90deg, rgb(16, 20, 58) 35%, rgba(16, 20, 58, 0)); }
.hp-lg-nav::after { right: 0; background: linear-gradient(270deg, rgb(16, 20, 58) 35%, rgba(16, 20, 58, 0)); }
.hp-lg-nav.can-prev::before, .hp-lg-nav.can-next::after { opacity: 1; }
/* The stat filter row sits on the page ground, not the league bar's panel. */
.hp-lg-nav.on-ink::before { background: linear-gradient(90deg, rgb(12, 14, 44) 35%, rgba(12, 14, 44, 0)); }
.hp-lg-nav.on-ink::after { background: linear-gradient(270deg, rgb(12, 14, 44) 35%, rgba(12, 14, 44, 0)); }
.hp-lg-arrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--white); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .15s, border-color .15s; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .8); }
.hp-lg-arrow svg { width: 16px; height: 16px; }
.hp-lg-arrow:hover { border-color: var(--orange); color: var(--orange2); }
.hp-lg-arrow.prev { left: 0; }
.hp-lg-arrow.next { right: 0; }
.hp-lg-nav.can-prev .hp-lg-arrow.prev, .hp-lg-nav.can-next .hp-lg-arrow.next { opacity: 1; visibility: visible; }
.hp-lg-scroll { min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.hp-lg-scroll::-webkit-scrollbar { display: none; }
.hp-lg-row { display: flex; gap: 8px; width: max-content; }
.hp-lg { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 30px; border: 1px solid var(--line); background: var(--panel); white-space: nowrap; }
.hp-lg:hover { border-color: var(--muted); }
.hp-lg img { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--panel2); }
.hp-lg span { font-weight: 600; font-size: 14px; color: var(--white); }
.hp-lg em { font-style: normal; font-size: 12px; color: var(--muted); }
.hp-lg[aria-pressed="true"] { border-color: var(--orange); background: linear-gradient(90deg, rgba(255, 83, 0, .24), rgba(255, 138, 0, .08)); }

/* sections */
.hp-section { padding-block: 56px; }
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hp-head h2 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 8px; }
.hp-head p { margin: 10px 0 0; color: var(--muted); max-width: 40em; }
.hp-flag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 83, 0, .12); border: 1px solid rgba(255, 83, 0, .4); color: var(--white); font-size: 14px; }
.hp-flag svg { width: 18px; height: 18px; color: var(--orange2); flex: none; }

/* board */
.hp-board { padding-top: 24px; }
.hp-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.hp-stats { min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.hp-stats::-webkit-scrollbar { display: none; }
.hp-stat { flex: none; padding: 8px 14px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--text); }
.hp-stat em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 4px; }
.hp-stat[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.hp-stat[aria-pressed="true"] em { color: #5b6285; }
.hp-search { flex: none; position: relative; }
.hp-search input { width: 220px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; color: var(--white); padding: 8px 14px 8px 36px; font: 500 14px var(--body); }
.hp-search input::placeholder { color: var(--muted); }
.hp-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }

.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.hp-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.hp-card:hover { border-color: #4a5290; transform: translateY(-2px); }
.hp-card-hit { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 16px 12px 0; background: none; border: 0; width: 100%; border-radius: var(--r) var(--r) 0 0; }
.hp-card-stats { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(12, 14, 44, .6); color: var(--muted); pointer-events: none; }
.hp-card-stats svg { width: 15px; height: 15px; }
.hp-card:hover .hp-card-stats { color: var(--orange2); }
.hp-av { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; background: radial-gradient(circle at 50% 35%, #2d3574, #151a44); }
.hp-av.logo { object-fit: contain; padding: 16px; }
.hp-av.initials { display: grid; place-items: center; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 32px; color: var(--white); }
.hp-pos { margin-top: -11px; position: relative; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--white); background: var(--ink); border: 1px solid var(--line); padding: 3px 9px; border-radius: 20px; min-height: 22px; }
.hp-pos:empty { visibility: hidden; }
.hp-name { margin-top: 8px; font-weight: 700; font-size: 16px; line-height: 1.2; color: var(--white); overflow-wrap: anywhere; }
.hp-when { font-size: 13px; color: var(--muted); margin-top: 2px; }
.hp-line { margin: 8px 0 12px; display: flex; flex-direction: column; align-items: center; }
.hp-line b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 34px; color: var(--white); line-height: 1; }
.hp-line span { font-size: 13px; color: var(--muted); }
.hp-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; margin-top: auto; }
.hp-pick { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 0; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--white); }
.hp-pick:hover { border-color: var(--orange); background: rgba(255, 83, 0, .14); }
.hp-pick[disabled] { opacity: .35; cursor: not-allowed; }
.hp-pick svg { width: 14px; height: 14px; }
.hp-skel { height: 290px; border-radius: var(--r); background: linear-gradient(90deg, var(--panel) 0, var(--panel2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: hp-shimmer 1.2s infinite; }
@keyframes hp-shimmer { to { background-position: -200% 0; } }
.hp-empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }
.hp-more { margin-top: 20px; display: flex; justify-content: center; }
.hp-board-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.hp-board-foot p { margin: 0; }
.hp-board-foot b { color: var(--white); }

/* promos */
.hp-src { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hp-src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hp-feature { display: block; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 5px var(--ink), 0 0 0 8px var(--orange); }
/* height:auto matters: the <img> carries width/height attributes (1200x340) to reserve space, and
   without it that 340px height wins over aspect-ratio and the banner is cropped at narrower widths.
   contain, not cover: banner text runs edge to edge, so nothing may be trimmed. */
.hp-feature img { width: 100%; height: auto; aspect-ratio: 1200/340; object-fit: contain; background: var(--ink); }
.hp-feature-row { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hp-feature-row p { margin: 10px 0 0; font-size: 18px; }
.hp-feature-row p b { color: var(--white); }
.hp-pgrid { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.hp-pcard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.hp-pcard img { width: 100%; height: auto; aspect-ratio: 1200/340; object-fit: contain; background: var(--ink); }
.hp-pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-pcard h3 { font-size: 30px; }
.hp-pcard p { margin: 0; color: var(--muted); font-size: 15px; }
.hp-pcard .hp-btn { margin-top: auto; align-self: flex-start; }
.hp-pchips { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-pchip { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; padding: 3px 9px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); color: var(--text); }
.hp-pchip.hot { background: rgba(255, 83, 0, .16); border-color: rgba(255, 83, 0, .5); color: var(--orange2); }
.hp-pchip.welcome { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .45); color: var(--green); }

/* how it works */
.hp-how { background: var(--ink2); border-block: 1px solid var(--line); }
.hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hp-step { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink); }
.hp-step .n { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 64px; line-height: .8; background: linear-gradient(90deg, var(--orange), var(--orange2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-step h3 { font-size: 30px; margin-top: 14px; }
.hp-step p { margin: 10px 0 0; color: var(--muted); }

/* in the app */
.hp-inapp .hp-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.hp-inapp .hp-phone { position: relative; margin-inline: auto; right: auto; top: auto; width: 250px; }
.hp-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; margin-top: 28px; }
.hp-feat h3 { font-family: var(--body) !important; font-style: normal !important; text-transform: none !important; font-weight: 700 !important; font-size: 18px !important; line-height: 1.25 !important; display: flex; align-items: center; gap: 10px; }
.hp-feat h3 i { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 83, 0, .14); color: var(--orange2); }
.hp-feat h3 i svg { width: 17px; height: 17px; }
.hp-feat p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* final */
.hp-final { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--orange), var(--orange2)); }
.hp-final::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .08) 46px 48px); }
.hp-final .hp-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 48px; }
.hp-final h2 { font-size: clamp(38px, 5vw, 66px); }
.hp-final p { margin: 10px 0 0; color: #fff3ea; font-size: 18px; }
.hp-final .hp-store { background: var(--ink); border-color: var(--ink); }

.hp-footer { padding-block: 40px; color: var(--muted); font-size: 14px; }
.hp-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hp-footer-top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.hp-footer-top nav a:hover { color: var(--white); }
.hp-rg { margin: 20px 0 0; max-width: 70em; }
.hp-rg b { color: var(--white); }

/* dialogs */
.hp-dialog { border: 0; padding: 0; border-radius: 18px; background: var(--panel); color: var(--text); width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -20px rgba(0, 0, 0, .9); }
.hp-dialog.small { width: min(420px, calc(100vw - 24px)); }
.hp-dialog::backdrop { background: rgba(5, 6, 26, .78); }
.hp-dialog-top { height: 6px; background: linear-gradient(90deg, var(--orange), var(--orange2)); }
.hp-dialog-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); color: var(--white); display: grid; place-items: center; z-index: 2; }
.hp-dialog-close svg { width: 16px; height: 16px; }
.hp-dialog-body { padding: 22px; }

.hp-pl-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; }
.hp-pl-head .hp-av { width: 76px; height: 76px; flex: none; }
.hp-pl-head .nm { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 32px; line-height: .95; text-transform: uppercase; color: var(--white); }
.hp-pl-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.hp-pl-line { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); }
.hp-pl-line .val { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 36px; color: var(--white); line-height: 1; }
.hp-pl-line .st { color: var(--muted); font-size: 14px; line-height: 1.2; }
.hp-pl-line .hp-picks { margin-left: auto; padding: 0; width: 190px; }
.hp-summary { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.hp-summary span { font-size: 13px; padding: 5px 10px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); }
.hp-summary b { color: var(--white); }
.hp-chart-title { margin: 18px 0 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); }
.hp-chart { position: relative; height: 150px; margin-top: 22px; padding-right: 48px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line); }
.hp-chart .ln { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(255, 255, 255, .55); z-index: 1; pointer-events: none; }
.hp-chart .ln span { position: absolute; right: 0; top: -9px; width: 44px; text-align: right; font-size: 11px; font-weight: 700; line-height: 16px; color: var(--white); background: var(--panel); }
.hp-bar { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.hp-bar i { display: block; width: 100%; max-width: 36px; border-radius: 6px 6px 0 0; background: #4a5290; min-height: 3px; }
.hp-bar.over i { background: linear-gradient(180deg, var(--orange2), var(--orange)); }
.hp-bar.push i { background: #c7cbdb; }
.hp-bar.dnp i { background: transparent; border: 1px dashed var(--line); border-bottom: 0; }
.hp-bar b { font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-chart-x { display: flex; gap: 6px; margin-top: 6px; padding-right: 48px; }
.hp-chart-x span { flex: 1; min-width: 0; text-align: center; font-size: 11px; line-height: 1.2; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-log { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.hp-log table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.hp-log th, .hp-log td { padding: 8px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.hp-log th { font-weight: 700; color: var(--muted); font-size: 11px; letter-spacing: .06em; background: var(--ink); position: sticky; top: 0; }
.hp-log th:first-child, .hp-log td:first-child, .hp-log th:nth-child(2), .hp-log td:nth-child(2) { text-align: left; }
.hp-log tr:last-child td { border-bottom: 0; }
.hp-log .hl { background: rgba(255, 83, 0, .12); color: var(--white); font-weight: 700; }
.hp-log th.hl { color: var(--orange2); }
.hp-note { margin: 18px 0 0; padding: 14px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.hp-pl-cta { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.hp-pl-cta p { margin: 0; font-size: 14px; color: var(--muted); }

.hp-get-body { text-align: center; }
.hp-get-body h3 { font-size: 34px; margin-top: 8px; }
.hp-get-pick { margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); text-align: left; display: flex; align-items: center; gap: 12px; }
.hp-get-pick .hp-av { width: 48px; height: 48px; flex: none; font-size: 18px; }
.hp-get-pick .hp-av.logo { padding: 8px; }
.hp-get-pick b { color: var(--white); display: block; }
.hp-get-pick .dir { margin-left: auto; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 22px; color: var(--orange2); text-transform: uppercase; }
.hp-get-body .hp-qr { width: 156px; height: 156px; margin: 6px auto 10px; padding: 8px; }
.hp-get-body .hp-stores { justify-content: center; margin-top: 14px; }

/* responsive */
/* Below 1180px the text column and the phones no longer both fit: the headline wraps and the
   board is pushed below the fold. Drop to one column there. */
@media (max-width: 1180px) {
  /* minmax(0, 1fr), not 1fr: a bare 1fr column grows to its widest unbreakable child. */
  .hp-hero .hp-wrap { grid-template-columns: minmax(0, 1fr); padding-block: 30px 6px; }
  .hp-hero h1 { font-size: clamp(44px, 6.4vw, 72px); }
  /* The board is the point of the page: the same screenshots appear in the app section further on. */
  .hp-phones { display: none; }
}
@media (max-width: 1000px) {
  .hp-nav { display: none; }
  .hp-inapp .hp-wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hp-qr-card { display: none; }
}
@media (max-width: 700px) {
  .hp-header .hp-btn { padding: 9px 14px; font-size: 14px; }
  .hp-header .hp-wrap { min-height: 60px; }
  .hp-leagues { top: 60px; }
  .hp-live .txt { display: none; }
  .hp-tools { flex-direction: column; align-items: stretch; }
  .hp-search input { width: 100%; }
  .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hp-card-hit { padding: 12px 8px 0; }
  .hp-av { width: 66px; height: 66px; }
  .hp-av.logo { padding: 12px; }
  .hp-name { font-size: 14px; }
  .hp-when { font-size: 12px; }
  .hp-line b { font-size: 28px; }
  .hp-picks { padding: 0 8px 8px; gap: 6px; }
  .hp-pick { font-size: 12px; }
  .hp-feats { grid-template-columns: 1fr; }
  .hp-steps { grid-template-columns: minmax(0, 1fr); }
  .hp-store { min-width: 0; flex: 1 1 150px; }
  .hp-section { padding-block: 44px; }
  .hp-pl-line { flex-wrap: wrap; }
  .hp-pl-line .hp-picks { width: 100%; margin-left: 0; }
  .hp-pl-head .nm { font-size: 26px; }
  .hp-get-body .hp-qr { display: none; }
}
/* Phones: keep the hero to about one screen so the board starts right after it. */
@media (max-width: 520px) {
  .hp-hero .hp-wrap { padding-block: 20px 4px; }
  .hp-hero .hp-eyebrow { font-size: 12px; letter-spacing: .1em; }
  /* Sized to the viewport so "That's the game." stays on one line inside its band at 320-520px. */
  .hp-hero h1 { font-size: min(11vw, 54px); margin-top: 10px !important; }
  /* One line in the band: the band text is set a size down from "More or less." so it fits 320px screens. */
  .hp-band { white-space: nowrap; margin-left: 4px; padding: 2px 10px 0 8px; font-size: .66em; }
  .hp-lede { font-size: 16px; margin-top: 14px; }
  .hp-offer { border-radius: 14px; padding: 8px 12px 8px 8px; font-size: 14px; line-height: 1.35; margin-top: 16px; }
  .hp-get { margin-top: 16px; }
  .hp-stores { gap: 8px; width: 100%; }
  .hp-store { flex: 1 1 0; padding: 8px 10px; gap: 8px; }
  .hp-store svg { width: 20px; height: 20px; }
  .hp-store strong { font-size: 15px; white-space: nowrap; }
  .hp-store small { font-size: 9.5px; white-space: nowrap; }
  .hp-proof { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 12px; line-height: 1.3; }
  .hp-proof > div:nth-child(3) { display: none; }
  .hp-proof b { font-size: 22px; }
  .hp-head h2 { font-size: 34px; }
  .hp-head p { font-size: 15px; }
  .hp-flag { font-size: 13px; padding: 7px 12px; }
  .hp-final .hp-wrap { padding-block: 36px; }
  /* Long call-to-action labels span the row and may wrap instead of running off a 320px screen. */
  .hp-board-foot .hp-btn, .hp-feature-row .hp-btn, .hp-pl-cta .hp-btn { width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html, .hp-lg-scroll { scroll-behavior: auto; }
  .hp-lg-nav::before, .hp-lg-nav::after, .hp-lg-arrow { transition: none; }
  .hp-dot, .hp-skel { animation: none; }
  .hp-card { transition: none; }
  .hp-card:hover { transform: none; }
}

/* ==========================================================================
   Marketing site additions (WordPress theme). Everything above is shared with
   the app homepage (staging-app public/assets/templates/basic/css/home.css).
   ========================================================================== */

.hp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.hp-skip:focus { top: 12px; }
.admin-bar .hp-header { top: 32px; }
.admin-bar .hp-leagues { top: 100px; }
@media (max-width: 782px) { .admin-bar .hp-header { top: 46px; } .admin-bar .hp-leagues { top: 106px; } }
@media (max-width: 600px) { .admin-bar .hp-header { top: 0; } .admin-bar .hp-leagues { top: 60px; } }

/* main menu (WordPress menu markup) */
.hp-nav { flex: 1; min-width: 0; }
.hp-menu, .hp-menu ul { list-style: none; margin: 0; padding: 0; }
.hp-menu { display: flex; gap: 4px; align-items: center; }
.hp-menu > li { position: relative; }
.hp-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.hp-menu a:hover, .hp-menu .current-menu-item > a, .hp-menu .current-menu-ancestor > a { color: var(--white); }
.hp-menu .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.hp-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hp-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.hp-menu li:hover > .sub-menu, .hp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hp-menu .sub-menu a { color: var(--text); }
.hp-menu .sub-menu a:hover { background: var(--panel2); }
.hp-menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); place-items: center; }
.hp-menu-toggle svg { width: 22px; height: 22px; }
.hp-header-right { margin-left: 0; }

/* hero stage: a phone with live cards in front of it */
.hp-stage { position: relative; min-height: 470px; }
.hp-stage .hp-phone { right: 4%; top: 0; width: 214px; }
.hp-stage-label { position: absolute; left: 0; top: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; background: var(--panel2); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--white); }
.hp-stage-cards { position: absolute; left: 0; top: 64px; z-index: 2; display: flex; gap: 14px; align-items: flex-start; }
.hp-stage-cards .hp-card { width: 200px; background: linear-gradient(180deg, #273071, var(--panel)); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .95); }
.hp-stage-cards .hp-card:nth-child(1) { transform: rotate(-4deg); }
.hp-stage-cards .hp-card:nth-child(2) { transform: rotate(3deg) translateY(56px); }
.hp-stage-cards .hp-card:hover { transform: translateY(-4px); }
.hp-stage .hp-chip.boost { right: auto; left: 40px; top: auto; bottom: 0; }
.hp-eyebrow .hp-dot { display: inline-block; vertical-align: 2px; margin-right: 4px; }

/* live cards section */
.hp-live-cards .hp-lg-nav { margin-bottom: 18px; }
button.hp-lg { font: inherit; }
.hp-lg[aria-selected="true"] { border-color: var(--orange); background: linear-gradient(90deg, rgba(255, 83, 0, .24), rgba(255, 138, 0, .08)); }
.hp-card-hit { color: inherit; }
.hp-card-hit:focus-visible { outline-offset: -3px; }
.hp-grid.one { grid-template-columns: minmax(0, 240px); justify-content: center; }
/* Eight or twelve cards a league: full rows of four, never a row with a gap in it. */
.hp-live-cards .hp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-live-cards .hp-board-foot { margin-top: 16px; }
/* The league bar scrolls away here: the marketing pages are not a board to keep filtering. */
.hp-leagues, .admin-bar .hp-leagues { position: relative; top: auto; }
.hp-live-cards + .hp-promos { padding-top: 8px; }
/* Promo feature: the banner, the chips, the name and the line of copy each need their own air,
   and the cards below need clearing from it. */
.hp-promo-feature .hp-feature-row { margin-top: 24px; align-items: flex-end; row-gap: 20px; }
.hp-promo-feature .hp-feature-row h3 { margin-top: 14px; font-size: 32px; }
.hp-promo-feature .hp-feature-row p { margin-top: 12px; }
.hp-promos .hp-pgrid { margin-top: 36px; }
.hp-pcard .body { gap: 10px; padding: 18px 20px 20px; }
.hp-pcard .hp-pchips { margin-bottom: 2px; }
.hp-pcard .hp-btn { margin-top: 14px; }
.hp-head .hp-btn svg { width: 16px; height: 16px; }

/* inner page hero */
.ib-page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink2); }
.ib-page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .022) 46px 48px); }
.ib-page-hero::after { content: ""; position: absolute; right: -10%; top: -80%; width: 60%; height: 200%; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 83, 0, .2), transparent 70%); }
.ib-page-hero .hp-wrap { position: relative; z-index: 1; padding-block: 48px 40px; }
.ib-page-hero h1 { font-size: clamp(40px, 6vw, 76px); margin-top: 10px; max-width: 18ch; }
.ib-page-hero .hp-lede { color: var(--text); }
.ib-hero-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.ib-page-body { padding-top: 40px; }

/* long-form text: policies, articles, help answers */
.ib-prose { max-width: 72ch; font-size: 17px; line-height: 1.7; color: var(--text); }
.ib-prose > :first-child { margin-top: 0; }
.ib-prose h2, .ib-prose h3, .ib-prose h4 { font-family: var(--body); font-style: normal; text-transform: none; font-weight: 700; color: var(--white); line-height: 1.25; margin: 1.8em 0 .5em; }
.ib-prose h2 { font-size: 28px; }
.ib-prose h3 { font-size: 22px; }
.ib-prose h4 { font-size: 18px; }
.ib-prose p, .ib-prose ul, .ib-prose ol, .ib-prose table, .ib-prose blockquote { margin: 0 0 1.1em; }
.ib-prose ul, .ib-prose ol { padding-left: 1.3em; }
.ib-prose li { margin-bottom: .35em; }
.ib-prose a { color: var(--orange2); text-decoration: underline; text-underline-offset: 3px; }
.ib-prose strong, .ib-prose b { color: var(--white); }
.ib-prose img { height: auto; border-radius: 10px; }
.ib-prose blockquote { border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; color: var(--white); }
.ib-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.ib-prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; max-width: 100%; }
.ib-prose th, .ib-prose td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.ib-prose th { color: var(--white); background: var(--panel); }
.ib-prose .wp-caption, .ib-prose figure { max-width: 100%; margin: 0 0 1.2em; }
.ib-prose .wp-caption-text, .ib-prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.ib-prose .aligncenter { margin-inline: auto; }
.ib-prose .alignright { float: right; margin: 0 0 1em 1.5em; }
.ib-prose .alignleft { float: left; margin: 0 1.5em 1em 0; }
.ib-content { color: var(--text); }
.ib-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .ib-content select, .ib-content textarea { background: var(--panel); border: 1px solid var(--line); color: var(--white); border-radius: 10px; padding: 10px 12px; font: 500 15px var(--body); max-width: 100%; }
.ib-content input[type="submit"], .ib-content button[type="submit"] { background: linear-gradient(90deg, var(--orange), var(--orange2)); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.ib-content a { color: var(--orange2); }

/* article */
.ib-article .ib-page-hero h1 { max-width: 24ch; font-size: clamp(36px, 5vw, 64px); }
.ib-article-img { margin: 0 0 28px; max-width: 72ch; }
.ib-article-img img { border-radius: var(--r); height: auto; }
.ib-article-cta { max-width: 72ch; margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.ib-article-cta h3 { font-size: 28px; }
.ib-article-cta p { margin: 4px 0 0; color: var(--muted); }

/* iBET Nation: articles as cards, quick player news beside them */
.ib-mix { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ib-mix-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ib-mix-news { padding: 18px; border-radius: var(--r); background: var(--ink2); border: 1px solid var(--line); }
.ib-mix-title { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 26px; color: var(--white); margin: 0 0 12px; }
.ib-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ib-news li + li { border-top: 1px solid var(--line); }
.ib-news a { display: grid; gap: 3px; padding: 12px 4px; }
.ib-news a:hover .ib-news-title { color: var(--orange2); }
.ib-news-when { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); }
.ib-news-title { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--white); transition: color .15s; }
.ib-news-text { font-size: 14px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* post cards */
.ib-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ib-post-card { border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.ib-post-card:hover { border-color: #4a5290; transform: translateY(-2px); }
.ib-post-link { display: flex; flex-direction: column; height: 100%; }
.ib-post-img { display: block; aspect-ratio: 16/9; background: var(--panel2); overflow: hidden; }
.ib-post-img img { width: 100%; height: 100%; object-fit: cover; }
.ib-post-img-none { display: grid; place-items: center; color: var(--orange2); background: linear-gradient(135deg, var(--panel2), var(--ink)); }
.ib-post-img-none svg { width: 44px; height: 44px; opacity: .7; }
.ib-post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.ib-post-meta { font-size: 13px; color: var(--muted); }
.ib-post-title { font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--white); text-wrap: balance; }
.ib-post-excerpt { font-size: 15px; color: var(--muted); }
.ib-pagination { margin-top: 32px; }
.ib-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ib-pagination a, .ib-pagination span { display: block; min-width: 42px; padding: 9px 14px; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; }
.ib-pagination .current { background: var(--white); color: var(--ink); border-color: var(--white); }

/* how to play */
.ib-howto-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: start; }
.ib-rules { list-style: none; margin: 0; padding: 0; counter-reset: rule; display: grid; gap: 26px; }
.ib-rules li { counter-increment: rule; position: relative; padding-left: 74px; }
.ib-rules li::before { content: counter(rule); position: absolute; left: 0; top: -6px; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 60px; line-height: .9; background: linear-gradient(90deg, var(--orange), var(--orange2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ib-rules h3 { font-size: 32px; }
.ib-rules p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.ib-rules b { color: var(--white); }
.ib-howto-card { position: sticky; top: 100px; padding: 20px; border-radius: var(--r); background: var(--ink2); border: 1px solid var(--line); display: grid; gap: 14px; }
.ib-howto-note { margin: 0; color: var(--muted); font-size: 15px; text-align: center; }
.ib-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ib-fact { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink); }
.ib-fact i, .ib-help-contact i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 83, 0, .14); color: var(--orange2); }
.ib-fact i svg, .ib-help-contact i svg { width: 20px; height: 20px; }
.ib-fact h3 { font-size: 26px; margin-top: 14px; }
.ib-fact p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.hp-steps { list-style: none; margin: 0; padding: 0; }

/* help center */
.ib-help { display: grid; gap: 22px; }
.ib-help-index { display: flex; gap: 8px; flex-wrap: wrap; }
.ib-help-index a { padding: 8px 14px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.ib-help-index a:hover { border-color: var(--orange); }
.ib-accordion { display: grid; gap: 10px; max-width: 900px; }
.ib-topic { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 90px; }
.ib-topic summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 19px; color: var(--white); }
.ib-topic summary::-webkit-details-marker { display: none; }
.ib-topic summary svg { width: 20px; height: 20px; flex: none; color: var(--orange2); transition: transform .15s; }
.ib-topic[open] summary svg { transform: rotate(45deg); }
.ib-topic[open] { border-color: #4a5290; }
.ib-topic .ib-prose { padding: 0 20px 20px; font-size: 16px; max-width: none; }
.ib-topic-part + .ib-topic-part { margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--line); }
.ib-help-contact { max-width: 900px; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); border: 1px dashed var(--line); }
.ib-help-contact i { flex: none; }
.ib-help-contact h3 { font-size: 26px; }
.ib-help-contact p { margin: 6px 0 0; color: var(--muted); }
.ib-help-contact a { color: var(--orange2); }

/* app section, footer, dialog odds and ends */
.hp-inapp-title { font-size: clamp(36px, 4.4vw, 56px); margin-top: 8px !important; }
.hp-inapp-cta { margin-top: 30px; }
.hp-get-note { margin: 0; color: var(--muted); font-size: 14px; }
.hp-footer { border-top: 1px solid var(--line); }
.hp-footer-top { align-items: flex-start; }
.hp-footer-brand { display: grid; gap: 12px; max-width: 360px; }
.hp-footer-brand p { margin: 0; }
.hp-stores.small .hp-store { min-width: 0; padding: 6px 12px 6px 10px; }
.hp-stores.small .hp-store strong { font-size: 15px; }
.hp-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 40px; }
.hp-footer-menu a:hover { color: var(--white); }
.hp-copy { margin: 10px 0 0; font-size: 13px; }
.ib-download .hp-phones { height: 470px; }

@media (max-width: 1180px) {
  .hp-stage { display: none; }
  .ib-download .hp-phones { display: none; }
  .ib-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hp-menu-toggle { display: grid; }
  .hp-header-right { margin-left: auto; gap: 10px; }
  .hp-header .hp-wrap { position: relative; }
  .hp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px var(--gut) 18px; background: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .9); max-height: calc(100dvh - 70px); overflow-y: auto; }
  .hp-header.is-open .hp-nav { display: block; }
  .hp-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .hp-menu a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .hp-menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--orange); padding-left: 12px; }
  .hp-menu .menu-item-has-children > a::after { display: none; }
  .hp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; box-shadow: none; }
  .hp-menu .sub-menu a { font-size: 15px; color: var(--muted); }
  .ib-howto-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ib-howto-card { position: static; }
  .ib-mix { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .hp-live-cards .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-mix-articles { grid-template-columns: minmax(0, 1fr); }
  .ib-page-hero .hp-wrap { padding-block: 32px 28px; }
  .ib-prose { font-size: 16px; }
  .ib-rules li { padding-left: 54px; }
  .ib-rules li::before { font-size: 46px; }
  .ib-rules h3 { font-size: 26px; }
  .ib-facts { grid-template-columns: minmax(0, 1fr); }
  .hp-footer-menu { grid-template-columns: minmax(0, 1fr); }
  .ib-topic summary { font-size: 17px; padding: 16px; }
  .ib-topic .ib-prose { padding: 0 16px 16px; }
  .hp-head .hp-btn-ghost { width: 100%; }
}
@media (max-width: 520px) {
  .hp-header .hp-btn-orange { padding: 9px 12px; font-size: 13px; }
  .ib-article-cta .hp-btn, .ib-hero-actions .hp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-menu .sub-menu, .ib-post-card, .ib-topic summary svg { transition: none; }
  .ib-post-card:hover, .hp-stage-cards .hp-card:hover { transform: none; }
}
