/* r17: accessibility menu + statement, sale prices, FiveM login, descenders, English briefing */

/* Hebrew letters that hang below the line (ך ק ף ץ ן) were cut by the word-reveal mask */
.split-w { padding-bottom: .2em; margin-bottom: -.2em; padding-top: .05em; margin-top: -.05em; }

/* the briefing in English: left-aligned, the red rule on the left */
html[lang="en"] .brief { direction: ltr; text-align: left; font-family: var(--sc-font-text); box-shadow: inset 3px 0 0 var(--red); }

/* skip to content (visible on keyboard focus) */
.skip-main { position: fixed; top: 8px; left: 50%; z-index: 200; transform: translate(-50%, -160%); padding: 12px 18px; background: #ffd400; color: #000; font: 700 1rem/1 var(--sc-font-text); border-radius: 4px; text-decoration: none; transition: transform .2s; }
.skip-main:focus { transform: translate(-50%, 0); }

/* live players dot */
.dot--red { background: var(--red-hot) !important; box-shadow: 0 0 0 0 rgba(255,74,46,.6) !important; animation-name: liveRed !important; }
@keyframes liveRed { 70% { box-shadow: 0 0 0 8px rgba(255,74,46,0); } 100% { box-shadow: 0 0 0 0 rgba(255,74,46,0); } }
.hero__live { gap: 14px 22px; }

/* ---- sale ---- */
.sale { display: inline-block; padding: 4px 8px; border-radius: 3px; background: #ffd400; color: #111; font: 800 .74rem/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-3deg); box-shadow: 2px 3px 0 rgba(0,0,0,.45); }
html[lang="he"] .sale { font-family: "Heebo", sans-serif; letter-spacing: 0; }
.pkg .sale { position: absolute; top: 10px; right: 10px; z-index: 2; }
.sheet__b .sale { justify-self: start; }
.pkg__price .was, .sheet__b .was { font: 600 .95rem/1 var(--ui); color: var(--sc-ink-soft); text-decoration: line-through; text-decoration-color: var(--red-hot); text-decoration-thickness: 2px; margin-inline-end: 6px; }
.pkg__price .now { color: #fff; }
.pkg__price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; direction: ltr; }

/* ---- FiveM login ---- */
.store__side { display: grid; gap: 14px; justify-items: start; max-width: 40ch; }
.login { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: rgba(255,255,255,.05); cursor: pointer; font: 700 1rem/1 var(--ui); letter-spacing: .04em; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
html[lang="he"] .login { font-family: "Heebo", sans-serif; letter-spacing: 0; }
.login svg { width: 18px; height: 18px; flex: none; color: var(--red-hot); }
.login:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.login:hover svg { color: #fff; }
.login.on { cursor: default; border-color: rgba(59,209,111,.5); background: rgba(59,209,111,.08); }
.login.on svg { color: #3BD16F; }
.login.on:hover { transform: none; background: rgba(59,209,111,.08); border-color: rgba(59,209,111,.5); }
.a11y-link { margin: 0; }
/* the Discord ID step */
.sheet__card.dsc { grid-template-columns: 1fr; width: min(520px, 100%); }
.dsc .sheet__b { gap: 12px; }
.dsc p { margin: 0; color: #ddd5cf; line-height: 1.5; }
.dsc__l { display: grid; gap: 6px; font: 700 .95rem/1 var(--ui); }
.dsc__l input { padding: 13px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: #0b0909; color: #fff; font: 600 1.1rem/1 var(--sc-font-text); letter-spacing: .04em; }
.dsc__l input:focus { outline: 2px solid var(--red-hot); border-color: transparent; }
.dsc__how summary { cursor: pointer; color: var(--red-hot); font-weight: 700; }
.dsc__how ol { margin: 8px 0 0; padding-inline-start: 20px; color: #ddd5cf; line-height: 1.6; }
.dsc__err { color: #ff8a7a !important; min-height: 1.2em; }
.dsc__or { color: var(--sc-ink-soft) !important; font-size: .9rem; }

/* ---- accessibility button + panel (high-contrast light panel) ---- */
.a11y-btn { position: fixed; left: 18px; bottom: 18px; z-index: 120; width: 58px; height: 58px; border: 3px solid #fff; border-radius: 50%; background: #0b5ed7; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.45); transition: transform .2s var(--ease); }
.a11y-btn svg { width: 32px; height: 32px; }
.a11y-btn:hover, .a11y-btn:focus-visible { transform: scale(1.08); }
.a11y { position: fixed; left: 18px; bottom: 88px; z-index: 121; width: min(380px, calc(100vw - 36px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: #111; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.55); font: 500 15px/1.3 "Heebo", "Inter", Arial, sans-serif; direction: inherit; }
.a11y[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(90deg, #0f0f12, #3a0a05); color: #fff; border-radius: 18px 18px 0 0; }
.a11y__head h2 { margin: 0; font: 800 1.1rem/1 "Heebo", Arial, sans-serif; }
.a11y__x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; cursor: pointer; }
.a11y__x:hover { background: rgba(255,255,255,.3); }
.a11y__body { padding: 14px 16px 6px; }
.a11y__size { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid #ddd; border-radius: 40px; font-weight: 800; }
.a11y__ctl { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.a11y__ctl button { width: 40px; height: 40px; border: 1px solid #bbb; border-radius: 50%; background: #fff; color: #111; font: 800 1.3rem/1 Arial, sans-serif; cursor: pointer; }
.a11y__ctl button:hover { background: #f1f1f1; }
.a11y__pct { min-width: 46px; text-align: center; }
.a11y h3 { margin: 16px 2px 8px; font: 800 .9rem/1 "Heebo", Arial, sans-serif; color: #b3200f; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__grid button { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 30px; background: #fff; color: #111; font: 700 .92rem/1.15 "Heebo", Arial, sans-serif; text-align: start; cursor: pointer; transition: background-color .15s, border-color .15s; }
.a11y__grid button i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #f2f2f2; color: #333; }
.a11y__grid button i svg { width: 18px; height: 18px; }
.a11y__grid button:hover { border-color: #888; }
.a11y__grid button[aria-pressed="true"] { background: #fff1ee; border-color: #c4260f; color: #8f1608; }
.a11y__grid button[aria-pressed="true"] i { background: #c4260f; color: #fff; }
.a11y__reset { width: 100%; margin: 14px 0 6px; padding: 11px; border: 1px solid #ccc; border-radius: 30px; background: #fafafa; color: #111; font: 700 .95rem/1 "Heebo", Arial, sans-serif; cursor: pointer; }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid #eee; font-size: .8rem; color: #555; }
.a11y__st { border: 0; background: none; color: #0b5ed7; font: 800 .92rem/1 "Heebo", Arial, sans-serif; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.a11y button:focus-visible { outline: 3px solid #0b5ed7; outline-offset: 2px; }
.a11y-st { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.7); }
.a11y-st[hidden] { display: none; }
.a11y-st__card { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px 30px 24px; background: #fff; color: #111; border-radius: 14px; font: 400 1rem/1.65 "Heebo", "Inter", Arial, sans-serif; }
.a11y-st__card h2 { margin: 0 0 12px; font: 800 1.6rem/1.2 "Heebo", Arial, sans-serif; }
.a11y-st__card h3 { margin: 18px 0 6px; font: 800 1.05rem/1.2 "Heebo", Arial, sans-serif; color: #8f1608; }
.a11y-st__card ul { margin: 0; padding-inline-start: 20px; }
.a11y-st__card a { color: #0b5ed7; }
.a11y-st__date { margin-top: 16px; color: #555; font-size: .9rem; }
.a11y-st__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eee; font-size: 1.3rem; cursor: pointer; }
.a11y-guide { position: fixed; left: 0; right: 0; top: 0; z-index: 119; height: 36px; pointer-events: none; display: none; background: rgba(255,212,0,.16); border-top: 2px solid #ffd400; border-bottom: 2px solid #ffd400; }
html.a11y-guide .a11y-guide { display: block; }

/* ---- the settings themselves ---- */
html { font-size: calc(100% * var(--fs, 1)); }
html.a11y-scaled body { font-size: 1rem; }
html.a11y-contrast body, html.a11y-contrast .reel, html.a11y-contrast .cut, html.a11y-contrast .store, html.a11y-contrast .rules, html.a11y-contrast footer { background: #000 !important; }
html.a11y-contrast p, html.a11y-contrast small, html.a11y-contrast li, html.a11y-contrast .hero__live, html.a11y-contrast .cut__tag, html.a11y-contrast .store__note, html.a11y-contrast .foot { color: #fff !important; }
html.a11y-contrast a:not(.tag), html.a11y-contrast .replay { color: #ffd400 !important; }
html.a11y-contrast .hero::before { background: rgba(0,0,0,.7) !important; }
html.a11y-contrast .cut__bg img, html.a11y-contrast .close { opacity: .45; }
html.a11y-contrast .tag__txt b, html.a11y-contrast .tag__txt small { text-shadow: 0 0 0 #000, 2px 2px 0 #000; }
html.a11y-invert img, html.a11y-invert video, html.a11y-invert canvas, html.a11y-invert .drive__frame, html.a11y-invert .close { filter: invert(1) hue-rotate(180deg); }
html.a11y-calm .drive, html.a11y-calm .cut__bg, html.a11y-calm .close, html.a11y-calm .reel img, html.a11y-calm .ph img { filter: saturate(.35) brightness(.7); }
html.a11y-calm .siren, html.a11y-calm .spray, html.a11y-calm .speedlines, html.a11y-calm .drive__streaks { display: none; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Heebo", sans-serif !important; letter-spacing: normal !important; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing small, html.a11y-spacing .brief { letter-spacing: .12em !important; word-spacing: .16em !important; line-height: 1.9 !important; }
html.a11y-links a, html.a11y-links button.replay, html.a11y-links .tag { outline: 3px solid #ffd400 !important; outline-offset: 3px; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-heads h1, html.a11y-heads h2, html.a11y-heads h3 { outline: 3px dashed #ffd400; outline-offset: 6px; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8-6.5 1.8L9 19z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-focus :focus { outline: 4px solid #ffd400 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px #000 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-play-state: paused !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .pd { animation: none !important; height: var(--L); }
@media (max-width: 760px) { .a11y-btn { width: 50px; height: 50px; left: 12px; bottom: 12px; } .a11y { left: 10px; bottom: 72px; } }
.ip { text-transform: none !important; letter-spacing: .02em; }
