  /* ===================================================================
     MYBC Originals — Tower
     1:6222 desktop frame (1168 x 750)
     =================================================================== */
  :root {
    /* Brand Surfaces (matched from Limbo) */
    --panel:        #1E1845;
    --board:        #120D24;
    --card-bg:      #1E1845;
    --card-shadow:  #0a0818;
    --hairline:     rgba(255, 255, 255, 0.06);

    /* Toggle / inputs */
    --toggle-bg:     rgba(30, 24, 69, 0.8);
    --toggle-border: rgba(255, 255, 255, 0.12);
    --input-border:  rgba(255, 255, 255, 0.10);
    --input-bg-from: #1E1845;
    --input-bg-to:   #1E1845;
    --chip-bg:       #1E1845;

    /* Typography colors */
    --text:        #FFFFFF;
    --text-75:     rgba(255, 255, 255, 0.75);
    --text-mid:    #8B8BA3;
    --text-dim:    rgba(139, 139, 163, 0.50);
    --text-dimmer: #5C5C7A;

    /* Accent — Primary (Gold) */
    --accent:        #F7931A;
    --accent-border: rgba(247, 147, 26, 0.45);
    --accent-glow:   rgba(247, 147, 26, 0.20);
    --plum:          rgba(247, 147, 26, 0.08);
    --plum-2:        rgba(247, 147, 26, 0.15);
    --indigo-line:   rgba(255, 255, 255, 0.12);

    /* Multiplier states */
    --gold:        #F7931A;
    --gold-bg:     rgba(247, 147, 26, 0.2);
    --green:       #0ECC68;
    --green-bg:    rgba(14, 204, 104, 0.12);
    --red:         #F85F5D;
    --red-bg:      rgba(248, 95, 93, 0.15);
    --locked-bg:   rgba(255, 255, 255, 0.08);

    /* Player buttons */
    --pad-bg:        #1E1845;
    --pad-border:    rgba(255, 255, 255, 0.12);
    --pad-shadow:    #0a0818;

    /* Payout panel */
    --payout-head-bg:    #1E1845;
    --payout-body-bg:    #1E1845;
    --green-bright:      #10e676;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  *, *::before, *::after { touch-action: manipulation; }
  html, body {
    height: 100%;
    background: #120D24;
    color: var(--text);
    font-family: 'Montserrat', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  body {
    display: flex;
  }

  /* ============= APP FRAME — centered box on desktop ============= */
  .app {
    width: 100%;
    height: var(--app-height, 100%);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--panel);
    box-shadow: none;
  }
  .row {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  /* ============= LEFT PANEL — 340 px ============= */
  .side {
    width: 340px;
    flex-shrink: 0;
    background: var(--panel);
    border-right: 1px solid var(--hairline);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Bet amount input */
  .bet-amount-wrap { display: flex; flex-direction: column; gap: 6px; }
  .label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .input-row {
    height: 46px;
    display: flex;
    align-items: center;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, #1E1845 0%, #1E1845 100%);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .input-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(247, 147, 26, 0.08); }
  .input-row .currency {
    width: 38px;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    text-align: center;
    flex-shrink: 0;
  }
  .input-row input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    padding: 0 8px;
    -moz-appearance: textfield;
  }
  .input-row input::-webkit-outer-spin-button,
  .input-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  .input-row input::placeholder { color: var(--text-dimmer); }
  .input-row .chips {
    display: flex;
    gap: 4px;
    padding: 0 8px;
    flex-shrink: 0;
  }
  .input-row .chip {
    width: 40px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--toggle-border);
    color: var(--text-75);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }
  .chip:disabled { opacity: 0.3; cursor: not-allowed; }
  .input-row .chip:hover {
    border-color: var(--accent-border);
    background: rgba(247, 147, 26, 0.08);
    transform: translateY(-1px);
  }

  /* Place / Cash-out buttons */
  .place-btn {
    height: 50px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #F7931A 0%, #E67A00 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(247,147,26,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
  }
  .place-btn:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(247,147,26,0.40), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-1px);
  }
  .place-btn:active:not(:disabled) { transform: translateY(0); }
  .place-btn:disabled { opacity: 0.4; cursor: not-allowed; filter: none; transform: none; }

  .cashout-btn {
    height: 50px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ECC68 0%, #0aa855 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    width: 100%;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(14,204,104,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: cashoutPulse 1.5s ease-in-out infinite;
  }
  .cashout-btn:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(14,204,104,0.40), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-1px);
  }
  .cashout-btn:disabled { opacity: 0.4; cursor: not-allowed; }
  .cashout-btn.cashout-ready {
    background: linear-gradient(135deg, #0ECC68 0%, #0aa855 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14,204,104,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
  }
  .cashout-btn.cashout-ready:hover:not(:disabled) { filter: brightness(1.1); }
  @keyframes cashoutPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(14,204,104,0.30), inset 0 1px 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 6px 28px rgba(14,204,104,0.50), inset 0 1px 0 rgba(255,255,255,0.2); }
  }

  /* Mode toggle */
  .mode-toggle {
    display: flex;
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-border);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
  }
  .mode-toggle button {
    flex: 1;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-mid);
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s;
  }
  .mode-toggle button.active {
    background: linear-gradient(257.95deg, #E67A00 2.9%, #F7931A 54.68%, #F7951C 95.53%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(247,147,26,0.30);
  }

  /* Manual / Auto panels */
  .manual-panel { display: flex; flex-direction: column; gap: 10px; }
  .auto-panel   { display: none; flex-direction: column; gap: 10px; }
  .app.auto-mode .manual-panel { display: none; }
  .app.auto-mode .auto-panel   { display: flex; }
  .place-btn, .cashout-btn { position: relative; }
  .app.playing .place-btn { display: none; }
  .cashout-btn { display: none; }
  .app.playing .cashout-btn { display: block; }

  /* Auto section blocks */
  .auto-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.02);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--hairline);
  }
  .auto-section-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .auto-chips {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }
  .auto-chip {
    flex: 1;
    min-width: 44px;
    height: 34px;
    border-radius: 6px;
    background: var(--chip-bg);
    border: 1px solid var(--toggle-border);
    color: var(--text-75);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .auto-chip:hover { border-color: var(--accent-border); }
  .auto-chip.selected {
    background: var(--plum);
    border-color: var(--accent);
    color: var(--accent);
  }
  /* Difficulty Dropdown */
  .diff-dropdown {
    position: relative;
  }
  .diff-dropdown-btn {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: var(--chip-bg);
    border: 1px solid var(--toggle-border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s;
  }
  .diff-dropdown-btn:hover { border-color: var(--accent-border); }
  .diff-dropdown-btn.open { border-color: var(--accent); }
  .diff-dropdown-arrow {
    transition: transform 0.2s;
    font-size: 10px;
    color: var(--text-mid);
  }
  .diff-dropdown-btn.open .diff-dropdown-arrow { transform: rotate(180deg); }
  .diff-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--panel);
    border: 1px solid var(--toggle-border);
    border-radius: 8px;
    overflow: hidden;
    z-index: 60;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .diff-dropdown-list.show { display: block; }
  .diff-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid var(--hairline);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-75);
    background: none;
    border-left: none; border-right: none; border-top: none;
    width: 100%;
  }
  .diff-dropdown-item:last-child { border-bottom: none; }
  .diff-dropdown-item:hover { background: rgba(251, 206, 4, 0.05); }
  .diff-dropdown-item.active {
    background: rgba(251, 206, 4, 0.08);
    color: var(--text);
    border-left: 2px solid var(--accent);
  }
  .diff-dropdown-icons {
    display: flex;
    gap: 2px;
  }
  .diff-dropdown-icons img {
    width: 18px;
    height: 18px;
  }

  .auto-stop-grid {
    display: flex;
    gap: 8px;
  }
  .auto-stop-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .auto-stop-item > span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .auto-stop-input {
    height: 36px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #1E1845 0%, #1E1845 100%);
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    padding: 0 10px;
    outline: none;
    width: 100%;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
  }
  .auto-stop-input:focus { border-color: var(--accent); }
  .auto-stop-input::-webkit-outer-spin-button,
  .auto-stop-input::-webkit-inner-spin-button { -webkit-appearance: none; }
  .auto-stop-input::placeholder { color: var(--text-dimmer); font-weight: 500; }

  /* Auto start/stop */
  .auto-start-btn {
    height: 42px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #F7931A 0%, #E67A00 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(247,147,26,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.2s;
  }
  .auto-start-btn:hover { transform: translateY(-1px); }
  .auto-stop-btn {
    display: none;
    height: 42px;
    border: 1.5px solid var(--red);
    border-radius: 10px;
    background: var(--red-bg);
    color: var(--red);
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
  }
  .auto-stop-btn:hover { background: rgba(248, 95, 93, 0.25); }
  .app.auto-running .auto-start-btn { display: none; }
  .app.auto-running .auto-stop-btn  { display: block; }

  /* Auto progress */
  .auto-progress {
    display: none;
    flex-direction: column;
    gap: 6px;
  }
  .app.auto-running .auto-progress { display: flex; }
  .auto-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-mid);
  }
  .auto-stats b { color: var(--text); }
  .profit-pos { color: var(--green) !important; }
  .profit-neg { color: var(--red) !important; }
  .auto-progress-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--hairline);
    overflow: hidden;
  }
  .auto-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s;
  }

  /* ============= MAIN AREA ============= */
  .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: url('bg.png') center center / cover no-repeat;
  }
  .main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
  }
  .main > * { position: relative; z-index: 1; }

  /* Header */
  .header {
    display: flex;
    height: 50px;
    background: var(--panel);
    border-bottom: 1px solid var(--hairline);
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
    z-index: 10;
  }
  .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header-left .game-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .header-left .game-name .ico { font-size: 18px; color: var(--accent); }
  .rgs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--toggle-border);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    background: rgba(255,255,255,0.02);
    line-height: 1;
    user-select: none;
  }
  .rgs-badge.rgs-connected {
    border-color: rgba(60,200,120,0.45);
    color: #b8f0cf;
    background: rgba(60,200,120,0.08);
  }
  .rgs-badge.rgs-error {
    border-color: rgba(220,80,80,0.45);
    color: #ffb8b8;
    background: rgba(220,80,80,0.08);
  }
  .rgs-badge.rgs-connecting {
    border-color: rgba(247,147,26,0.45);
    color: #f8e082;
    background: rgba(247,147,26,0.08);
  }
  .rgs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6b7790;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15) inset;
  }
  .rgs-dot.rgs-ok { background: #3ecf8e; box-shadow: 0 0 6px rgba(62,207,142,0.7); }
  .rgs-dot.rgs-err { background: #e35f5f; box-shadow: 0 0 6px rgba(227,95,95,0.7); }
  .rgs-dot.rgs-pending {
    background: #F7931A;
    box-shadow: 0 0 6px rgba(247,147,26,0.7);
    animation: rgs-blink 1s ease-in-out infinite;
  }
  .rgs-dot.rgs-off { background: #6b7790; }
  @keyframes rgs-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }
  @media (max-width: 600px) {
    .rgs-badge .rgs-label { display: none; }
    .rgs-badge { padding: 4px 6px; }
  }
  .header-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(247,147,26,0.08) 0%, rgba(247,147,26,0.02) 100%);
    border: 1px solid rgba(247,147,26,0.18);
    border-radius: 999px;
    padding: 6px 16px 6px 10px;
    transition: border-color 0.2s;
  }
  .header-bal-icon {
    font-size: 13px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-bal-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .fairplay {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--toggle-border);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s;
  }
  .fairplay::before {
    content: '';
    width: 14px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23919FC0' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .fairplay:hover { border-color: var(--accent-border); color: var(--text); }
  .info {
    width: 30px; height: 30px;
    border: 1px solid var(--toggle-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s;
  }
  .info:hover { border-color: var(--accent-border); color: var(--text); }

  /* Side panel header — only on mobile where there's no top header */
  .side-header {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--hairline);
  }
  .side-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .side-header-top .game-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
  }
  .side-header-top .game-name .ico { font-size: 14px; }
  .side-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .side-header .side-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(247,147,26,0.06) 0%, rgba(247,147,26,0.01) 100%);
    border: 1px solid rgba(247,147,26,0.15);
    border-radius: 8px;
  }
  .side-balance-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .side-balance-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
  }

  /* ============= GAME INFO MODAL ============= */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .modal-overlay.show { opacity: 1; pointer-events: auto; }
  .modal {
    background: var(--panel);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    width: min(420px, calc(100vw - 32px));
    max-height: min(520px, 70dvh);
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  }
  .modal h2 {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 700;
  }
  .modal h3 {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    margin: 12px 0 6px;
  }
  .modal p, .modal li {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-75);
  }
  .modal ul, .modal ol { padding-left: 18px; margin-bottom: 8px; }
  .modal li { margin-bottom: 3px; }
  .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px; height: 28px;
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    color: var(--text-mid);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-payout-box {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .modal-payout-box .label { font-size: 12px; color: var(--text-mid); }
  .modal-payout-box .value { font-size: 13px; font-weight: 700; color: var(--accent); }
  .info-box {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .info-box .info-icon { font-size: 20px; flex-shrink: 0; }
  .info-box p { margin: 0; }
  .mult-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 8px;
  }
  .mult-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
  }
  .mult-table th, .mult-table td {
    padding: 7px 10px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
  }
  .mult-table th { color: var(--text-mid); font-weight: 600; }
  .mult-table td { color: var(--text-75); }
  .stage-rtp-table .rtp-cell {
    color: #b8f0cf;
    font-weight: 700;
    background: rgba(60, 200, 120, 0.08);
    border-left: 1px solid rgba(60, 200, 120, 0.25);
  }

  /* Provably Fair modal */
  .pf-desc { margin-bottom: 16px; }
  .pf-section {
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
  }
  .pf-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .pf-icon { font-size: 14px; }
  .pf-sublabel { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }
  .pf-toggle-row { display: flex; gap: 6px; margin-bottom: 8px; }
  .pf-toggle-btn {
    flex: 1;
    height: 32px;
    border: 1px solid var(--toggle-border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-mid);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
  }
  .pf-toggle-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--plum);
  }
  .pf-input-row { display: flex; gap: 6px; margin-bottom: 8px; }
  .pf-input-row input {
    flex: 1;
    height: 34px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #1E1845 0%, #1E1845 100%);
    color: var(--text);
    font-family: monospace;
    font-size: 11px;
    padding: 0 10px;
    outline: none;
  }
  .pf-btn-sm {
    width: 34px;
    height: 34px;
    border: 1px solid var(--toggle-border);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    color: var(--text-mid);
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
  }
  .pf-save-btn {
    width: 100%;
    height: 32px;
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    background: var(--plum);
    color: var(--accent);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
  }
  .pf-hash-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 10px;
    font-family: monospace;
    font-size: 10px;
    color: var(--text-mid);
    word-break: break-all;
    margin-bottom: 6px;
  }
  .pf-cp-row { display: flex; gap: 6px; margin-bottom: 8px; }
  .pf-note { font-size: 11px; color: var(--text-dim); margin: 0; }
  .pf-how {
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 16px;
  }
  .pf-how-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
  }
  .pf-how ol { padding-left: 18px; }
  .pf-how li { font-size: 11px; color: var(--text-75); margin-bottom: 5px; }

  /* ============= TOWER BOARD ============= */
  .board {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .tower-zone {
    position: relative;
    width: min(100%, 480px);
    height: min(100%, 650px);
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  .tower-zone::-webkit-scrollbar { width: 4px; }
  .tower-zone::-webkit-scrollbar-track { background: transparent; }
  .tower-zone::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 2px; }

  .tower-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 8px;
  }

  .tower-floor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1;
    min-height: 0;
    opacity: 0.35;
    transition: opacity 0.3s;
    position: relative;
  }
  .tower-floor.active { opacity: 1; }
  .tower-floor.cleared { opacity: 1; }
  .tower-floor.failed { opacity: 1; }

  .floor-mult { display: none; }

  .tower-tiles {
    display: flex;
    gap: 6px;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .tile {
    flex: 1;
    min-width: 0;
    height: 100%;
    border-radius: 4px;
    background: rgba(20, 10, 40, 0.85);
    border: 1.5px solid rgba(160, 120, 220, 0.35);
    box-shadow: 0 3px 0 0 rgba(5, 2, 15, 0.7), inset 0 1px 0 rgba(180, 140, 240, 0.1);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s;
    position: relative;
    user-select: none;
  }
  .tile:disabled { cursor: not-allowed; }
  .tile:hover:not(:disabled):not(.revealed) {
    border-color: rgba(220, 180, 60, 0.6);
    box-shadow: 0 3px 0 0 rgba(5, 2, 15, 0.7), 0 0 20px rgba(220, 180, 60, 0.25), inset 0 1px 0 rgba(220, 180, 60, 0.15);
    transform: translateY(-3px);
    background: rgba(40, 20, 65, 0.9);
  }
  .tile.revealed { pointer-events: none; }
  .tile.safe {
    background: rgba(5, 30, 15, 0.75);
    border-color: rgba(14, 204, 104, 0.6);
    box-shadow: 0 0 18px rgba(14, 204, 104, 0.3), inset 0 0 12px rgba(14, 204, 104, 0.08);
    flex-direction: column;
    gap: 2px;
  }
  .tile-mult {
    font-size: 11px;
    font-weight: 700;
    color: var(--green-bright);
    background: rgba(14, 204, 104, 0.15);
    border: 1px solid rgba(14, 204, 104, 0.3);
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 1.3;
  }
  .tile.mine {
    background: rgba(40, 5, 15, 0.75);
    border-color: rgba(248, 95, 93, 0.6);
    box-shadow: 0 0 18px rgba(248, 95, 93, 0.3), inset 0 0 12px rgba(248, 95, 93, 0.08);
    flex-direction: column;
    gap: 2px;
  }
  .tile-mult.red {
    color: var(--red);
    background: rgba(248, 95, 93, 0.15);
    border: 1px solid rgba(248, 95, 93, 0.3);
  }
  .tile.dimmed {
    opacity: 1;
    background: rgba(15, 8, 30, 0.9);
    border-color: rgba(100, 80, 150, 0.15);
    box-shadow: none;
  }
  .tile.dimmed .pile-icon {
    filter: brightness(0.8) saturate(0);
  }
  .tile.safe-path {
    background: rgba(15, 8, 25, 0.9);
    border-color: rgba(120, 100, 170, 0.15);
    box-shadow: none;
    pointer-events: none;
    flex-direction: column;
    gap: 2px;
  }
  .tile.safe-path .pile-icon {
    display: none;
  }
  .tile.safe-path img {
    width: 55%;
    height: 55%;
    filter: brightness(0.8) saturate(0);
  }
  .tile.safe-path .tile-mult {
    color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .tile img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  }
  .tile .pile-icon {
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0.85;
    filter: brightness(1.8) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  }
  .tile.revealed .pile-icon {
    display: none;
  }
  .tile.safe img {
    filter: drop-shadow(0 0 8px rgba(14, 204, 104, 0.5));
    width: 55%;
    height: 55%;
  }
  .tile.mine img {
    filter: drop-shadow(0 0 8px rgba(248, 95, 93, 0.5));
    width: 55%;
    height: 55%;
  }

  .tower-floor.active .tile:not(:disabled):not(.revealed) {
    border-color: rgba(160, 120, 220, 0.45);
  }
  /* Gem found — instant reveal with green glow pulse */
  @keyframes gemGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(14,204,104,0.25), inset 0 0 8px rgba(14,204,104,0.05); }
    50% { box-shadow: 0 0 24px rgba(14,204,104,0.5), inset 0 0 12px rgba(14,204,104,0.1); }
  }
  .tile.safe::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    animation: gemGlow 1.5s ease-in-out infinite;
    pointer-events: none;
  }

  /* Status */
  .status {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
    background: rgba(20,27,34,0.8);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--hairline);
    white-space: nowrap;
  }

  /* ============= BOTTOM BAR ============= */
  .bottom {
    height: 44px; background: var(--panel);
    border-top: 1px solid var(--hairline);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; flex-shrink: 0;
  }
  .bottom-icons { display: flex; gap: 14px; align-items: center; }
  .ic { color: rgba(255,255,255,0.7); cursor: pointer; display: flex; align-items: center; transition: color 0.2s, transform 0.15s; }
  .ic:hover { color: #fff; transform: scale(1.1); }
  .ic.muted { color: var(--red); }
  .ic.faved { color: var(--accent); }
  .ic.faved svg { fill: var(--accent); }
  .bottom-logo { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.12em; }

  /* ============= RESULT BADGE (center badge overlay) ============= */
  .result-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  }
  .result-badge.win {
    color: #fff;
    background: var(--green);
    animation: resultFade 0.3s ease;
  }
  .result-badge.lose {
    color: #fff;
    background: var(--red);
    animation: resultFade 0.3s ease;
  }
  .result-badge.cashout {
    color: #fff;
    background: var(--green);
    animation: resultFade 0.3s ease;
  }
  @keyframes resultFade {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

  /* ===========================================================
     TABLET LAYOUT (861-1168px)
     Side panel on left like desktop, but narrower
     =========================================================== */
  @media (max-width: 1168px) and (min-width: 861px) {
    .app {
      width: 100%; height: var(--app-height, 100%);
      border-radius: 0; box-shadow: none;
    }
    .header {
      display: flex;
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 50;
    }
    .row { padding-top: 50px; }
    .side { width: 280px; padding: 14px; gap: 8px; }
    .tower-zone { width: min(100%, 480px); height: min(100%, 580px); }
    .tower-grid { gap: 3px; padding: 6px; }
    .tower-tiles { gap: 5px; }
  }

  /* ===========================================================
     PHONE LAYOUT (<=860px)
     Stack vertically, header & bottom bar fixed
     =========================================================== */
  @media (max-width: 860px) {
    .app {
      width: 100%; height: var(--app-height, 100%);
      border-radius: 0; box-shadow: none;
    }
    .header {
      display: flex;
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 50;
    }
    .side-header { display: none; }
    .main { padding-top: 50px; }
    .row {
      flex-direction: column;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .main { order: 1; flex: 0 0 auto; overflow: visible; }
    .side {
      order: 2;
      flex: 0 0 auto;
      width: 100%;
      border-right: none;
      border-top: 1px solid var(--hairline);
      padding: 10px 16px;
      gap: 6px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .header { padding: 0 10px; }
    .header-left .game-name span:last-child { display: none; }
    .header-balance { padding: 4px 12px 4px 8px; }
    .header-bal-icon { font-size: 11px; width: 16px; height: 16px; }
    .header-bal-value { font-size: 12px; }
    .fairplay { font-size: 0; padding: 6px 8px; gap: 0; }
    .fairplay::before { width: 12px; height: 14px; }
    .header-right .info { width: 26px; height: 26px; font-size: 10px; }

    .board { flex: 0 0 auto; }
    .status { display: none; }
    .tower-zone { width: 100%; height: 70dvh; max-height: none; }
    .tower-grid { gap: 3px; padding: 8px 12px; }
    .tower-tiles { gap: 5px; }
    .tile { border-radius: 4px; }

    /* Revealed tiles — constrained on mobile */
    .tile.safe, .tile.mine {
      flex-direction: row;
      gap: 2px;
      overflow: hidden;
    }
    .tile.safe img, .tile.mine img {
      width: auto;
      height: 60%;
      max-height: 24px;
      flex-shrink: 0;
      object-fit: contain;
    }
    .tile-mult {
      font-size: 9px;
      padding: 1px 3px;
      white-space: nowrap;
    }
    .tile.safe-path {
      flex-direction: row;
      overflow: hidden;
    }
    .tile.safe-path img {
      width: auto;
      height: 50%;
      max-height: 20px;
      object-fit: contain;
    }

    /* Prevent floors from stretching on reveal */
    .tower-floor {
      flex: 1;
      min-height: 0;
      max-height: calc(70dvh / 9);
      overflow: hidden;
    }
    .tower-tiles {
      height: 100%;
      overflow: hidden;
    }
    .tile {
      overflow: hidden;
      min-height: 0;
    }

    /* Reorder side panel on mobile */
    .side { display: flex; flex-direction: column; }
    .mode-toggle { order: 4; }
    .manual-panel { display: flex; flex-direction: column; }
    .manual-bet-section { order: 2; }
    .manual-risk-section { order: 3; }
    .place-btn { order: 1; }
    .cashout-btn { order: 1; }

    .bottom {
      order: 3;
      height: 40px;
      padding: 0 14px;
      flex-shrink: 0;
    }

    .result-badge { font-size: 16px; padding: 12px 28px; }

    .modal {
      width: calc(100vw - 24px);
      max-height: min(480px, 65dvh);
      padding: 16px;
      border-radius: 10px;
    }
    .modal h2 { font-size: 15px; margin-bottom: 10px; }
    .modal h3 { font-size: 12px; margin: 8px 0 4px; }
    .modal p, .modal li { font-size: 11px; line-height: 1.4; }
    .mult-table { font-size: 10px; }
    .mult-table th, .mult-table td { padding: 3px 5px; }
    .modal-payout-box { padding: 6px 10px; }
    .pf-section { padding: 8px; margin-bottom: 6px; }
    .pf-input-row input { font-size: 10px; height: 28px; }
    .pf-btn-sm { width: 28px; height: 28px; }
  }

  /* ===========================================================
     SMALL PHONES (<=480px) — extra compact
     =========================================================== */
  @media (max-width: 480px) {
    .tower-zone { width: 100%; height: 70dvh; max-height: none; }
    .tower-grid { gap: 2px; padding: 6px 10px; }
    .tower-tiles { gap: 4px; }
    .side { padding: 10px 14px; }

    .modal {
      width: calc(100vw - 16px);
      max-height: min(440px, 60dvh);
      padding: 12px;
    }
    .modal h2 { font-size: 14px; }
    .modal p, .modal li { font-size: 10px; }
    .mult-table { font-size: 9px; }
    .mult-table th, .mult-table td { padding: 2px 3px; }
  }

  /* ===========================================================
     LANDSCAPE PHONES — side-by-side, everything fits in viewport
     =========================================================== */
  @media (max-height: 500px) and (orientation: landscape) and (min-width: 500px) {
    .app {
      width: 100%; height: var(--app-height, 100%);
      border-radius: 0; box-shadow: none;
    }
    .header {
      display: flex;
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 32px;
      padding: 0 10px;
      z-index: 50;
      background: var(--panel);
    }
    .header-left .game-name { font-size: 11px; }
    .header-left .game-name .ico { font-size: 12px; }
    .header-left .game-name span:last-child { display: none; }
    .header-balance { padding: 2px 8px 2px 6px; }
    .header-bal-icon { font-size: 9px; width: 14px; height: 14px; }
    .header-bal-value { font-size: 10px; }
    .fairplay { font-size: 0; padding: 3px 5px; gap: 0; }
    .fairplay::before { width: 9px; height: 11px; }
    .header-right .info { width: 22px; height: 22px; font-size: 9px; }
    .side-header { display: none; }

    .row {
      flex-direction: row;
      overflow: hidden;
      padding-top: 32px;
    }
    .main { order: 1; padding-top: 0; }
    .side {
      order: 0;
      width: 260px;
      flex: 0 0 260px;
      border-right: 1px solid var(--hairline);
      border-left: none;
      border-top: none;
      padding: 10px 12px 20px;
      gap: 8px;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }

    .mode-toggle { padding: 3px; }
    .mode-toggle button { height: 30px; font-size: 11px; }
    .label { font-size: 11px; }
    .input-row { height: 38px; border-radius: 6px; }
    .input-row input { font-size: 14px; }
    .input-row .currency { font-size: 12px; width: 28px; }
    .input-row .chip { width: 34px; height: 26px; font-size: 10px; border-radius: 5px; }
    .place-btn, .cashout-btn { height: 38px; font-size: 12px; border-radius: 6px; }
    .auto-start-btn, .auto-stop-btn { height: 36px; font-size: 12px; border-radius: 6px; }
    .auto-section { padding: 8px 10px; border-radius: 6px; }
    .auto-section-label { font-size: 9px; margin-bottom: 5px; }
    .auto-chip { padding: 5px 4px; font-size: 10px; }
    .auto-stop-input { height: 28px; font-size: 11px; }
    .bet-amount-wrap { padding-top: 0; gap: 4px; }
    .manual-panel { gap: 8px; }

    .board { flex: 1; display: flex; flex-direction: column; }
    .tower-zone { width: 100%; height: 100%; }
    .tower-grid { gap: 2px; padding: 4px; }
    .tower-tiles { gap: 3px; }
    .tile { border-radius: 3px; }

    .result-badge { font-size: 14px; padding: 10px 22px; }

    .modal {
      width: min(400px, calc(100vw - 24px));
      max-height: 90dvh;
      padding: 16px;
    }
    .modal h2 { font-size: 15px; margin-bottom: 10px; }
    .modal p, .modal li { font-size: 11px; }
    .mult-table { font-size: 9px; }
    .mult-table th, .mult-table td { padding: 3px 4px; }
  }

/* ===== FREE BET ===== */
.free-bet-banner {
  background: linear-gradient(135deg, rgba(247,147,26,0.15) 0%, rgba(247,147,26,0.05) 100%);
  border: 1px solid rgba(247,147,26,0.35);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.free-bet-icon { font-size: 20px; }
.free-bet-info { flex: 1; }
.free-bet-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.free-bet-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: 2px;
}
.free-bet-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.free-bet-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.place-btn.free-mode {
  background: linear-gradient(135deg, #F7931A 0%, #E67A00 100%);
  animation: freeBetPulse 2s ease-in-out infinite;
}
@keyframes freeBetPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(247,147,26,0.30), inset 0 1px 0 rgba(255,255,255,0.2); }
  50% { box-shadow: 0 8px 32px rgba(247,147,26,0.50), inset 0 1px 0 rgba(255,255,255,0.2); }
}
.input-row.locked {
  opacity: 0.6;
  pointer-events: none;
  border-color: rgba(247,147,26,0.3);
}

/* ===== Free Bet Summary Modal ===== */
.free-bet-summary { text-align: center; max-width: 360px; }
.fbs-icon { font-size: 48px; margin-bottom: 8px; }
.free-bet-summary h2 { margin-bottom: 16px; }
.fbs-stats { display: flex; gap: 8px; margin-bottom: 16px; }
.fbs-stat { flex: 1; background: var(--card-bg); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; }
.fbs-stat-label { font-size: 9px; font-weight: 600; color: var(--text-dimmer); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.fbs-stat-val { font-size: 15px; font-weight: 800; }
.fbs-stat-val.accent { color: var(--accent); }
.fbs-winnings { display: flex; flex-direction: column; align-items: center; padding: 16px; background: linear-gradient(135deg, rgba(247,147,26,0.12) 0%, rgba(247,147,26,0.04) 100%); border: 1px solid rgba(247,147,26,0.3); border-radius: 12px; }
.fbs-winnings-label { font-size: 11px; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.fbs-winnings-val { font-size: 28px; font-weight: 800; color: var(--accent); }
.fbs-btn {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #F7931A 0%, #E67A00 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(247,147,26,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.fbs-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(247,147,26,0.40), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* ===== Free Bet Welcome Modal ===== */
.free-bet-welcome { text-align: center; max-width: 360px; }
.fbw-icon { font-size: 56px; margin-bottom: 12px; animation: fbwBounce 0.6s ease-out; }
@keyframes fbwBounce { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }
.fbw-desc { font-size: 13px; color: var(--text-75); line-height: 1.6; margin-bottom: 16px; }
.fbw-count { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; background: linear-gradient(135deg, rgba(247,147,26,0.12) 0%, rgba(247,147,26,0.04) 100%); border: 1px solid rgba(247,147,26,0.3); border-radius: 12px; }
.fbw-count-num { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.fbw-count-label { font-size: 13px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.fbw-btn {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #F7931A 0%, #E67A00 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(247,147,26,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.2s;
  animation: freeBetPulse 2s ease-in-out infinite;
}
.fbw-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(247,147,26,0.40), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
