
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   1. 기본 설정
======================================== */
#royal_root {
  --royal_bg: #08090b;
  --royal_surface: #14161a;
  --royal_gold: #e5b95c;
  --royal_gold-light: #f5d68b;
  --royal_text: #f3f3f3;
  --royal_muted: #96989f;
  --royal_max-width: 1440px;
  --royal_page-gap: 32px;
}
#royal_root, #royal_root * {
  box-sizing: border-box;
}
#royal_root {
  margin: 0;
  background: var(--royal_bg);
  color: var(--royal_text);
  font: 14px 'Noto Sans KR', sans-serif;
}
#royal_root button,
#royal_root input,
#royal_root select {
  font: inherit;
}
#royal_root button {
  cursor: pointer;
}
#royal_root a {
  color: inherit;
  text-decoration: none;
}
#royal_root [hidden] {
  display: none !important;
}
#royal_root .royal_container {
  width: min(calc(100% - var(--royal_page-gap) * 2), var(--royal_max-width));
  margin-inline: auto;
}
#royal_root button:focus-visible,
#royal_root a:focus-visible,
#royal_root input:focus-visible,
#royal_root select:focus-visible {
  outline: 2px solid var(--royal_gold);
  outline-offset: 2px;
}

/* ========================================
   2. 헤더
======================================== */
#royal_root .royal_site-header {
  height: 76px;
  background: #08090b;
  border-bottom: 1px solid #25262b;
  position: relative;
  z-index: 20;
}
#royal_root .royal_header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
#royal_root .royal_logo-space {
  width: 220px;
  height: 52px;
  flex-shrink: 0;
}
#royal_root .royal_desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.7vw, 29px);
  white-space: nowrap;
}
#royal_root .royal_desktop-nav a {
  font-size: 13px;
  font-weight: 600;
}
#royal_root .royal_desktop-nav a:hover,
#royal_root .royal_desktop-nav a.royal_active {
  color: var(--royal_gold);
}
#royal_root .royal_header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
#royal_root .royal_btn {
  border: 0;
  border-radius: 7px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 800;
}
#royal_root .royal_btn-outline {
  background: transparent;
  color: white;
  border: 1px solid #5a5a60;
}
#royal_root .royal_btn-gold {
  color: #17120a;
  background: linear-gradient(135deg, #f5d586, #c99438);
}
#royal_root .royal_btn:hover {
  filter: brightness(1.1);
}
#royal_root .royal_header-actions .royal_btn {
  border-radius: 22px;
}
#royal_root .royal_menu-toggle {
  display: none;
  width: 38px;
  border: 0;
  background: none;
}
#royal_root .royal_menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 6px 0;
}
#royal_root .royal_mobile-nav {
  display: none;
}

/* ========================================
   3. 메인 배너 - 이미지 전용
======================================== */
#royal_root .royal_hero {
  position: relative;
  width: min(calc(100% - var(--royal_page-gap) * 2), var(--royal_max-width));
  margin-inline: auto;
  height: auto;
  aspect-ratio: 5 / 2;
  min-height: 0;
  overflow: hidden;
  background: #090909;
}

/* 배너 슬라이드 */
#royal_root .royal_hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#royal_root .royal_hero-slide.royal_is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 배너 이미지 */
#royal_root .royal_hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 이미지 안에 그려진 버튼 클릭 영역 */
#royal_root .royal_hero-image-cta {
  position: absolute;
  left: 7.5%;
  top: 72%;
  width: 15%;
  height: 11%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 2;
}
#royal_root .royal_hero-image-cta:focus-visible {
  outline: 2px solid #f5d586;
  outline-offset: 3px;
}

/* 배너 좌우 이동 버튼 */
#royal_root .royal_hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
#royal_root .royal_hero-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}
#royal_root .royal_hero-prev {
  left: 20px;
}
#royal_root .royal_hero-next {
  right: 20px;
}

/* 배너 하단 페이지 표시 */
#royal_root .royal_hero-dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
#royal_root .royal_hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s;
}
#royal_root .royal_hero-dots button.royal_active {
  width: 28px;
  background: var(--royal_gold);
}

