/* Phase 7: page-specific styles extracted from rankBoost.php for maintainability. */

/* Original style block 1 */
.rb-page { background: #0B0E13; }
        .rb-hero {
            position: relative;
            padding: 70px 0 40px;
            background:
                radial-gradient(circle at 20% 20%, rgba(69,248,130,0.10) 0%, transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(98,64,207,0.12) 0%, transparent 42%),
                #0B0E13;
            border-bottom: 1px solid rgba(69,248,130,0.15);
            text-align: center;
        }
        .rb-hero h1 {
            font-family: 'Goldman', sans-serif;
            font-size: clamp(2rem, 5vw, 3.4rem);
            color: #fff;
            margin: 0 0 10px;
            letter-spacing: 0.02em;
        }
        .rb-hero h1 .accent { color: #45F882; }
        .rb-hero p.rb-sub {
            color: #BDBDBD;
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.15rem;
            max-width: 640px;
            margin: 0 auto 26px;
            font-weight: 500;
        }
        .rb-tabs {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 6px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(69,248,130,0.18);
            border-radius: 14px;
            padding: 6px;
        }
        .rb-tab {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-size: 0.92rem;
            color: #BDBDBD;
            background: transparent;
            border: none;
            padding: 11px 22px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .rb-tab:hover { color: #fff; }
        .rb-tab.active {
            background: linear-gradient(135deg, #45F882 0%, #2cd06a 100%);
            color: #0B0E13;
            box-shadow: 0 8px 22px rgba(69,248,130,0.30);
        }
        .rb-service-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            border-bottom: 2px solid rgba(69,248,130,0.18);
            margin-bottom: 28px;
        }
        .rb-service-tab {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-size: 0.95rem;
            color: #8b95a8;
            background: transparent;
            border: none;
            padding: 14px 22px;
            cursor: pointer;
            position: relative;
            transition: color 0.2s;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
        }
        .rb-service-tab:hover { color: #fff; }
        .rb-service-tab.active {
            color: #45F882;
            border-bottom-color: #45F882;
        }
        .rb-card {
            background: rgba(11,14,19,0.85);
            border: 1px solid rgba(69,248,130,0.25);
            border-radius: 16px;
            padding: 26px;
            height: 100%;
        }
        .rb-card h3.rb-card-title {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            font-size: 1.3rem;
            color: #fff;
            margin: 0 0 4px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
        .rb-card .rb-card-sub {
            color: #8b95a8;
            font-size: 0.9rem;
            margin: 0 0 22px;
            font-family: 'Poppins', sans-serif;
        }
        .rb-field { margin-bottom: 18px; }
        .rb-field > label {
            display: block;
            color: #e1e6f0;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 8px;
        }
        .rb-input,
        .rb-select,
        .rb-textarea {
            width: 100%;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 10px;
            color: #fff;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 0.98rem;
            padding: 12px 14px;
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
        }
        .rb-input::placeholder,
        .rb-textarea::placeholder { color: #6b7589; font-weight: 500; }
        .rb-input:focus,
        .rb-select:focus,
        .rb-textarea:focus {
            border-color: #45F882;
            box-shadow: 0 0 0 3px rgba(69,248,130,0.15);
        }
        .rb-select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345F882' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 14px;
            padding-right: 38px;
            cursor: pointer;
            background-color: rgba(11,14,19,0.9);
            border-color: rgba(69,248,130,0.2);
        }
        .rb-select:hover { border-color: rgba(69,248,130,0.4); }
        .rb-select option {
            background: #0B0E13;
            color: #fff;
            padding: 10px;
        }
        .rb-textarea { min-height: 90px; resize: vertical; }
        .rb-divider {
            height: 1px;
            background: rgba(255,255,255,0.08);
            margin: 22px 0;
            border: 0;
        }
        .rb-section-label {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 0.78rem;
            color: #45F882;
            margin: 0 0 14px;
        }
        /* Order summary */
        .rb-summary {
            position: sticky;
            top: 100px;
        }
        .rb-price-box {
            text-align: center;
            margin: 8px 0 6px;
        }
        .rb-price-old {
            display: block;
            color: #6b7589;
            text-decoration: line-through;
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.05rem;
            min-height: 18px;
        }
        .rb-price {
            font-family: 'Goldman', sans-serif;
            font-size: 2.9rem;
            color: #45F882;
            line-height: 1;
            margin: 2px 0;
            text-shadow: 0 0 30px rgba(69,248,130,0.35);
        }
        .rb-price-eta {
            color: #8b95a8;
            font-size: 0.85rem;
            font-family: 'Poppins', sans-serif;
        }
        /* Mode selector */
        .rb-modes { display: flex; gap: 10px; margin-bottom: 18px; }
        .rb-mode {
            flex: 1;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 12px;
            padding: 14px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }
        .rb-mode:hover { border-color: rgba(69,248,130,0.5); }
        .rb-mode.active {
            border-color: #45F882;
            background: rgba(69,248,130,0.10);
            box-shadow: 0 0 0 2px rgba(69,248,130,0.15);
        }
        .rb-mode .rb-mode-name {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            color: #fff;
            font-size: 1.02rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
        .rb-mode .rb-mode-mult {
            color: #8b95a8;
            font-size: 0.78rem;
            font-family: 'Poppins', sans-serif;
            margin-top: 2px;
        }
        .rb-mode.active .rb-mode-mult { color: #45F882; }
        /* Toggle switches */
        .rb-toggle-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 11px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .rb-toggle-row:last-child { border-bottom: none; }
        .rb-toggle-label {
            color: #e1e6f0;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .rb-toggle-label i { color: #45F882; width: 18px; text-align: center; }
        .rb-toggle-label .opt-up {
            font-size: 0.72rem;
            color: #FFBE18;
            background: rgba(255,190,24,0.12);
            padding: 2px 7px;
            border-radius: 6px;
            margin-left: 4px;
            font-family: 'Poppins', sans-serif;
        }
        .rb-switch {
            position: relative;
            display: inline-block;
            width: 46px;
            height: 26px;
            flex-shrink: 0;
        }
        .rb-switch input { opacity: 0; width: 0; height: 0; }
        .rb-slider {
            position: absolute;
            cursor: pointer;
            inset: 0;
            background: rgba(255,255,255,0.14);
            border-radius: 30px;
            transition: 0.25s;
        }
        .rb-slider:before {
            content: "";
            position: absolute;
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background: #fff;
            border-radius: 50%;
            transition: 0.25s;
        }
        .rb-switch input:checked + .rb-slider {
            background: linear-gradient(135deg, #45F882, #2cd06a);
        }
        .rb-switch input:checked + .rb-slider:before {
            transform: translateX(20px);
            background: #0B0E13;
        }
        .rb-get-offer {
            width: 100%;
            background: linear-gradient(135deg, #45F882 0%, #2cd06a 100%);
            color: #0B0E13;
            border: none;
            border-radius: 12px;
            padding: 16px;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-size: 1.08rem;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.2s;
            box-shadow: 0 10px 30px rgba(69,248,130,0.30);
        }
        .rb-get-offer:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(69,248,130,0.40); }
        .rb-get-offer:active { transform: translateY(0); }
        .rb-get-offer:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
        .rb-promo {
            margin-top: 16px;
            display: flex;
            gap: 12px;
            align-items: flex-start;
            background: linear-gradient(135deg, rgba(255,190,24,0.10), rgba(98,64,207,0.10));
            border: 1px solid rgba(255,190,24,0.30);
            border-radius: 12px;
            padding: 14px 16px;
        }
        .rb-promo i { color: #FFBE18; font-size: 1.3rem; margin-top: 2px; }
        .rb-promo p {
            margin: 0;
            color: #e1e6f0;
            font-size: 0.86rem;
            font-family: 'Poppins', sans-serif;
            line-height: 1.45;
        }
        .rb-promo strong { color: #FFBE18; }
        .rb-msg {
            display: none;
            border-radius: 10px;
            padding: 12px 14px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            margin-top: 14px;
            line-height: 1.5;
        }
        .rb-msg.success {
            display: block;
            background: rgba(69,248,130,0.12);
            border: 1px solid rgba(69,248,130,0.40);
            color: #45F882;
        }
        .rb-msg.error {
            display: block;
            background: rgba(255,77,77,0.12);
            border: 1px solid rgba(255,77,77,0.40);
            color: #ff7a7a;
        }
        .rb-msg .rb-msg-price {
            font-family: 'Goldman', sans-serif;
            font-size: 1.4rem;
            color: #fff;
            display: block;
            margin-top: 4px;
        }
        /* Trust section */
        .rb-trust { padding: 60px 0 80px; background: #0B0E13; }
        .rb-trust-head { text-align: center; margin-bottom: 40px; }
        .rb-trust-head h2 {
            font-family: 'Goldman', sans-serif;
            color: #fff;
            font-size: clamp(1.6rem, 3.5vw, 2.3rem);
            margin: 0 0 8px;
        }
        .rb-trust-head h2 .accent { color: #45F882; }
        .rb-trust-head p {
            color: #8b95a8;
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.08rem;
            margin: 0;
            font-weight: 500;
        }
        .rb-trust-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }
        .rb-trust-item {
            background: rgba(11,14,19,0.85);
            border: 1px solid rgba(69,248,130,0.18);
            border-radius: 14px;
            padding: 24px 22px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: transform 0.2s, border-color 0.2s;
        }
        .rb-trust-item:hover {
            transform: translateY(-3px);
            border-color: rgba(69,248,130,0.45);
        }
        .rb-trust-icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(69,248,130,0.14);
            color: #45F882;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }
        .rb-trust-item span {
            color: #e1e6f0;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 1.02rem;
            line-height: 1.3;
        }
        /* Live offers */
        .rb-offers { padding: 30px 0 60px; }
        .rb-offers-head { margin-bottom: 26px; }
        .rb-offers-head h2 {
            font-family: 'Goldman', sans-serif;
            color: #fff;
            font-size: 1.8rem;
            margin: 0;
        }
        .rb-offers-head h2 .accent { color: #45F882; }
        .rb-offers-head .sub-label {
            color: #FFBE18;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-size: 0.8rem;
        }
        .boost-offer-card {
            background: rgba(11, 14, 19, 0.85);
            border: 1px solid rgba(69, 248, 130, 0.25);
            border-radius: 16px;
            padding: 26px;
            position: relative;
            transition: transform 0.2s, box-shadow 0.2s;
            height: 100%;
        }
        .boost-offer-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(69, 248, 130, 0.12);
        }
        .boost-offer-card .offer-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            background: var(--theme-color, #45F882);
            color: #0B0E13;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 13px;
        }
        .boost-offer-card h3 {
            font-size: 21px;
            margin-bottom: 8px;
            color: #fff;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
        }
        .boost-offer-card .rank-line {
            color: #BDBDBD;
            font-size: 15px;
            margin-bottom: 14px;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
        }
        .boost-offer-card .meta {
            display: flex;
            gap: 16px;
            color: #A9A9A9;
            font-size: 14px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }
        .boost-offer-card .description {
            color: #BDBDBD;
            font-size: 14px;
            margin-bottom: 18px;
            min-height: 40px;
            font-family: 'Poppins', sans-serif;
        }
        .boost-offer-card .price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
        .boost-offer-card .price {
            font-family: 'Goldman', sans-serif;
            font-size: 23px;
            color: var(--theme-color, #45F882);
        }
        .boost-offer-card .th-btn {
            padding: 9px 16px;
            font-size: 13px;
        }
        .rb-loading {
            text-align: center;
            color: #8b95a8;
            font-family: 'Rajdhani', sans-serif;
            padding: 30px;
        }
        /* Role selector */
        .rb-extras { padding: 12px 0 6px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 2px; }
        .rb-extra-label {
            display: block;
            color: #8b95a8;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 8px;
        }
        .rb-role-grid { display: flex; gap: 6px; flex-wrap: wrap; }
        .rb-role-btn {
            flex: 1;
            min-width: 60px;
            padding: 8px 6px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.04);
            color: #e1e6f0;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            cursor: pointer;
            text-align: center;
            transition: all 0.2s;
        }
        .rb-role-btn i { display: block; font-size: 1rem; margin-bottom: 2px; color: #8b95a8; }
        .rb-role-btn:hover { border-color: rgba(69,248,130,0.4); }
        .rb-role-btn.active { border-color: #45F882; background: rgba(69,248,130,0.12); color: #45F882; box-shadow: 0 0 15px rgba(69,248,130,0.15); }
        .rb-role-btn.active i { color: #45F882; }
        /* Champion search */
        .rb-champ-list {
            display: none;
            background: #14181f;
            border: 1px solid rgba(69,248,130,0.3);
            border-radius: 10px;
            margin-top: 6px;
            max-height: 220px;
            overflow-y: auto;
            position: absolute;
            z-index: 20;
            width: 100%;
        }
        .rb-champ-item {
            padding: 9px 14px;
            color: #e1e6f0;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 0.92rem;
            cursor: pointer;
            transition: background 0.15s;
        }
        .rb-champ-item i { color: #45F882; margin-right: 8px; font-size: 0.7rem; }
        .rb-champ-item:hover { background: rgba(69,248,130,0.1); }
        .rb-champ-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
        .rb-champ-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(69,248,130,0.12);
            border: 1px solid rgba(69,248,130,0.3);
            border-radius: 20px;
            padding: 4px 12px;
            color: #45F882;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 0.82rem;
        }
        .rb-champ-tag i { cursor: pointer; font-size: 0.7rem; opacity: 0.7; }
        .rb-champ-tag i:hover { opacity: 1; }
        .rb-champ-selector { position: relative; }
        @media (max-width: 991px) {
            .rb-summary { position: static; }
            .rb-trust-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 575px) {
            .rb-trust-grid { grid-template-columns: 1fr; }
            .rb-modes { flex-direction: column; }
            .rb-hero { padding: 50px 0 30px; }
            .rb-card { padding: 20px; }
        }

/* Original style block 2 */
/* ---------- V109: the payment method grid ----------
   Five text boxes became five tiles. Each carries the art already in assets/img/pay/,
   the method name, and the line that decides for the buyer — currency, and any fee.
   The native radio is the control still: it is pushed off-screen rather than
   display:none'd, so the group keeps arrow-key selection and its accessible name,
   and the tile draws the selected and focused states in its place. */
.rb-paybox { margin: 6px 0 14px; }
.rb-pay-head { margin-bottom: 9px; font: 700 12px/1 Poppins, sans-serif; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); }
/* auto-fit/minmax rather than a hard two columns: the builder's right-hand rail is only
   ~380px wide, and two 185px tiles there cut "Vodafone Cash" to "Vodafone…". The tiles
   claim a second column only where 230px each actually fits, which is nowhere on the
   boost pages today and correct anywhere this block is reused wider.
   grid-auto-rows: 1fr — a note that wraps used to make its whole row taller than the next. */
.rb-paybox .rb-pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  grid-auto-rows: 1fr; gap: 9px; }
.rb-paym { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 11px; margin: 0; padding: 11px 12px; border-radius: 13px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  color: #e6ebf5;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; }
.rb-paym:hover { border-color: rgba(69, 248, 130, .42); transform: translateY(-1px); }
/* Off-screen, not hidden. This has to UNDO something: the theme's own style.css carries a
   blanket `input[type="radio"] { display:none; visibility:hidden }`, which is why this
   payment group could never be reached with the keyboard at all — Tab skipped it and the
   arrow keys did nothing, on every page on the site that uses a radio. Restoring display
   and visibility while parking the control at 1px and opacity 0 puts the group back in the
   tab order without showing a second, competing dot next to .rb-paym-dot. Specificity is
   0,2,1 against the theme's 0,1,1 so it wins outright rather than on source order. */
.rb-paybox .rb-paym input { position: absolute; display: block; visibility: visible;
  width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.rb-paym-art { display: flex; align-items: center; justify-content: center; position: relative;
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.rb-paym-art img { display: block; max-width: 30px; max-height: 30px; object-fit: contain; }
.rb-paym-art .rb-paym-round { border-radius: 50%; }
/* "USDT / BTC…" is two marks, so it gets two, tucked one behind the other. */
.rb-paym-art-pair .rb-paym-art-back { position: absolute; top: 5px; left: 4px; max-width: 20px; max-height: 20px; opacity: .85; }
.rb-paym-art-pair img:last-child { position: relative; margin: 4px 0 0 8px; }
.rb-paym-art-glyph i { font-size: 18px; color: #c3ceda; }
.rb-paym-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* Wraps rather than ellipsises. A payment method the buyer cannot read the name of is
   not a choice, and the equal-height rows above absorb the second line. */
.rb-paym-name { font: 700 13.5px/1.2 Poppins, sans-serif; color: #eef2f8; overflow-wrap: break-word; }
.rb-paym-note { font: 600 11px/1.3 Poppins, sans-serif; color: rgba(255, 255, 255, .48); }
.rb-paym-dot { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .26); background: transparent;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
/* Selected: the whole tile changes, not a 13px dot in the corner. */
.rb-paym:has(input:checked) { border-color: #45F882; background: rgba(69, 248, 130, .09);
  box-shadow: 0 0 0 1px rgba(69, 248, 130, .28), 0 8px 22px rgba(0, 0, 0, .35); }
.rb-paym:has(input:checked) .rb-paym-name { color: #fff; }
.rb-paym:has(input:checked) .rb-paym-note { color: rgba(255, 255, 255, .62); }
.rb-paym:has(input:checked) .rb-paym-art { border-color: rgba(69, 248, 130, .4); background: rgba(69, 248, 130, .1); }
.rb-paym:has(input:checked) .rb-paym-dot { border-color: #45F882; background: #45F882;
  box-shadow: inset 0 0 0 3px #0b1119, 0 0 10px rgba(69, 248, 130, .55); }
/* Keyboard focus lands on the hidden radio, so the ring is drawn on the tile. Both
   :focus-visible and :focus are matched — the second is the belt for engines that do
   not resolve :focus-visible inside :has(). */
.rb-paym:has(input:focus-visible), .rb-paym:has(input:focus) {
  outline: 2px solid #45F882; outline-offset: 2px; border-color: #45F882; }
/* Crypto used to span the row to fit its long label ("Crypto (USDT / BTC…)"). The name is
   one word now with the coins in the note, so it sits in the grid like everything else. */
@media (max-width: 479px) {
  .rb-paybox .rb-pay-grid { grid-template-columns: minmax(0, 1fr); }
}


                                  /* Apex tiers are priced per mark, and each tier owns a fixed slice of the
                                     ladder. Naming the slice under the input stops players guessing. */
                                  .rb-marks-range { display:block; margin-top:6px; font-size:11px; letter-spacing:.04em; color:rgba(255,255,255,0.45); }

/* ---------- V108: the game picker ----------
   Replaces the V99 .rb-gamepick* rules that still sit in games.css. New class names on
   purpose: both stylesheets load on these pages and games.css wins ties, so reusing the
   old names would mean fighting it. Two presentations share this block — a dropdown on
   the shared builder page, a static label plus a "change game" button on a page that
   sells one game. Everything is width-capped so a 375px viewport never scrolls sideways. */
.rb-gp { position: relative; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px auto 4px; max-width: 100%; }
.rb-gp * { box-sizing: border-box; }
.rb-gp-label { font: 800 10.5px/1 Poppins, sans-serif; letter-spacing: .18em; color: #6e7c8c; }
.rb-gp-icon { color: #45f882; font-size: 15px; }

/* V109 — both presentations are in the DOM so the mode can flip after load (choosing a
   game collapses the chooser). data-mode decides which half is on screen; hiding is
   display:none on purpose, so a hidden trigger is out of the tab order too and Tab never
   lands on a control nobody can see. */
.rb-gp[data-mode="fixed"] .rb-gp-btn { display: none; }
.rb-gp[data-mode="switch"] .rb-gp-static,
.rb-gp[data-mode="switch"] .rb-gp-change { display: none; }

/* switch mode — the control is a real dropdown */
.rb-gp-btn {
  display: inline-flex; align-items: center; gap: 11px; min-width: 240px; max-width: 100%; padding: 13px 18px; cursor: pointer;
  font: 800 15px/1 Rajdhani, Poppins, sans-serif; color: #eef2f8; text-align: left;
  background: linear-gradient(180deg, rgba(17, 26, 37, .98), rgba(9, 14, 21, .98));
  border: 1px solid rgba(69, 248, 130, .3); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.rb-gp-btn:hover { border-color: rgba(69, 248, 130, .6); box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 22px rgba(69, 248, 130, .14); }
.rb-gp-btn:active { transform: translateY(1px); }
.rb-gp-caret { margin-left: auto; padding-left: 10px; color: #6e7c8c; font-size: 11px; transition: transform .18s ease; }
.rb-gp.is-open .rb-gp-caret { transform: rotate(180deg); color: #45f882; }

/* fixed mode — you are already on this game's page, so it is a label, not a choice */
.rb-gp-static {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  font: 800 15px/1 Rajdhani, Poppins, sans-serif; letter-spacing: .02em; color: #eef2f8;
  background: rgba(69, 248, 130, .08); border: 1px solid rgba(69, 248, 130, .25); border-radius: 12px;
}
.rb-gp-change {
  padding: 7px 12px; cursor: pointer; white-space: nowrap;
  font: 700 11.5px/1 Poppins, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #8b95a8;
  background: transparent; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.rb-gp-change:hover, .rb-gp-change:focus-visible { color: #45f882; border-color: rgba(69, 248, 130, .55); background: rgba(69, 248, 130, .08); outline: none; }

/* the shared list */
.rb-gp-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 100%; min-width: 232px; max-width: 100vw; padding: 6px;
  background: linear-gradient(180deg, #121b26, #0a0f16); border: 1px solid rgba(69, 248, 130, .25); border-radius: 14px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .7);
}
.rb-gp-search { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; }
.rb-gp-search i { color: #6e7c8c; font-size: 12px; }
.rb-gp-input {
  flex: 1; min-width: 0; padding: 9px 11px; font: 600 13.5px/1.2 Poppins, sans-serif; color: #eef2f8;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px;
}
.rb-gp-input::placeholder { color: #5b6577; }
.rb-gp-input:focus { outline: none; border-color: rgba(69, 248, 130, .55); background: rgba(69, 248, 130, .06); }
.rb-gp-list { margin: 0; padding: 0; list-style: none; max-height: 300px; overflow-y: auto; }
.rb-gp-opt {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 10px; cursor: pointer;
  font: 700 14px/1.2 Poppins, sans-serif; color: #c3ceda; transition: background .13s ease, color .13s ease;
}
.rb-gp-opt i { color: #6e7c8c; font-size: 14px; width: 16px; text-align: center; flex: 0 0 16px; }
.rb-gp-opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-gp-opt:hover, .rb-gp-opt.is-active { background: rgba(69, 248, 130, .1); color: #eef2f8; }
.rb-gp-opt:hover i, .rb-gp-opt.is-active i { color: #45f882; }
.rb-gp-opt.is-current { background: rgba(69, 248, 130, .16); color: #45f882; }
.rb-gp-opt.is-current i { color: #45f882; }
.rb-gp-tick { margin-left: auto; font-size: 11px; }
.rb-gp-empty { margin: 0; padding: 14px; text-align: center; font: 600 12.5px/1.5 Poppins, sans-serif; color: #6e7c8c; }

/* The ?embed=1 mode drops the site chrome; the picker goes with it. games.css hides the
   old class name, so the new root has to be named here too. */
body.rb-embed .rb-gp { display: none !important; }

@media (max-width: 575px) {
  /* Give the control the container's full width: at 375px a content-sized button left
     "League of Legends" 10px short and ellipsised. */
  .rb-gp { gap: 8px; width: 100%; }
  .rb-gp-btn, .rb-gp-static { min-width: 0; flex: 1 1 auto; }
  .rb-gp-panel { min-width: 0; }
}
