@font-face {
        font-family: "Roboto Condensed";
        src: url("../assets/Fonts/RobotoCondensed-Regular.woff2") format("woff2");
        font-weight: 400;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: "Roboto Condensed";
        src: url("../assets/Fonts/RobotoCondensed-Bold.woff2") format("woff2");
        font-weight: 600;
        font-style: normal;
        font-display: swap;
      }

      :root {
        --body-bg: #002a3b;
        --main-bg: #00384e;
        --panel-bg: #004e69;
        --panel-bg-2: #005977;
        --panel-bg-3: #006789;
        --panel-dark: #003348;
        --panel-deep: #002f43;
        --border: #1b7896;
        --border-soft: rgba(255, 255, 255, 0.15);
        --yellow: #ffed00;
        --white: #fff;
        --muted: #9dc8d5;
        --text: #fff;
        --odd-bg: #f2f6f8;
        --odd-border: #d5e4e9;
        --odd-text: #003348;
        --green: #31d76b;
        --danger: #ff6b6b;
        --shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
      }
      * {
        box-sizing: border-box;
      }
      html,
      body {
        margin: 0;
        padding: 0;
        background: var(--body-bg);
        color: var(--text);
        font-family: "Roboto Condensed", Arial, sans-serif;
        font-weight: 400;
        letter-spacing: 0;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      body {
        min-height: 100vh;
        overflow-x: hidden;
      }
      button,
      input {
        font: inherit;
      }
      button {
        cursor: pointer;
      }
      .page {
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
      }
      .main {
        display: grid;
        grid-template-columns: 360px minmax(0, 1fr) 360px;
        gap: 14px;
        padding: 18px 14px 24px;
        align-items: start;
      }
      .panel {
        min-width: 0;
      }
      .center-panel {
        min-width: 0;
        overflow: hidden;
      }
      .switch-head button,
      .switch-filters button,
      .accordion-head,
      .list-item,
      .section-head,
      .league-head,
      .team-line,
      .betslip-top div,
      .ticket-mode div,
      .bet-submit,
      .ticket-clear,
      .label,
      .ticket-summary,
      .side-card,
      .outline-btn,
      .hero-copy,
      .stake-input {
        font-weight: 400;
      }

      .search-box {
        height: 42px;
        background: #fff;
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: 0 14px;
        margin-bottom: 14px;
      }
      .search-box input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #173849;
        font-size: 17px;
        font-weight: 400;
        font-style: italic;
      }
      .search-box .icon {
        color: #687987;
        font-size: 20px;
      }
      .switch-card,
      .accordion,
      .betslip,
      .side-card {
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 4px;
        overflow: hidden;
      }
      .switch-card,
      .accordion {
        margin-bottom: 12px;
      }
      .switch-head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #00536f;
      }
      .switch-head button {
        height: 52px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
      }
      .switch-head button.active {
        color: var(--yellow);
        box-shadow: inset 0 -3px 0 var(--yellow);
      }
      .switch-filters {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        padding: 12px;
        border-top: 1px solid var(--border);
      }
      .switch-filters button {
        height: 36px;
        border: 1px solid #fff;
        border-radius: 3px;
        background: transparent;
        color: #fff;
        text-transform: uppercase;
        font-size: 16px;
      }
      .switch-filters button.active {
        background: var(--yellow);
        border-color: var(--yellow);
        color: #00384e;
      }
      .accordion-head {
        height: 52px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #00536f;
        font-size: 18px;
        font-weight: 500;
        user-select: none;
        cursor: pointer;
      }
      .accordion-body {
        display: block;
      }
      .accordion.collapsed .accordion-body {
        display: none;
      }
      .accordion-arrow {
        transition: transform 0.18s ease;
      }
      .accordion.collapsed .accordion-arrow {
        transform: rotate(180deg);
      }
      .fav-empty {
        min-height: 74px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px 14px;
        font-size: 17px;
      }
      .list-item {
        display: grid;
        grid-template-columns: 22px 20px 1fr auto;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 12px;
        border-top: 1px solid var(--border-soft);
        font-size: 16px;
      }
      .list-item:hover,
      .list-item.active {
        background: rgba(255, 255, 255, 0.06);
      }
      .list-item.active {
        color: var(--yellow);
      }
      .checkbox {
        width: 18px;
        height: 18px;
        border: 1px solid #fff;
        border-radius: 2px;
      }
      .star {
        font-size: 20px;
        color: #fff;
        opacity: 0.9;
      }
      .count {
        font-size: 16px;
        color: #fff;
      }
      .sport-filter {
        cursor: pointer;
      }
      .flag {
        font-size: 18px;
        text-align: center;
        line-height: 1;
      }
      .category-sport-row {
        grid-template-columns: 22px 22px 1fr auto 24px;
        min-height: 46px;
        background: rgba(0, 0, 0, 0.08);
        cursor: pointer;
      }
      .category-sport-row .category-title {
        text-transform: uppercase;
        font-weight: 600;
      }
      .category-child-row {
        grid-template-columns: 22px 20px 1fr 22px 24px;
        padding-left: 14px;
        min-height: 40px;
        background: rgba(255, 255, 255, 0.02);
        cursor: pointer;
      }
      .category-child-row .category-title,
      .favorite-filter .category-title {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .category-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        color: #fff;
        opacity: .95;
        transition: transform .18s ease;
      }
      .category-sport-row.open .category-arrow {
        transform: rotate(180deg);
      }
      .favorite-star {
        appearance: none;
        border: 0;
        background: transparent;
        color: #fff;
        opacity: .95;
        font-size: 23px;
        line-height: 1;
        padding: 0;
        cursor: pointer;
      }
      .favorite-star.active {
        color: var(--yellow);
      }
      .favorite-star:hover {
        opacity: 1;
        transform: scale(1.05);
      }
      .favorite-filter {
        cursor: pointer;
      }
      .favorite-filter .favorite-star {
        color: var(--yellow);
      }

      .hero-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        margin-bottom: 14px;
      }
      .hero {
        height: 128px;
        border-radius: 4px;
        overflow: hidden;
        background: #006789;
        box-shadow: var(--shadow);
        position: relative;
      }
      .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .hero.fallback {
        padding: 16px;
        display: flex;
        align-items: flex-end;
        background: linear-gradient(
          120deg,
          #51d1d5 0,
          #006f91 55%,
          #004c68 100%
        );
      }
      .hero-copy {
        font-size: 30px;
        line-height: 0.9;
        color: var(--yellow);
        text-transform: uppercase;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
      }
      .hero-copy small {
        display: block;
        margin-top: 7px;
        color: #fff;
        font-size: 13px;
        line-height: 1;
      }

      .sport-section {
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: 4px;
        overflow: hidden;
        background: #004a63;
        box-shadow: var(--shadow);
        width: 100%;
      }
      .section-head,
      .league-head,
      .event-row {
        display: grid;
        grid-template-columns: minmax(210px, 1.18fr) minmax(
            158px,
            0.78fr
          ) minmax(150px, 0.74fr) minmax(248px, 1.12fr);
        align-items: center;
        min-width: 0;
        width: 100%;
      }
      .section-head {
        height: 44px;
        background: var(--panel-deep);
        font-size: 15px;
        font-weight: 500;
        text-transform: uppercase;
        border-bottom: 1px solid var(--border-soft);
        letter-spacing: 0;
      }
      .section-head > div {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
      }
      .section-head > div:first-child {
        justify-content: flex-start;
        padding-left: 18px;
        gap: 10px;
      }
      .league-head {
        height: 40px;
        background: #006789;
        color: #fff;
        border-bottom: 1px solid var(--border-soft);
        font-size: 14px;
        font-weight: 500;
      }
      .league-title {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 0 12px;
        font-size: 14px;
        font-weight: 500;
      }
      .market-head {
        display: grid;
        align-items: center;
        justify-items: center;
        text-align: center;
        gap: 8px;
        padding: 0 6px;
        font-size: 14px;
        font-weight: 500;
        width: 100%;
        box-sizing: border-box;
      }
      .market-head.three {
        grid-template-columns: repeat(3, minmax(42px, 1fr));
      }
      .market-head.two {
        grid-template-columns: 30px repeat(2, minmax(42px, 1fr));
      }
      .event-row {
        min-height: 66px;
        background: #004f69;
        border-bottom: 1px solid var(--border-soft);
      }
      .event-row:last-child {
        border-bottom: 0;
      }
      .event-row > div {
        min-width: 0;
      }
      .game-cell {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 7px 16px;
      }
      .game-time {
        font-size: 13px;
        line-height: 1.05;
        text-align: center;
        color: #fff;
      }
      .game-time .date {
        display: block;
        color: #d5edf5;
        font-size: 13px;
      }
      .game-time .clock {
        display: block;
        color: #fff;
        font-size: 14px;
      }
      .teams {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
      .team-line {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.12;
      }
      .team-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .prematch-dot {
        display: none;
      }
      .market-cell {
        border-left: 1px solid var(--border-soft);
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
      }
      .market-cell.last-market {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px;
        align-items: center;
        gap: 6px;
        justify-content: stretch;
        padding-right: 10px;
      }
      .odds-three {
        display: grid;
        grid-template-columns: repeat(3, minmax(42px, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
      }
      .market-cell.last-market .odds-three {
        grid-template-columns: repeat(3, minmax(38px, 1fr));
        gap: 6px;
      }
      .odds-two {
        display: grid;
        grid-template-columns: 30px repeat(2, minmax(42px, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
        align-items: center;
      }
      .line-value {
        text-align: center;
        font-size: 14px;
        color: #fff;
      }
      .odd-btn {
        position: relative;
        overflow: hidden;
        height: 36px;
        min-width: 0;
        border: 1px solid var(--odd-border);
        border-radius: 3px;
        background: var(--odd-bg);
        color: var(--odd-text);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
        padding: 0 5px;
      }
      .odd-btn:hover {
        filter: brightness(0.97);
      }
      .odd-btn.selected {
        background: var(--yellow);
        border-color: #d8c900;
        color: #00384e;
      }
      .odd-btn.locked,
      .extra-odd-btn.locked,
      .detail-odd-btn.locked {
        color: #006789;
        background: #f5f7f8;
        cursor: not-allowed;
        box-shadow: none;
      }
      .odd-btn.locked svg,
      .extra-odd-btn.locked svg,
      .detail-odd-btn.locked svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
        display: block;
      }
      .odd-btn.locked svg path,
      .extra-odd-btn.locked svg path,
      .detail-odd-btn.locked svg path {
        fill: #006789;
      }
      .odd-btn.odds-up,
      .extra-odd-btn.odds-up,
      .odd-btn.odds-down,
      .extra-odd-btn.odds-down {
        animation: oddsCornerFlash 1.05s ease-in-out 0s 2;
      }
      .odd-btn.odds-up::after,
      .extra-odd-btn.odds-up::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
        border-top: 14px solid #13a538;
        border-left: 14px solid transparent;
        pointer-events: none;
      }
      .odd-btn.odds-down::after,
      .extra-odd-btn.odds-down::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 0;
        height: 0;
        border-bottom: 14px solid #f0181f;
        border-left: 14px solid transparent;
        pointer-events: none;
      }
      .odd-arrow {
        display: none;
      }
      @keyframes oddsCornerFlash {
        0% { filter: brightness(1); }
        35% { filter: brightness(1.08); }
        100% { filter: brightness(1); }
      }
      .more-count {
        width: 42px;
        min-width: 42px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        text-align: right;
        color: #fff;
        font-size: 16px;
        white-space: nowrap;
        overflow: visible;
        user-select: none;
      }
      .more-count.has-more {
        cursor: pointer;
        font-weight: 500;
      }
      .more-count.has-more:hover,
      .more-count.active {
        color: var(--yellow);
      }
      .extra-bets-row {
        background: #003f56;
        border-bottom: 1px solid var(--border-soft);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 12px;
      }
      .extra-bets-head {
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 2px 10px;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        text-transform: uppercase;
      }
      .extra-bets-head span:last-child {
        color: var(--yellow);
        font-size: 15px;
      }
      .extra-market-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }
      .extra-market-card {
        min-width: 0;
        border: 1px solid var(--border);
        border-radius: 4px;
        overflow: hidden;
        background: #004b65;
      }
      .extra-market-title {
        min-height: 34px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 7px 10px;
        background: #005977;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
      }
      .extra-market-title small {
        color: #bfe0ea;
        font-size: 12px;
        font-weight: 400;
        white-space: nowrap;
      }
      .extra-events {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
        gap: 7px;
        padding: 9px;
      }
      .extra-events.count-1 {
        grid-template-columns: minmax(0, 1fr);
      }
      .extra-events.count-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .extra-events.count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .extra-odd-btn {
        min-width: 0;
        height: 38px;
        border: 1px solid var(--odd-border);
        border-radius: 3px;
        background: var(--odd-bg);
        color: var(--odd-text);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 0 8px;
        font-size: 14px;
        font-weight: 500;
      }
      .extra-odd-btn:hover {
        filter: brightness(0.97);
      }
      .extra-odd-btn.selected {
        background: var(--yellow);
        border-color: #d8c900;
        color: #00384e;
      }
      .extra-odd-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .extra-odd-price {
        flex: 0 0 auto;
        font-size: 16px;
        font-weight: 600;
      }
      .event-row {
        cursor: pointer;
      }
      .event-row.is-expanded {
        background: #00485f;
        box-shadow: inset 3px 0 0 var(--yellow);
      }
      .event-row.is-expanded .game-cell {
        background: rgba(255, 237, 0, 0.04);
      }
      .event-row.is-expanded + .extra-bets-row {
        box-shadow: inset 3px 0 0 var(--yellow);
      }
      .empty-state {
        border: 1px solid var(--border);
        border-top: 0;
        border-radius: 0 0 4px 4px;
        background: #004f69;
        padding: 28px;
        text-align: center;
        font-size: 18px;
      }
      .loading-note {
        opacity: 0.92;
        color: #dff6ff;
        font-size: 15px;
        text-align: center;
        padding: 10px 0;
      }
      .mobile-primary-market {
        display: none !important;
      }
      .load-more-wrap {
        display: flex;
        justify-content: center;
        padding: 14px 10px 18px;
        background: #003f56;
        border: 1px solid var(--border);
        border-top: 0;
        border-radius: 0 0 4px 4px;
      }
      .load-more-btn {
        min-width: 220px;
        height: 42px;
        border: 0;
        border-radius: 3px;
        background: var(--yellow);
        color: #00384e;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
      }
      .load-more-btn:hover {
        filter: brightness(0.96);
      }
      .load-more-games {
        width: calc(100% - 20px);
        min-height: 38px;
        margin: 8px 10px 12px;
        border: 0;
        border-radius: 3px;
        background: var(--yellow);
        color: #00384e;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Roboto Condensed", Arial, sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
        box-shadow: none;
        appearance: none;
      }
      .load-more-games:hover {
        filter: brightness(0.96);
      }
      .load-more-games:active {
        transform: translateY(1px);
      }
      .hidden {
        display: none !important;
      }

      .betslip {
        position: sticky;
        top: 18px;
        box-shadow: var(--shadow);
      }
      .betslip-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 52px;
        background: #00536f;
        border-bottom: 1px solid var(--border-soft);
      }
      .betslip-top div {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8fbccd;
        font-size: 20px;
        text-transform: uppercase;
      }
      .betslip-top [data-ticket-tab] {
        cursor: pointer;
        user-select: none;
      }
      .betslip-top [data-ticket-tab]:hover {
        color: #dff7ff;
      }
      .betslip-top [data-ticket-tab]:focus-visible {
        outline: 2px solid var(--yellow);
        outline-offset: -2px;
      }
      .betslip-top .active {
        color: var(--yellow);
        box-shadow: inset 0 -3px 0 var(--yellow);
      }
      .betslip.is-cashout-view .ticket-items,
      .betslip.is-cashout-view .ticket-clear,
      .betslip.is-cashout-view .ticket-mode,
      .betslip.is-cashout-view .system-options,
      .betslip.is-cashout-view .ticket-form {
        display: none !important;
      }
      .cashout-view {
        min-height: 260px;
        background: #004b65;
        border-bottom: 1px solid var(--border-soft);
      }
      .cashout-empty {
        min-height: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 22px 18px;
        text-align: center;
        color: #dff7ff;
      }
      .cashout-empty strong {
        color: #fff;
        font-size: 20px;
        line-height: 1.15;
        text-transform: uppercase;
      }
      .cashout-empty span {
        color: #c8e5ee;
        font-size: 16px;
        line-height: 1.3;
      }
      .cashout-empty button,
      .cashout-open-link {
        min-width: 190px;
        height: 44px;
        border: 0;
        border-radius: 3px;
        background: var(--yellow);
        color: #00384e;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
      }
      .cashout-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
      }
      .cashout-card {
        border: 1px solid var(--border-soft);
        border-radius: 4px;
        background: #003f56;
        overflow: hidden;
      }
      .cashout-card-head {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
        background: #00536f;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
      }
      .cashout-card-body {
        padding: 10px 12px;
        color: #dff7ff;
        font-size: 14px;
        line-height: 1.35;
      }
      .cashout-card-body strong {
        display: block;
        color: #fff;
        font-size: 16px;
        margin-bottom: 4px;
      }
      .cashout-card-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin-top: 10px;
      }
      .cashout-card-meta .cashout-card-meta-full {
        grid-column: 1 / -1;
      }
      .cashout-card-meta div {
        background: #004b65;
        padding: 8px;
      }
      .cashout-card-meta span {
        display: block;
        color: #9ecddb;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
      }
      .cashout-card-meta b {
        display: block;
        color: #fff;
        font-size: 16px;
        margin-top: 2px;
      }
      .cashout-card-actions {
        padding: 10px 12px 12px;
      }
      .cashout-disabled-btn {
        width: 100%;
        min-height: 42px;
        border: 0;
        border-radius: 3px;
        background: rgba(255, 237, 0, 0.32);
        color: rgba(0, 56, 78, 0.7);
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: not-allowed;
      }
      .cashout-action-btn {
        width: 100%;
        min-height: 42px;
        border: 0;
        border-radius: 3px;
        background: var(--yellow);
        color: #00384e;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
      }
      .cashout-action-btn:hover {
        filter: brightness(1.03);
      }
      .cashout-action-btn:disabled {
        opacity: 0.65;
        cursor: wait;
      }
      .ticket-items {
        min-height: 112px;
        max-height: 320px;
        overflow: auto;
        background: #004b65;
      }
      .ticket-item {
        position: relative;
        padding: 15px 14px;
        border-bottom: 1px solid var(--border-soft);
      }
      .ticket-game {
        font-size: 16px;
        line-height: 1.35;
        padding-right: 44px;
      }
      .ticket-selection {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 8px;
        font-size: 16px;
        color: #dff7ff;
      }
      .ticket-remove {
        position: absolute;
        right: 10px;
        top: 10px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 18px;
      }
      .ticket-clear {
        height: 54px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0 16px;
        background: #004b65;
        border-bottom: 1px solid var(--border-soft);
        font-size: 18px;
      }
      .ticket-mode {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        height: 54px;
        background: #00536f;
        border-bottom: 1px solid var(--border-soft);
      }
      .ticket-mode div {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8fbccd;
        font-size: 21px;
        text-transform: uppercase;
      }
      .ticket-mode .active {
        color: var(--yellow);
        box-shadow: inset 0 -3px 0 var(--yellow);
      }
      .ticket-mode div {
        user-select: none;
      }
      .ticket-mode div.enabled {
        color: #dff7ff;
        cursor: pointer;
      }
      .ticket-mode div.enabled:hover {
        color: var(--yellow);
      }
      .ticket-mode div.disabled {
        color: rgba(143, 188, 205, 0.42);
        cursor: not-allowed;
        pointer-events: none;
      }
      .ticket-mode div.active {
        color: var(--yellow);
        pointer-events: auto;
      }
      .system-options {
        display: none;
        background: #004b65;
        border-bottom: 1px solid var(--border-soft);
      }
      .system-options.show {
        display: block;
      }
      .system-option {
        min-height: 40px;
        display: grid;
        grid-template-columns: 26px 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        border-bottom: 1px solid var(--border-soft);
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        user-select: none;
      }
      .system-option:last-child {
        border-bottom: 0;
      }
      .system-option:hover {
        background: rgba(255, 255, 255, 0.04);
      }
      .system-option input {
        width: 20px;
        height: 20px;
        margin: 0;
        accent-color: var(--yellow);
        cursor: pointer;
      }
      .system-option .system-count {
        color: #fff;
        font-size: 14px;
        white-space: nowrap;
      }
      .system-option.active {
        color: var(--yellow);
      }
      .ticket-form {
        padding: 14px;
        background: #004b65;
      }
      .ticket-message {
        margin: 10px 14px 0;
        padding: 10px 12px;
        border-left: 4px solid var(--yellow);
        border-radius: 3px;
        background: rgba(255, 214, 0, 0.12);
        color: #fff7c2;
        font-size: 14px;
        line-height: 1.35;
      }
      .ticket-message[hidden] {
        display: none !important;
      }
      .ticket-message.is-error {
        border-left-color: #ff5b6a;
        background: rgba(255, 91, 106, 0.15);
        color: #ffe5e8;
      }
      .label {
        display: block;
        margin-bottom: 8px;
        font-size: 16px;
      }
      .stake-input {
        width: 100%;
        height: 42px;
        border: 2px solid #16a8d5;
        background: #fff;
        border-radius: 2px;
        color: #173849;
        text-align: right;
        font-size: 30px;
        padding: 0 12px;
        margin-bottom: 15px;
      }
      .ticket-summary {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 13px;
        font-size: 17px;
      }
      .ticket-summary strong {
        font-size: 18px;
      }
      .dropdown-line {
        text-align: center;
        margin: 5px 0 13px;
      }
      .bet-submit {
        width: 100%;
        height: 44px;
        border: 0;
        border-radius: 3px;
        background: var(--yellow);
        color: #00384e;
        text-transform: uppercase;
        font-size: 22px;
      }
      .side-card {
        margin-top: 10px;
        padding: 16px;
        font-size: 18px;
        line-height: 1.35;
      }
      .side-card p {
        margin: 0 0 16px;
      }
      .outline-btn {
        width: 100%;
        height: 44px;
        border: 1px solid #d7eef7;
        border-radius: 3px;
        background: transparent;
        color: #fff;
        font-size: 17px;
        text-transform: uppercase;
      }
      .small-note {
        margin-top: 10px;
        color: #bfe0ea;
        font-size: 14px;
        line-height: 1.5;
      }

      @media (max-width: 1280px) {
        .main {
          grid-template-columns: 300px minmax(0, 1fr) 320px;
        }
        .section-head,
        .league-head,
        .event-row {
          grid-template-columns: minmax(190px, 1.08fr) minmax(
              135px,
              0.74fr
            ) minmax(128px, 0.7fr) minmax(220px, 1.08fr);
        }
        .odd-btn {
          font-size: 15px;
        }
        .market-cell {
          padding-left: 7px;
          padding-right: 7px;
        }
        .hero-row {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 1080px) {
        .main {
          grid-template-columns: 1fr;
        }
        .left-panel {
          order: 2;
        }
        .center-panel {
          order: 1;
        }
        .right-panel {
          order: 3;
        }
        .betslip {
          position: static;
        }
        .hero-row {
          grid-template-columns: repeat(3, 1fr);
        }
      }
      @media (max-width: 760px) {
        .main {
          padding: 12px;
        }
        .hero-row {
          grid-template-columns: 1fr;
        }
        .section-head,
        .league-head,
        .event-row {
          grid-template-columns: 1fr;
        }
        .section-head {
          height: auto;
          padding: 10px 0;
        }
        .section-head > div {
          justify-content: flex-start !important;
          padding: 8px 12px;
        }
        .league-head {
          height: auto;
        }
        .league-title,
        .market-head {
          padding: 10px 12px;
        }
        .market-cell {
          border-left: 0;
          border-top: 1px solid var(--border-soft);
          justify-content: flex-start;
        }
        .game-cell {
          grid-template-columns: 42px minmax(0, 1fr);
        }
        .odds-three {
          max-width: 420px;
        }
        .odds-two {
          max-width: 360px;
        }
        .extra-market-grid {
          grid-template-columns: 1fr;
        }
      }
    
      .league-head .market-head > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
      }
      .market-cell.last-market {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 8px;
        padding-right: 12px;
      }
      .more-count {
        min-width: 48px;
      }
      .section-head > div:not(:first-child) {
        justify-content: center;
      }

    
      .market-head.last-market-head {
        grid-template-columns: repeat(3, minmax(42px, 1fr)) 48px;
        gap: 8px;
        padding-right: 12px;
      }
      .market-head-spacer {
        display: block;
        width: 48px;
      }
      .market-cell.last-market {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 8px;
        padding-right: 12px;
      }
      .market-cell.last-market .odds-three {
        grid-template-columns: repeat(3, minmax(42px, 1fr));
        gap: 8px;
      }
      .league-head .market-head.last-market-head > span:not(.market-head-spacer) {
        display: flex;
        align-items: center;
        justify-content: center;
      }

    
      .section-title-center {
        justify-content: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
      }
      .section-title-handicap {
        padding-right: 10px !important;
      }
      .section-head > div:not(:first-child) {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
      }
      .market-head.handicap-head {
        grid-template-columns: 30px repeat(3, minmax(42px, 1fr)) 48px;
        gap: 8px;
        padding-right: 12px;
      }
      .market-head.handicap-head > span:not(.market-head-spacer) {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
      }
      .odds-handicap {
        display: grid;
        grid-template-columns: 30px repeat(3, minmax(42px, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
        align-items: center;
      }
      .market-cell.last-market {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 8px;
        padding-right: 12px;
      }

    
      .section-head {
        grid-template-columns: minmax(210px, 1.18fr) minmax(158px, 0.78fr) minmax(150px, 0.74fr) minmax(248px, 1.12fr);
      }
      .section-head > div:not(:first-child) {
        justify-content: center;
        transform: translateX(-4px);
      }
      .section-head > div:nth-child(4) {
        transform: translateX(-8px);
      }
      .section-title-handicap {
        padding-right: 12px !important;
      }
      .market-head.handicap-head {
        grid-template-columns: 30px repeat(3, minmax(42px, 1fr)) 48px;
      }
      .team-name,
      .market-head,
      .league-title,
      .section-head,
      .switch-filters button,
      .switch-head button,
      .accordion-head {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }

    
      .dynamic-head {
        grid-template-columns: repeat(var(--cols), minmax(42px, 1fr));
      }
      .dynamic-head.with-line {
        grid-template-columns: 30px repeat(var(--cols), minmax(42px, 1fr));
      }
      .dynamic-head.has-extra {
        grid-template-columns: 30px repeat(var(--cols), minmax(42px, 1fr)) 48px;
      }
      .dynamic-head > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
      }
      .odds-dynamic {
        display: grid;
        grid-template-columns: repeat(var(--cols), minmax(42px, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
        align-items: center;
      }
      .odds-dynamic.with-line {
        grid-template-columns: 30px repeat(var(--cols), minmax(42px, 1fr));
      }
      .market-cell.last-market {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 8px;
        padding-right: 12px;
      }
      .market-cell.last-market .odds-handicap {
        grid-template-columns: 30px repeat(var(--cols), minmax(42px, 1fr));
      }
      .odd-btn.locked {
        opacity: 1;
        box-shadow: none;
      }

    
      .section-head > div:not(:first-child) {
        transform: none !important;
        font-size: 14px;
        white-space: nowrap;
      }
      .section-title-handicap {
        padding-right: 0 !important;
      }
      .market-head.dynamic-head.has-extra {
        padding-right: 12px;
      }

    
      .switch-head button,
      .switch-filters button,
      .accordion-head,
      .list-item,
      .section-head,
      .league-head,
      .team-line,
      .ticket-mode div,
      .bet-submit,
      .extra-market-title,
      .extra-odd-btn {
        font-family: "Roboto Condensed", Arial, sans-serif;
      }
      .section-head { font-size: 14px; font-weight: 600; }
      .league-head { font-size: 13px; font-weight: 600; }
      .team-line { font-size: 13px; font-weight: 500; }
      .list-item { font-size: 14px; font-weight: 500; }
      .accordion-head { font-size: 17px; font-weight: 600; }
      .odd-btn { font-family: "Roboto Condensed", Arial, sans-serif; font-size: 14px; font-weight: 600; }
      .extra-odd-name { font-weight: 500; }
      .extra-events.count-3 .extra-odd-btn { padding: 0 7px; }

    
      .longterm-section-head {
        grid-template-columns: minmax(210px, 1fr) 1fr !important;
      }
      .longterm-section-head > div:last-child {
        justify-content: flex-end !important;
        padding-right: 18px;
        color: var(--yellow);
      }
      .longterm-league-head {
        grid-template-columns: minmax(0, 1fr) auto !important;
        padding-right: 12px;
      }
      .longterm-league-head > div:last-child {
        color: #bfe0ea;
        font-size: 13px;
        white-space: nowrap;
      }
      .longterm-game-row {
        background: #004f69;
        border-bottom: 1px solid var(--border-soft);
        padding: 10px 12px 12px;
      }
      .longterm-game-title {
        min-height: 34px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
        color: #fff;
      }
      .longterm-game-title div {
        min-width: 0;
        display: flex;
        align-items: baseline;
        gap: 10px;
      }
      .longterm-game-title span {
        color: #d5edf5;
        font-size: 13px;
        white-space: nowrap;
      }
      .longterm-game-title strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
        font-weight: 600;
      }
      .longterm-game-title small {
        flex: 0 0 auto;
        color: var(--yellow);
        font-size: 13px;
        font-weight: 600;
      }
      .longterm-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .longterm-events {
        grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
      }
      .longterm-events.count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      @media (max-width: 760px) {
        .longterm-section-head,
        .longterm-league-head {
          grid-template-columns: 1fr !important;
        }
        .longterm-market-grid {
          grid-template-columns: 1fr;
        }
        .longterm-game-title,
        .longterm-game-title div {
          align-items: flex-start;
          flex-direction: column;
        }
      }

    

      @media (min-width: 1081px) {
        .left-panel,
        .right-panel {
          position: sticky;
          top: 76px;
          align-self: start;
          max-height: calc(100vh - 94px);
          overflow-y: auto;
          overscroll-behavior: contain;
          scrollbar-width: thin;
          scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
        }
        .left-panel::-webkit-scrollbar,
        .right-panel::-webkit-scrollbar {
          width: 8px;
        }
        .left-panel::-webkit-scrollbar-track,
        .right-panel::-webkit-scrollbar-track {
          background: transparent;
        }
        .left-panel::-webkit-scrollbar-thumb,
        .right-panel::-webkit-scrollbar-thumb {
          background: rgba(255, 255, 255, 0.28);
          border-radius: 10px;
        }
        .left-panel::-webkit-scrollbar-thumb:hover,
        .right-panel::-webkit-scrollbar-thumb:hover {
          background: rgba(255, 255, 255, 0.45);
        }
        .right-panel .betslip {
          position: static;
          top: auto;
        }
      }

      .back-to-top {
        position: fixed;
        right: 392px;
        bottom: 26px;
        z-index: 50;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 50%;
        background: var(--yellow);
        color: #00384e;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        line-height: 1;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
      }
      .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
      .back-to-top:hover {
        filter: brightness(0.96);
      }
      @media (max-width: 1280px) {
        .back-to-top {
          right: 340px;
        }
      }
      @media (max-width: 1080px) {
        .back-to-top {
          right: 18px;
          bottom: 18px;
        }
      }

      @media (max-width: 760px) {
        html {
          scroll-padding-top: 58px;
        }
        body {
          background: #00384e;
          padding-bottom: 62px;
        }
        .mobile-brand {
          display: flex;
          align-items: center;
          gap: 6px;
          color: #fff;
          font-size: 19px;
          font-weight: 600;
          letter-spacing: -0.4px;
          flex: 1;
        }
        .brand-ball {
          width: 24px;
          height: 24px;
          border-radius: 50%;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          background: var(--yellow);
          color: #008fb0;
          font-size: 15px;
        }
        .mobile-age {
          width: 29px;
          height: 29px;
          border: 2px solid #fff;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-size: 12px;
          font-weight: 600;
        }
        .mobile-login-icon {
          align-self: stretch;
          width: 55px;
          margin: 0 -10px 0 2px;
          border: 0;
          background: var(--yellow);
          color: #00455b;
          font-size: 28px;
          font-weight: 600;
          border-radius: 0 0 0 16px;
        }
        .page {
          max-width: 430px;
          margin: 0 auto;
          background: #00384e;
          min-height: 100vh;
        }
        .main {
          display: flex;
          flex-direction: column;
          gap: 0;
          padding: 0;
        }
        .center-panel {
          order: 1;
          overflow: visible;
        }
        .left-panel {
          order: 2;
          position: static !important;
          max-height: none !important;
          overflow: visible !important;
          padding: 0 10px 12px;
        }
        .right-panel {
          display: none;
        }
        body.mobile-ticket-open .mobile-backdrop {
          display: block;
          position: fixed;
          inset: 0;
          z-index: 1200;
          background: rgba(0, 0, 0, 0.45);
        }
        body.mobile-ticket-open .right-panel {
          display: block;
          position: fixed !important;
          z-index: 1300;
          left: 10px;
          right: 10px;
          bottom: 66px;
          max-height: min(74vh, 620px) !important;
          overflow-y: auto !important;
          padding: 0;
        }
        body.mobile-ticket-open .side-card {
          display: none;
        }
        .betslip {
          border-radius: 5px;
          box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
        }
        .hero-row {
          display: block;
          margin: 0;
          padding: 0;
        }
        .hero {
          height: 198px;
          border-radius: 0;
          margin: 0;
        }
        .hero:nth-child(n + 2) {
          display: none;
        }
        .mobile-register-card {
          display: block;
          background: #003348;
          padding: 10px 10px 12px;
          border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        }
        .mobile-register-card strong,
        .mobile-register-card span {
          display: block;
          color: #fff;
          font-size: 13px;
          line-height: 1.25;
          margin-bottom: 6px;
        }
        .mobile-register-card button {
          width: 100%;
          height: 40px;
          border: 0;
          border-radius: 3px;
          background: var(--yellow);
          color: #00384e;
          text-transform: uppercase;
          font-weight: 600;
          font-size: 15px;
        }
        #oddsContainer {
          padding: 0;
        }
        .sport-section {
          margin: 0;
          border-width: 0 0 1px;
          border-radius: 0;
        }
        .section-head {
          display: flex !important;
          height: 38px !important;
          padding: 0 10px !important;
          align-items: center;
          justify-content: flex-start;
          gap: 8px;
          background: #003348;
          font-size: 14px !important;
        }
        .section-head > div:first-child {
          padding: 0 !important;
          flex: 1;
        }
        .section-head > div:not(:first-child) {
          display: none !important;
        }
        .league-head {
          display: grid !important;
          grid-template-columns: minmax(0, 1fr) !important;
          height: 35px !important;
          background: #006789;
          font-size: 13px !important;
        }
        .league-title {
          padding: 0 10px !important;
          display: flex;
          align-items: center;
          height: 35px;
        }
        .league-head .market-head {
          display: none !important;
        }
        .event-row {
          display: grid !important;
          grid-template-columns: minmax(0, 1fr) !important;
          min-height: auto;
          background: #004f69;
        }
        .game-cell {
          grid-template-columns: 52px minmax(0, 1fr) !important;
          padding: 8px 10px 5px;
          gap: 8px;
        }
        .game-time .date,
        .game-time .clock {
          font-size: 12px;
        }
        .team-line {
          font-size: 12px !important;
          line-height: 1.15;
        }
        .market-cell {
          border-left: 0 !important;
          border-top: 0 !important;
          padding: 5px 10px 8px !important;
        }
        .market-cell:nth-child(n + 4) {
          display: none !important;
        }
        .odds-dynamic,
        .odds-dynamic.with-line,
        .odds-two,
        .odds-three,
        .odds-handicap {
          max-width: none !important;
          width: 100% !important;
          grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)) !important;
          gap: 0 !important;
        }
        .odds-dynamic.with-line,
        .odds-two,
        .odds-handicap {
          grid-template-columns: 42px repeat(var(--cols, 2), minmax(0, 1fr)) !important;
        }
        .line-value {
          font-size: 12px;
          display: flex;
          align-items: center;
          justify-content: center;
        }
        .odd-btn {
          height: 34px;
          border-radius: 2px;
          font-size: 13px !important;
          margin-left: -1px;
        }
        .more-count {
          min-width: 32px !important;
          font-size: 12px;
        }
        .extra-markets {
          padding: 8px 10px 10px;
        }
        .extra-market-grid,
        .longterm-market-grid {
          grid-template-columns: 1fr !important;
        }
        .extra-events.count-3 {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        .search-box {
          margin: 12px 0 10px;
          height: 42px;
        }
        .switch-card {
          margin-bottom: 10px;
        }
        .switch-head button {
          height: 44px;
          font-size: 15px;
        }
        .switch-filters {
          padding: 8px;
          gap: 8px;
        }
        .switch-filters button {
          height: 34px;
          font-size: 13px;
        }
        .accordion {
          margin-bottom: 10px;
          border-radius: 3px;
        }
        .accordion-head {
          height: 42px;
          font-size: 15px !important;
        }
        .list-item {
          min-height: 40px;
          font-size: 13px !important;
        }
        .fav-empty {
          min-height: 54px;
          font-size: 13px;
        }
        .mobile-bottom-nav {
          position: fixed;
          left: 0;
          right: 0;
          bottom: 0;
          z-index: 1400;
          display: grid;
          grid-template-columns: repeat(5, 1fr);
          height: 58px;
          max-width: 430px;
          margin: 0 auto;
          background: #007fa0;
          border-top: 1px solid rgba(255, 255, 255, 0.25);
        }
        .mobile-bottom-nav button {
          position: relative;
          border: 0;
          background: transparent;
          color: #fff;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 2px;
          font-family: "Roboto Condensed", Arial, sans-serif;
        }
        .mobile-bottom-nav span {
          font-size: 17px;
          line-height: 1;
        }
        .mobile-bottom-nav small {
          font-size: 10px;
          font-weight: 600;
        }
        .mobile-bottom-nav b {
          position: absolute;
          top: 4px;
          right: 20px;
          min-width: 17px;
          height: 17px;
          padding: 0 4px;
          border-radius: 10px;
          background: var(--yellow);
          color: #00384e;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 10px;
          font-weight: 600;
        }
        .back-to-top {
          right: 12px;
          bottom: 74px;
        }
      }

    

      /* Mobil görünüm: header yok, referans yapıya yakın kompakt spor listesi */
      @media (max-width: 760px) {
        html { scroll-padding-top: 48px !important; }
        body {
          background: #00384e !important;
          padding-bottom: 58px !important;
          overflow-x: hidden !important;
        }
        .page {
          width: 100% !important;
          max-width: 430px !important;
          margin: 0 auto !important;
          background: #00384e !important;
        }
        .main {
          display: flex !important;
          flex-direction: column !important;
          padding: 0 !important;
          gap: 0 !important;
        }
        .center-panel {
          order: 1 !important;
          width: 100% !important;
          overflow: visible !important;
        }
        .left-panel {
          order: 2 !important;
          position: static !important;
          max-height: none !important;
          overflow: visible !important;
          width: 100% !important;
          padding: 0 0 12px !important;
          box-sizing: border-box !important;
        }
        .right-panel { display: none !important; }
        body.mobile-ticket-open .right-panel {
          display: block !important;
          position: fixed !important;
          z-index: 1300 !important;
          left: 10px !important;
          right: 10px !important;
          bottom: 66px !important;
          max-height: min(74vh, 620px) !important;
          overflow-y: auto !important;
          padding: 0 !important;
        }
        body.mobile-ticket-open .mobile-backdrop {
          display: block !important;
          position: fixed !important;
          inset: 0 !important;
          z-index: 1200 !important;
          background: rgba(0,0,0,.45) !important;
        }
        body.mobile-ticket-open .side-card { display: none !important; }

        .hero-row {
          display: block !important;
          margin: 0 !important;
          padding: 0 !important;
        }
        .hero {
          height: clamp(150px, 48vw, 205px) !important;
          border-radius: 0 !important;
          margin: 0 !important;
          border: 0 !important;
        }
        .hero:nth-child(n + 2) { display: none !important; }
        .hero img {
          width: 100% !important;
          height: 100% !important;
          object-fit: cover !important;
        }
        .mobile-register-card {
          display: block !important;
          background: #003348 !important;
          padding: 10px 10px 12px !important;
          border-top: 1px solid rgba(255,255,255,.08) !important;
          border-bottom: 1px solid rgba(255,255,255,.16) !important;
        }
        .mobile-register-card strong,
        .mobile-register-card span {
          display: block !important;
          color: #fff !important;
          font-size: 12px !important;
          line-height: 1.25 !important;
          margin: 0 0 3px !important;
          font-weight: 600 !important;
        }
        .mobile-register-card button {
          width: 100% !important;
          height: 36px !important;
          margin-top: 7px !important;
          border: 0 !important;
          border-radius: 3px !important;
          background: var(--yellow) !important;
          color: #00384e !important;
          text-transform: uppercase !important;
          font-weight: 600 !important;
          font-size: 13px !important;
        }

        #oddsContainer {
          padding: 0 !important;
          margin: 0 !important;
        }
        #oddsContainer::before {
          content: "HIGHLIGHTS";
          display: flex;
          align-items: center;
          height: 38px;
          padding: 0 10px;
          background: #003348;
          border-top: 1px solid rgba(255,255,255,.1);
          border-bottom: 1px solid rgba(255,255,255,.18);
          color: #fff;
          font-family: "Roboto Condensed", Arial, sans-serif;
          font-size: 15px;
          font-weight: 600;
          text-transform: uppercase;
        }
        .sport-section {
          margin: 0 !important;
          border: 0 !important;
          border-radius: 0 !important;
          overflow: visible !important;
        }
        .section-head,
        .league-head {
          display: none !important;
        }
        .event-row {
          display: grid !important;
          grid-template-columns: minmax(0, 1fr) minmax(164px, 1.08fr) !important;
          align-items: center !important;
          min-height: 60px !important;
          background: #004f69 !important;
          border-bottom: 1px solid rgba(255,255,255,.16) !important;
        }
        .event-row > div { min-width: 0 !important; }
        .game-cell {
          grid-column: 1 !important;
          display: grid !important;
          grid-template-columns: 48px minmax(0, 1fr) !important;
          align-items: center !important;
          gap: 7px !important;
          padding: 7px 8px !important;
        }
        .game-time {
          color: #fff !important;
          text-align: center !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
          line-height: 1.05 !important;
        }
        .game-time .date,
        .game-time .clock {
          display: block !important;
          font-size: 11px !important;
          color: #fff !important;
        }
        .teams { gap: 2px !important; }
        .team-line {
          font-family: "Roboto Condensed", Arial, sans-serif !important;
          font-size: 12px !important;
          font-weight: 600 !important;
          line-height: 1.08 !important;
          color: #fff !important;
        }
        .team-name {
          overflow: hidden !important;
          text-overflow: ellipsis !important;
          white-space: nowrap !important;
        }
        .prematch-dot { display: none !important; }
        .event-row > .market-cell {
          display: none !important;
        }
        .event-row > .market-cell:nth-child(2) {
          grid-column: 2 !important;
          display: flex !important;
          width: 100% !important;
          border: 0 !important;
          padding: 7px 6px 7px 0 !important;
          align-items: center !important;
          justify-content: stretch !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell:nth-child(2) .odds-dynamic,
        .event-row > .market-cell:nth-child(2) .odds-three,
        .event-row > .market-cell:nth-child(2) .odds-two {
          width: 100% !important;
          max-width: none !important;
          display: grid !important;
          grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) !important;
          gap: 0 !important;
        }
        .event-row > .market-cell:nth-child(2) .odds-dynamic.with-line,
        .event-row > .market-cell:nth-child(2) .odds-two {
          grid-template-columns: 34px repeat(var(--cols, 2), minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) .odds-dynamic[style*="--cols:2"]:not(.with-line),
        .event-row > .market-cell:nth-child(2) .odds-three[style*="--cols:2"] {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) .odds-dynamic.with-line[style*="--cols:2"] {
          grid-template-columns: 36px repeat(2, minmax(0, 1fr)) !important;
        }
        .line-value {
          height: 36px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          color: #fff !important;
          font-size: 12px !important;
          font-weight: 600 !important;
        }
        .odd-btn {
          height: 36px !important;
          min-width: 0 !important;
          padding: 0 !important;
          border-radius: 2px !important;
          margin-left: -1px !important;
          font-size: 13px !important;
          font-weight: 600 !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
        }
        .more-count,
        .extra-markets,
        .longterm-game-row {
          display: none !important;
        }

        .left-panel::before {
          content: "Schnellsuche, gib einen Team- oder Liga-Namen ein";
          display: block;
          margin: 12px 0 0;
          padding: 9px 10px 6px;
          background: #003348;
          color: #fff;
          font-size: 12px;
          font-weight: 600;
          line-height: 1.25;
        }
        .left-panel .switch-card,
        .left-panel .accordion:has(#favoritesList),
        .left-panel .accordion:has(#highlightsList) {
          display: none !important;
        }
        .left-panel .search-box {
          display: flex !important;
          height: 38px !important;
          margin: 7px 10px 12px !important;
          border-radius: 2px !important;
          padding: 0 10px !important;
        }
        .left-panel .search-box input {
          font-size: 13px !important;
        }
        .left-panel .accordion:has(#sportsList) {
          display: block !important;
          width: 100% !important;
          margin: 0 !important;
          border-width: 0 !important;
          border-radius: 0 !important;
          background: #004f69 !important;
        }
        .left-panel .accordion:has(#sportsList) .accordion-body,
        #sportsList {
          width: 100% !important;
          box-sizing: border-box !important;
        }
        .left-panel .accordion:has(#sportsList) .accordion-head {
          height: 38px !important;
          padding: 0 10px !important;
          background: #003348 !important;
          border-top: 1px solid rgba(255,255,255,.1) !important;
          border-bottom: 1px solid rgba(255,255,255,.18) !important;
          font-size: 0 !important;
        }
        .left-panel .accordion:has(#sportsList) .accordion-head span:first-child::after {
          content: "TOP KATEGORIEN";
          font-size: 15px;
          font-weight: 600;
          color: #fff;
        }
        .left-panel .accordion:has(#sportsList) .accordion-arrow { display: none !important; }
        #sportsList .list-item {
          width: 100% !important;
          min-height: 43px !important;
          display: grid !important;
          grid-template-columns: 24px minmax(0, 1fr) auto !important;
          gap: 8px !important;
          padding: 0 10px !important;
          box-sizing: border-box !important;
          border-bottom: 1px solid rgba(255,255,255,.15) !important;
          font-size: 13px !important;
          font-weight: 600 !important;
          color: #fff !important;
        }
        #sportsList .list-item .checkbox,
        #sportsList .list-item .category-count,
        #sportsList .list-item .category-toggle {
          display: none !important;
        }
        #sportsList .list-item .flag {
          font-size: 17px !important;
        }
        #sportsList .category-title {
          overflow: hidden !important;
          text-overflow: ellipsis !important;
          white-space: nowrap !important;
        }
        #sportsList .favorite-star {
          color: #fff !important;
          font-size: 22px !important;
        }
        #sportsList .favorite-star.active {
          color: var(--yellow) !important;
        }
        .category-children {
          background: #00465f !important;
        }
        .category-children .list-item {
          padding-left: 22px !important;
        }

        .mobile-bottom-nav {
          position: fixed !important;
          left: 0 !important;
          right: 0 !important;
          bottom: 0 !important;
          z-index: 1400 !important;
          display: grid !important;
          grid-template-columns: repeat(5, 1fr) !important;
          height: 58px !important;
          max-width: 430px !important;
          margin: 0 auto !important;
          background: #007fa0 !important;
          border-top: 1px solid rgba(255,255,255,.25) !important;
        }
        .mobile-bottom-nav button {
          position: relative !important;
          border: 0 !important;
          background: transparent !important;
          color: #fff !important;
          display: flex !important;
          flex-direction: column !important;
          align-items: center !important;
          justify-content: center !important;
          gap: 2px !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
        }
        .mobile-bottom-nav span { font-size: 17px !important; line-height: 1 !important; }
        .mobile-bottom-nav small { font-size: 10px !important; font-weight: 600 !important; }
        .mobile-bottom-nav b {
          position: absolute !important;
          top: 4px !important;
          right: 20px !important;
          min-width: 17px !important;
          height: 17px !important;
          padding: 0 4px !important;
          border-radius: 10px !important;
          background: var(--yellow) !important;
          color: #00384e !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          font-size: 10px !important;
          font-weight: 600 !important;
        }
        .category-children,
        #sportsList .category-children {
          width: 100% !important;
          box-sizing: border-box !important;
        }
        .back-to-top {
          right: 12px !important;
          bottom: 74px !important;
        }
      }

    

      /* Final mobile alignment fixes */
      @media (max-width: 760px) {
        .event-row {
          grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
          width: 100% !important;
          box-sizing: border-box !important;
        }
        .game-cell {
          width: 100% !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell:nth-child(2) {
          display: flex !important;
          flex: 1 1 auto !important;
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          padding: 7px 6px 7px 0 !important;
          box-sizing: border-box !important;
          justify-content: stretch !important;
          align-items: center !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic,
        .event-row > .market-cell:nth-child(2) > .odds-three,
        .event-row > .market-cell:nth-child(2) > .odds-two,
        .event-row > .market-cell:nth-child(2) > .odds-handicap {
          flex: 1 1 100% !important;
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          display: grid !important;
          gap: 0 !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line),
        .event-row > .market-cell:nth-child(2) > .odds-three {
          grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line),
        .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"] {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line,
        .event-row > .market-cell:nth-child(2) > .odds-two,
        .event-row > .market-cell:nth-child(2) > .odds-handicap {
          grid-template-columns: 36px repeat(var(--cols, 2), minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) .odd-btn {
          width: 100% !important;
          min-width: 0 !important;
          height: 38px !important;
          box-sizing: border-box !important;
          margin: 0 !important;
          border-radius: 0 !important;
          border-left-width: 0 !important;
        }
        .event-row > .market-cell:nth-child(2) .odd-btn:first-of-type {
          border-left-width: 1px !important;
          border-radius: 2px 0 0 2px !important;
        }
        .event-row > .market-cell:nth-child(2) .odd-btn:last-of-type {
          border-radius: 0 2px 2px 0 !important;
        }
        .event-row > .market-cell:nth-child(2) .line-value {
          height: 38px !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell.mobile-primary-market {
          grid-column: 2 !important;
          display: flex !important;
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          padding: 7px 6px 7px 0 !important;
          border: 0 !important;
          align-items: center !important;
          justify-content: stretch !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell.desktop-market {
          display: none !important;
        }
        .event-row > .market-cell.mobile-primary-market > .odds-dynamic,
        .event-row > .market-cell.mobile-primary-market > .odds-three,
        .event-row > .market-cell.mobile-primary-market > .odds-two,
        .event-row > .market-cell.mobile-primary-market > .odds-handicap {
          flex: 1 1 100% !important;
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          display: grid !important;
          gap: 0 !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
        .event-row > .market-cell.mobile-primary-market > .odds-three {
          grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line,
        .event-row > .market-cell.mobile-primary-market > .odds-two,
        .event-row > .market-cell.mobile-primary-market > .odds-handicap {
          grid-template-columns: 36px repeat(var(--cols, 2), minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell.mobile-primary-market .odd-btn {
          width: 100% !important;
          min-width: 0 !important;
          height: 38px !important;
          box-sizing: border-box !important;
          margin: 0 !important;
          border-radius: 0 !important;
          border-left-width: 0 !important;
        }
        .event-row > .market-cell.mobile-primary-market .odd-btn:first-of-type {
          border-left-width: 1px !important;
          border-radius: 2px 0 0 2px !important;
        }
        .event-row > .market-cell.mobile-primary-market .odd-btn:last-of-type {
          border-radius: 0 2px 2px 0 !important;
        }
        .event-row > .market-cell.mobile-primary-market .line-value {
          height: 38px !important;
          box-sizing: border-box !important;
        }
        .load-more-wrap {
          border-left: 0 !important;
          border-right: 0 !important;
          border-radius: 0 !important;
          padding: 12px 10px 16px !important;
        }
        .load-more-btn {
          width: 100% !important;
          min-width: 0 !important;
          height: 40px !important;
          font-size: 14px !important;
        }
        .left-panel,
        .left-panel .accordion:has(#sportsList),
        .left-panel .accordion:has(#sportsList) .accordion-body,
        #sportsList,
        #sportsList .list-item,
        #sportsList .category-children {
          width: 100% !important;
          max-width: none !important;
          box-sizing: border-box !important;
        }
        #sportsList .list-item .flag {
          grid-column: 1 !important;
          grid-row: 1 !important;
          align-self: center !important;
          justify-self: center !important;
        }
        #sportsList .list-item .category-title {
          grid-column: 2 !important;
          grid-row: 1 !important;
          align-self: center !important;
        }
        #sportsList .list-item .favorite-star {
          grid-column: 3 !important;
          grid-row: 1 !important;
          justify-self: end !important;
          align-self: center !important;
        }
      }

    

      /* Mobil tıklanan müsabaka ek bahis alanı */
      @media (max-width: 760px) {
        .event-row {
          cursor: pointer !important;
        }
        .event-row.is-expanded {
          background: #00475f !important;
          box-shadow: inset 3px 0 0 var(--yellow) !important;
        }
        .event-row.is-expanded .game-cell::after {
          content: "⌃";
          display: flex;
          align-items: center;
          justify-content: center;
          width: 18px;
          height: 18px;
          border-radius: 50%;
          background: var(--yellow);
          color: #00384e;
          font-size: 13px;
          font-weight: 600;
          position: absolute;
          right: 5px;
          top: 5px;
        }
        .event-row .game-cell {
          position: relative !important;
        }
        .extra-bets-row {
          display: block !important;
          padding: 8px 8px 10px !important;
          background: #003f56 !important;
          border-top: 1px solid rgba(255,255,255,.12) !important;
          border-bottom: 1px solid rgba(255,255,255,.18) !important;
        }
        .extra-bets-head {
          min-height: 30px !important;
          height: auto !important;
          padding: 0 2px 8px !important;
          font-size: 13px !important;
          font-weight: 600 !important;
        }
        .extra-bets-head span:last-child {
          font-size: 12px !important;
        }
        .extra-market-grid {
          display: grid !important;
          grid-template-columns: 1fr !important;
          gap: 8px !important;
        }
        .extra-market-card {
          border-radius: 3px !important;
          border-color: rgba(255,255,255,.18) !important;
          background: #004b65 !important;
        }
        .extra-market-title {
          min-height: 32px !important;
          padding: 6px 8px !important;
          font-size: 12px !important;
          font-weight: 600 !important;
          background: #005977 !important;
        }
        .extra-market-title small {
          font-size: 11px !important;
        }
        .extra-events,
        .extra-events.count-1,
        .extra-events.count-2,
        .extra-events.count-3 {
          display: grid !important;
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
          gap: 6px !important;
          padding: 7px !important;
        }
        .extra-odd-btn {
          height: 36px !important;
          min-width: 0 !important;
          padding: 0 7px !important;
          font-size: 12px !important;
          font-weight: 600 !important;
          border-radius: 2px !important;
        }
        .extra-odd-price {
          font-size: 13px !important;
          font-weight: 600 !important;
        }
        .extra-bets-row .loading-note {
          padding: 12px 6px !important;
          font-size: 13px !important;
        }
      }

      /* Mobil oran düzeltmesi: futbol market seçimine dokunmadan, gerçek buton sayısına göre sağ alanı doldur */
      @media (max-width: 760px) {
        .event-row > .market-cell:nth-child(2) {
          justify-self: stretch !important;
          align-self: stretch !important;
          display: grid !important;
          grid-template-columns: minmax(0, 1fr) !important;
          width: auto !important;
          min-width: 0 !important;
          max-width: none !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic,
        .event-row > .market-cell:nth-child(2) > .odds-three,
        .event-row > .market-cell:nth-child(2) > .odds-two {
          justify-self: stretch !important;
          align-self: center !important;
          width: 100% !important;
          min-width: 100% !important;
          max-width: 100% !important;
          display: grid !important;
          gap: 0 !important;
          box-sizing: border-box !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child) {
          grid-template-columns: minmax(0, 1fr) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
        .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child) {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(3):last-child),
        .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(3):last-child) {
          grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(2):last-child),
        .event-row > .market-cell:nth-child(2) > .odds-two:has(.odd-btn:nth-child(2):last-child) {
          grid-template-columns: 36px minmax(0, 1fr) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(3):last-child),
        .event-row > .market-cell:nth-child(2) > .odds-two:has(.odd-btn:nth-child(3):last-child) {
          grid-template-columns: 36px repeat(2, minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(4):last-child) {
          grid-template-columns: 36px repeat(3, minmax(0, 1fr)) !important;
        }
        .event-row > .market-cell:nth-child(2) .odd-btn {
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          height: 40px !important;
          flex: none !important;
        }
        .event-row > .market-cell:nth-child(2) .line-value {
          height: 40px !important;
        }
      }


      /* Mobil wettschein tam ekran üstten açılır ve sağ üst kapatma butonu */
      .mobile-ticket-close {
        display: none;
      }
      @media (max-width: 760px) {
        body.mobile-ticket-open {
          overflow: hidden !important;
        }
        body.mobile-ticket-open .right-panel {
          display: block !important;
          position: fixed !important;
          z-index: 1300 !important;
          top: 0 !important;
          left: 0 !important;
          right: 0 !important;
          bottom: 58px !important;
          width: 100% !important;
          max-width: 430px !important;
          height: calc(100dvh - 58px) !important;
          max-height: none !important;
          margin: 0 auto !important;
          padding: 0 !important;
          overflow: hidden !important;
          box-sizing: border-box !important;
        }
        body.mobile-ticket-open .right-panel .betslip {
          display: flex !important;
          flex-direction: column !important;
          width: 100% !important;
          height: 100% !important;
          min-height: 100% !important;
          max-height: none !important;
          border-radius: 0 !important;
          border-left: 0 !important;
          border-right: 0 !important;
          overflow: hidden !important;
        }
        body.mobile-ticket-open .betslip-top {
          grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px !important;
          flex: 0 0 auto !important;
        }
        body.mobile-ticket-open .mobile-ticket-close {
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          width: 46px !important;
          height: 52px !important;
          border: 0 !important;
          border-left: 1px solid var(--border-soft) !important;
          background: #00536f !important;
          color: #fff !important;
          font-size: 30px !important;
          font-weight: 400 !important;
          line-height: 1 !important;
          padding: 0 !important;
        }
        body.mobile-ticket-open .mobile-ticket-close:hover,
        body.mobile-ticket-open .mobile-ticket-close:focus-visible {
          color: var(--yellow) !important;
          outline: none !important;
        }
        body.mobile-ticket-open .ticket-items {
          flex: 1 1 auto !important;
          min-height: 0 !important;
          max-height: none !important;
          overflow-y: auto !important;
        }
        body.mobile-ticket-open .ticket-clear,
        body.mobile-ticket-open .ticket-mode,
        body.mobile-ticket-open .system-options,
        body.mobile-ticket-open .ticket-form {
          flex: 0 0 auto !important;
        }
      }


      /* sportwetten.de mobil footer + wettschein keypad */
      .stake-input-wrap {
        position: relative;
        margin-bottom: 15px;
      }
      .stake-input-wrap .stake-input {
        margin-bottom: 0;
        padding-right: 42px;
      }
      .stake-currency {
        position: absolute;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #003348;
        font-size: 22px;
        font-weight: 600;
        pointer-events: none;
      }
      .mobile-stake-keypad {
        display: none;
      }
      @media (max-width: 760px) {
        body {
          padding-bottom: 60px !important;
        }
        .sw-footer-nav.mobile-bottom-nav {
          height: 60px !important;
          background: #009cbc !important;
          border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
          box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.18) !important;
          grid-template-columns: repeat(5, 1fr) !important;
          z-index: 1500 !important;
        }
        .sw-footer-nav.mobile-bottom-nav button {
          width: 100% !important;
          height: 60px !important;
          min-width: 0 !important;
          padding: 5px 0 4px !important;
          background: #009cbc !important;
          color: #fff !important;
          border: 0 !important;
          display: grid !important;
          grid-template-rows: 25px 18px !important;
          align-content: center !important;
          justify-items: center !important;
          gap: 2px !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
        }
        .sw-footer-nav.mobile-bottom-nav button.active {
          background: var(--yellow) !important;
          color: #00455b !important;
        }
        .sw-footer-nav .footer-icon {
          position: relative !important;
          width: 23px !important;
          height: 23px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          line-height: 1 !important;
        }
        .sw-footer-nav .footer-icon svg {
          width: 21px !important;
          height: 21px !important;
          display: block !important;
          fill: currentColor !important;
        }
        .sw-footer-nav [data-mobile-action="ticket"] .footer-icon svg {
          width: 24px !important;
          height: 21px !important;
          transform: translateX(1px) !important;
        }
        .sw-footer-nav [data-mobile-action="cashout"] .footer-icon svg {
          width: 22px !important;
          height: 22px !important;
          transform: translateY(-1px) !important;
        }
        .sw-footer-nav [data-mobile-action="menu"] .footer-icon svg {
          width: 22px !important;
          height: 22px !important;
        }
        .sw-footer-nav.mobile-bottom-nav small {
          color: inherit !important;
          font-size: 10px !important;
          font-weight: 600 !important;
          line-height: 1 !important;
          max-width: 100% !important;
          overflow: hidden !important;
          text-overflow: ellipsis !important;
          white-space: nowrap !important;
        }
        .sw-footer-nav .footer-badge {
          position: absolute !important;
          top: -5px !important;
          right: -10px !important;
          z-index: 2 !important;
          min-width: 18px !important;
          height: 18px !important;
          padding: 0 4px !important;
          border-radius: 50% !important;
          background: var(--yellow) !important;
          color: #00455b !important;
          border: 1px solid #009cbc !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          font-size: 10px !important;
          font-weight: 600 !important;
          line-height: 18px !important;
          box-sizing: border-box !important;
        }
        .sw-footer-nav button.active .footer-badge {
          background: #00455b !important;
          color: var(--yellow) !important;
          border-color: var(--yellow) !important;
        }
        body.mobile-ticket-open .right-panel {
          bottom: 60px !important;
          height: calc(100dvh - 60px) !important;
          max-width: 430px !important;
        }
        body.mobile-ticket-open .betslip {
          background: #005b78 !important;
        }
        body.mobile-ticket-open .betslip-top {
          min-height: 54px !important;
          height: 54px !important;
          background: #005b78 !important;
          grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px !important;
        }
        body.mobile-ticket-open .betslip-top div {
          height: 54px !important;
          font-size: 16px !important;
          font-weight: 600 !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
        }
        body.mobile-ticket-open .mobile-ticket-close {
          width: 48px !important;
          height: 54px !important;
          background: var(--yellow) !important;
          color: #00455b !important;
          border-left: 0 !important;
          font-size: 32px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .ticket-item {
          padding: 12px 10px !important;
        }
        body.mobile-ticket-open .ticket-game {
          font-size: 12px !important;
          font-weight: 600 !important;
          line-height: 1.25 !important;
        }
        body.mobile-ticket-open .ticket-selection {
          font-size: 12px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .ticket-clear {
          height: 40px !important;
          font-size: 13px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .ticket-mode {
          height: 48px !important;
        }
        body.mobile-ticket-open .ticket-mode div {
          font-size: 15px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .system-option {
          min-height: 32px !important;
          font-size: 12px !important;
        }
        body.mobile-ticket-open .ticket-form {
          padding: 8px !important;
        }
        body.mobile-ticket-open .ticket-form .label {
          margin-bottom: 5px !important;
          font-size: 11px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .stake-input-wrap {
          margin-bottom: 8px !important;
        }
        body.mobile-ticket-open .stake-input {
          height: 32px !important;
          border: 2px solid #16a8d5 !important;
          text-align: right !important;
          font-size: 17px !important;
          font-weight: 600 !important;
          padding-right: 30px !important;
        }
        body.mobile-ticket-open .stake-currency {
          right: 10px !important;
          font-size: 15px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .mobile-stake-keypad {
          display: grid !important;
          grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
          gap: 1px !important;
          margin: 0 -6px 8px !important;
          background: #006b87 !important;
          border: 1px solid #00506b !important;
        }
        body.mobile-ticket-open .mobile-stake-keypad button {
          height: 38px !important;
          border: 0 !important;
          border-right: 1px solid #00617d !important;
          border-bottom: 1px solid #00617d !important;
          background: #0aa2be !important;
          color: #fff !important;
          font-size: 16px !important;
          font-weight: 600 !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
        }
        body.mobile-ticket-open .mobile-stake-keypad button:active {
          filter: brightness(0.92) !important;
        }
        body.mobile-ticket-open .ticket-summary {
          margin-bottom: 3px !important;
          font-size: 12px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .ticket-summary strong {
          font-size: 12px !important;
          font-weight: 600 !important;
        }
        body.mobile-ticket-open .dropdown-line {
          height: 24px !important;
          line-height: 24px !important;
          margin: 3px -8px 8px !important;
          border-top: 1px solid rgba(255,255,255,.18) !important;
          border-bottom: 1px solid rgba(255,255,255,.18) !important;
          background: #00536f !important;
        }
        body.mobile-ticket-open .bet-submit {
          height: 32px !important;
          font-size: 13px !important;
          font-weight: 600 !important;
        }
      }


      /* Mobil favoriler: Highlights bölümünün üstünde görünür */
      .mobile-favorites-section {
        display: none;
      }

      @media (max-width: 760px) {
        .mobile-favorites-section.has-items {
          display: block !important;
          width: 100% !important;
          margin: 0 !important;
          padding: 0 !important;
          background: #004f69 !important;
          border-top: 1px solid rgba(255,255,255,.10) !important;
          border-bottom: 1px solid rgba(255,255,255,.16) !important;
        }
        .mobile-favorites-head {
          height: 38px !important;
          display: flex !important;
          align-items: center !important;
          padding: 0 10px !important;
          background: #003348 !important;
          border-bottom: 1px solid rgba(255,255,255,.18) !important;
          color: #fff !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
          font-size: 15px !important;
          font-weight: 600 !important;
          text-transform: uppercase !important;
        }
        .mobile-favorites-list {
          width: 100% !important;
          box-sizing: border-box !important;
        }
        .mobile-favorites-list .list-item.favorite-filter {
          width: 100% !important;
          min-height: 43px !important;
          display: grid !important;
          grid-template-columns: 24px minmax(0, 1fr) auto !important;
          align-items: center !important;
          gap: 8px !important;
          padding: 0 10px !important;
          box-sizing: border-box !important;
          border-top: 0 !important;
          border-bottom: 1px solid rgba(255,255,255,.15) !important;
          background: #004f69 !important;
          color: #fff !important;
          font-family: "Roboto Condensed", Arial, sans-serif !important;
          font-size: 13px !important;
          font-weight: 600 !important;
        }
        .mobile-favorites-list .list-item.favorite-filter.active {
          color: var(--yellow) !important;
          background: #00465f !important;
        }
        .mobile-favorites-list .list-item.favorite-filter .checkbox {
          display: none !important;
        }
        .mobile-favorites-list .list-item.favorite-filter .flag {
          grid-column: 1 !important;
          grid-row: 1 !important;
          align-self: center !important;
          justify-self: center !important;
          font-size: 17px !important;
        }
        .mobile-favorites-list .list-item.favorite-filter .category-title {
          grid-column: 2 !important;
          grid-row: 1 !important;
          align-self: center !important;
          min-width: 0 !important;
          overflow: hidden !important;
          text-overflow: ellipsis !important;
          white-space: nowrap !important;
        }
        .mobile-favorites-list .list-item.favorite-filter .favorite-star {
          grid-column: 3 !important;
          grid-row: 1 !important;
          justify-self: end !important;
          align-self: center !important;
          color: var(--yellow) !important;
          font-size: 22px !important;
        }
      }
      @media (max-width: 900px) {
        .mobile-brand {
          display: flex !important;
          align-items: center !important;
          gap: 6px !important;
          color: #ffffff !important;
          font-size: 19px !important;
          line-height: 1 !important;
          font-weight: 600 !important;
          letter-spacing: -0.4px !important;
          flex: 1 1 auto !important;
          white-space: nowrap !important;
        }
        .mobile-brand .brand-ball {
          width: 24px !important;
          height: 24px !important;
          border-radius: 50% !important;
          background: #ffed00 !important;
          color: #009cbc !important;
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          font-size: 15px !important;
          line-height: 1 !important;
          transform: rotate(-12deg) !important;
          flex: 0 0 24px !important;
        }
        .mobile-age {
          width: 29px !important;
          height: 29px !important;
          border: 2px solid #ffffff !important;
          border-radius: 50% !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          color: #ffffff !important;
          font-size: 12px !important;
          line-height: 1 !important;
          font-weight: 600 !important;
          flex: 0 0 29px !important;
        }
        .mobile-login-icon {
          align-self: stretch !important;
          width: 55px !important;
          height: 48px !important;
          margin: 0 -10px 0 2px !important;
          border: 0 !important;
          background: #ffed00 !important;
          color: #00455b !important;
          font-size: 28px !important;
          line-height: 1 !important;
          font-weight: 600 !important;
          border-radius: 0 0 0 16px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          padding: 0 !important;
        }
      }

/* === sportwetten.de ZIP MOBIL FOOTER - birebir ortak yapı === */
@media (max-width: 760px) {
  body {
    padding-bottom: 60px !important;
  }

  .mobile-bottom-nav.sw-footer-nav {
    box-sizing: border-box !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1500 !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-columns: none !important;
    grid-auto-columns: calc(100vw / 5) !important;
    width: 100% !important;
    max-width: none !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: #005374 !important;
    background-color: #005374 !important;
    border-top: 1px solid #34778F !important;
    box-shadow: none !important;
    overflow: visible !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-item,
  .mobile-bottom-nav.sw-footer-nav button {
    box-sizing: border-box !important;
    position: relative !important;
    display: grid !important;
    grid-auto-flow: row !important;
    justify-content: center !important;
    align-content: center !important;
    justify-items: center !important;
    align-items: center !important;
    width: calc(100vw / 5) !important;
    min-width: 0 !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: #005374 !important;
    background-color: #005374 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    cursor: pointer !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    gap: 0 !important;
    opacity: 1 !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-item.active,
  .mobile-bottom-nav.sw-footer-nav button.active {
    background: #FFED00 !important;
    background-color: #FFED00 !important;
    color: #004560 !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-item.is-disabled,
  .mobile-bottom-nav.sw-footer-nav .footer-item[disabled] {
    opacity: 0.25 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-icon {
    position: relative !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 auto !important;
    color: inherit !important;
    line-height: 20px !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-icon svg {
    position: relative !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    overflow: visible !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-icon svg path {
    fill: currentColor !important;
    stroke: inherit !important;
  }

  .mobile-bottom-nav.sw-footer-nav .bettingSlip .footer-icon svg {
    transform: translateX(1px) !important;
  }

  .mobile-bottom-nav.sw-footer-nav .bettingSlip .footer-icon path {
    stroke: none !important;
    fill: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .mobile-bottom-nav.sw-footer-nav .cashout .footer-icon svg {
    top: -1px !important;
  }

  .mobile-bottom-nav.sw-footer-nav .menuPanel .footer-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .mobile-bottom-nav.sw-footer-nav small {
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    text-align: center !important;
    color: inherit !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 12px !important;
  }

  .mobile-bottom-nav.sw-footer-nav .footer-badge {
    box-sizing: border-box !important;
    position: absolute !important;
    display: grid !important;
    grid-auto-flow: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    top: -1px !important;
    right: -10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #FFED00 !important;
    background-color: #FFED00 !important;
    color: #004560 !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    z-index: 10 !important;
  }

  .mobile-bottom-nav.sw-footer-nav .bettingSlip .footer-badge + svg,
  .mobile-bottom-nav.sw-footer-nav .cashout .footer-badge + svg {
    left: -5px !important;
  }

  .mobile-bottom-nav.sw-footer-nav .bettingSlip.active .footer-badge,
  .mobile-bottom-nav.sw-footer-nav .cashout.active .footer-badge {
    background: #004560 !important;
    background-color: #004560 !important;
    color: #FFFFFF !important;
    border: none !important;
  }
}

/* FINAL REF-LIKE SPORT CATEGORY VIEW FIX */
.page-sport .sw-sport-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: #fff;
}
.page-sport .sw-sport-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
#sportsList .category-sport-row {
  display: grid !important;
  grid-template-columns: 28px 1fr 22px !important;
  min-height: 41px !important;
  padding: 0 10px !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}
#sportsList .category-sport-row .checkbox,
#sportsList .category-sport-row .count,
#sportsList .category-sport-row .favorite-star {
  display: none !important;
}
#sportsList .category-sport-row .category-title {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  text-transform: uppercase !important;
}
#sportsList .category-sport-row.active,
#sportsList .category-sport-row.open {
  background: #075c78 !important;
}
#sportsList .category-sport-row.active .category-title,
#sportsList .category-sport-row.active .sw-sport-icon,
#sportsList .category-sport-row.open .category-title,
#sportsList .category-sport-row.open .sw-sport-icon {
  color: #ffed00 !important;
}
#sportsList .category-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 22px !important;
  cursor: pointer !important;
}
#sportsList .category-child-row {
  display: grid !important;
  grid-template-columns: 22px 22px minmax(0, 1fr) 22px 24px !important;
  min-height: 41px !important;
  padding: 0 10px !important;
  align-items: center !important;
  gap: 7px !important;
  background: #07506b !important;
  border-top: 1px solid rgba(255,255,255,.13) !important;
  cursor: pointer !important;
}
#sportsList .category-child-row.active {
  background: #006f8d !important;
}
#sportsList .category-check {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 17px !important;
  height: 17px !important;
  border: 1px solid #fff !important;
  border-radius: 2px !important;
  color: #00384d !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
#sportsList .category-child-row.active .category-check {
  background: #ffed00 !important;
  border-color: #ffed00 !important;
}
#sportsList .category-child-row .flag {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  font-size: 14px !important;
}
#sportsList .category-child-row .category-title {
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
}
#sportsList .category-child-row.active .category-title {
  color: #ffed00 !important;
}
#sportsList .category-child-row .favorite-star {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 24px !important;
  height: 24px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 22px !important;
  line-height: 24px !important;
}
#sportsList .category-child-row .favorite-star.active {
  color: #ffed00 !important;
}

body.ref-category-view .hero-row,
body.ref-category-view .mobile-register-card,
body.ref-category-view #mobileFavoritesSection:not(.has-items) {
  display: none !important;
}
.ref-market-toolbar {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 190px 190px 190px;
  gap: 20px;
  align-items: center;
  margin: 0 0 10px;
  min-height: 44px;
}
.ref-market-sport {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
}
.ref-market-sport .sw-sport-icon {
  width: 22px;
  height: 22px;
}
.ref-market-select-wrap {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}
.ref-market-select-wrap > span { display: none; }
.ref-market-select {
  width: 100%;
  height: 32px;
  appearance: auto;
  -webkit-appearance: menulist;
  border: 0;
  border-radius: 3px;
  background: #fff;
  color: #00384d;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 14px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  text-align-last: center;
  padding: 0 10px;
  cursor: pointer;
}
.ref-category-section > .section-head { display: none !important; }
.ref-category-section .league-head {
  min-height: 38px !important;
  background: #08728f !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-bottom: 0 !important;
  border-radius: 4px 4px 0 0 !important;
}
.ref-category-section .league-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ref-category-section .event-row {
  min-height: 55px !important;
  background: #00526b !important;
}
.ref-category-section .event-row:nth-child(even) {
  background: #005b75 !important;
}
.ref-category-section .game-cell {
  padding-left: 20px !important;
}
.ref-category-section .game-time {
  width: 46px !important;
  text-align: center !important;
}
.ref-category-section .teams {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 18px !important;
}
.ref-category-section .odd-btn {
  min-height: 36px !important;
  border-radius: 3px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.ref-category-section .line-value {
  font-size: 13px !important;
  font-weight: 600 !important;
}
@media (max-width: 1279px) {
  .ref-market-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 8px;
  }
  .ref-market-select {
    height: 38px;
  }
}


/* Referans maç detay paneli: ek marketler artık satır altında değil sağ panelde açılır */
.event-details-panel {
  position: fixed;
  top: 64px;
  right: 392px;
  width: 372px;
  max-width: calc(100vw - 30px);
  max-height: calc(100vh - 72px);
  z-index: 70;
  background: #005374;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  color: #fff;
  overflow: hidden;
  font-family: "Roboto Condensed", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.event-detail-close {
  position: absolute;
  right: 14px;
  top: 8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 20px;
  cursor: pointer;
}

.event-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  min-height: 90px;
  padding: 42px 28px 12px 12px;
  background: #005374;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 14px;
  line-height: 16px;
}

.event-detail-header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.event-detail-header span {
  text-align: right;
  font-weight: 600;
}

.event-detail-header,
.event-detail-tabs,
.event-detail-filters {
  flex: 0 0 auto;
}

.event-detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 10px 10px 0;
  background: #005374;
}

.event-detail-tabs button {
  height: 36px;
  border: 1px solid #fff;
  background: #005374;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: default;
}

.event-detail-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  height: 56px;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #005374;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 2;
}

.event-detail-filters button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  color: #00384e;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.event-detail-filters button.active {
  background: #ffed00;
  color: #00384e;
}

.event-detail-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  background: #00475f;
}

.detail-market-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  min-height: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #00475f;
}

