/* Loaded only by the CS2 BHOP landing partial. Every selector stays inside this mode. */
body:has(.bhop-mode) .partner-strip { display: none; }
.rd-page.bhop-mode { max-width: 1232px; padding: 20px 24px 36px; }
.bhop-mode .rd-home-layout { grid-template-columns: minmax(0, 1fr); }
.bhop-mode .rd-mode-strip { margin-bottom: 0; padding-bottom: 16px; border-bottom: 1px solid #202631; }
.bhop-mode .bhop-landing { margin-bottom: 26px; }
.bhop-mode .bhop-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 20px; }
.bhop-mode .bhop-heading h1 { margin: 0; color: #f0f1f4; font: 800 42px/1 var(--rd-font-head); letter-spacing: -1.5px; }
.bhop-mode .bhop-records-link { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #c1c7d1; text-decoration: none; }
.bhop-mode .bhop-records-link i { color: #ef873e; }
.bhop-mode .bhop-records-link > span:last-child { margin-left: 8px; font-size: 20px; color: #91a0b3; }
.bhop-mode .bhop-featured { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; min-width: 0; overflow: hidden; border: 1px solid #34404d; border-radius: 13px; background: linear-gradient(125deg,#18212c,#121720 70%); box-shadow: 0 16px 50px #0003; }
.bhop-mode .bhop-map { position: relative; min-height: 314px; overflow: hidden; isolation: isolate; background: #19232b; touch-action: pan-y; }
.bhop-mode .bhop-map-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 58%; z-index: -2; }
.bhop-mode .bhop-map::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#0e1825,transparent 65%),linear-gradient(90deg,#09202b22,#0a121422); }
.bhop-mode .bhop-map-top { position: absolute; inset: 20px 22px auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bhop-mode .bhop-tag { padding: 6px 8px; border: 1px solid #ffffff26; border-radius: 4px; background: #0b121cbf; color: #edf3f8; font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.bhop-mode .bhop-watermark { position: absolute; left: 23px; top: 67px; font: 800 51px/.92 var(--rd-font-head); letter-spacing: -1.5px; color: #eef5fc; opacity: .92; text-shadow: 0 2px 20px #0007; transform: skewX(-6deg); }
.bhop-mode .bhop-map-caption { position: absolute; bottom: 26px; left: 25px; padding-left: 12px; border-left: 3px solid #ef873e; }
.bhop-mode .bhop-map-caption > span { display: block; margin-bottom: 7px; font-size: 8px; letter-spacing: .15em; color: #b1bdcc; }
.bhop-mode .bhop-map-caption strong { display: block; color: #f0f1f4; font: 700 19px/1.2 var(--rd-font-head); letter-spacing: .025em; overflow-wrap: anywhere; }
.bhop-mode .bhop-server-body { padding: 18px 28px; min-width: 0; }
.bhop-mode .bhop-server-top { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 10px; }
.bhop-mode .bhop-live { display: flex; align-items: center; gap: 7px; color: #a1aabb; white-space: nowrap; }
.bhop-mode .bhop-live > i { width: 6px; height: 6px; border-radius: 50%; background: #778396; }
.bhop-mode .bhop-live.is-online { color: #8ddeab; }
.bhop-mode .bhop-live.is-online > i { background: #8ddeab; box-shadow: 0 0 0 4px #8ddeab0b; }
.bhop-mode .bhop-server-id { margin-left: auto; color: #8190a5; font: 700 13px var(--rd-font-head); }
.bhop-mode .bhop-controls { display: flex; align-items: center; gap: 5px; }
.bhop-mode .bhop-control { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 1px solid #394454; border-radius: 5px; background: #1b2430; color: #c5cfdd; font-size: 13px; cursor: pointer; }
.bhop-mode .bhop-control:hover { background: #2d3a4d; color: #fff; }
.bhop-mode .bhop-counter { min-width: 35px; color: #b4c0d1; text-align: center; font-size: 10px; font-variant-numeric: tabular-nums; }
.bhop-mode .bhop-dots { display: flex; gap: 5px; padding: 2px 5px; border: 1px solid #ffffff1a; border-radius: 12px; background: #0b121caa; }
.bhop-mode .bhop-dot { width: 18px; height: 18px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.bhop-mode .bhop-dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #8190a5; }
.bhop-mode .bhop-dot[aria-current="true"]::before { width: 14px; border-radius: 3px; background: #ef873e; }
.bhop-mode .bhop-server-body h2 { margin: 10px 0; color: #f0f1f4; font: 700 29px/1.15 var(--rd-font-head); letter-spacing: -.6px; overflow-wrap: anywhere; }
.bhop-mode .bhop-styles { display: flex; gap: 6px; flex-wrap: wrap; }
.bhop-mode .bhop-styles > span { padding: 4px 7px; border: 1px solid #333d4d; border-radius: 4px; color: #a5b0c0; font-size: 9px; line-height: 1.2; }
.bhop-mode .bhop-population { display: flex; align-items: baseline; gap: 13px; margin-top: 22px; }
.bhop-mode .bhop-population strong { color: #f0f1f4; font: 700 26px/1.2 var(--rd-font-head); }
.bhop-mode .bhop-population strong small { color: #8c99ad; font-size: 18px; }
.bhop-mode .bhop-population > span { color: #8f9aab; font-size: 10px; }
.bhop-mode .bhop-population > small { margin-left: auto; color: #9ba9b9; font-size: 9px; }
.bhop-mode .bhop-progress { height: 3px; overflow: hidden; margin: 10px 0 19px; border-radius: 8px; background: #303744; }
.bhop-mode .bhop-progress > span { display: block; height: 100%; background: #8ddeab; }
.bhop-mode .bhop-actions { display: flex; gap: 9px; }
.bhop-mode .bhop-play { flex: 1; height: 47px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #ffac65; border-radius: 7px; background: linear-gradient(110deg,#f69a53,#ec7e35); color: #21180f; font-size: 14px; font-weight: 600; text-decoration: none; }
.bhop-mode .bhop-play > i:last-child { margin-left: 9px; }
.bhop-mode .bhop-play:hover { background: #ffa359; color: #21180f; }
.bhop-mode .bhop-copy { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid #3b4556; border-radius: 7px; background: #1b2330; color: #c1c9d5; font-size: 18px; cursor: pointer; }
.bhop-mode .bhop-copy:hover { background: #2a3546; color: #fff; }
.bhop-mode .bhop-server-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; color: #8997a9; font-size: 9px; }
.bhop-mode .bhop-server-bottom code { color: #8a97a9; font: 10px monospace; letter-spacing: .01em; }
.bhop-mode .bhop-promo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 12px; margin-top: 16px; }
.bhop-mode .bhop-promo { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #303846; border-radius: 9px; background: #11161f; color: #e6eaf1; text-decoration: none; }
.bhop-mode a.bhop-promo,.bhop-mode .bhop-promo summary { min-height: 80px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.bhop-mode .bhop-promo summary { position: relative; isolation: isolate; min-height: 78px; border-radius: inherit; overflow: hidden; list-style: none; cursor: pointer; }
.bhop-mode .bhop-promo summary::-webkit-details-marker { display: none; }
.bhop-mode a.bhop-promo::before,.bhop-mode .bhop-promo summary::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 190px; background-repeat: no-repeat; background-position: 82% 55%; background-size: auto 165px; z-index: -2; }
.bhop-mode a.bhop-promo::after,.bhop-mode .bhop-promo summary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#11161f 12%,#11161fef 38%,#11161f88 62%,#11161f08); z-index: -1; }
.bhop-mode .bhop-learn summary::before { background-image: url('/static/images/bhop/landing/learn.webp'); }
.bhop-mode .bhop-record::before { background-image: url('/static/images/bhop/landing/records.webp'); background-position: 89% 51%!important; background-size: auto 150px!important; }
.bhop-mode .bhop-vip::before { background-image: url('/static/images/bhop/landing/vip.webp'); }
.bhop-mode .bhop-vip { border-color: #65412f; }
.bhop-mode .bhop-promo strong { display: block; color: #e6eaf1; font: 700 13px/1.3 var(--rd-font-head); }
.bhop-mode .bhop-vip strong { color: #f0c199; }
.bhop-mode .bhop-promo small { display: block; margin-top: 6px; color: #9da8b8; font-size: 9px; line-height: 1.4; }
.bhop-mode .bhop-promo-arrow,.bhop-mode .bhop-promo summary > i { align-self: flex-start; margin-left: auto; color: #c6ced9; font-size: 18px; line-height: 1; }
.bhop-mode .bhop-promo summary > i { font-size: 12px; }
.bhop-mode .bhop-learn[open] summary > i { transform: rotate(180deg); }
.bhop-mode .bhop-help { border-top: 1px solid #272e3b; padding: 0 17px 17px; color: #a8b1bf; font-size: 11px; line-height: 1.8; }
.bhop-mode .bhop-help p { margin: 14px 0; }
.bhop-mode .bhop-help dl { margin: 0; }
.bhop-mode .bhop-help dl > div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #ffffff08; padding: 5px 0; }
.bhop-mode .bhop-help dt { color: #f0a060; font-family: monospace; }
.bhop-mode .bhop-help dd { margin: 0; color: #929eaf; }
.bhop-mode .bhop-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.bhop-mode [hidden] { display: none!important; }
.bhop-mode [aria-disabled="true"],.bhop-mode .bhop-copy:disabled { opacity: .5; cursor: default; }
.bhop-mode .bhop-landing a:focus-visible,.bhop-mode .bhop-landing button:focus-visible,.bhop-mode .bhop-landing summary:focus-visible { outline: 2px solid #ef873e; outline-offset: 4px; }
@media(max-width:1050px) {
    .bhop-mode .bhop-server-body { padding-inline: 22px; }
    .bhop-mode .bhop-server-top { gap: 8px; }
    .bhop-mode .bhop-controls { gap: 4px; }
    .bhop-mode .bhop-population { gap: 10px; }
    .bhop-mode .bhop-population > span { font-size: 9px; }
}
@media(max-width:760px) {
    .rd-page.bhop-mode { padding: 14px 18px 28px; }
    .bhop-mode .rd-mode-strip { padding-bottom: 12px; }
    .bhop-mode .bhop-heading { padding: 20px 0 18px; }
    .bhop-mode .bhop-heading h1 { font-size: 34px; }
    .bhop-mode .bhop-records-link { gap: 8px; }
    .bhop-mode .bhop-records-link > span:not(:last-child) { position: absolute; clip: rect(0,0,0,0); width: 1px; height: 1px; overflow: hidden; }
    .bhop-mode .bhop-featured { grid-template-columns: 1fr; border-radius: 11px; }
    .bhop-mode .bhop-map { min-height: 116px; }
    .bhop-mode .bhop-map-top { inset: 13px 15px auto; }
    .bhop-mode .bhop-tag { padding: 4px 6px; font-size: 7px; }
    .bhop-mode .bhop-watermark { top: 39px; left: auto; right: 17px; font-size: 29px; opacity: .6; }
    .bhop-mode .bhop-map-caption { bottom: 15px; left: 16px; padding-left: 9px; border-width: 2px; }
    .bhop-mode .bhop-map-caption > span { font-size: 6px; margin-bottom: 4px; }
    .bhop-mode .bhop-map-caption strong { font-size: 15px; }
    .bhop-mode .bhop-dots { gap: 3px; padding: 0 4px; }
    .bhop-mode .bhop-dot { width: 16px; height: 16px; }
    .bhop-mode .bhop-server-body { padding: 10px 17px 15px; }
    .bhop-mode .bhop-server-top { gap: 7px; min-height: 26px; }
    .bhop-mode .bhop-live { font-size: 8px; gap: 5px; }
    .bhop-mode .bhop-server-id { font-size: 10px; }
    .bhop-mode .bhop-controls { gap: 3px; }
    .bhop-mode .bhop-control { width: 25px; height: 25px; font-size: 12px; }
    .bhop-mode .bhop-counter { min-width: 29px; font-size: 9px; }
    .bhop-mode .bhop-server-body h2 { font-size: 24px; margin: 8px 0; }
    .bhop-mode .bhop-styles > span { font-size: 8px; padding: 3px 6px; }
    .bhop-mode .bhop-population { margin-top: 12px; gap: 10px; }
    .bhop-mode .bhop-population strong { font-size: 24px; }
    .bhop-mode .bhop-population strong small { font-size: 16px; }
    .bhop-mode .bhop-population > span { font-size: 9px; }
    .bhop-mode .bhop-population > small { font-size: 8px; }
    .bhop-mode .bhop-progress { margin: 7px 0 13px; }
    .bhop-mode .bhop-play { height: 43px; font-size: 13px; }
    .bhop-mode .bhop-copy { width: 43px; height: 43px; }
    .bhop-mode .bhop-server-bottom { margin-top: 9px; font-size: 8px; }
    .bhop-mode .bhop-server-bottom code { font-size: 9px; }
    .bhop-mode .bhop-promo-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 13px; }
    .bhop-mode a.bhop-promo,.bhop-mode .bhop-promo summary { min-height: 72px; padding-left: 16px; }
    .bhop-mode .bhop-promo summary { min-height: 70px; }
    .bhop-mode a.bhop-promo::before,.bhop-mode .bhop-promo summary::before { width: 170px; background-size: auto 150px; }
    .bhop-mode .bhop-promo strong { font-size: 14px; }
}
