/* ==========================================================================
   Modals — age gate, cookie consent, login, registration wizard, verify email, bet placed.
   Frames: bailrbet-age-verification / -cookie-consent / -login / -registration(-step-2..4) / -verify-email (+ -mobile).
   Mobile-first (390 design), desktop overrides at 1024px (1440 design). Inside strokes → border/box-shadow inset.
   ========================================================================== */

/* Shell ------------------------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 100; opacity: 0; transition: opacity .2s var(--ease); }
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 46, .92); overflow: hidden; }
.modal__backdrop--dark { background: rgba(5, 8, 33, .93); }
.modal__wm { position: absolute; font-family: var(--font-display); font-weight: 900; color: var(--white); white-space: nowrap; pointer-events: none; user-select: none; }
.modal__wm--age { left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 260px; line-height: 311px; opacity: .06; }
.modal__wm--cookies { left: -150px; top: 50%; transform: translateY(-50%); font-size: 160px; line-height: 192px; opacity: .02; }
.modal__wm--login { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 96px; line-height: 115px; opacity: .03; }
.modal__wm--register { left: 0; right: 0; top: 180px; text-align: center; font-size: 120px; line-height: 144px; opacity: .03; }
.modal__grid { display: none; }
.modal__scroll { position: absolute; inset: 0; overflow-y: auto; display: flex; padding: 16px; -webkit-overflow-scrolling: touch; }
.modal__card { position: relative; margin: auto; width: 100%; max-width: 358px; overflow: hidden; transform: translateY(8px); transition: transform .25s var(--ease); color: var(--ink); text-align: left; }
.modal.is-open .modal__card { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #050827; opacity: .6; transition: opacity var(--t); }
.modal__close:hover { opacity: 1; }
.modal__close .icon { width: 18px; height: 18px; }

/* Shared pieces ---------------------------------------------------------- */
.mlogo { display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 34px; color: var(--white); white-space: nowrap; }
.mlogo span { color: var(--yellow); }
.mkicker { font-size: 11px; line-height: 14px; font-weight: 800; text-transform: uppercase; }
.mkicker--blue { color: var(--blue); }
.mkicker--yellow { color: var(--yellow); }
.mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border-radius: 4px; font-weight: 800; white-space: nowrap; transition: background-color var(--t), color var(--t), box-shadow var(--t), transform var(--t), opacity var(--t); }
.mbtn:active { transform: translateY(1px); }
.mbtn--yellow { background: var(--yellow); color: #080c2e; }
.mbtn--yellow:hover { background: #ffc733; }
.mbtn--outline { background: transparent; color: #080c2e; box-shadow: inset 0 0 0 1px #080c2e; }
.mbtn--outline:hover { background: rgba(8, 12, 46, .06); }
.mbtn.is-busy, .mbtn[disabled] { opacity: .6; pointer-events: none; }
.mlink { font-weight: 700; color: var(--blue); white-space: nowrap; }
.mlink:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Form fields inside modals (light theme override of main.css .field) */
.modal .field { gap: 6px; }
.modal .field__input { height: 54px; padding: 0 15px; background: var(--white); border: 1px solid #d2d6d9; border-radius: 4px; color: #080c2e; font-size: 16px; line-height: 21px; }
.modal .field__input::placeholder { color: var(--ink-3); opacity: 1; }
.modal .field__input:focus { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.modal .field__input[aria-invalid="true"] { border-color: var(--red); box-shadow: none; }
.modal select.field__input { background-repeat: no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23080c2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E"); background-size: 12px 8px; background-position: right 16px center; padding-right: 40px; }
.modal select.field__input:invalid, .modal select.field__input.is-placeholder { color: var(--ink-3); }
.modal .field__error { font-size: 11px; line-height: 14px; color: #d92626; }
.modal .form-error { color: #d92626; }
.mlabel { display: flex; align-items: center; gap: 8px; }
.mlabel__num { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 19px; color: var(--blue); }
.mlabel__text { font-size: 14px; line-height: 18px; font-weight: 700; color: #050827; }
.mlabel b, .rlabel b { color: var(--blue); font-weight: inherit; }
.rlabel { display: block; font-size: 13px; line-height: 17px; font-weight: 700; color: #080c2e; }
.mpass { position: relative; }
.mpass .field__input { padding-right: 62px; }
.mpass__toggle { position: absolute; top: 5px; right: 6px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 14px; font-weight: 800; color: var(--blue); }
.mpass__toggle:hover { text-decoration: underline; }

/* Age gate --------------------------------------------------------------- */
.age { max-width: 358px; border-radius: 12px; background: var(--cream); box-shadow: 0 16px 32px rgba(0, 0, 0, .6); }
.age__brand { background: var(--blue); min-height: 227px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.age__big { font-family: var(--font-display); font-weight: 900; font-size: 90px; line-height: 80px; color: var(--white); text-align: center; }
.age__badge { display: inline-block; box-shadow: inset 0 0 0 1.5px var(--white); border-radius: 4px; padding: 6px 14px; font-size: 10px; line-height: 13px; font-weight: 800; color: var(--white); text-transform: uppercase; white-space: nowrap; }
.age__panel { padding: 32px 24px 28px; display: flex; flex-direction: column; gap: 24px; }
.age__header { display: flex; flex-direction: column; gap: 8px; }
.age__title { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 34px; color: #080c2e; }
.age__desc { display: flex; flex-direction: column; gap: 12px; }
.age__text { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-2); }
.age__text2 { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.age__actions { display: flex; flex-direction: column; gap: 10px; }
.age__yes { height: 54px; font-size: 13px; line-height: 17px; box-shadow: 0 4px 8px rgba(255, 184, 0, .15); }
.age__yes:hover { box-shadow: 0 6px 14px rgba(255, 184, 0, .3); }
.age__no { height: 54px; font-size: 13px; line-height: 17px; box-shadow: inset 0 0 0 1.5px #080c2e; }
.age__rule { height: 1px; margin-top: -1px; background: var(--line-light); }
.age__footer { display: flex; align-items: center; gap: 12px; }
.age__mini { flex: none; display: inline-block; background: #080c2e; color: var(--white); border-radius: 3px; padding: 3px 6px; font-size: 10px; line-height: 13px; font-weight: 900; }
.age__note { flex: 1 1 auto; font-size: 11px; line-height: 18px; color: var(--ink-2); }

/* Cookie consent --------------------------------------------------------- */
.ck { max-width: 358px; border-radius: 8px; background: var(--cream); box-shadow: 0 16px 32px rgba(0, 0, 0, .5); }
.ck__left { background: var(--navy-3); border-bottom: 1px solid var(--line); padding: 20px 20px 19px; display: flex; flex-direction: column; gap: 12px; }
.ck__intro { display: flex; flex-direction: column; gap: 4px; }
.ck__kicker { font-size: 12px; line-height: 16px; font-weight: 800; color: var(--yellow); text-transform: uppercase; }
.ck__display { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 30px; color: var(--white); }
.ck__about { display: flex; flex-direction: column; gap: 6px; }
.ck__about-title { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--white); }
.ck__about-text { font-size: 13px; line-height: 18px; color: var(--ink-4); }
.ck__about-text a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.ck__right { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.ck__header { display: flex; flex-direction: column; gap: 2px; }
.ck__title { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 29px; color: var(--navy); text-transform: uppercase; }
.ck__sub { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--blue); }
.ck__list { display: flex; flex-direction: column; }
.ck-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 11px; border-bottom: 1px solid var(--line-light); }
.ck-item__text { display: flex; flex-direction: column; gap: 2px; max-width: 240px; }
.ck-item--necessary .ck-item__text { max-width: 180px; }
.ck-item__name { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--navy); }
.ck-item__desc { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ck-item__right { display: flex; align-items: center; gap: 6px; flex: none; }
.ck__always { display: inline-block; background: #e5f9f1; color: var(--green); border-radius: 4px; padding: 2px 6px; font-size: 9px; line-height: 12px; font-weight: 800; white-space: nowrap; }
.ck__locked { width: 20px; height: 20px; border-radius: 4px; background: #d2d6d9; display: flex; align-items: center; justify-content: center; color: var(--navy); flex: none; }
.ck-toggle { flex: none; width: 40px; height: 22px; border-radius: 11px; background: #d2d6d9; padding: 2px; display: flex; transition: background-color var(--t); }
.ck-toggle__knob { width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.ck-toggle[aria-checked="true"] { background: var(--blue); }
.ck-toggle[aria-checked="true"] .ck-toggle__knob { transform: translateX(18px); }
.ck__summary { background: #ebe8e0; border-radius: 4px; padding: 8px 12px; text-align: center; font-size: 10px; line-height: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.ck__sep { margin: 0 5px; }
.ck__actions { display: flex; flex-direction: column; gap: 10px; }
.ck__accept { height: 52px; font-size: 15px; line-height: 20px; color: var(--navy); }
.ck__secondary { display: flex; flex-direction: column; gap: 10px; }
.ck__reject, .ck__save { height: 48px; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.ck__footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 4px; font-size: 13px; line-height: 17px; font-weight: 600; }
.ck__footer-link { color: var(--blue); }
.ck__footer-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.ck__footer-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }

/* Login ------------------------------------------------------------------ */
.lg { max-width: 358px; border-radius: 4px; background: var(--cream); box-shadow: 0 16px 48px rgba(0, 0, 0, .7); display: flex; flex-direction: column; }
.lg__brand { background: var(--blue); height: 140px; padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.lg__brand .mlogo { font-size: 26px; line-height: 31px; }
.lg__editorial { display: flex; flex-direction: column; gap: 2px; }
.lg__display { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 28px; color: var(--white); text-transform: uppercase; }
.lg__panel { position: relative; padding: 24px 20px; display: flex; flex-direction: column; }
.lg__header { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; }
.lg__title { font-family: var(--font-display); font-weight: 900; font-size: 38px; line-height: 45px; color: #050827; }
.lg__sub { font-size: 14px; line-height: 18px; color: rgba(5, 8, 39, .8); }
.lg__fields { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px; }
.lg__actions { display: flex; flex-direction: column; gap: 16px; }
.lg__submit { height: 54px; font-size: 14px; line-height: 18px; color: #050827; }
.lg__rule { height: 1px; margin-top: -1px; background: #d2d6d9; }
.lg__secondary { display: flex; flex-direction: column; gap: 4px; }
.lg__new { font-size: 10px; line-height: 13px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; }
.lg__link-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; line-height: 17px; color: #050827; }

/* Registration wizard ---------------------------------------------------- */
.rg { max-width: 358px; border-radius: 8px; background: var(--cream); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.rg__left { display: flex; flex-direction: column; }
.rg__head { background: #050827; padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.rg__intro { display: flex; flex-direction: column; gap: 4px; }
.rg__display { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 38px; color: var(--white); }
.rg__lead { font-size: 12px; line-height: 16px; color: var(--ink-4); }
.rg__steps { display: none; }
.rg__have--d { display: none; }
.rg__bar { background: var(--blue); padding: 12px 20px; display: flex; flex-direction: column; gap: 8px; }
.rg__bar-row { display: flex; align-items: center; justify-content: space-between; }
.rg__circle { position: relative; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 16px; font-weight: 900; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); transition: background-color var(--t), color var(--t); }
.rg__circle .rg__check { display: none; width: 10px; height: 10px; }
.rg__circle.is-active { background: var(--yellow); color: #050827; box-shadow: none; }
.rg__circle.is-done { background: var(--white); color: #050827; box-shadow: none; }
.rg__circle.is-done .rg__circle-num { display: none; }
.rg__circle.is-done .rg__check { display: block; }
.rg__bar-line { width: 40px; height: 2px; background: rgba(255, 255, 255, .2); transition: background-color var(--t); }
.rg__bar-line.is-done { background: var(--yellow); }
.rg__bar-label { font-size: 10px; line-height: 13px; font-weight: 800; color: var(--yellow); text-transform: uppercase; }
.rg__close { color: var(--ink-4); }
.rg__panel { padding: 20px; display: flex; flex-direction: column; }
.rg__step { display: flex; flex-direction: column; min-width: 0; }
.rg__step[hidden] { display: none; }
.rg__header { display: flex; flex-direction: column; gap: 6px; }
.rg__title { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 41px; color: #080c2e; }
.rg__desc { font-size: 14px; line-height: 20px; color: rgba(8, 12, 46, .8); }
.rg__desc b { color: var(--blue); font-weight: inherit; }
.rg__fields { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.rg__fields--agree { gap: 28px; }
.rg__row { display: flex; flex-direction: column; gap: 18px; }
.rg__row--state-pc { flex-direction: row; gap: 8px; }
.rg__row--state-pc > .field { flex: 1 1 0; min-width: 0; }
.rg__dob { display: flex; gap: 8px; }
.rg__dob .field__input { flex: 1 1 0; min-width: 0; text-align: center; padding: 0 4px; }
.rg__rule { height: 1px; margin-top: -1px; background: var(--line-light); }
.rg .rg__limit { background: var(--white); border: 1px solid var(--line-light); border-radius: 6px; padding: 15px; gap: 6px; }
.rg__limit-label { font-size: 12px; line-height: 16px; font-weight: 700; color: #080c2e; }
.rg__limit-input { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: var(--cream); border-radius: 4px; transition: box-shadow var(--t); }
.rg__limit-input:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.rg__limit-cur { font-size: 14px; line-height: 18px; font-weight: 700; color: #080c2e; white-space: nowrap; }
.rg__limit-input input { flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: 0; padding: 0; font-size: 14px; line-height: 18px; color: #080c2e; }
.rg__limit-input input::placeholder { color: var(--ink-3); opacity: 1; }
.rg__limit-note { margin-top: 6px; font-size: 11px; line-height: 16px; color: var(--ink-3); }
.rg__summary { background: var(--white); border: 1px solid var(--line-light); border-radius: 6px; padding: 15px; }
.rg__summary-title { font-size: 11px; line-height: 14px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; }
.rg__summary-rows { display: flex; flex-direction: column; }
.rg__summary-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 48px; }
.rg__summary-row + .rg__summary-row { border-top: 1px solid var(--line-light); }
.rg__summary-item { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rg__summary-check { color: var(--blue); }
.rg__summary-text { font-size: 13px; line-height: 17px; color: #080c2e; }
.rg__edit { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 14px; font-weight: 700; color: var(--blue); }
.rg__edit:hover { text-decoration: underline; }
.rg__consents { display: flex; flex-direction: column; gap: 12px; }
.mcheck { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.mcheck__target { position: relative; flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.mcheck__input { position: absolute; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.mcheck__box { width: 20px; height: 20px; border-radius: 4px; background: var(--white); border: 1px solid #d2d6d9; display: flex; align-items: center; justify-content: center; color: var(--white); transition: background-color var(--t), border-color var(--t); pointer-events: none; }
.mcheck__box .icon { opacity: 0; }
.mcheck__input:checked + .mcheck__box { background: var(--blue); border-color: var(--blue); }
.mcheck__input:checked + .mcheck__box .icon { opacity: 1; }
.mcheck__input:focus-visible + .mcheck__box { outline: 2px solid var(--yellow); outline-offset: 2px; }
.mcheck__text { flex: 1 1 auto; font-size: 13px; line-height: 18px; color: #080c2e; }
.mcheck__text a { color: var(--blue); font-weight: 700; }
.mcheck__text a:hover { text-decoration: underline; }
.mcheck__text b { color: var(--blue); }
.field.has-error .mcheck__box { border-color: var(--red); }
.rg__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.rg__buttons { display: flex; gap: 8px; }
.rg__back { flex: none; width: 52px; height: 52px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #080c2e; display: flex; align-items: center; justify-content: center; color: #080c2e; transition: background-color var(--t); }
.rg__back:hover { background: rgba(8, 12, 46, .06); }
.rg__back[hidden] { display: none; }
.rg__next { flex: 1 1 auto; height: 50px; font-size: 14px; line-height: 18px; }
.rg--has-back .rg__next { height: 52px; }
.rg__next-arrow[hidden] { display: none; }
.rg__progress { text-align: center; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.rg__have--m { margin-top: 28px; padding-top: 27px; border-top: 1px solid #d2d6d9; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rg__have-q { font-size: 12px; line-height: 16px; color: #080c2e; }
.rg__have-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 17px; font-weight: 700; color: var(--blue); }
.rg__have-link .icon { color: var(--yellow); }
.rg__have-link:hover, .rg__have-login:hover { text-decoration: underline; }

/* Verify email ----------------------------------------------------------- */
.vf { max-width: 358px; border-radius: 14px; background: var(--cream); box-shadow: 0 16px 48px rgba(5, 8, 33, .4); }
.vf__top { border-radius: 14px 14px 0 0; background: #050827; border-bottom: 1px solid var(--line); padding: 20px 20px 19px; }
.vf__header { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.vf__brand { display: flex; flex-direction: column; gap: 4px; }
.vf__brand .mlogo { font-size: 26px; line-height: 31px; }
.vf__badge { font-size: 10px; line-height: 13px; font-weight: 800; color: var(--ink-4); text-transform: uppercase; white-space: nowrap; }
.vf__close { position: static; margin-right: -13px; color: var(--ink-4); opacity: 1; }
.vf__title { margin-top: 12px; font-family: var(--font-display); font-weight: 900; font-size: 38px; line-height: 36px; color: var(--white); }
.vf__progress { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: 11px; line-height: 14px; font-weight: 600; color: var(--ink-4); white-space: nowrap; }
.vf__progress-dot { width: 4px; height: 4px; border-radius: 2px; background: var(--line); }
.vf__progress-active { font-weight: 800; color: var(--yellow); }
.vf__bottom { padding: 20px 20px 44px; display: flex; flex-direction: column; }
.vf__sent { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.vf__chip { margin-top: 10px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line-light); border-radius: 6px; padding: 15px; }
.vf__chip > .icon { color: var(--blue); }
.vf__chip-texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vf__chip-title { font-size: 10px; line-height: 13px; font-weight: 800; color: var(--ink-3); }
.vf__email { font-size: 15px; line-height: 20px; font-weight: 700; color: #050827; overflow-wrap: anywhere; }
.vf__demo { flex: none; text-align: right; font-size: 9px; line-height: 12px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; }
.vf__demo strong { display: block; font-family: var(--font-mono); font-size: 14px; line-height: 18px; font-weight: 700; color: var(--blue); letter-spacing: 2px; }
.vf__form { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.vf__label { font-size: 12px; line-height: 16px; font-weight: 800; color: var(--ink-2); }
.vf__hint { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.vf__code { margin-top: 18px; display: flex; gap: 10px; }
.vf__digit { flex: 1 1 0; min-width: 0; height: 60px; padding: 0; background: var(--white); border: 1px solid #d2d6d9; border-radius: 6px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 34px; color: #050827; outline: 0; transition: border-color var(--t), box-shadow var(--t); }
.vf__digit::placeholder { color: var(--ink-4); opacity: 1; }
.vf__digit:focus { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.vf__digit[aria-invalid="true"] { border-color: var(--red); }
.vf__submit { margin-top: 24px; height: 54px; border-radius: 6px; font-size: 14px; line-height: 18px; color: #050827; box-shadow: 0 4px 12px rgba(255, 184, 0, .24); }
.vf__support { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; line-height: 17px; color: var(--ink-3); }
.vf__support .mlink { text-decoration: underline; text-underline-offset: 2px; }

/* Bet placed (no frame; styled after the login modal) -------------------- */
.bp { max-width: 358px; border-radius: 8px; background: var(--navy-3); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(0, 0, 0, .6); color: var(--white); }
.bp__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 0; }
.bp__close { position: static; margin: -12px -12px 0 0; color: var(--ink-4); }
.bp__body { padding: 24px 20px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bp__check { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(255, 184, 0, .3); }
.bp__title { margin-top: 6px; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 40px; color: var(--white); }
.bp__ref { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--ink-4); }
.bp__ref strong { color: var(--yellow); font-weight: 700; }
.bp__label { align-self: stretch; text-align: left; margin-top: 24px; font-size: 10px; line-height: 13px; font-weight: 800; color: var(--ink-4); }
.bp__selections { align-self: stretch; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.bp__sel { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; background: var(--navy); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.bp__sel-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bp__sel-label { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--white); }
.bp__sel-event { font-size: 11px; line-height: 14px; color: var(--ink-4); }
.bp__sel-odds { flex: none; font-size: 13px; line-height: 17px; font-weight: 800; color: var(--yellow); }
.bp__summary { align-self: stretch; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.bp__summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 17px; }
.bp__summary-row dt { color: var(--ink-4); }
.bp__summary-row dd { margin: 0; font-family: var(--font-mono); font-weight: 700; color: var(--white); }
.bp__summary-row--return { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.bp__summary-row--return dd { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 24px; color: var(--green); }
.bp__done { margin-top: 24px; height: 52px; font-size: 14px; line-height: 18px; }
.bp__link { margin-top: 14px; font-size: 13px; line-height: 17px; font-weight: 700; color: var(--yellow); }
.bp__link:hover { text-decoration: underline; }
.bp__note { margin-top: 16px; font-size: 11px; line-height: 14px; color: var(--ink-3); }

/* ==========================================================================
   Desktop (1440 design)
   ========================================================================== */
@media (min-width: 1024px) {
  .modal__wm--age { font-size: 600px; line-height: 718px; opacity: .07; }
  .modal__wm--cookies { left: -80px; top: 400px; width: 1600px; transform: none; white-space: normal; font-size: 280px; line-height: 335px; opacity: .03; }
  .modal__wm--login { left: 80px; right: auto; top: auto; bottom: 80px; transform: none; text-align: left; font-size: 240px; line-height: 287px; }
  .modal__wm--register { top: 50%; transform: translateY(-50%); font-size: 320px; line-height: 383px; opacity: .02; }
  .modal--login .modal__grid { display: block; position: absolute; inset: 0; background-image: linear-gradient(rgba(29, 35, 92, .3), rgba(29, 35, 92, .3)), linear-gradient(rgba(29, 35, 92, .3), rgba(29, 35, 92, .3)), linear-gradient(rgba(29, 35, 92, .3), rgba(29, 35, 92, .3)); background-repeat: no-repeat; background-size: 1280px 1px, 1px 100%, 1px 100%; background-position: calc(50% - 0px) 80px, calc(50% - 300px) 0, calc(50% + 300px) 0; }
  .modal__close { top: 20px; right: 20px; width: 32px; height: 32px; color: #33384f; }
  .modal__close .icon { width: 14px; height: 14px; }
  .modal .field__input { height: 48px; font-size: 14px; line-height: 18px; }
  .modal select.field__input { background-size: 10px 6px; padding-right: 36px; }
  .mlabel__num { font-size: 14px; line-height: 17px; }
  .mlabel__text { font-size: 12px; line-height: 16px; color: #33384f; }
  .rlabel { font-size: 12px; line-height: 16px; }
  .rlabel b { color: #d92626; }
  .mpass__toggle { top: 0; bottom: 0; right: 16px; width: auto; height: auto; }

  /* Age gate: 660×426, left panel 231 */
  .age { max-width: 660px; border-radius: 10px; box-shadow: var(--shadow-modal); display: flex; }
  .age__brand { width: 231px; flex: none; min-height: 0; padding: 32px; justify-content: space-between; gap: 0; }
  .age__big { font-size: 130px; line-height: 110px; }
  .age__badge { padding: 6px 12px; font-size: 11px; line-height: 14px; }
  .age__panel { flex: 1 1 auto; min-width: 0; padding: 40px 32px 32px; }
  .age__title { font-size: 38px; line-height: 36px; }
  .age__yes { height: 45px; box-shadow: 0 4px 8px rgba(255, 184, 0, .2); }
  .age__no { height: 45px; font-weight: 700; }
  .age__mini { background: none; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-2); font-size: 9px; line-height: 12px; font-weight: 800; }
  .age__note { line-height: 15px; }

  /* Cookie consent: 800×571, left panel 320 */
  .ck { max-width: 800px; border-radius: 10px; box-shadow: 0 32px 64px rgba(0, 0, 0, .5); display: flex; }
  .ck__left { width: 320px; flex: none; border-bottom: 0; border-right: 1px solid var(--line); padding: 40px 39px 40px 40px; justify-content: space-between; gap: 0; }
  .ck__intro { gap: 16px; }
  .ck__kicker { font-size: 11px; line-height: 14px; }
  .ck__display { font-size: 44px; line-height: 42px; }
  .ck__about { gap: 20px; }
  .ck__about-text { line-height: 20px; }
  .ck__right { flex: 1 1 auto; min-width: 0; padding: 40px; gap: 24px; }
  .ck__header { gap: 4px; }
  .ck__sub { font-size: 11px; line-height: 14px; }
  .ck-item { padding: 16px 0 15px; }
  .ck-item__text, .ck-item--necessary .ck-item__text { gap: 4px; max-width: none; }
  .ck-item__name { font-size: 13px; line-height: 17px; color: var(--ink); }
  .ck-item__desc { font-size: 11px; line-height: 14px; color: var(--ink-3); }
  .ck-item__right { gap: 8px; }
  .ck__always { font-size: 10px; line-height: 13px; }
  .ck__locked { color: var(--ink); }
  .ck__summary { padding: 10px 16px; font-size: 11px; line-height: 14px; color: var(--ink); }
  .ck__sep { margin: 0 6px; }
  .ck__actions { gap: 12px; }
  .ck__accept { height: 46px; font-size: 14px; line-height: 18px; }
  .ck__secondary { flex-direction: row; gap: 12px; }
  .ck__reject, .ck__save { flex: 1 1 0; height: 41px; font-size: 13px; line-height: 17px; }
  .ck__footer { gap: 16px; padding-top: 0; font-size: 11px; line-height: 14px; }
  .ck__footer-dot { background: var(--ink-4); }

  /* Login: 780×600, identity panel 265 */
  .lg { max-width: 780px; height: 600px; border-radius: 10px; box-shadow: 0 16px 48px rgba(0, 0, 0, .6); flex-direction: row; }
  .lg__brand { width: 265px; flex: none; height: auto; padding: 40px 32px; justify-content: space-between; gap: 0; }
  .lg__brand .mlogo { font-size: 32px; line-height: 38px; }
  .lg__editorial { gap: 8px; }
  .lg__display { font-size: 38px; line-height: 36px; }
  .lg__panel { flex: 1 1 auto; min-width: 0; padding: 40px 44px; justify-content: space-between; }
  .lg__header { gap: 6px; padding-bottom: 0; }
  .lg__title { font-size: 40px; line-height: 48px; color: #080c2e; }
  .lg__sub { font-size: 13px; line-height: 17px; color: rgba(51, 56, 79, .8); }
  .lg__fields { gap: 16px; padding-bottom: 0; }
  .lg .field__input { height: 44px; font-size: 13px; line-height: 17px; }
  .lg__submit { height: 45px; font-size: 13px; line-height: 17px; color: #080c2e; }
  .lg__link-row { gap: 6px; color: #33384f; }

  /* Registration: 860×720, left panel 258 */
  .rg { max-width: 860px; height: 720px; border-radius: 10px; box-shadow: 0 16px 48px rgba(0, 0, 0, .5); flex-direction: row; }
  .rg__left { width: 258px; flex: none; background: var(--navy-3); padding: 32px; justify-content: space-between; }
  .rg__head { background: none; padding: 0; gap: 24px; }
  .rg__intro { gap: 6px; }
  .rg__display { font-size: 36px; line-height: 34px; }
  .rg__lead { line-height: 18px; color: var(--ink-3); }
  .rg__bar { display: none; }
  .rg__steps { display: flex; flex-direction: column; }
  .rg__step-item { display: flex; align-items: center; gap: 16px; height: 48px; }
  .rg__dot { position: relative; align-self: flex-start; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-3); box-shadow: inset 0 0 0 2px var(--navy-2); display: flex; align-items: center; justify-content: center; color: #080c2e; transition: background-color var(--t); }
  .rg__dot::after { content: ''; position: absolute; top: 16px; left: 7px; width: 2px; height: 32px; background: var(--navy-2); }
  .rg__step-item:last-child .rg__dot::after { display: none; }
  .rg__dot .rg__check { display: none; width: 8px; height: 8px; }
  .rg__step-item.is-active .rg__dot { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }
  .rg__step-item.is-done .rg__dot { background: var(--white); box-shadow: inset 0 0 0 2px var(--yellow); }
  .rg__step-item.is-done .rg__dot::after { background: var(--yellow); }
  .rg__step-item.is-done .rg__dot .rg__check { display: block; }
  .rg__step-labels { display: flex; flex-direction: column; gap: 2px; }
  .rg__step-num { font-size: 10px; line-height: 13px; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
  .rg__step-name { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
  .rg__step-item.is-active .rg__step-num, .rg__step-item.is-active .rg__step-name { color: var(--yellow); }
  .rg__step-item.is-done .rg__step-num, .rg__step-item.is-done .rg__step-name { color: var(--white); }
  .rg__have--d { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .rg__have--d .rg__have-q { font-size: 12px; line-height: 16px; color: var(--ink-3); }
  .rg__have-login { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--yellow); }
  .rg__close { color: #33384f; }
  .rg__panel { flex: 1 1 auto; min-width: 0; padding: 40px; }
  .rg__step { flex: 1 1 auto; }
  .rg__title { font-size: 32px; line-height: 38px; }
  .rg__desc { font-size: 13px; line-height: 18px; color: rgba(17, 19, 21, .8); }
  .rg__desc b { color: #d92626; }
  .rg__fields { gap: 16px; margin: auto 0; }
  .rg__fields--agree { gap: 20px; }
  .rg__row { flex-direction: row; gap: 16px; }
  .rg__row > .field { flex: 1 1 0; min-width: 0; }
  .rg__row--title > .field--title { flex: 0 0 150px; }
  .rg__row--addr > .field--suburb { flex: 1 1 auto; }
  .rg__row--addr > .rg__row--state-pc { flex: none; gap: 16px; }
  .rg__row--state-pc > .field--state { flex: 0 0 140px; }
  .rg__row--state-pc > .field--postcode { flex: 0 0 110px; }
  .rg__dob { gap: 12px; }
  .rg__dob .field__input { text-align: left; padding: 0 15px; }
  .rg .mpass .field__input { padding-right: 62px; }
  .rg .mpass__toggle { font-size: 12px; line-height: 16px; font-weight: 700; }
  .rg .rg__limit { gap: 6px; }
  .rg__summary-rows { margin-top: 12px; }
  .rg__summary-row { height: 17px; }
  .rg__summary-row + .rg__summary-row { margin-top: 12px; padding-top: 11px; height: 29px; }
  .rg__summary-text { color: var(--ink); }
  .rg__edit { width: auto; height: auto; }
  .mcheck__target { width: 20px; height: 20px; }
  .mcheck__text { color: var(--ink); }
  .mcheck__text b { color: #d92626; }
  .rg__actions { margin-top: 0; }
  .rg__buttons { gap: 12px; align-items: flex-start; }
  .rg__back { width: 62px; height: 46px; box-shadow: inset 0 0 0 1px #080c2e; }
  .rg__back .icon { width: 14px; height: 14px; }
  .rg__next, .rg--has-back .rg__next { height: 50px; }
  .rg__have--m { display: none; }

  /* Verify: 640×665 */
  .vf { max-width: 640px; }
  .vf__top { background: var(--navy-3); padding: 32px 32px 31px; }
  .vf__header { height: 55px; }
  .vf__brand .mlogo { font-size: 32px; line-height: 38px; }
  .vf__close { margin-right: 0; width: 32px; height: 32px; color: var(--white); opacity: .6; }
  .vf__close:hover { opacity: 1; }
  .vf__close .icon { width: 14px; height: 14px; }
  .vf__title { margin-top: 24px; font-size: 44px; line-height: 42px; }
  .vf__progress { margin-top: 24px; }
  .vf__bottom { padding: 40px; }
  .vf__chip { padding: 11px 15px; }
  .vf__demo { font-size: 10px; line-height: 13px; }
  .vf__form { margin-top: 32px; }
  .vf__code { margin-top: 24px; gap: 12px; }
  .vf__digit { height: 56px; }
  .vf__submit { margin-top: 32px; }
  .vf__support { margin-top: 20px; flex-direction: row; justify-content: center; }
  .vf__support .mlink { text-decoration: none; }
  .vf__support .mlink:hover { text-decoration: underline; }

  /* Bet placed */
  .bp { max-width: 480px; border-radius: 10px; }
  .bp__top { padding: 28px 32px 0; }
  .bp__body { padding: 24px 32px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .modal, .modal__card, .ck-toggle, .ck-toggle__knob, .rg__circle, .rg__bar-line { transition: none; }
}