.detail-market-name {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 8px 6px 10px;
  color: #fff;
  font-size: 14px;
  line-height: 15px;
  font-weight: 600;
}

.detail-market-name strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  font-weight: 600;
}

.detail-market-name span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.detail-market-odds {
  display: grid;
  grid-template-columns: repeat(var(--detail-cols, 2), minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 6px 8px 6px 0;
}

.detail-odd-btn {
  min-width: 0;
  height: 35px;
  border: 0;
  border-right: 1px solid #0b5b72;
  border-radius: 3px 0 0 3px;
  background: #f3f7f9;
  color: #00384e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 8px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.detail-odd-btn + .detail-odd-btn {
  border-radius: 0;
}

.detail-odd-btn:last-child {
  border-right: 0;
  border-radius: 0 3px 3px 0;
}

.detail-odd-btn:hover,
.detail-odd-btn.selected {
  background: #ffed00;
  color: #00384e;
}

.extra-odd-btn.locked:hover,
.detail-odd-btn.locked:hover {
  filter: none;
  background: #f5f7f8;
  color: #006789;
}

.detail-odd-btn span {
  flex: 0 0 auto;
  color: #00384e;
  font-weight: 600;
}

.detail-odd-btn.locked span {
  color: #006789;
}

.detail-odd-btn b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #00384e;
  font-size: 14px;
  font-weight: 600;
}