/* ========================================
   4. 바로가기 메뉴
======================================== */
#royal_root .royal_main-content {
  padding-bottom: 35px;
}
#royal_root .royal_quick-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #13161a;
  border: 1px solid #34363d;
  border-radius: 10px;
  overflow: hidden;
}
#royal_root .royal_quick-item {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 0;
  background: transparent;
  color: white;
  position: relative;
  text-align: left;
}
#royal_root .royal_quick-item:hover {
  background: #24252a;
}
#royal_root .royal_quick-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  width: 1px;
  height: 38px;
  background: #37383d;
}
#royal_root .royal_quick-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #272521;
  color: var(--royal_gold);
  display: grid;
  place-items: center;
}
#royal_root .royal_quick-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}
#royal_root .royal_quick-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#royal_root .royal_quick-text strong {
  font-size: 15px;
}
#royal_root .royal_quick-text small {
  font-size: 11px;
  color: #aaa;
}

/* ========================================
   5. 게임 카테고리
======================================== */
#royal_root .royal_content-section {
  margin-top: 28px;
}
#royal_root .royal_categories-section {
  margin-top: 22px;
}
#royal_root .royal_category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}
#royal_root .royal_category-card {
  position: relative;
  height: 235px;
  border: 1px solid #393435;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(0deg, #08090cf5, transparent 75%),
    var(--royal_card-color);
  transition: transform 0.2s;
}
#royal_root .royal_category-card:hover,
#royal_root .royal_provider-card:hover {
  transform: translateY(-4px);
}
#royal_root .royal_placeholder-caption {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff40;
  font-size: 10px;
  letter-spacing: 1px;
}
#royal_root .royal_card-copy {
  position: absolute;
  left: 18px;
  right: 15px;
  bottom: 16px;
}
#royal_root .royal_card-copy h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
#royal_root .royal_card-copy small {
  font-size: 12px;
  color: #bbb;
}
#royal_root .royal_card-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29px;
  height: 29px;
  border: 1px solid var(--royal_gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--royal_gold);
}

/* ========================================
   6. 인기 게임
======================================== */
#royal_root .royal_section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
#royal_root .royal_section-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
}
#royal_root .royal_section-title-line h2 {
  color: var(--royal_gold);
  font-size: 19px;
  margin: 0;
}
#royal_root .royal_section-title-line p {
  color: #aaa;
  font-size: 11px;
}
#royal_root .royal_view-all {
  color: #bbb;
  font-size: 12px;
}
#royal_root .royal_provider-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
#royal_root .royal_provider-card {
  height: 175px;
  position: relative;
  border: 1px solid #353237;
  border-radius: 9px;
  overflow: hidden;
  background:
    linear-gradient(0deg, #090a0df5, transparent 80%),
    var(--royal_card-color);
  transition: transform 0.2s;
}
#royal_root .royal_provider-copy {
  position: absolute;
  bottom: 15px;
  left: 14px;
  right: 10px;
}
#royal_root .royal_provider-copy h3 {
  font-size: 15px;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
#royal_root .royal_provider-copy small {
  font-size: 12px;
}

/* ========================================
   7. 스포츠 배팅
======================================== */
#royal_root .royal_sports-panel {
  margin-top: 24px;
  min-height: 174px;
  border: 1px solid #31343b;
  border-radius: 10px;
  background: #111419;
  display: grid;
  grid-template-columns: 59% 41%;
  overflow: hidden;
}
#royal_root .royal_sports-info {
  padding: 20px;
}
#royal_root .royal_sports-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
}
#royal_root .royal_sports-heading h2 {
  color: var(--royal_gold);
  font-size: 21px;
  margin: 0;
  white-space: nowrap;
}
#royal_root .royal_sports-heading p {
  color: #aaa;
  font-size: 11px;
}
#royal_root .royal_sports-buttons {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
#royal_root .royal_sport-button {
  height: 75px;
  min-width: 0;
  border: 1px solid #252931;
  border-radius: 7px;
  background: #171a20;
  color: #a9abb2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
#royal_root .royal_sport-button span {
  font-size: 10px;
}
#royal_root .royal_sport-button .royal_sport-icon {
  font-size: 27px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9abb2;
  transition: color 0.2s ease;
}

