@charset "utf-8";
/* =========================================================================
   F1 SPORTS & CASINO — 루비메탈 셸 (2026-10-23)
   원본: PC index.html(.gnbInfo/.left-contents/.right-contents/.contents-wrap/.ttb-footer, ruby-theme.css)
         모바일 index.html(#headerBox/.ruby-quick/.ruby-contact/.ruby-bottom, ruby-mobile.css)
   시안 수치(헤더 60px·좌측 260px·카드·게시판·파트너)는 시안 화면의 계산값을 그대로 옮겼다.
   761px 이상: PC 배치(고정 헤더 + 좌측 메뉴 + 본문 + 우측 베팅카트 열)
     · 1200px 이상: 좌측 메뉴 고정(헤더 버튼으로 접기, 이 브라우저에 기억)
     · 761~1199px(태블릿): 좌측 메뉴는 헤더 버튼으로 본문 위에 여는 겹침 메뉴, 헤더 아래 공지 흐름 고정,
       회원 빠른 메뉴는 헤더 회원 버튼의 패널(mobile_drawers)
   760px 이하: 모바일 배치(상단 헤더·공지 흐름 + 본문 + 하단 고정 메뉴, 전체 메뉴는 mobile_drawers 패널)
   본문 화면(게시판·머니·게임)은 YAHO 마크업을 그대로 쓰고, 색은 css/*.css 의 루비 변환 + 아래 "본문 공통" 보정으로 맞춘다.
   ========================================================================= */