.detail-empty {
  padding: 18px 12px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.event-row.is-expanded {
  background: #005b70;
  box-shadow: inset 3px 0 0 #ffed00;
}

@media (max-width: 1450px) {
  .event-details-panel {
    right: 380px;
    width: 368px;
  }
}

@media (max-width: 1279px) {
  .event-details-panel {
    top: 42px;
    right: 0;
    left: 0;
    bottom: 56px;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .event-detail-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .event-details-panel {
    top: 58px;
    right: 0;
    left: 0;
    max-width: 100vw;
    border-radius: 0;
  }

  .detail-market-row {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .event-detail-tabs button,
  .event-detail-filters button {
    font-size: 11px;
  }
}

/* Favoriten boş alan düzeltmesi: referans görünümdeki gibi daha kompakt ve iki tonlu */
.left-panel .accordion:has(#favoritesList) .accordion-head {
  height: 42px !important;
  min-height: 42px !important;
  background: #005875 !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

.left-panel .accordion:has(#favoritesList) .accordion-body {
  background: #00536f !important;
}

.left-panel .accordion:has(#favoritesList) .fav-empty,
#favoritesList .fav-empty {
  min-height: 52px !important;
  height: 52px !important;
  padding: 8px 14px !important;
  background: #00536f !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 15px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
}

.left-panel .accordion:has(#favoritesList):not(.collapsed) {
  overflow: hidden !important;
}

@media (max-width: 1279px) {
  .left-panel .accordion:has(#favoritesList) .accordion-head {
    height: 40px !important;
    min-height: 40px !important;
  }

  .left-panel .accordion:has(#favoritesList) .fav-empty,
  #favoritesList .fav-empty {
    min-height: 48px !important;
    height: 48px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    line-height: 16px !important;
  }
}


/* FIX: Alle Kategorien referans font/ikon ve tek spor görünümü */
.page-sport,
.page-sport body,
.page-sport button,
.page-sport input,
.page-sport select,
.page-sport textarea,
.page-sport .left-panel,
.page-sport .center-panel,
.page-sport .right-panel,
.page-sport .list-item,
.page-sport .accordion-head,
.page-sport .section-head,
.page-sport .league-head,
.page-sport .team-line,
.page-sport .odd-btn,
.page-sport .extra-odd-btn {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

#sportsList .category-sport-row,
#sportsList .category-child-row {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
}

#sportsList .category-sport-row {
  grid-template-columns: 24px minmax(0, 1fr) 22px !important;
  min-height: 41px !important;
  height: 41px !important;
  padding: 0 10px !important;
  gap: 9px !important;
  background: #004f6a !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

#sportsList .category-sport-row.open,
#sportsList .category-sport-row.active {
  background: #075b76 !important;
}

#sportsList .category-sport-row .category-title {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

#sportsList .category-sport-row.open .category-title,
#sportsList .category-sport-row.active .category-title {
  color: #ffed00 !important;
}

.page-sport .sw-sport-icon,
#sportsList .category-sport-row .sw-sport-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.page-sport .sw-sport-icon svg,
#sportsList .category-sport-row .sw-sport-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
}

#sportsList .category-sport-row.open .sw-sport-icon,
#sportsList .category-sport-row.active .sw-sport-icon {
  color: #ffed00 !important;
}