/* SVG 아이콘 호환 */
#royal_root .royal_sport-button svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* 선택한 스포츠 */
#royal_root .royal_sport-button.royal_active {
  color: #f0c969;
  background: linear-gradient(#25251f, #302918);
  border-color: #bc9447;
  box-shadow: inset 0 -2px 0 var(--royal_gold);
}
#royal_root .royal_sport-button.royal_active .royal_sport-icon {
  color: #f0c969;
}
#royal_root .royal_sport-button:hover {
  color: #e0c078;
  border-color: #806a3f;
}
#royal_root .royal_sport-button:hover .royal_sport-icon {
  color: #f0c969;
}

/* 스포츠 오른쪽 이미지 영역 */
#royal_root .royal_sports-visual {
  position: relative;
  min-height: 174px;
  background: linear-gradient(90deg, #111419, #3c3022);
}
#royal_root .royal_sports-more {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 0;
  background: none;
  color: var(--royal_gold);
}

/* ========================================
   8. 푸터
======================================== */
#royal_root .royal_site-footer {
  background: #0c0e12;
  border-top: 1px solid #292b30;
}
#royal_root .royal_footer-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 0;
}
#royal_root .royal_footer-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 58px;
}
#royal_root .royal_footer-feature:not(:last-child) {
  border-right: 1px solid #303137;
}
#royal_root .royal_feature-icon {
  color: var(--royal_gold);
}
#royal_root .royal_feature-icon svg {
  width: 35px;
  height: 35px;
}
#royal_root .royal_footer-feature strong {
  font-size: 13px;
}
#royal_root .royal_footer-feature p {
  color: var(--royal_muted);
  font-size: 11px;
  margin: 5px 0 0;
}
#royal_root .royal_footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 75px;
  border-top: 1px solid #24262a;
}
#royal_root .royal_footer-logo-space {
  width: 160px;
  height: 42px;
}
#royal_root .royal_footer-bottom p,
#royal_root .royal_footer-links a {
  color: #999;
  font-size: 11px;
}
#royal_root .royal_footer-links {
  display: flex;
  gap: 18px;
}

/* ========================================
   9. 로그인 / 회원가입 모달 공통
======================================== */
#royal_root .royal_modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #000c;
  backdrop-filter: blur(7px);
}
#royal_root .royal_modal-backdrop.royal_is-open {
  display: flex;
}
#royal_root .royal_auth-modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: min(90vh, 1000px);
  overflow-y: auto;
  background: linear-gradient(150deg, #222329, #121317 75%);
  border: 1px solid #806735;
  border-radius: 15px;
  box-shadow: 0 24px 80px #000b;
  padding: 33px 35px 30px;
  scrollbar-width: thin;
  scrollbar-color: #806735 #151515;
}
#royal_root .royal_modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: 0;
  color: #ddd;
  font-size: 30px;
  z-index: 2;
}
#royal_root .royal_modal-heading {
  text-align: center;
  margin-bottom: 26px;
}
#royal_root .royal_modal-crown {
  display: block;
  color: var(--royal_gold);
  font-size: 34px;
}
#royal_root .royal_section-kicker {
  color: var(--royal_gold);
  font-size: 10px;
  letter-spacing: 2px;
}
#royal_root .royal_modal-heading h2 {
  font-size: 27px;
  margin: 10px 0 5px;
}
#royal_root .royal_modal-heading p {
  color: var(--royal_muted);
  font-size: 12px;
}
#royal_root .royal_form-message {
  text-align: center;
  color: var(--royal_gold-light);
  font-size: 13px;
  line-height: 1.6;
}
#royal_root .royal_form-message:empty {
  display: none;
}

/* ========================================
   10. 로그인 모달
======================================== */
#royal_root .royal_login-form {
  display: flex;
  flex-direction: column;
}
#royal_root .royal_login-form > label {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
#royal_root .royal_login-form > input {
  height: 46px;
  background: #0e0f13;
  border: 1px solid #383a40;
  border-radius: 6px;
  padding: 0 14px;
  color: white;
  margin-bottom: 17px;
}
#royal_root .royal_login-form > input:focus {
  border-color: var(--royal_gold);
}
#royal_root .royal_auth-submit {
  height: 48px;
}
#royal_root .royal_auth-switch {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  margin-top: 20px;
}
#royal_root .royal_auth-switch button {
  background: none;
  border: 0;
  color: var(--royal_gold);
  font-weight: 800;
}