:root {
  --rb-bg: #1A1512;
  --rb-bg-2: #1F1915;
  --rb-panel: #261F1A;
  --rb-panel-2: #362C25;
  --rb-panel-3: #2B231D;
  --rb-line: #66482E;
  --rb-line-2: #3d3128;
  --rb-accent: #E8A844;
  --rb-accent-2: #CEA25B;
  --rb-accent-3: #F0C070;
  --rb-deep: #8C6642;
  --rb-text: #F9EBD1;
  --rb-text-2: #DECEB4;
  --rb-muted: #CAAD8D;
  --rb-box: linear-gradient(135deg, #362C25, #261F1A 55%, #1F1915);
  --rb-glow: 0 0 13px -4px #E8A844, inset 0 0 11px -7px #E8A844;
  --rb-font: "Pretendard Variable", Pretendard, PageSans, "Noto Sans KR", "Malgun Gothic", sans-serif;
  --rb-header-h: 61px;
  --rb-side-w: 270px;
  /* YAHO 공통 변수(본문 화면) */
  --surface: #1A1512;
  --text: #F9EBD1;
  --muted: #CAAD8D;
  --accent: #E8A844;
  color-scheme: dark;
}
html { background: var(--rb-bg); }
body.rb-body { margin: 0; background: var(--rb-bg); color: var(--rb-text); font-family: var(--rb-font); }
/* .page 의 overflow:hidden(YAHO)은 스크롤 컨테이너가 되어 카트의 position:sticky 를 막는다. clip 은 같은 잘림이면서 sticky 를 살린다
   (clip 을 모르는 브라우저는 이 선언을 버리고 기존 hidden 을 쓴다). */
.rb-body .page { background: var(--rb-bg) none; overflow: clip; --sports-on-accent: #1a1512; --game-on-accent: #1a1512; }
.rb-icon { width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.125em; }
.rb-header [hidden], .rb-side [hidden], .rb-bottom [hidden] { display: none !important; }

/* ---------- 헤더 ---------- */
.rb-header { position: sticky; top: 0; z-index: 1000; background: var(--rb-bg); }
.rb-header__bar { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-bottom: 1px solid var(--rb-line); background: var(--rb-bg); }
.rb-brand { display: block; flex: 0 1 auto; width: 33%; max-width: 190px; margin-right: auto; line-height: 0; }
.rb-brand img { display: block; width: 100%; height: auto; }
.rb-header__collapse { display: none; }
.rb-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.rb-auth { display: flex; align-items: center; gap: 6px; }
.rb-auth-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 10px; border: 1px solid var(--rb-deep); border-radius: 0; color: var(--rb-text); font-size: clamp(11px, 2.7vw, 15px); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.rb-auth-btn--login { background: var(--rb-panel); }
.rb-auth-btn--join { background: var(--rb-accent); border-color: var(--rb-accent); color: #1a1512; }
.rb-member { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rb-user, .rb-quicknav, .rb-actions, .rb-logout { display: none; }
.rb-money { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rb-money__item { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px; border: 1px solid var(--rb-line-2); border-radius: 2px; background: var(--rb-panel); white-space: nowrap; }
.rb-money__item img { width: 16px; height: 16px; }
.rb-money__item b { color: var(--rb-text); font-size: 13px; font-weight: 800; letter-spacing: -.2px; }
.rb-money__item em { color: var(--rb-muted); font-size: 11px; font-style: normal; font-weight: 700; }
.rb-money__item--point, .rb-money > .rb-money__item ~ .rb-money__item { display: none; }
.rb-money__exg { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--rb-accent-3); font-size: 13px; }
.rb-money__exg:hover, .rb-money__exg:focus-visible { background: rgba(232, 168, 68, .14); color: #fff; outline: none; }
.rb-money > .rb-money__exg { display: none; }
/* 포인트 전환 버튼: 아이콘 + "전환" 글자(2026-10-25 운영 요청). 헤더 포인트 옆과 모바일 회원 메뉴 포인트 옆에 같은 모양으로 둔다. */
.rb-money__exg.rb-money__exg--label, .mobile-drawer__exg { display: inline-flex; align-items: center; gap: 3px; width: auto; height: 22px; padding: 0 7px; border: 1px solid var(--rb-accent-2); border-radius: 2px; background: rgba(232, 168, 68, .14); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
.rb-money__exg--label .rb-icon, .mobile-drawer__exg .rb-icon { color: var(--rb-accent-3); font-size: 12px; }
.rb-money__exg.rb-money__exg--label:hover, .rb-money__exg.rb-money__exg--label:focus-visible, .mobile-drawer__exg:hover, .mobile-drawer__exg:focus-visible { background: var(--rb-accent); color: #1a1512; outline: none; }
.rb-money__exg--label:hover .rb-icon, .rb-money__exg--label:focus-visible .rb-icon, .mobile-drawer__exg:hover .rb-icon, .mobile-drawer__exg:focus-visible .rb-icon { color: #fff; }
.mobile-drawer__point-value { display: inline-flex; align-items: center; gap: 8px; }
.mobile-drawer__exg { height: 26px; padding: 0 9px; font-size: 12px; }
.mobile-drawer__exg[hidden] { display: none; }
.rb-mbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--rb-text); cursor: pointer; }
.rb-mbtn .rb-icon { width: 26px; height: 26px; }
.rb-mbtn { position: relative; }
.rb-mbadge { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--rb-accent); color: #1a1512; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.rb-burger { display: grid; gap: 4px; }
.rb-burger span { display: block; width: 22px; height: 2px; background: var(--rb-text); }
.rb-ticker { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--rb-line); background: var(--rb-bg-2); color: var(--rb-accent); font-size: 18px; }
.rb-ticker__track { flex: 1; min-width: 0; overflow: hidden; color: #f0fff0; font-size: clamp(11px, 2.4vw, 14px); font-weight: 600; }
.rb-marquee { display: inline-flex; white-space: nowrap; padding-left: 100%; animation: rb-marquee 28s linear infinite; }
.rb-marquee:hover { animation-play-state: paused; }
@keyframes rb-marquee { to { transform: translateX(-100%); } }

/* ---------- 좌측 메뉴(PC) ---------- */
.rb-side, .rb-side-backdrop { display: none; }
.rb-box { margin: 0 0 10px; padding: 6px 8px; border: 1px solid var(--rb-line); border-top-color: var(--rb-deep); border-radius: 2px; background: var(--rb-box); overflow: hidden; }
.rb-lm { margin: 0; padding: 0; list-style: none; }
.lm-notice { display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 0 12px; padding: 0 12px; border: 1px solid rgba(232, 168, 68, .3); border-radius: 9px; background: var(--rb-panel-2); overflow: hidden; }
.lm-notice__icon { color: var(--rb-accent); font-size: 14px; }
.lm-notice__text { flex: 1; min-width: 0; overflow: hidden; color: var(--rb-text-2); font-size: 12px; font-weight: 600; line-height: 22px; }
.lm-row { position: relative; display: flex; align-items: center; min-height: 42px; margin: 0 0 3px; border-radius: 9px; overflow: hidden; }
.lm-row::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent); pointer-events: none; transition: left .5s ease; }
.lm-row::after { content: ""; position: absolute; top: 50%; left: 0; z-index: 3; width: 3px; height: 0; border-radius: 3px; background: var(--rb-accent); box-shadow: 0 0 10px var(--rb-accent); transform: translateY(-50%); transition: height .2s ease; }
.lm-row:hover::before { left: 100%; }
.lm-row:hover, .lm-row.is-current { background: rgba(232, 168, 68, .10); }
.lm-row:hover::after, .lm-row.is-current::after { height: 60%; }
.lm-link { position: relative; z-index: 2; display: flex; flex: 1; align-items: center; min-width: 0; height: 42px; padding: 0 8px 0 9px; border-radius: 8px; color: var(--rb-text); font-size: 13px; font-weight: 700; }
.lm-link:focus-visible { outline: 2px solid var(--rb-accent); outline-offset: -2px; }
button.lm-link { margin: 0; border: 0; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
.menu-icon { display: block; flex: 0 0 34px; width: 34px; height: 34px; background: var(--icon) center / contain no-repeat; transition: filter .2s ease, transform .2s ease; }
.lm-row:hover .menu-icon { filter: brightness(1.25); transform: scale(1.05); }
.lm-label { flex: 1; min-width: 0; margin-left: 8px; padding-left: 11px; overflow: hidden; color: var(--rb-text); font-size: 13px; font-weight: 500; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.lm-badge { flex: 0 0 auto; margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 800; line-height: 13px; letter-spacing: .3px; }
.lm-badge--event { background: linear-gradient(135deg, #ff7a45, #ffd166); color: #2a1500; }
.lm-badge--live { background: linear-gradient(135deg, #22d3a6, #4d8cff); color: #fff; }
.lm-expand { position: relative; z-index: 2; display: grid; flex: 0 0 18px; place-items: center; width: 18px; height: 18px; margin: 0 8px; padding: 0; border: 1px solid var(--rb-accent); border-radius: 50%; background: rgba(255, 255, 255, .05); color: var(--rb-accent); cursor: pointer; }
.lm-expand::before, .lm-expand::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.lm-expand::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.lm-expand[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0deg); }
.lm-expand:focus-visible { outline: 2px solid var(--rb-text); outline-offset: 1px; }
.lm-sub-li { margin: -2px 0 6px; list-style: none; }
.lm-sub { margin: 2px 4px 6px; padding: 6px 6px 6px 8px; border-radius: 10px; background: var(--rb-bg); list-style: none; }
.lm-sub-link { display: flex; align-items: center; height: 34px; padding-left: 9px; border-radius: 8px; color: var(--rb-text-2); font-size: 12px; font-weight: 600; }
.lm-sub-label { padding-left: 40px; }
.lm-sub-link:hover, .lm-sub-link:focus-visible { background: rgba(232, 168, 68, .08); color: #fff; outline: none; }
.lm-sub-link[aria-current="page"] { color: var(--rb-accent-3); }
.lm-sub-link[aria-current="page"] .lm-sub-label::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 2px -11px; border-radius: 50%; background: var(--rb-accent); box-shadow: 0 0 6px var(--rb-accent); }

/* ---------- 베팅카트(우측 열) ---------- */
.rb-body .main-content .content-layout > .bet-panel {
  --sports-bg: #1A1512; --sports-surface: #261F1A; --sports-surface-2: #362C25; --sports-surface-3: #2B231D; --sports-surface-4: #3d3128;
  --sports-line: #3d3128; --sports-accent: #E8A844; --sports-accent-light: #F0C070; --sports-accent-rgb: 232, 168, 68; --sports-accent-border: #E8A844;
  --sports-primary-gradient: linear-gradient(180deg, #E8A844, #8C6642); --sports-on-accent: #1a1512;
  min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible;
}
.rb-body .main-content .content-layout > .bet-panel .bet-panel-inner { border: 1px solid var(--rb-line); border-top-color: var(--rb-deep); border-radius: 2px; background: var(--rb-box); overflow: hidden; }
.rb-body .main-content .content-layout > .bet-panel .bet-live-row { border-bottom: 1px solid var(--rb-line-2); background: linear-gradient(90deg, rgba(232, 168, 68, .22), rgba(38, 31, 26, 0)); }
.rb-body .main-content .content-layout > .bet-panel .bet-action-link.primary { border-color: var(--rb-accent); background: var(--rb-accent); color: #1a1512; box-shadow: 0 0 16px rgba(232, 168, 68, .25); }
.rb-body .main-content .content-layout > .bet-panel .bet-amount-field { border-color: #8C7458; background: var(--rb-bg); }
.rb-side-banners { display: none; margin: 8px 0 0; padding: 0; list-style: none; }
.rb-side-banners li { margin: 0 0 6px; }
.rb-side-banners a { position: relative; display: block; line-height: 0; }
.rb-side-banners img { display: block; width: 100%; height: auto; }
/* 2026-11-02 운영 요청(화질): 우측 배너를 그림 대신 CSS 로 그린다. 시안 그림과 같은 구성 —
   차콜 상자(왼쪽 옅은 빗금) + 회색 선 아이콘 + 흰 제목/회색 설명 + 오른쪽 어두운 사선 칸·빨간 사선 띠 + 화살표. */
.rb-side-banners a.rb-sbn { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 0 58px 0 18px; overflow: hidden; border: 1px solid var(--rb-line-2); border-radius: 2px; background: linear-gradient(135deg, var(--rb-accent) 0 9px, transparent 9.5px) top left / 18px 18px no-repeat, repeating-linear-gradient(135deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 8px) left / 55% 100% no-repeat, var(--rb-box); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--rb-text); line-height: 1.3; transition: border-color .2s ease, box-shadow .2s ease; }
.rb-sbn::before, .rb-sbn::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 72px; pointer-events: none; }
.rb-sbn::before { background: linear-gradient(160deg, rgba(140, 110, 59, .55), rgba(42, 34, 19, .92) 70%); clip-path: polygon(64px 0, 100% 0, 100% 100%, 8px 100%); }
.rb-sbn::after { background: linear-gradient(200deg, var(--rb-accent-3), var(--rb-accent) 50%, var(--rb-accent-2)); clip-path: polygon(57px 0, 64px 0, 8px 100%, 0 100%); }
.rb-sbn__icon { display: grid; flex: 0 0 auto; place-items: center; width: 50px; height: 50px; color: #CFB7A5; transition: color .2s ease; }
.rb-sbn__icon .rb-icon { width: 48px; height: 48px; stroke-width: 1.5; }
.rb-sbn__text { display: grid; flex: 1; gap: 5px; min-width: 0; }
.rb-sbn__text strong { overflow: hidden; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.3px; text-overflow: ellipsis; white-space: nowrap; }
.rb-sbn__text small { overflow: hidden; color: var(--rb-muted); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rb-sbn__go { position: absolute; top: 50%; right: 9px; z-index: 1; width: 18px; height: 18px; color: var(--rb-text-2); transform: translateY(-50%); transition: color .2s ease; }
.rb-side-banners a.rb-sbn:hover, .rb-side-banners a.rb-sbn:focus-visible { border-color: var(--rb-accent); box-shadow: var(--rb-glow); outline: none; }
.rb-sbn:hover .rb-sbn__icon, .rb-sbn:focus-visible .rb-sbn__icon { color: #fff; }
.rb-sbn:hover .rb-sbn__go, .rb-sbn:focus-visible .rb-sbn__go { color: #fff; }

/* ---------- 메인 ---------- */
.rb-home { padding: 0 0 10px; }
.rb-visual { position: relative; overflow: hidden; background: var(--rb-bg); }
.rb-visual__track { display: flex; transition: transform .5s ease; }
.rb-visual__slide { display: block; flex: 0 0 100%; line-height: 0; }
.rb-visual__slide img { display: block; width: 100%; height: auto; }
.rb-visual__arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 20px; cursor: pointer; transform: translateY(-50%); }
.rb-visual__arrow--prev { left: 8px; }
.rb-visual__arrow--next { right: 8px; }
.rb-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 12px 0 10px; border: 1px solid var(--rb-line-2); border-top: 2px solid var(--rb-accent); background: linear-gradient(135deg, #261F1A, #1A1512); }
.rb-quick a { display: flex; flex-direction: column; align-items: center; gap: 5px; border-right: 1px solid var(--rb-line-2); color: var(--rb-text); font-size: clamp(12px, 2.7vw, 17px); font-weight: 700; }
.rb-quick a:last-child { border-right: 0; }
.rb-quick img { width: 43%; max-width: 64px; height: auto; }
.rb-games { margin: 10px 0 0; padding: 0 5px; }
.rb-games ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.rb-game { position: relative; display: block; overflow: hidden; background: var(--rb-panel); line-height: 0; }
.rb-game__img { display: block; width: 100%; height: auto; }
.rb-game::before { content: ""; position: absolute; top: 0; left: -120%; z-index: 2; width: 75%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: skewX(-18deg); pointer-events: none; transition: left .7s ease; }
.rb-game::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 2px solid transparent; border-image: linear-gradient(135deg, #F0C070, #CEA25B, #8C6642, #66482E, #F0C070) 1; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.rb-game:hover::before, .rb-game:focus-visible::before { left: 140%; }
.rb-game:hover::after, .rb-game:focus-visible::after { opacity: 1; }
.rb-game__mask { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px; background: rgba(26, 21, 18, .9); line-height: 1.2; opacity: 0; transition: opacity .25s ease; }
.rb-game__mask img { width: 70%; height: auto; }
.rb-game__title { margin-top: 10px; color: #fff; font-size: 26px; font-weight: 800; }
.rb-game__go { display: inline-block; margin-top: 8%; padding: 5px 12px; border-radius: 20px; background: var(--rb-accent); color: #1a1512; font-size: 12px; font-weight: 700; }
.rb-game:focus-visible { outline: 2px solid var(--rb-accent); outline-offset: 2px; }
@media (hover: hover) { .rb-game:hover .rb-game__mask { opacity: 1; } }
.rb-section { margin: 16px 0 0; padding: 0 8px; }
.rb-section__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid var(--rb-deep); }
.rb-section__head h2 { display: flex; align-items: baseline; gap: 6px; margin: 0; color: var(--rb-text); font-size: clamp(14px, 3vw, 22px); font-weight: 700; line-height: 1.3; }
.rb-section__icon { align-self: center; color: var(--rb-accent); }
.rb-section__sub { color: var(--rb-muted); font-size: clamp(8px, 1.7vw, 12px); font-weight: 500; }
.rb-section__nav { display: flex; gap: 5px; }
.rb-section__nav button { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 1px solid var(--rb-line); border-radius: 1px; background: var(--rb-panel); color: var(--rb-accent); font-size: 14px; cursor: pointer; }
.rb-section__nav button:hover, .rb-section__nav button:focus-visible { border-color: var(--rb-accent); outline: none; }
.rb-events__track { display: grid; grid-auto-columns: 40%; grid-auto-flow: column; gap: 8px; margin: 0; padding: 0; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rb-events__track::-webkit-scrollbar { display: none; }
.rb-events__track li { scroll-snap-align: start; }
.rb-event { position: relative; display: block; line-height: 0; }
.rb-event img { display: block; width: 100%; height: auto; background: var(--rb-bg); }
.rb-event::after { content: ""; position: absolute; inset: 0; background: rgba(232, 168, 68, .14); opacity: 0; transition: opacity .25s ease; }
.rb-event:hover::after, .rb-event:focus-visible::after { opacity: 1; }
.rb-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 8px 0; }
.rb-contact a, .rb-contact img { display: block; width: 100%; height: auto; }
.rb-boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; padding: 0 8px; }
.rb-board { min-width: 0; padding: 9px; border: 1px solid var(--rb-line); border-top-color: var(--rb-accent); border-radius: 1px; background: linear-gradient(135deg, #362C25, #261F1A); }
.rb-board__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 6px; padding: 0 0 10px; border-bottom: 1px solid var(--rb-line); }
.rb-board__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: clamp(12px, 2.6vw, 17px); font-weight: 800; white-space: nowrap; }
.rb-board__more { color: var(--rb-muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.rb-board__more:hover { color: var(--rb-accent-3); }
.rb-board__list { min-height: 132px; margin: 0; padding: 0; list-style: none; }
.rb-board__list li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 4px; border-bottom: 1px dashed rgba(249, 235, 209, .12); color: var(--rb-text-2); font-size: 12px; }
.rb-board__list li a { flex: 1; min-width: 0; overflow: hidden; color: var(--rb-text-2); text-overflow: ellipsis; white-space: nowrap; }
.rb-board__list li a:hover { color: #fff; }
.rb-board__list time { flex: 0 0 auto; color: var(--rb-muted); font-size: 11px; }
.rb-board__empty { justify-content: center; color: var(--rb-muted) !important; text-align: center; }
.rb-board__empty a { flex: 0 1 auto !important; color: var(--rb-accent-3) !important; white-space: normal !important; text-overflow: clip !important; line-height: 1.5; }
.rb-partners { margin: 15px 0 10px; }
.rb-partners__marquee { overflow: hidden; padding: 5px 0; }
.rb-partners__track { display: flex; align-items: center; width: max-content; animation: rb-partners 70s linear infinite; }
.rb-partners__marquee:hover .rb-partners__track { animation-play-state: paused; }
@keyframes rb-partners { to { transform: translateX(-50%); } }
.rb-partners__item { display: flex; align-items: center; justify-content: center; width: 124px; height: 50px; margin-right: 8px; padding: 6px 10px; border: 1px solid rgba(232, 168, 68, .3); border-radius: 1px; background: var(--rb-panel); }
.rb-partners__item img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: brightness(1.08); }

/* ---------- 푸터 ---------- */
.rb-footer { padding: 0 8px 12px; background: var(--rb-bg); }
.rb-footer__art { display: block; width: 100%; max-width: 665px; height: auto; margin: 0 auto; }
.rb-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 12px 10px; border: 1px solid var(--rb-line); border-top-color: var(--rb-deep); border-radius: 2px; background: var(--rb-box); box-shadow: 0 8px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08); }
.rb-footer__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rb-footer__age { width: 34px; height: auto; }
.rb-footer__copy { margin: 0; color: var(--rb-text-2); font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.rb-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.rb-footer__nav a { color: var(--rb-muted); font-size: 12px; font-weight: 600; }
.rb-footer__nav a:hover { color: #fff; }
.rb-footer__cookie { display: inline-flex; align-items: center; gap: 8px; height: 35px; padding: 0 20px; border: 1px solid rgba(232, 168, 68, .25); border-radius: 22px; background: rgba(232, 168, 68, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--rb-accent-3); font: 700 13px var(--rb-font); cursor: pointer; }
.rb-footer__cookie:hover, .rb-footer__cookie:focus-visible { background: rgba(232, 168, 68, .24); color: #fff; outline: none; }

/* ---------- 모바일 하단 메뉴 ---------- */
.rb-body { padding-bottom: calc(61px + env(safe-area-inset-bottom, 0px)); }
.rb-bottom { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1000; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--rb-deep); background: var(--rb-bg); }
.rb-bottom > a, .rb-bottom > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 7px 0; border: 0; background: transparent; color: var(--rb-text); font: 700 11px var(--rb-font); cursor: pointer; }
.rb-bottom > .is-active { background: linear-gradient(135deg, #E8A844, #71582B); }
.rb-bottom img { display: block; width: 26px; height: 25px; object-fit: contain; }
/* YAHO 모바일 카트 열기 버튼이 하단 메뉴에 가리지 않게 */
.rb-body .bet-cart-trigger { bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }

/* ---------- 모바일 전체 메뉴 패널 ---------- */
.mobile-drawer__menu-nav { align-content: start; }
.mobile-drawer__category.is-active, .mobile-drawer__category[aria-current=page] { border-color: var(--rb-deep) !important; background: rgba(232, 168, 68, .10) !important; color: var(--rb-accent-3) !important; }
.mobile-drawer__quick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 10px 8px; border: 1px solid var(--rb-line-2); border-top: 2px solid var(--rb-accent); background: linear-gradient(135deg, #261F1A, #1A1512); list-style: none; }
.mobile-drawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; color: var(--rb-text); font-size: 10.5px; font-weight: 700; letter-spacing: -.3px; text-align: center; white-space: nowrap; }
.mobile-drawer__quick img { width: 28px; height: 28px; }
@media (max-width: 380px) { .mobile-drawer__quick { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; } }
.mobile-drawer__quick a[aria-current="page"] { color: var(--rb-accent-3); }

/* ---------- 모바일 더보기(사용자 메뉴) — 2026-11-01 운영 요청 시안 배치(4×3 바둑판), 색·모양은 F1 루비메탈·메인 화면처럼 단순하게(같은 날 후속 요청) ---------- */
.mobile-drawer.mdx { width: min(100vw, 420px); border-left: 1px solid var(--rb-deep); background: linear-gradient(180deg, #261F1A, #1F1915 55%, #1A1512); color: var(--rb-text); }
.mdx .mdx-head { display: flex; align-items: center; gap: 10px; height: auto; min-height: 0; padding: 50px 18px 12px 24px; border-bottom: 1px solid var(--rb-line-2); box-shadow: inset 0 -2px 0 -1px var(--rb-accent); color: var(--rb-text); }
.mdx .mdx-close { top: 8px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--rb-line-2); border-radius: 2px; background: var(--rb-panel-2); font-size: 30px; }
.mdx-user { display: flex; flex: 1; align-items: center; gap: 6px; min-width: 0; }
.mdx-user[hidden], .mdx-title[hidden] { display: none; }
.mdx-level .v2-level__icon { display: block; width: 26px; height: 26px; }
.mdx-user strong { overflow: hidden; color: #fff; font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mdx-title { flex: 1; color: var(--rb-accent-3); font-size: 17px; }
.mdx-memo { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 102px; height: 32px; padding: 0 14px; border: 1px solid var(--rb-accent); border-radius: 2px; background: linear-gradient(180deg, #E8A844, #B8873F); box-shadow: var(--rb-glow); color: #1a1512; font-size: 14px; font-weight: 800; }
.mdx-memo__badge { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; border: 1px solid #fff; border-radius: 9px; background: var(--rb-deep); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.mdx .mdx-body { padding: 4px 16px 28px; }
.mdx-balances { margin: 14px 0 16px; padding: 6px 12px; border: 1px solid var(--rb-line-2); border-top: 2px solid var(--rb-accent); background: var(--rb-box); }
.mdx-balances > div { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; min-height: 36px; font-size: 15px; font-weight: 700; }
.mdx-balances__icon { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--rb-accent-2); border-radius: 50%; color: var(--rb-accent-3); font-size: 11px; line-height: 1; }
.mdx-balances strong { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 16px; font-weight: 800; }
.mdx-exg { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--rb-accent-2); border-radius: 2px; background: rgba(232, 168, 68, .14); color: var(--rb-accent-3); font-size: 15px; }
.mdx-exg:hover, .mdx-exg:focus-visible { background: var(--rb-accent); color: #1a1512; outline: none; }
.mdx .mdx-hint { margin: 14px 8px 10px; color: var(--rb-muted); }
.mdx .mdx-auth { margin: 0 8px 16px; }
.mdx .mdx-auth a { border-color: var(--rb-accent); background: var(--rb-panel-2); color: #fff; }
.mdx .mdx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
/* 칸: 메인 빠른 메뉴(.rb-quick)처럼 차콜 상자 + 빨간 팔각 테두리 안 흰 선 아이콘(2026-11-01 후속 요청, 그림 대신 inline SVG) */
.mdx-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 14px 2px 12px; border: 1px solid var(--rb-line-2); border-radius: 2px; background: linear-gradient(135deg, #261F1A, #1A1512); color: var(--rb-text); font-size: 13px; font-weight: 700; letter-spacing: -.4px; text-align: center; white-space: nowrap; }
.mdx-tile__icon { position: relative; display: grid; place-items: center; width: 46px; height: 46px; }
.mdx-tile__frame { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--rb-accent); stroke-width: 1.3; }
.mdx-tile__glyph { position: relative; width: 22px; height: 22px; color: #fff; stroke-width: 1.7; }
.mdx-tile:hover .mdx-tile__frame, .mdx-tile:focus-visible .mdx-tile__frame, .mdx-tile[aria-current="page"] .mdx-tile__frame { fill: rgba(232, 168, 68, .18); }
.mdx-tile[hidden] { display: none !important; }
.mdx-tile:hover, .mdx-tile:focus-visible, .mdx-tile[aria-current="page"] { border-color: var(--rb-accent); color: #fff; outline: none; }
/* 텔레그램 배너: 메인 공지채널 버튼(contact_notice)처럼 차콜 상자 + 왼쪽 위 빨간 모서리 + 흰 선 아이콘 + 글자 + 화살표. 그림 없음. */
.mdx-banner { position: relative; display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 16px 16px 16px 20px; overflow: hidden; border: 1px solid var(--rb-line-2); border-radius: 2px; background: linear-gradient(135deg, #362C25, #261F1A 55%, #1F1915); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--rb-text); line-height: 1.3; }
.mdx-banner::before { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; background: var(--rb-accent); clip-path: polygon(0 0, 100% 0, 0 100%); }
.mdx-banner__icon { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rb-accent); border-radius: 50%; color: #fff; }
.mdx-banner__icon .rb-icon { width: 22px; height: 22px; margin-left: -2px; }
.mdx-banner__text { display: grid; flex: 1; gap: 3px; min-width: 0; }
.mdx-banner__text strong { color: #fff; font-size: 16px; font-weight: 800; }
.mdx-banner__text small { color: var(--rb-muted); font-size: 12px; font-weight: 600; }
.mdx-banner__go { flex: 0 0 auto; width: 20px; height: 20px; color: var(--rb-text-2); }
.mdx-banner:hover, .mdx-banner:focus-visible { border-color: var(--rb-accent); outline: none; }
.mdx-banner:hover .mdx-banner__go, .mdx-banner:focus-visible .mdx-banner__go { color: var(--rb-accent-3); }
.mdx .mdx-banner-wrap { display: block; margin: 0; }
/* 2026-11-02 텔레그램 배너 아래 추가 배너(config more_banners: 평생주소·실시간 라인업) — 같은 상자, 간격만 좁게 */
.mdx-banner--more { margin-top: 10px; }
@media (max-width: 360px) { .mdx-tile { font-size: 12px; } .mdx .mdx-head { padding-left: 16px; } }

/* ---------- 본문 공통(YAHO 화면의 루비 보정) ---------- */
.rb-body .main-content { --main-content-max-width: none; }
.rb-body .main-content .content-layout { max-width: none; }
.rb-body .community-editor__heading, .rb-body .page-title { color: var(--rb-text); }
.rb-body .page-family-tabs a[aria-current="page"], .rb-body .community-tabs a[aria-current="page"] { border-color: var(--rb-accent); color: #fff; }
/* 게시판 운영진 표시: F1 마크는 가로로 길어 글쓴이 칸에 맞게 낮춘다(약 54px 폭). */
.rb-body .v2-staff__logo { height: 14px; margin: 0; }

/* =========================================================================
   PC (761px 이상, 태블릿 차이는 아래 761~1199px 블록)
   ========================================================================= */
@media (min-width: 1024px) {
  .rb-body { padding-bottom: 0; }
  .rb-header { position: fixed; top: 0; right: 0; left: 0; height: var(--rb-header-h); border-bottom: 1px solid rgba(232, 168, 68, .3); }
  .rb-header__bar { height: 60px; min-height: 0; padding: 0 15px; border-bottom: 1px solid var(--rb-accent); gap: 0; }
  .rb-brand { flex: 0 0 231px; width: 231px; max-width: none; margin: 0; }
  .rb-header__collapse { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0 auto 0 25px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--rb-text-2); font-size: 20px; cursor: pointer; }
  .rb-header__collapse:hover, .rb-header__collapse:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; outline: none; }
  .rb-header__right { gap: 14px; padding: 0 5px 0 10px; }
  .rb-auth { gap: 10px; }
  .rb-auth-btn { height: 32px; min-height: 0; padding: 0 18px; border-radius: 2px; font-size: 13px; font-weight: 800; letter-spacing: .3px; box-shadow: var(--rb-glow); }
  .rb-auth-btn--login { border-color: var(--rb-accent-2); background: var(--rb-panel); color: var(--rb-text); }
  .rb-auth-btn--join { border-color: var(--rb-accent); background: var(--rb-accent); color: #1a1512; }
  .rb-auth-btn:hover, .rb-auth-btn:focus-visible { filter: brightness(1.15); outline: none; }
  .rb-member { gap: 14px; }
  .rb-user { display: flex; align-items: center; gap: 6px; color: var(--rb-text); font-size: 14px; white-space: nowrap; }
  .rb-user strong { display: inline-block; max-width: 9em; overflow: hidden; color: #fff; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
  .rb-user__suffix { color: var(--rb-muted); font-size: 12px; }
  .rb-quicknav { display: flex; align-items: center; gap: 4px; }
  .rb-quicknav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 8px; border-radius: 2px; color: var(--rb-text-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
  .rb-quicknav__link .rb-icon { color: var(--rb-accent-3); font-size: 15px; }
  .rb-quicknav__link:hover, .rb-quicknav__link:focus-visible, .rb-quicknav__link[aria-current="page"] { background: rgba(232, 168, 68, .12); color: #fff; outline: none; }
  .rb-quicknav .account-bar__badge { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--rb-accent); color: #1a1512; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
  .rb-money__item, .rb-money__item--point, .rb-money > .rb-money__item ~ .rb-money__item, .rb-money > .rb-money__exg { display: inline-flex; }
  .rb-money__item { height: 32px; padding: 0 10px; }
  .rb-money__item b { font-size: 13px; }
  .rb-actions { display: flex; align-items: center; gap: 6px; }
  .rb-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 1px solid var(--rb-line); border-radius: 2px; background: var(--rb-panel-2); color: var(--rb-text); font-size: 13px; font-weight: 800; white-space: nowrap; }
  .rb-btn--deposit, .rb-btn--coin_deposit { border-color: var(--rb-accent); background: var(--rb-accent); color: #1a1512; box-shadow: var(--rb-glow); }
  .rb-btn--withdraw, .rb-btn--coin_withdraw { border-color: var(--rb-accent-2); background: var(--rb-panel); box-shadow: var(--rb-glow); }
  .rb-btn:hover, .rb-btn:focus-visible { filter: brightness(1.15); outline: none; }
  .rb-logout { display: inline-flex; align-items: center; gap: 5px; color: var(--rb-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
  .rb-logout:hover, .rb-logout:focus-visible { color: var(--rb-accent-3); outline: none; }

  .rb-side { position: fixed; top: var(--rb-header-h); bottom: 0; left: 0; z-index: 500; display: block; width: var(--rb-side-w); padding: 10px 10px 24px 20px; overflow: hidden auto; scrollbar-width: thin; scrollbar-color: #3d3128 transparent; transition: transform .25s ease; }
  .rb-side-collapsed .rb-side { transform: translateX(-100%); }

  .rb-body .page { width: auto; max-width: none; margin: 0 20px 0 calc(var(--rb-side-w) + 5px); padding-top: calc(var(--rb-header-h) + 20px); transition: margin-left .25s ease; }
  .rb-side-collapsed .page { margin-left: 20px; }

  /* 카트+배너가 화면보다 길면(1366×768 등) 열 안에서 스크롤한다(고정 위치라 페이지 끝까지 내려가야 보이는 문제 방지). */
  .rb-body .main-content .content-layout > .bet-panel { position: sticky; top: calc(var(--rb-header-h) + 10px); flex: 0 0 280px; width: 280px; max-height: calc(100vh - var(--rb-header-h) - 20px); overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3d3128 transparent; }
  .rb-side-banners { display: block; }

  .rb-quick, .rb-contact, .rb-footer__art, .rb-bottom { display: none !important; }
  .rb-visual { aspect-ratio: 1316 / 525; margin: 0 0 10px; border-radius: 5px; }
  .rb-visual__slide img { height: 100%; object-fit: contain; }
  .rb-games { margin: 0; padding: 0; }
  .rb-games ul { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .rb-games li { margin: 2px; }
  .rb-game__title { font-size: 34px; }
  .rb-section { margin: 30px 0; padding: 0; }
  .rb-section__head { margin: 0 0 20px; padding: 0 0 15px; border-bottom: 2px solid #fff; }
  .rb-section__head h2 { gap: 10px; font-size: 22px; }
  .rb-section__sub { color: #fff; font-size: 12px; }
  .rb-section__nav { gap: 10px; }
  .rb-section__nav button { width: 30px; height: 30px; border-radius: 8px; background: var(--rb-panel-2); }
  .rb-events__track { grid-auto-columns: calc((100% - 60px) / 5); gap: 15px; }
  .rb-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 25px 0; padding: 0; }
  .rb-board { padding: 14px 16px; border: 1px solid rgba(232, 168, 68, .3); border-radius: 14px; background: rgba(54, 44, 37, .65); box-shadow: 0 8px 26px rgba(102, 72, 46, .12); }
  .rb-board__head { padding: 0 0 12px; }
  .rb-board__head h2 { font-size: 17px; }
  .rb-board__more { font-size: 12px; }
  .rb-board__list { min-height: 200px; }
  .rb-board__list li { padding: 9px 4px; font-size: 13px; }
  .rb-board__list time { font-size: 12px; }
  .rb-partners { margin: 25px 0 35px; }
  .rb-partners__item { width: 184px; height: 68px; margin-right: 14px; padding: 8px 16px; border-radius: 2px; box-shadow: 0 4px 14px rgba(102, 72, 46, .1); }
  .rb-partners__item img { width: 150px; }

  .rb-footer { padding: 16px 0 26px; background: transparent; }
  .rb-footer__bar { flex-wrap: nowrap; justify-content: space-between; padding: 14px 22px; }
  .rb-footer__left { gap: 16px; }
  .rb-footer__age { width: 41px; }
  .rb-footer__copy { font-size: 13px; }
}
@media (min-width: 1300px) {
  .rb-mbtn, .rb-ticker { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1799px) {
  .rb-quicknav__link span:not(.account-bar__badge) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rb-quicknav__link { padding: 0 7px; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .rb-header__collapse { margin-left: 12px; }
  .rb-member { gap: 10px; }
  .rb-user__suffix, .rb-btn .rb-icon { display: none; }
  /* 로그아웃은 아이콘만 보이되 글자는 화면 읽기 프로그램용으로 남긴다. */
  .rb-logout span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rb-user strong { max-width: 7em; }
  .rb-btn { padding: 0 10px; }
  .rb-money__item { padding: 0 7px; }
}
/* 1024~1299px PC 배치(좌측 메뉴는 겹침, 2026-11-09 샴페인 v2 에서 761~1199 → 1024~1299). x.98px 상한: 화면 배율(125% 등)로 폭이 1199.2px 처럼 소수가 되어도 어느 배치에도 안 걸리는 틈이 없게 한다. */
@media (min-width: 1024px) and (max-width: 1299.98px) {
  /* 공지 흐름(좌측 메뉴 안 공지가 기본으로 닫혀 있어 헤더 바 아래에 고정): 바 60 + 공지 34 + 선 1 */
  :root { --rb-header-h: 95px; }
  .rb-header__collapse { margin: 0 auto 0 12px; }
  /* 회원 빠른 메뉴(출석부·쪽지함 등)는 회원 버튼 패널로 연다. 전체 메뉴는 좌측 메뉴가 맡는다. */
  .rb-quicknav, .rb-mbtn--menu { display: none !important; }
  .rb-mbtn { flex: 0 0 auto; margin-left: 4px; }
  /* 좌측 메뉴: 기본 닫힘, 헤더 버튼으로 본문 위에 연다(ruby-shell.js 의 rb-side-open, 저장하지 않음). 닫힌 동안은 inert. */
  .rb-side { z-index: 900; background: var(--rb-bg); box-shadow: 12px 0 32px rgba(0, 0, 0, .55); visibility: hidden; transform: translateX(-100%); transition: transform .25s ease, visibility .25s ease; }
  html.rb-side-open .rb-side { visibility: visible; transform: none; }
  html.rb-side-open .rb-side-backdrop { position: fixed; inset: var(--rb-header-h) 0 0; z-index: 899; display: block; background: rgba(0, 0, 0, .55); }
  .rb-body .page, .rb-side-collapsed .page { margin: 0 16px; }
  .rb-games ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-events__track { grid-auto-columns: calc((100% - 30px) / 3); }
  .rb-footer__bar { flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 1024px) and (max-width: 1151.98px) {
  .rb-brand { flex-basis: 170px; width: 170px; }
  .rb-user, .rb-money__item--point, .rb-money > .rb-money__item ~ .rb-money__item { display: none; }
}
@media (max-width: 1023.98px) {
  .rb-header__collapse { display: none !important; }
  .rb-body .page { padding-top: 0; }
  /* 모바일 하단 그림(footer_ruby_mobile.png)에 19세 표시·저작권이 들어 있어 막대에서는 뺀다(시안 모바일 .footer 와 같다). */
  .rb-footer__left { display: none; }
  .rb-footer__bar { margin-top: 8px; }
  /* 2026-11-01 운영 요청: 모바일 메인에서는 안내 링크·쿠키삭제 줄을 숨긴다(다른 화면·PC 는 그대로). */
  .rb-footer--home .rb-footer__bar { display: none; }
  .rb-body .main-content .content-layout > .bet-panel .bet-panel-inner { border-radius: 0; }
}
@media (max-width: 360px) {
  .rb-header__bar { gap: 6px; padding: 9px 8px; }
  .rb-auth-btn { padding: 5px 7px; }
  .rb-section__sub { display: none; }
  .rb-board__head { flex-wrap: wrap; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-marquee, .rb-partners__track { animation: none; }
  .rb-marquee { padding-left: 0; }
  .rb-visual__track, .rb-side, .rb-body .page, .lm-row::before, .rb-game::before { transition: none; }
}