#sportsList .category-toggle {
  position: relative !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 0 !important;
  color: #ffffff !important;
  background: transparent !important;
}

#sportsList .category-toggle::before {
  content: "" !important;
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) translateY(-2px) !important;
  margin: 0 auto !important;
}

#sportsList .category-sport-row.open .category-toggle::before {
  transform: rotate(225deg) translate(-2px, -1px) !important;
}

#sportsList .category-child-row {
  min-height: 41px !important;
  height: 41px !important;
  grid-template-columns: 20px 22px minmax(0, 1fr) 18px 24px !important;
  padding: 0 10px !important;
  gap: 8px !important;
  background: #075b76 !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

#sportsList .category-child-row .category-title {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
}

#sportsList .category-child-row.active {
  background: #087f98 !important;
}

#sportsList .category-child-row.active .category-title {
  color: #ffed00 !important;
}

#sportsList .category-check {
  width: 18px !important;
  height: 18px !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  border-radius: 2px !important;
  color: #004560 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

#sportsList .category-child-row.active .category-check {
  background: #ffed00 !important;
  border-color: #ffed00 !important;
}

#sportsList .country-flag {
  width: 22px !important;
  min-width: 22px !important;
  text-align: center !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

/* FIX: Highlight/Favori ikonları ham SVG/metin olarak taşmasın */
#highlightsList .flag,
#favoritesList .flag,
.mobile-favorites-list .flag {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  font-size: 14px !important;
  line-height: 22px !important;
  color: #ffffff !important;
}