/* ========================================
   11. 회원가입 모달
======================================== */
#royal_root .royal_auth-modal.royal_signup-mode {
  width: min(990px, calc(100vw - 40px));
  max-width: 990px;
  padding: 36px 39px 39px;
  border-radius: 24px;
  border: 1px solid #66512c;
  background:
    linear-gradient(155deg, #202126, #15161a 45%, #0b0c0f);
}
#royal_root .royal_signup-mode .royal_modal-heading {
  text-align: left;
  margin-bottom: 30px;
}
#royal_root .royal_signup-mode .royal_modal-crown,
#royal_root .royal_signup-mode .royal_section-kicker {
  display: none;
}
#royal_root .royal_signup-mode .royal_modal-heading h2 {
  color: var(--royal_gold-light);
  font-size: 34px;
  margin: 0 0 6px;
}
#royal_root .royal_signup-mode .royal_modal-heading p {
  color: #aaa;
  font-size: 15px;
}
#royal_root .royal_signup-mode .royal_modal-close {
  top: 28px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #29292c;
  border: 1px solid #45403a;
  color: #e6d0a5;
}
#royal_root .royal_signup-form {
  display: block;
}
#royal_root .royal_signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 24px;
}
#royal_root .royal_form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
#royal_root .royal_form-field.royal_full-width {
  grid-column: 1 / -1;
}
#royal_root .royal_form-field label {
  color: #dedede;
  font-size: 15px;
  font-weight: 800;
}
#royal_root .royal_form-field input,
#royal_root .royal_form-field select {
  width: 100%;
  min-width: 0;
  height: 67px;
  padding: 0 21px;
  border: 1px solid #3a3a3d;
  border-radius: 16px;
  background: #101114;
  color: #f2f2f2;
  font-size: 16px;
  outline: none;
}
#royal_root .royal_form-field input::placeholder {
  color: #77777e;
}
#royal_root .royal_form-field input:focus,
#royal_root .royal_form-field select:focus {
  border-color: #d8ac58;
  box-shadow: 0 0 0 3px #d8ac581a;
}

/* 휴대폰 인증 */
#royal_root .royal_phone-row {
  display: flex;
  gap: 13px;
  min-width: 0;
}
#royal_root .royal_phone-row input {
  flex: 1;
  min-width: 0;
}
#royal_root .royal_verify-send,
#royal_root .royal_verify-confirm {
  flex: 0 0 162px;
  border: 1px solid #94733a;
  border-radius: 16px;
  background: linear-gradient(145deg, #493b25, #2c271e);
  color: #f3d38a;
  font-size: 17px;
  font-weight: 800;
}
#royal_root .royal_verify-confirm {
  color: #17120a;
  background: linear-gradient(135deg, #f5d586, #c99438);
}
#royal_root .royal_verify-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
#royal_root .royal_verify-area input {
  background: #1a1b1e;
}
#royal_root .royal_verify-message {
  margin: 0;
  color: #aaa;
  font-size: 13px;
}
#royal_root .royal_verify-message.royal_error {
  color: #ff6975;
}
#royal_root .royal_verify-message.royal_success {
  color: var(--royal_gold);
}

/* 가입 유형 */
#royal_root .royal_signup-divider {
  height: 1px;
  background:
    linear-gradient(90deg, transparent, #514127, transparent);
  margin: 28px 0;
}
#royal_root .royal_account-type-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid #3d3b38;
  border-radius: 19px;
  background: #101114;
}
#royal_root .royal_account-type {
  height: 60px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #999;
  font-size: 19px;
  font-weight: 800;
}
#royal_root .royal_account-type.royal_active {
  background:
    linear-gradient(115deg, #f6d991, #d9a94d, #b78330);
  color: #19140c;
}
#royal_root .royal_account-details {
  margin-top: 25px;
}
#royal_root #royal_signupNetwork {
  background: #201c16;
  border-color: #75592c;
  color: #f1ce81;
  font-weight: 800;
}