#highlightsList .flag .sw-sport-icon,
#favoritesList .flag .sw-sport-icon,
.mobile-favorites-list .flag .sw-sport-icon,
#highlightsList .flag svg,
#favoritesList .flag svg,
.mobile-favorites-list .flag svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  display: block !important;
  fill: currentColor !important;
}

#highlightsList .category-title,
#favoritesList .category-title,
.mobile-favorites-list .category-title {
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: normal !important;
  word-break: normal !important;
}

/* FINAL: Alle Kategorien - sportwetten.de referans font/ikon/hizalama düzeltmesi */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/fonts/RobotoCondensed-Bold.woff2") format("woff2"), url("../assets/Fonts/RobotoCondensed-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+000-5FF, U+20AC;
}

.page-sport,
.page-sport * {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#sportsList {
  background: #004e69 !important;
}

#sportsList .category-sport-row,
#sportsList .category-child-row {
  box-sizing: border-box !important;
  display: grid !important;
  align-items: center !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  text-transform: none !important;
}

#sportsList .category-sport-row {
  grid-template-columns: 25px minmax(0,1fr) 24px !important;
  height: 41px !important;
  min-height: 41px !important;
  max-height: 41px !important;
  gap: 10px !important;
  padding: 0 14px 0 12px !important;
  background: #004e69 !important;
  color: #ffffff !important;
}