/* 가입 완료 */
#royal_root .royal_signup-submit {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: 45px;
  border: 1px solid #e2ba69;
  border-radius: 16px;
  background:
    linear-gradient(110deg, #f7dc99, #e5ba64, #c99438);
  color: #1a1409;
  font-size: 21px;
  font-weight: 900;
}
#royal_root .royal_signup-submit:hover {
  filter: brightness(1.1);
}
#royal_root .royal_signup-notice {
  margin: 15px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

/* ========================================
   12. 태블릿 반응형
======================================== */

@media (max-width: 1200px) {
#royal_root .royal_logo-space {
    width: 145px;
  }
#royal_root .royal_desktop-nav {
    gap: 13px;
  }
#royal_root .royal_desktop-nav a {
    font-size: 12px;
  }
#royal_root .royal_header-actions .royal_btn {
    padding: 10px 14px;
  }
#royal_root .royal_sports-panel {
    grid-template-columns: 65% 35%;
  }
#royal_root .royal_sports-info {
    padding: 20px 14px;
  }
#royal_root .royal_sports-buttons {
    gap: 5px;
  }
}

@media (max-width: 1024px) {
#royal_root { --royal_page-gap: 20px; }
#royal_root .royal_desktop-nav {
    display: none;
  }
#royal_root .royal_header-inner {
    justify-content: space-between;
  }
#royal_root .royal_menu-toggle {
    display: block;
  }
#royal_root .royal_mobile-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #14161b;
    padding: 12px 32px;
  }
#royal_root .royal_mobile-nav.royal_is-open {
    display: grid;
  }
#royal_root .royal_mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #292b30;
  }
#royal_root .royal_hero-arrow {
    width: 34px;
    height: 42px;
    font-size: 25px;
  }
#royal_root .royal_hero-prev {
    left: 10px;
  }
#royal_root .royal_hero-next {
    right: 10px;
  }

  /* 카테고리 */
#royal_root .royal_category-grid {
    gap: 10px;
  }
#royal_root .royal_provider-grid { gap: 10px; }
#royal_root .royal_category-card {
    height: 200px;
  }
#royal_root .royal_card-copy h3 {
    font-size: 16px;
  }
#royal_root .royal_provider-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 스포츠 */
#royal_root .royal_sports-panel {
    grid-template-columns: 1fr;
  }
#royal_root .royal_sports-visual {
    min-height: 180px;
  }
}

/* ========================================
   13. 모바일 반응형
======================================== */

@media (max-width: 767px) {
#royal_root {
    --royal_page-gap: 15px;
  }

  /* 헤더 */
#royal_root .royal_site-header {
    height: 62px;
  }
#royal_root .royal_logo-space {
    width: 100px;
    height: 38px;
  }
#royal_root .royal_mobile-nav {
    top: 62px;
  }
#royal_root .royal_header-actions {
    gap: 6px;
  }
#royal_root .royal_header-actions .royal_btn {
    padding: 8px 10px;
    font-size: 11px;
  }
#royal_root .royal_menu-toggle {
    width: 30px;
  }

  /* 모바일 배너 */
#royal_root .royal_hero-banner-img {
    object-fit: cover;
    object-position: center;
  }
#royal_root .royal_hero-arrow {
    width: 28px;
    height: 36px;
    font-size: 22px;
  }
#royal_root .royal_hero-prev {
    left: 5px;
  }
#royal_root .royal_hero-next {
    right: 5px;
  }
#royal_root .royal_hero-dots {
    bottom: 10px;
  }

  /* 바로가기 */
#royal_root .royal_quick-actions { margin-top: 12px; }
#royal_root .royal_categories-section { margin-top: 16px; }
#royal_root .royal_content-section { margin-top: 22px; }
#royal_root .royal_sports-panel { margin-top: 18px; }
#royal_root .royal_quick-item {
    min-height: 75px;
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
#royal_root .royal_quick-icon {
    width: 38px;
    height: 38px;
  }