#sportsList .category-sport-row.active,
#sportsList .category-sport-row.open {
  background: #005978 !important;
  color: #ffed00 !important;
}

#sportsList .category-sport-row .category-title {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: inherit !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#sportsList .sw-sport-icon,
#sportsList .category-sport-row .sw-sport-icon {
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: currentColor !important;
  overflow: hidden !important;
}

#sportsList .sw-sport-icon svg,
#sportsList .category-sport-row .sw-sport-icon svg {
  display: block !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  fill: currentColor !important;
  stroke: none !important;
  color: inherit !important;
}

#sportsList .category-sport-row .checkbox,
#sportsList .category-sport-row .count,
#sportsList .category-sport-row .category-count,
#sportsList .category-sport-row .favorite-star {
  display: none !important;
}

#sportsList .category-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

#sportsList .category-sport-row.active .category-toggle,
#sportsList .category-sport-row.open .category-toggle {
  color: #ffffff !important;
}

#sportsList .category-toggle::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) translate(-1px,-1px) !important;
}

#sportsList .category-sport-row.open .category-toggle::before {
  transform: rotate(225deg) translate(-1px,-1px) !important;
}

#sportsList .category-child-row {
  grid-template-columns: 19px 21px minmax(0,1fr) 20px 24px !important;
  height: 41px !important;
  min-height: 41px !important;
  max-height: 41px !important;
  gap: 8px !important;
  padding: 0 12px !important;
  background: #005978 !important;
  color: #ffffff !important;
}

#sportsList .category-child-row.active {
  background: #087f98 !important;
}

#sportsList .category-child-row .category-title {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: inherit !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

#sportsList .category-child-row.active .category-title {
  color: #ffed00 !important;
}

#sportsList .category-check {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  border: 1px solid #ffffff !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #004560 !important;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
}

#sportsList .category-child-row.active .category-check {
  background: #ffed00 !important;
  border-color: #ffed00 !important;
}

#sportsList .country-flag {
  width: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  height: 21px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  line-height: 21px !important;
}

/* FIX FINAL: Alle Kategorien ikon/font referans sportwetten.de ile aynı SVG seti */
#sportsList .category-sport-row {
  grid-template-columns: 24px minmax(0, 1fr) 22px !important;
  height: 41px !important;
  min-height: 41px !important;
  max-height: 41px !important;
  gap: 9px !important;
  padding: 0 12px !important;
  background: #004f6a !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

#sportsList .category-sport-row.active,
#sportsList .category-sport-row.open {
  background: #005978 !important;
}

#sportsList .category-sport-row .category-title {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

#sportsList .category-sport-row.active .category-title,
#sportsList .category-sport-row.open .category-title {
  color: #ffed00 !important;
}

#sportsList .sw-sport-icon,
#sportsList .category-sport-row .sw-sport-icon {
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  overflow: hidden !important;
}

#sportsList .category-sport-row.active .sw-sport-icon,
#sportsList .category-sport-row.open .sw-sport-icon {
  color: #ffed00 !important;
}

#sportsList .sw-sport-icon svg,
#sportsList .category-sport-row .sw-sport-icon svg {
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
  overflow: visible !important;
}

#sportsList .category-sport-row .checkbox,
#sportsList .category-sport-row .count,
#sportsList .category-sport-row .category-count,
#sportsList .category-sport-row .favorite-star {
  display: none !important;
}

#sportsList .category-toggle {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  color: #ffffff !important;
}

#sportsList .category-toggle::before {
  width: 7px !important;
  height: 7px !important;
  border-right-width: 2px !important;
  border-bottom-width: 2px !important;
}

/* Ek bahis paneli sekme satırı düzeltmesi: son panel yapısını bozmadan desktop'ta sola doğru genişletir,
   yatay scrollbar çizgisini gizler; mobilde yatay kaydırma davranışı kalır ama çubuk görünmez. */