#royal_root .royal_quick-icon svg {
    width: 23px;
    height: 23px;
  }
#royal_root .royal_quick-text strong {
    font-size: 11px;
  }
#royal_root .royal_quick-text small {
    display: none;
  }

  /* 카테고리 */
#royal_root .royal_category-grid {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
#royal_root .royal_category-card {
    height: 190px;
  }
#royal_root .royal_category-card:last-child {
    grid-column: span 2;
  }
#royal_root .royal_section-title-line h2 {
    font-size: 17px;
  }
#royal_root .royal_section-title-line p {
    display: none;
  }
#royal_root .royal_provider-grid {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
#royal_root .royal_provider-card {
    height: 165px;
  }

  /* 스포츠 */
#royal_root .royal_sports-heading {
    flex-wrap: wrap;
    gap: 6px;
  }
#royal_root .royal_sports-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
#royal_root .royal_sport-button {
    height: 65px;
  }
#royal_root .royal_sport-button .royal_sport-icon {
    font-size: 23px;
    width: 28px;
    height: 28px;
  }
#royal_root .royal_sport-button svg {
    width: 21px;
    height: 21px;
  }

  /* 푸터 */
#royal_root .royal_footer-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
#royal_root .royal_footer-feature {
    justify-content: flex-start;
    padding-left: 10px;
  }
#royal_root .royal_footer-feature:nth-child(2) {
    border-right: 0;
  }
#royal_root .royal_footer-feature strong {
    font-size: 11px;
  }
#royal_root .royal_footer-feature p {
    font-size: 10px;
  }
#royal_root .royal_footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
  }
#royal_root .royal_footer-logo-space {
    height: 20px;
  }

  /* 로그인 모달 */
#royal_root .royal_auth-modal {
    padding: 30px 23px 25px;
  }

  /* 회원가입 모달 */
#royal_root .royal_auth-modal.royal_signup-mode {
    width: calc(100vw - 20px);
    padding: 27px 20px;
    border-radius: 18px;
    max-height: 94vh;
  }
#royal_root .royal_signup-mode .royal_modal-heading h2 {
    font-size: 27px;
  }
#royal_root .royal_signup-mode .royal_modal-close {
    top: 18px;
    right: 17px;
    width: 40px;
    height: 40px;
  }
#royal_root .royal_signup-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
#royal_root .royal_form-field.royal_full-width {
    grid-column: auto;
  }
#royal_root .royal_form-field label {
    font-size: 13px;
  }
#royal_root .royal_form-field input,
#royal_root .royal_form-field select {
    height: 52px;
    border-radius: 12px;
    font-size: 13px;
    padding: 0 12px;
  }
#royal_root .royal_phone-row {
    gap: 8px;
  }
#royal_root .royal_verify-send,
#royal_root .royal_verify-confirm {
    flex-basis: 90px;
    border-radius: 12px;
    font-size: 12px;
  }
#royal_root .royal_account-type {
    height: 49px;
    font-size: 15px;
  }
#royal_root .royal_signup-submit {
    height: 57px;
    margin-top: 30px;
    font-size: 17px;
  }
}

/* ========================================
   14. 애니메이션 접근성
======================================== */

@media (prefers-reduced-motion: reduce) {
#royal_root, #royal_root *,
#royal_root::before, #royal_root *::before,
#royal_root::after, #royal_root *::after {
    transition-duration: 0.01ms !important;
  }
}




/* PC / 태블릿 배너 : 2000 × 800 */
#royal_root .royal_hero {
  aspect-ratio: 5 / 2;
}
#royal_root .royal_hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
#royal_root .royal_hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 모바일 배너 : 750 × 900 */
@media (max-width: 767px) {
#royal_root .royal_hero {
	margin-top: 80px;
    aspect-ratio: 5 / 6;
    min-height: 0;
    max-height: none;
  }
#royal_root .royal_hero-banner-img {
    object-fit: cover;
  }
}


/* ========================================
   카테고리 이미지 표시
======================================== */

/* 카드 내부 */
#royal_root .royal_category-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

/* 이미지 */
#royal_root .royal_category-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: center 35%;

  transition: transform 0.3s ease;
}

/* 이미지 아래쪽을 어둡게 */
#royal_root .royal_category-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 65%,
    rgba(0, 0, 0, 0.95) 100%
  );

  pointer-events: none;
  z-index: 1;
}

/* 제목과 화살표를 이미지 위로 */
#royal_root .royal_category-card .royal_card-copy {
  position: absolute;
  z-index: 2;
}

/* 마우스를 올리면 이미지 살짝 확대 */
#royal_root .royal_category-card:hover .royal_category-img {
  transform: scale(1.06);
}


/* 인기 게임 카드 이미지 */
#royal_root .royal_provider-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}
#royal_root .royal_provider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.3s ease;
}

/* 아래쪽 텍스트 가독성 */
#royal_root .royal_provider-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
  pointer-events: none;
}
#royal_root .royal_provider-card .royal_provider-copy {
  position: absolute;
  z-index: 2;
}
#royal_root .royal_provider-card:hover .royal_provider-img {
  transform: scale(1.06);
}


/* 스포츠 배너 */
#royal_root .royal_sports-panel {
  position: relative;
  overflow: hidden;
  height: 240px;
  min-height: 0;
  padding: 20px 24px;
  box-sizing: border-box;

  background-image: url("images/sports-banner.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
  background-color: #08090b;
}

/* 왼쪽 제목과 스포츠 버튼을 이미지 위에 표시 */
#royal_root .royal_sports-info {
  position: relative;
  z-index: 2;
}

/* 오른쪽 영역의 기존 배경 제거 */
#royal_root .royal_sports-visual {
  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* 전체보기 버튼 */
#royal_root .royal_sports-more {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 3;
}

/* 모바일 화면 */
@media (max-width: 768px) {
#royal_root .royal_sports-panel {
    background-position: 65% center;
  }
}


/* 스포츠 배너 높이 조절 - PC */
#royal_root .royal_sports-panel {
  height: 240px;
  min-height: 0;
  padding: 20px 24px;
  box-sizing: border-box;

  background-size: cover;
  background-position: center 55%;
}

/* 스포츠 버튼 크기 조절 */
#royal_root .royal_sports-buttons {
  margin-top: 20px;
}

/* 모바일에서는 높이 자동 조절 */
@media (max-width: 768px) {
#royal_root .royal_sports-panel {
    height: auto;
    min-height: 220px;
    padding: 20px 16px;
    background-position: 65% center;
  }
}


/* 헤더 로고 */
#royal_root .royal_logo-space {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 200px;
  height: 60px;
}
#royal_root .royal_site-logo {
  display: block;
  width: 100%;
  max-height: 55px;
  object-fit: contain;
  object-position: left center;
}

/* 모바일 로고 크기 */
@media (max-width: 768px) {
#royal_root .royal_logo-space {
    width: 140px;
    height: 48px;
  }
#royal_root .royal_site-logo {
    max-height: 42px;
  }
}

/* Only the standalone document opts into a body reset. */
body.royal_page { margin: 0; }
/* Only active while this component owns an open modal. */
body.royal_modal-open { overflow: hidden; }
#royal_root { min-width: 0; }

/* 카테고리 카드 화살표 */
#royal_root .royal_card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

#royal_root .royal_card-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #e5b95c;
  border-right: 1.5px solid #e5b95c;
  transform: rotate(45deg);
  margin-right: 3px;
}
/* 카테고리 카드 화살표 */
#royal_root .royal_card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

#royal_root .royal_card-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #e5b95c;
  border-right: 1.5px solid #e5b95c;
  transform: rotate(45deg);
  margin-right: 3px;
}

/* 인기 게임 제목 앞 화살표 */
#royal_root .royal_popular-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

#royal_root .royal_popular-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 3px solid #e5b95c;
  border-right: 3px solid #e5b95c;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 무기명 입출금 - 테더 컬러 */
#royal_root .royal_quick-icon.royal_usdt-icon {
  background-color: rgba(38, 161, 123, 0.12);
  color: #26A17B;
}

#royal_root .royal_usdt-icon svg {
  color: #26A17B;
  stroke: #26A17B;
}