.event-detail-filters {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.event-detail-filters::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

@media (min-width: 1280px) {
  .event-details-panel {
    width: 454px !important;
    max-width: calc(100vw - 430px) !important;
    right: 392px !important;
  }

  .event-detail-filters {
    gap: 5px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .event-detail-filters button {
    min-width: 0 !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1280px) and (max-width: 1450px) {
  .event-details-panel {
    width: 438px !important;
    max-width: calc(100vw - 404px) !important;
    right: 380px !important;
  }

  .event-detail-filters button {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}


/* REF FONT ONLY FIX - sportwetten.de font yapısı: Roboto Condensed Regular 400 / Bold 600 */
body.page-sport,
body.page-sport *,
.page-sport,
.page-sport * {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

body.page-sport b,
body.page-sport strong,
.page-sport b,
.page-sport strong,
.page-sport .desktop-nav a,
.page-sport .desktop-nav button,
.page-sport .accordion-head,
.page-sport .list-item,
.page-sport .category-title,
.page-sport .section-head,
.page-sport .league-head,
.page-sport .league-title,
.page-sport .league-market-head,
.page-sport .team-line,
.page-sport .teams,
.page-sport .odd-btn,
.page-sport .line-value,
.page-sport .ref-market-sport,
.page-sport .ref-market-select,
.page-sport .event-detail-header strong,
.page-sport .event-detail-tabs button,
.page-sport .event-detail-filters button,
.page-sport .detail-market-name,
.page-sport .detail-market-name strong,
.page-sport .detail-odd-btn,
.page-sport .betslip,
.page-sport .betslip * {
  font-weight: 600 !important;
}

.page-sport .search-box input,
.page-sport .event-meta,
.page-sport .event-time,
.page-sport .game-time,
.page-sport .fav-empty,
.page-sport .detail-market-name span,
.page-sport .detail-empty {
  font-weight: 400 !important;
}

/* Ek bahis paneli yatay kaydırma düzeltmesi
   Referans panel mantığı: dış panelde ve market listesinde overflow-x kapalı,
   sadece bahis tipi sekmeleri içeride kayabilir ama scrollbar görünmez. */
.event-details-panel {
  overflow-x: hidden !important;
}

.event-detail-header,
.event-detail-tabs,
.event-detail-filters,
.event-detail-list,
.detail-market-row,
.detail-market-name,
.detail-market-odds {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.event-detail-tabs,
.event-detail-list {
  overflow-x: hidden !important;
}

.event-detail-filters {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  scroll-behavior: auto !important;
  overscroll-behavior-x: contain !important;
}

.event-detail-filters::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.event-detail-list::-webkit-scrollbar:horizontal,
.event-details-panel::-webkit-scrollbar:horizontal,
.detail-market-row::-webkit-scrollbar:horizontal,
.detail-market-odds::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

.detail-market-row {
  width: 100% !important;
  overflow: hidden !important;
}

.detail-market-name {
  min-width: 0 !important;
  overflow: hidden !important;
}

.detail-market-odds {
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.detail-odd-btn {
  min-width: 0 !important;
  max-width: 100% !important;
}

.detail-odd-btn span,
.detail-odd-btn b {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.page-sport .event-detail-filters {
  scroll-behavior: auto !important;
  overscroll-behavior-x: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
}

.page-sport .event-detail-filters button,
.page-sport .detail-odd-btn {
  touch-action: manipulation !important;
}

@media (min-width: 1280px) {
  .event-details-panel {
    width: 386px !important;
  }

  .detail-market-row {
    grid-template-columns: 128px minmax(0, 1fr) !important;
  }
}

@media (max-width: 520px) {
  .event-detail-list {
    overflow-x: hidden !important;
  }

  .detail-market-row {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }

  .detail-market-name {
    padding-left: 8px !important;
    padding-right: 6px !important;
  }

  .detail-market-odds {
    padding-right: 6px !important;
  }
}

/* RIGHT PANEL FONT MATCH FIX
   Sağ Wettschein/Cashout paneli sol panelle aynı Roboto Condensed font yapısına çekildi.
   Genel metinler 400, başlık/aktif sekme gibi vurgu alanları en fazla 600 kullanır. */
.page-sport .right-panel,
.page-sport .right-panel * {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  letter-spacing: 0 !important;
}

.page-sport .right-panel,
.page-sport .right-panel .betslip,
.page-sport .right-panel .betslip *,
.page-sport .right-panel .cashout-view,
.page-sport .right-panel .cashout-view *,
.page-sport .right-panel .side-card,
.page-sport .right-panel .side-card * {
  font-weight: 400 !important;
}

.page-sport .right-panel .betslip-top div {
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.page-sport .right-panel .betslip-top .active,
.page-sport .right-panel .ticket-mode .active {
  font-weight: 600 !important;
}

.page-sport .right-panel .ticket-mode div {
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

.page-sport .right-panel .ticket-clear,
.page-sport .right-panel .ticket-game,
.page-sport .right-panel .ticket-selection,
.page-sport .right-panel .ticket-form .label,
.page-sport .right-panel .ticket-summary,
.page-sport .right-panel .ticket-empty,
.page-sport .right-panel .ticket-empty p,
.page-sport .right-panel .cashout-empty,
.page-sport .right-panel .cashout-empty span,
.page-sport .right-panel .side-card,
.page-sport .right-panel .side-card p {
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

.page-sport .right-panel .ticket-summary strong,
.page-sport .right-panel .cashout-empty strong,
.page-sport .right-panel .cashout-card-head,
.page-sport .right-panel .cashout-card-body strong,
.page-sport .right-panel .cashout-card-meta b,
.page-sport .right-panel .system-option.active {
  font-weight: 600 !important;
}

.page-sport .right-panel .stake-input {
  font-size: 30px !important;
  line-height: 38px !important;
  font-weight: 400 !important;
}

.page-sport .right-panel .stake-currency,
.page-sport .right-panel .ticket-summary strong {
  font-size: 18px !important;
  line-height: 22px !important;
}

.page-sport .right-panel .bet-submit {
  font-size: 22px !important;
  line-height: 26px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

.page-sport .right-panel .system-option,
.page-sport .right-panel .cashout-card-body,
.page-sport .right-panel .cashout-card-meta span,
.page-sport .right-panel .cashout-disabled-btn,
.page-sport .right-panel .cashout-action-btn,
.page-sport .right-panel .cashout-empty button,
.page-sport .right-panel .cashout-open-link {
  font-weight: 400 !important;
}

@media (max-width: 1279px) {
  body.mobile-ticket-open .right-panel,
  body.mobile-ticket-open .right-panel * {
    font-family: "Roboto Condensed", Arial, sans-serif !important;
  }

  body.mobile-ticket-open .betslip-top div,
  body.mobile-ticket-open .ticket-mode div {
    font-weight: 400 !important;
  }

  body.mobile-ticket-open .betslip-top .active,
  body.mobile-ticket-open .ticket-mode .active {
    font-weight: 600 !important;
  }
}

/* 2026-05-14: Mobil oran butonları ilham site gibi aralıklı dursun. Sadece mobil odds alanı. */
@media (max-width: 760px) {
  html body .event-row > .market-cell:nth-child(2),
  html body .event-row > .market-cell.mobile-primary-market {
    padding: 7px 5px 7px 0 !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic,
  html body .event-row > .market-cell:nth-child(2) > .odds-three,
  html body .event-row > .market-cell:nth-child(2) > .odds-two,
  html body .event-row > .market-cell:nth-child(2) > .odds-handicap,
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic,
  html body .event-row > .market-cell.mobile-primary-market > .odds-three,
  html body .event-row > .market-cell.mobile-primary-market > .odds-two,
  html body .event-row > .market-cell.mobile-primary-market > .odds-handicap {
    gap: 3px !important;
    column-gap: 3px !important;
    row-gap: 0 !important;
  }

  html body .event-row > .market-cell:nth-child(2) .odd-btn,
  html body .event-row > .market-cell.mobile-primary-market .odd-btn {
    margin: 0 !important;
    border-left-width: 1px !important;
    border-radius: 2px !important;
    height: 36px !important;
  }

  html body .event-row > .market-cell:nth-child(2) .line-value,
  html body .event-row > .market-cell.mobile-primary-market .line-value {
    height: 36px !important;
    margin: 0 !important;
    border-radius: 2px !important;
  }

  html body .event-row > .market-cell:nth-child(2) .odd-btn:first-of-type,
  html body .event-row > .market-cell:nth-child(2) .odd-btn:last-of-type,
  html body .event-row > .market-cell.mobile-primary-market .odd-btn:first-of-type,
  html body .event-row > .market-cell.mobile-primary-market .odd-btn:last-of-type {
    border-radius: 2px !important;
  }
}

/* 2026-05-14: Mobil oran buton genişliği referans gibi daralsın; önceki aralık korunsun. Sadece mobil odds alanı. */
@media (max-width: 760px) {
  html body .event-row {
    grid-template-columns: minmax(0, 57%) minmax(118px, 43%) !important;
  }

  html body .event-row > .market-cell:nth-child(2),
  html body .event-row > .market-cell.mobile-primary-market {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 7px 5px 7px 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic,
  html body .event-row > .market-cell:nth-child(2) > .odds-three,
  html body .event-row > .market-cell:nth-child(2) > .odds-two,
  html body .event-row > .market-cell:nth-child(2) > .odds-handicap,
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic,
  html body .event-row > .market-cell.mobile-primary-market > .odds-three,
  html body .event-row > .market-cell.mobile-primary-market > .odds-two,
  html body .event-row > .market-cell.mobile-primary-market > .odds-handicap {
    flex: 0 0 auto !important;
    justify-self: end !important;
    align-self: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: grid !important;
    gap: 3px !important;
    column-gap: 3px !important;
    row-gap: 0 !important;
    box-sizing: border-box !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line),
  html body .event-row > .market-cell:nth-child(2) > .odds-three,
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body .event-row > .market-cell.mobile-primary-market > .odds-three {
    grid-template-columns: repeat(var(--cols, 3), 40px) !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"],
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body .event-row > .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"] {
    grid-template-columns: repeat(2, 58px) !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child) {
    grid-template-columns: 58px !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 58px) !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(3):last-child),
  html body .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(3):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(3):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 40px) !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line,
  html body .event-row > .market-cell:nth-child(2) > .odds-two,
  html body .event-row > .market-cell:nth-child(2) > .odds-handicap,
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line,
  html body .event-row > .market-cell.mobile-primary-market > .odds-two,
  html body .event-row > .market-cell.mobile-primary-market > .odds-handicap {
    grid-template-columns: 30px repeat(var(--cols, 2), 40px) !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(2):last-child),
  html body .event-row > .market-cell:nth-child(2) > .odds-two:has(.odd-btn:nth-child(2):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line:has(.odd-btn:nth-child(2):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-two:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: 30px 58px !important;
  }

  html body .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(3):last-child),
  html body .event-row > .market-cell:nth-child(2) > .odds-two:has(.odd-btn:nth-child(3):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line:has(.odd-btn:nth-child(3):last-child),
  html body .event-row > .market-cell.mobile-primary-market > .odds-two:has(.odd-btn:nth-child(3):last-child) {
    grid-template-columns: 30px repeat(2, 40px) !important;
  }

  html body .event-row > .market-cell:nth-child(2) .odd-btn,
  html body .event-row > .market-cell.mobile-primary-market .odd-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    margin: 0 !important;
    border-left-width: 1px !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
  }

  html body .event-row > .market-cell:nth-child(2) .line-value,
  html body .event-row > .market-cell.mobile-primary-market .line-value {
    height: 36px !important;
    margin: 0 !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
  }
}

/* 2026-05-14: Mobil Top Kategorien akışı - kategoriye basınca referans gibi maç listesi ekranı */
.mobile-category-nav,
.mobile-category-market-tabs {
  display: none;
}

@media (max-width: 760px) {
  body.ref-category-view .left-panel {
    display: none !important;
  }

  body.ref-category-view .center-panel {
    order: 1 !important;
    width: 100% !important;
  }

  body.ref-category-view #oddsContainer::before {
    display: none !important;
    content: none !important;
  }

  body.ref-category-view .ref-market-toolbar {
    display: none !important;
  }

  body.ref-category-view .mobile-category-nav {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    align-items: center !important;
    height: 42px !important;
    min-height: 42px !important;
    background: #003348 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
    padding: 0 5px !important;
    box-sizing: border-box !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
  }

  body.ref-category-view .mobile-category-nav strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #ffffff !important;
    font: 600 15px/1 "Roboto Condensed", Arial, sans-serif !important;
    text-transform: none !important;
  }

  body.ref-category-view .mobile-category-back,
  body.ref-category-view .mobile-category-menu {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: rgba(255,255,255,.28) !important;
    color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 28px !important;
    font-weight: 600 !important;
  }

  body.ref-category-view .mobile-category-menu {
    background: transparent !important;
    font-size: 23px !important;
  }

  body.ref-category-view .mobile-category-market-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 45px !important;
    height: 45px !important;
    padding: 7px 9px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #003348 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  body.ref-category-view .mobile-category-market-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body.ref-category-view .mobile-category-market-tabs button {
    flex: 0 0 auto !important;
    height: 33px !important;
    min-width: 40px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #00384e !important;
    text-align: center !important;
    font: 600 12px/33px "Roboto Condensed", Arial, sans-serif !important;
    white-space: nowrap !important;
  }

  body.ref-category-view .mobile-category-market-tabs button.active {
    background: #ffed00 !important;
    color: #00384e !important;
  }

  body.ref-category-view .ref-category-section .league-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(110px, auto) !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 5px 0 9px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #00637e !important;
  }

  body.ref-category-view .ref-category-section .league-head .league-title {
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    font: 600 12px/1 "Roboto Condensed", Arial, sans-serif !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.ref-category-view .ref-category-section .league-head .market-head {
    display: none !important;
  }

  body.ref-category-view .ref-category-section .league-head .market-head:first-of-type {
    grid-column: 2 !important;
    display: grid !important;
    height: 32px !important;
    align-items: center !important;
    color: #ffffff !important;
    font: 600 12px/1 "Roboto Condensed", Arial, sans-serif !important;
    background: transparent !important;
  }

  body.ref-category-view .ref-category-section .event-row {
    min-height: 54px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(111px, auto) !important;
    background: #004f69 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }

  body.ref-category-view .ref-category-section .event-row:nth-child(even) {
    background: #004f69 !important;
  }

  body.ref-category-view .ref-category-section .game-cell {
    padding: 0 5px 0 9px !important;
    min-height: 54px !important;
    align-items: center !important;
  }

  body.ref-category-view .ref-category-section .game-time {
    width: 42px !important;
    min-width: 42px !important;
    font: 600 11px/13px "Roboto Condensed", Arial, sans-serif !important;
  }

  body.ref-category-view .ref-category-section .teams {
    font: 600 12px/16px "Roboto Condensed", Arial, sans-serif !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market {
    padding: 7px 5px 7px 0 !important;
    min-width: 111px !important;
    max-width: 112px !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-two {
    gap: 2px !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market .odd-btn {
    height: 36px !important;
    min-width: 0 !important;
    border-radius: 2px !important;
    font: 600 12px/1 "Roboto Condensed", Arial, sans-serif !important;
  }
}

/* 2026-05-14: Mobil ek bahis paneli başlığı geri alındı + top kategori maç listesi taşması düzeltildi.
   Sadece mobil CSS override; desktop, header, footer ve JS'e dokunmaz. */
.event-detail-competition,
.event-detail-teams,
.event-detail-time {
  min-width: 0 !important;
}

.event-detail-competition {
  display: none !important;
}

.event-detail-teams,
.event-detail-time {
  display: contents !important;
}

@media (max-width: 1279px) {
  .event-details-panel {
    top: 50px !important;
    right: 0 !important;
    bottom: 55px !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    overflow-x: hidden !important;
  }

  .event-detail-close {
    top: 6px !important;
    right: 5px !important;
    width: 27px !important;
    height: 27px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.34) !important;
    color: #ffffff !important;
    font: 400 25px/25px Arial, sans-serif !important;
    text-align: center !important;
  }

  .event-detail-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 36px 58px !important;
    gap: 0 !important;
    min-height: 94px !important;
    padding: 0 !important;
    background: #005374 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
  }

  .event-detail-competition {
    display: flex !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 40px 0 38px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    background: #005374 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    font: 600 13px/1 "Roboto Condensed", Arial, sans-serif !important;
    text-align: center !important;
  }

  .event-detail-teams {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    overflow: hidden !important;
  }

  .event-detail-teams strong {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    font: 600 13px/17px "Roboto Condensed", Arial, sans-serif !important;
    text-align: left !important;
  }

  .event-detail-time {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    min-width: 58px !important;
    padding: 0 8px 0 6px !important;
    color: #ffffff !important;
  }

  .event-detail-time span {
    display: block !important;
    color: #ffffff !important;
    font: 600 13px/17px "Roboto Condensed", Arial, sans-serif !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .event-detail-tabs {
    padding-top: 9px !important;
  }
}

@media (max-width: 520px) {
  .event-details-panel {
    top: 50px !important;
    bottom: 55px !important;
  }
}

@media (max-width: 760px) {
  body.ref-category-view .page,
  body.ref-category-view .center-panel,
  body.ref-category-view #oddsContainer,
  body.ref-category-view .ref-category-section,
  body.ref-category-view .league-block,
  body.ref-category-view .league-body,
  body.ref-category-view .event-row {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body.ref-category-view .ref-category-section .event-row {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) 124px !important;
  }

  body.ref-category-view .ref-category-section .game-cell {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body.ref-category-view .ref-category-section .teams,
  body.ref-category-view .ref-category-section .team-line,
  body.ref-category-view .ref-category-section .team-name {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    padding: 7px 5px 7px 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-two,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-handicap {
    width: 100% !important;
    max-width: 119px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    justify-self: end !important;
    box-sizing: border-box !important;
    gap: 3px !important;
    column-gap: 3px !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three {
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic.with-line,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-two,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-handicap {
    grid-template-columns: 25px repeat(var(--cols, 2), minmax(0, 1fr)) !important;
  }

  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market .odd-btn,
  body.ref-category-view .ref-category-section .market-cell.mobile-primary-market .line-value {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* 2026-05-14: Auth mobil header 50px olduğu için ek bahis paneli header altında başlasın. */
@media (max-width: 1279px) {
  body.is-authenticated .event-details-panel {
    top: 50px !important;
  }
}
@media (max-width: 520px) {
  body.is-authenticated .event-details-panel {
    top: 50px !important;
  }
}

/* 2026-05-14: Mobil Top Kategorien maç listesi header 50px altında referans akışında kalsın. */
@media (max-width: 760px) {
  body.ref-category-view #oddsContainer {
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden !important;
  }

  body.ref-category-view #oddsContainer > .mobile-category-nav,
  body.ref-category-view .mobile-category-nav {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    align-items: center !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    position: sticky !important;
    top: 50px !important;
    z-index: 1505 !important;
    background: #003348 !important;
    color: #ffffff !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
    box-sizing: border-box !important;
  }

  body.ref-category-view #oddsContainer > .mobile-category-market-tabs,
  body.ref-category-view .mobile-category-market-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    position: sticky !important;
    top: 92px !important;
    z-index: 1504 !important;
    background: #003348 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    box-sizing: border-box !important;
  }

  body.ref-category-view #oddsContainer > .mobile-category-market-tabs::-webkit-scrollbar,
  body.ref-category-view .mobile-category-market-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body.ref-category-view .sport-section.ref-category-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* 2026-05-14: Mobil Top Kategorien maç ekranı scroll sonrası aşağı kaymasın.
   Sadece ref-category-view mobil üst barlarını sabitler; desktop/header/footer/session'a dokunmaz. */
@media (max-width: 760px) {
  body.ref-category-view #oddsContainer > .mobile-category-nav,
  body.ref-category-view .mobile-category-nav {
    position: fixed !important;
    top: 50px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 100010 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.ref-category-view #oddsContainer > .mobile-category-market-tabs,
  body.ref-category-view .mobile-category-market-tabs {
    position: fixed !important;
    top: 92px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 100009 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.ref-category-view .sport-section.ref-category-section {
    margin-top: 87px !important;
    padding-top: 0 !important;
  }

  body.ref-category-view .center-panel,
  body.ref-category-view #oddsContainer {
    padding-top: 0 !important;
  }
}

/* 2026-05-14: Mobil Wettschein 50px header altında başlasın ve kendi içinde kayabilsin.
   Sadece mobil betslip konumu/scroll; header, footer, desktop, kategori ve JS'e dokunmaz. */
@media (max-width: 760px) {
  body.mobile-ticket-open .right-panel {
    top: 50px !important;
    bottom: 60px !important;
    height: calc(100dvh - 110px) !important;
    max-height: calc(100dvh - 110px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.mobile-ticket-open .right-panel .betslip {
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.mobile-ticket-open .ticket-items {
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.mobile-ticket-open .ticket-form,
  body.mobile-ticket-open .ticket-clear,
  body.mobile-ticket-open .ticket-mode,
  body.mobile-ticket-open .system-options {
    flex: 0 0 auto !important;
  }
}

/* 2026-05-16: Mobilde maç detay / kategori üst barları açıkken Wettschein onların üstünde kalmalı. */
@media (max-width: 760px) {
  body.mobile-ticket-open .mobile-backdrop {
    z-index: 100190 !important;
  }

  body.mobile-ticket-open .right-panel {
    z-index: 100200 !important;
  }

  body.mobile-ticket-open .right-panel .betslip,
  body.mobile-ticket-open .right-panel .betslip-top,
  body.mobile-ticket-open .right-panel .ticket-items,
  body.mobile-ticket-open .right-panel .ticket-form,
  body.mobile-ticket-open .right-panel .ticket-mode,
  body.mobile-ticket-open .right-panel .system-options,
  body.mobile-ticket-open .right-panel .ticket-clear {
    position: relative;
    z-index: 100201 !important;
  }
}

/* 2026-05-16: Mobil Wettschein paneli header'ın hemen altından başlasın; sticky top boşluğu olmasın. */
@media (max-width: 760px) {
  body.mobile-ticket-open .right-panel {
    top: 50px !important;
    bottom: 60px !important;
    height: calc(100dvh - 110px) !important;
    max-height: calc(100dvh - 110px) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.mobile-ticket-open .right-panel .betslip {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
  }
}

/* 2026-05-16: Mobil Top Kategorien seçimi - sabit Tipp/HC/Ü-U barları içeriği örtmesin.
   Sadece ref-category-view mobil maç listesi başlangıç hizalaması. */
@media (max-width: 760px) {
  body.ref-category-view #oddsContainer {
    padding-top: 90px !important;
    margin-top: 0 !important;
    overflow-x: hidden !important;
  }

  body.ref-category-view .sport-section.ref-category-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.ref-category-view .ref-category-section .league-head:first-child {
    margin-top: 0 !important;
  }
}


/* 2026-05-16: Mobil kategori ekranında sağ üst liste butonu ülke/lig başlıklarını gizler.
   Önceki Tipp/HC bar hizalamasına dokunmaz. */
@media (max-width: 760px) {
  body.ref-category-view.mobile-league-names-hidden .ref-category-section .league-head {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  body.ref-category-view.mobile-league-names-hidden .mobile-category-menu,
  body.ref-category-view .mobile-category-menu.active {
    color: #ffed00 !important;
  }
}

/* Desktop bahis kolonları: üçüncü market çizgisiz olsa bile +more alanı sabit kalır. */
.market-head.dynamic-head.has-extra.no-line {
  grid-template-columns: repeat(var(--cols), minmax(42px, 1fr)) 48px;
}

/* 2026-05-16: Desktop orta kolon tasma duzeltmesi.
   1360-1440 araliginda yan panelleri daraltip bahis tablosuna gerekli alan acilir;
   daha dar desktoplarda tablo kirpilmamasi icin tek kolon duzene gecilir. */
@media (min-width: 1360px) and (max-width: 1440px) {
  body.page-sport .main {
    grid-template-columns: 248px minmax(0, 1fr) 286px !important;
    gap: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.page-sport .left-panel,
  body.page-sport .right-panel {
    min-width: 0 !important;
  }

  body.page-sport .right-panel .betslip-top div,
  body.page-sport .right-panel .ticket-mode div {
    font-size: 18px !important;
  }

  body.page-sport .switch-filters {
    gap: 8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.page-sport .switch-filters button {
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  body.page-sport .event-row .odds-dynamic:not(.with-line),
  body.page-sport .event-row .odds-three {
    grid-template-columns: repeat(var(--cols, 3), minmax(40px, 1fr)) !important;
    gap: 6px !important;
  }

  body.page-sport .event-row .odds-dynamic[style*="--cols:2"]:not(.with-line),
  body.page-sport .event-row .odds-three[style*="--cols:2"] {
    grid-template-columns: repeat(2, minmax(40px, 1fr)) !important;
  }
}

@media (min-width: 1081px) and (max-width: 1359px) {
  body.page-sport .main {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-sport .center-panel {
    order: 1 !important;
  }

  body.page-sport .left-panel {
    order: 2 !important;
  }

  body.page-sport .right-panel {
    order: 3 !important;
  }

  body.page-sport .left-panel,
  body.page-sport .right-panel {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.page-sport .betslip {
    position: static !important;
  }

  body.page-sport .hero-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* 2026-05-18: Mobil sport oran kutularini daha okunur yap; 2 secenekli marketlerde buton genisligi 3 secenekli marketlerle ayni kalsin. */
@media (max-width: 760px) {
  html body.page-sport {
    --sw-mobile-odd-width: clamp(48px, 13vw, 54px);
    --sw-mobile-odd-height: 44px;
    --sw-mobile-odds-area-width: clamp(155px, 40.5vw, 172px);
  }

  html body.page-sport:not(.ref-category-view) .event-row,
  html body.page-sport.ref-category-view .ref-category-section .event-row {
    grid-template-columns: minmax(0, 1fr) var(--sw-mobile-odds-area-width) !important;
  }

  html body.page-sport.ref-category-view .ref-category-section .league-head {
    grid-template-columns: minmax(0, 1fr) var(--sw-mobile-odds-area-width) !important;
  }

  html body.page-sport.ref-category-view .ref-category-section .league-head .market-head:first-of-type {
    justify-self: end !important;
    width: auto !important;
    gap: 3px !important;
    grid-template-columns: repeat(var(--cols, 3), var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport.ref-category-view .ref-category-section .league-head .market-head:first-of-type[style*="--cols:2"] {
    grid-template-columns: repeat(2, var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2),
  html body.page-sport .event-row > .market-cell.mobile-primary-market,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: var(--sw-mobile-odds-area-width) !important;
    min-width: var(--sw-mobile-odds-area-width) !important;
    max-width: var(--sw-mobile-odds-area-width) !important;
    padding: 7px 5px 7px 0 !important;
    box-sizing: border-box !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-two,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-handicap,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-two,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-handicap {
    flex: 0 0 auto !important;
    display: grid !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 3px !important;
    column-gap: 3px !important;
    row-gap: 0 !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three {
    grid-template-columns: repeat(var(--cols, 3), var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: repeat(2, var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child) {
    grid-template-columns: var(--sw-mobile-odd-width) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-two,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-handicap,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-two,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-handicap {
    grid-template-columns: 30px repeat(var(--cols, 2), var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-two:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-two:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: 30px var(--sw-mobile-odd-width) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic.with-line:has(.odd-btn:nth-child(3):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-two:has(.odd-btn:nth-child(3):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic.with-line:has(.odd-btn:nth-child(3):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-two:has(.odd-btn:nth-child(3):last-child) {
    grid-template-columns: 30px repeat(2, var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market .odd-btn,
  html body.page-sport .event-row > .market-cell:nth-child(2) .line-value,
  html body.page-sport .event-row > .market-cell.mobile-primary-market .line-value {
    height: var(--sw-mobile-odd-height) !important;
    min-height: var(--sw-mobile-odd-height) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market .odd-btn {
    width: 100% !important;
    max-width: none !important;
    padding: 0 3px !important;
    margin: 0 !important;
    border-left-width: 1px !important;
    border-radius: 2px !important;
    font-size: 14.5px !important;
    line-height: 1 !important;
  }
}

/* 2026-05-20: Keep locked and 2-option odds aligned with the normal odds footprint. */
body.page-sport .event-row .odds-dynamic,
body.page-sport .event-row .odds-three,
body.page-sport .event-row .odds-two,
body.page-sport .event-row .odds-handicap {
  justify-items: stretch !important;
}

body.page-sport .event-row .odd-btn,
body.page-sport .event-row .odd-btn.locked {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}

body.page-sport .event-row .odd-btn.locked svg {
  margin: 0 auto !important;
}

body.page-sport .event-row .odds-dynamic.odds-handicap:not(.with-line) {
  grid-template-columns: repeat(var(--cols, 2), minmax(42px, 1fr)) !important;
}

@media (max-width: 760px) {
  html body.page-sport {
    --sw-mobile-odd-gap: 3px;
    --sw-mobile-odds-three-footprint: calc((var(--sw-mobile-odd-width) * 3) + (var(--sw-mobile-odd-gap) * 2));
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three {
    width: var(--sw-mobile-odds-three-footprint) !important;
    min-width: var(--sw-mobile-odds-three-footprint) !important;
    max-width: var(--sw-mobile-odds-three-footprint) !important;
    gap: var(--sw-mobile-odd-gap) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic.odds-handicap:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic.odds-handicap:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic.odds-handicap:not(.with-line) {
    grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) .odd-btn.locked,
  html body.page-sport .event-row > .market-cell.mobile-primary-market .odd-btn.locked,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market .odd-btn.locked {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 2026-05-20: Precise mobile footprint fix.
   Two-outcome markets must not enlarge their buttons; they keep the same
   3-column footprint as 1-X-2 and leave the middle column empty. */
@media (max-width: 760px) {
  html body.page-sport {
    --sw-mobile-odd-width: 40px !important;
    --sw-mobile-odd-gap: 3px !important;
    --sw-mobile-odds-three-footprint: 126px !important;
    --sw-mobile-odds-area-width: 150px !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three {
    width: var(--sw-mobile-odds-three-footprint) !important;
    min-width: var(--sw-mobile-odds-three-footprint) !important;
    max-width: var(--sw-mobile-odds-three-footprint) !important;
    grid-template-columns: repeat(3, var(--sw-mobile-odd-width)) !important;
    gap: var(--sw-mobile-odd-gap) !important;
    justify-content: start !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: repeat(3, var(--sw-mobile-odd-width)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2) {
    grid-column: 3 !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market .odd-btn {
    width: var(--sw-mobile-odd-width) !important;
    min-width: var(--sw-mobile-odd-width) !important;
    max-width: var(--sw-mobile-odd-width) !important;
  }
}

/* 2026-05-20: Final mobile odds alignment.
   The odds area keeps the same footprint for every market; 2-way markets fill
   that footprint with two adjacent buttons, without an empty middle column. */
@media (max-width: 760px) {
  html body.page-sport {
    --sw-mobile-odd-gap: 3px !important;
    --sw-mobile-odds-three-footprint: 126px !important;
    --sw-mobile-odds-area-width: 150px !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2),
  html body.page-sport .event-row > .market-cell.mobile-primary-market,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market {
    justify-content: flex-end !important;
    width: var(--sw-mobile-odds-area-width) !important;
    min-width: var(--sw-mobile-odds-area-width) !important;
    max-width: var(--sw-mobile-odds-area-width) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three {
    width: var(--sw-mobile-odds-three-footprint) !important;
    min-width: var(--sw-mobile-odds-three-footprint) !important;
    max-width: var(--sw-mobile-odds-three-footprint) !important;
    display: grid !important;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) !important;
    gap: var(--sw-mobile-odd-gap) !important;
    justify-content: stretch !important;
    align-items: center !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"],
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(1):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(1):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(1):last-child),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(1):last-child) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line) .odd-btn,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line) .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three .odd-btn {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic[style*="--cols:2"]:not(.with-line) .odd-btn,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three[style*="--cols:2"] .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"] .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic[style*="--cols:2"]:not(.with-line) .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three[style*="--cols:2"] .odd-btn,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn,
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn,
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn,
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn {
    grid-column: auto !important;
  }

  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport .event-row > .market-cell:nth-child(2) > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport .event-row > .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-dynamic:not(.with-line):has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2),
  html body.page-sport.ref-category-view .ref-category-section .market-cell.mobile-primary-market > .odds-three:has(.odd-btn:nth-child(2):last-child) .odd-btn:nth-child(2) {
    grid-column: auto !important;
  }
}

/* 2026-05-20: Desktop last-market line values must not be counted into odds button width. */
@media (min-width: 761px) {
  html body.page-sport .event-row > .market-cell.last-market.desktop-market {
    grid-template-columns: max-content 48px !important;
    justify-content: end !important;
    align-items: center !important;
  }

  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-dynamic,
  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-handicap,
  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-three {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: end !important;
  }

  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-dynamic.with-line,
  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-handicap.with-line {
    position: relative !important;
    grid-template-columns: repeat(var(--cols, 2), 42px) !important;
  }

  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-dynamic:not(.with-line),
  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-handicap:not(.with-line),
  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-three {
    grid-template-columns: repeat(var(--cols, 2), 42px) !important;
  }

  html body.page-sport .event-row > .market-cell.last-market.desktop-market .odd-btn,
  html body.page-sport .event-row > .market-cell.last-market.desktop-market .odd-btn.locked {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-dynamic.with-line > .line-value,
  html body.page-sport .event-row > .market-cell.last-market.desktop-market > .odds-handicap.with-line > .line-value {
    position: absolute !important;
    left: -38px !important;
    top: 0 !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
  }
}
