/* =========================================================
   ROS 2026 QUALIFIER - LIVE RUNTIME STYLESHEET
   =========================================================
   This file is currently the production stylesheet used by:
   - qualifier/index.html

   Maintenance rules for now:
   - Keep `/qualifier` as the primary scope
   - Treat standalone `/apply` page styles as separate
   - Do not remove legacy blocks until runtime usage is confirmed
   - 2026 redesign blocks live in the lower half of this file

   Quick map:
   - common/base/layout
   - main visual / tabs
   - legacy guide/update/event blocks
   - standalone `/apply` blocks
   - popup / responsive blocks
   - appended 2026 qualifier redesign blocks
   ========================================================= */

@font-face {
    font-family: 'NexonWarhaven';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/WarhavenR.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'NexonWarhaven';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/WarhavenB.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* =========================================================
   SECTION: COMMON / BASE / LAYOUT
   Source origin: merged common.css
   ========================================================= */

/* === Import: common.css === */
/* --- Lines 1 to 314 --- */
/* 

  ROS 2025 Qualifier Page Styles

  Concept: Tournament, Match, Competition

  Colors: Maroon, Red, Gold

*/



body.popup-open #floating-btns {
  display: none !important;
}
/* Left stroke removed as per user request */

:root {
  /* Refined Core Palette */
  --color-maroon: #5e1515;
  --color-maroon-dark: #3b0c0c;
  --color-maroon-mid: #7a1c1c;
  --color-red: #9a1a2e;
  /* Sophisticated Gold — warm champagne, not bright yellow */
  --color-gold: #c9a84c;
  --color-gold-light: #e0c87a;
  --color-gold-dim: #7e6428;
  --color-gold-subtle: rgba(201, 168, 76, 0.18);
  /* Deep, warm-tinted backgrounds */
  --color-black: #0c0707;
  --color-deep: #100909;
  --color-surface: #180d0d;
  --color-surface-2: #1e1010;
  --color-white: #f5ede0;
  --color-off-white: #d8c9b4;
  --color-gray: #7a6f6a;
  --color-gray-light: #a89890;
  /* Gradients — subtle, not loud */
  --gradient-gold: linear-gradient(135deg, #b8973a 0%, #d4b560 50%, #9e7d2a 100%);
  --gradient-maroon: linear-gradient(160deg, #5e1515 0%, #7a1c1c 100%);
  --gradient-dark: linear-gradient(180deg, #180d0d 0%, #100909 100%);
  /* Borders */
  --border-gold: 1px solid rgba(201, 168, 76, 0.3);
  --border-gold-bright: 1px solid rgba(201, 168, 76, 0.6);
  /* Shadows — no colored glow, just depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.7);
  --max-width: 1140px;
  --header-height: 56px;
  /* Font System */
  --font-display: 'NexonWarhaven', sans-serif;
  /* main title only */
  --font-main: 'Pretendard', sans-serif;
  --section-bg: url('../images/bg-guide.webp');
}

body {
  background-color: var(--color-deep);
  color: var(--color-off-white);
  font-family: var(--font-main);
  font-size: 15px;
  overflow-x: hidden;
  line-height: 1.7;
}



/* Typography Scale */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.3;
}

p {
  color: var(--color-off-white);
  line-height: 1.8;
}



/* Layout Containers */
.container {
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
  position: relative;
  display: flow-root;
}

.content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
/* --- Lines 555 to 616 --- */
/* Sections */
.section {
  padding: 0 0 100px;
  position: relative;
  margin-top: 0;
  z-index: 10;
  /* 메인 비주얼(z-index: 1)보다 앞으로 뺌 */
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast; /* 화질 열화 최소화 */
  background-color: var(--color-deep);
  border-top: none;
  /* 골드 테두리로 명확한 경계선 구분 */
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.95);
  /* 그림자 효과로 상단 메인 영역과 입체적 분리 */
}

section#event {
  padding-top: 100px;
  max-width: 1140px;
}

.content-inner {
  position: relative;
  z-index: 1;
}

/* --- Lines 4723 to 4794 --- */


/* ========================================

   MOBILE RESPONSIVE - Tablet (max-width: 768px)

   ======================================== */



/* =========================================================
   SECTION: QUALIFIER PAGE FRAME
   Includes:
   - main visual
   - tabs
   ========================================================= */

/* === Import: main-visual.css === */
/* --- Lines 380 to 554 --- */
/* Main Visual */
.main-visual {
  width: 100%;
  min-height: 100dvh;
  aspect-ratio: 2560 / 1080;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-color: var(--color-deep);
  position: relative;
  text-align: center;
}

.main-visual .main-visual-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-visual .main-visual-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.main-content .logo-wrap {
  animation: fadeInUp 1s ease-out 0.6s both;
}

@media screen and (max-width: 1024px) {
  .main-visual {
    width: 100%;
    background-image: url('../images/mo-visual.webp');
    background-size: cover;
    min-height: auto;
    aspect-ratio: 1080/1933;
    padding-bottom: 20px;
  }

  .main-visual .main-visual-video-wrap,
  .main-content .logo-wrap {display: none;}
}

.main-content .event-schedule-container {
    background: url('../images/title_data_bg.webp') no-repeat center center;
    background-size: 100% 100%;
    padding: 12px 60px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.event-schedule {
  font-size: 18px;
  color: var(--color-gold-light);
  font-weight: 600;
  animation: fadeInUp 1s ease-out 0.6s both;
  letter-spacing: 0.1em;
  opacity: 1;
  text-shadow: 0 0 20px rgba(224, 200, 122, 0.4);
}

.main-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.9s both;
  width: 100%;
  max-width: 560px;
}

.btn {
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  letter-spacing: 0.06em;
}

.scroll-down {
    animation: fadeInUp 1s ease-out 0.6s both;
    cursor: pointer;
    z-index: 10;
    margin-top: 20px;
}

@media screen and (max-width: 1024px) {

  .main-content .event-schedule-container,
  .main-visual .main-visual-video-wrap,
  .main-content .logo-wrap {display: none;}

  .main-buttons { margin-top: auto; }
}


/* === Import: tabs.css === */
/* --- Lines 617 to 663 --- */
/* Tabs */
.tabs {
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0;
  margin-bottom: 0;
  background: #583724;
  background: linear-gradient(to bottom, #583724, #4a2f1e);
  border-top: 4px solid #825439;
  box-shadow: none;
}

.tab-btn {
    flex: 1;
    max-width: 350px;
    height: 70px;
    background: linear-gradient(to bottom, #f7f1ed, #e7ddd7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    position: relative;
}

@media screen and (max-width: 1024px) {
  .tab-btn {
    height: 55px;
  }
}

.tab-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: #92654c;
}

.tab-btn:hover {
  background-image: linear-gradient(to bottom, #f7f1ed, #e7ddd7), linear-gradient(rgba(110, 70, 40, 0.5), rgba(110, 70, 40, 0.5));
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.tab-btn.active {
    background-image: linear-gradient(to bottom, #f7f1ed, #e7ddd7), linear-gradient(rgba(25, 10, 5, 0.5), rgba(25, 10, 5, 0.3));
    -webkit-background-clip: text, border-box;
    background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 600;
    border: none;
    box-shadow: none;
}

/* =========================================================
   SECTION: LEGACY QUALIFIER CONTENT BLOCKS
   Notes:
   - Still potentially used by qualifier/index.html
   - Includes older guide/update/event shared styles
   - Do not prune blindly; later 2026 blocks override some of these
   ========================================================= */

/* === Import: tab-guide.css === */
/* --- Lines 1081 to 1566 --- */

/* --- Lines 3497 to 3754 --- */

/* Tournament Detailed Info Styles */
.detail-list {
  list-style: none;
}
.detail-list.bullet li {
    padding-left: 10px;
    position: relative;
}
.detail-list li span {
    display: inline-block;
    width: 125px;
    color: #51290f;
    font-weight: 700;
}

.detail-list.bullet li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #b67554;
}
.detail-list li {
    font-size: 13px;
    color: #331705;
    margin-bottom: 8px;
    line-height: 1.4;
}
/* --- Lines 4033 to 4210 --- */
/* New Reward Data Table */

.reward-table-wrapper {
  overflow: visible;
  border: none;
  /* Removed border to prevent clipping issues */
}

.reward-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  table-layout: fixed;
}

.reward-data-table th {
  background: #3e1b0c;
  color: var(--color-gold);
  padding: 12px;
  font-weight: 900;
  border: 1px solid #5d3a24;
  position: sticky;
  top: 0;
  z-index: 50;
  /* Higher z-index to stay above everything */
}



.reward-data-table td {
  padding: 15px;
  border: 1px solid #d4c1aa;
  vertical-align: top;
}



.reward-data-table .rank-title {

  background: #fdfaf5;

  color: #4a0e0e;

  font-weight: 900;

  text-align: center;

  vertical-align: middle;

  font-size: 14px;

  white-space: normal;

  padding: 10px !important;

}



.game-type-cell {

  text-align: left;

  padding: 20px 15px !important;

}

.item-list-dot {
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}



.item-list-dot li {
  font-size: 12px;
  color: #444;
  margin-bottom: 5px;
  line-height: 1.6;
}

/* =========================================================
   SECTION: STANDALONE /APPLY PAGE STYLES
   Warning:
   - This block is NOT the qualifier index apply-entry card redesign
   - These selectors belong to standalone apply/visit style flow
   - Keep separate from `/qualifier/index.html` cleanup decisions
   ========================================================= */

/* === Import: tab-apply.css === */
/* --- Lines 1567 to 2140 --- */
/* ========================================

   MOBILE RESPONSIVE - Small Phone (max-width: 480px)

   ======================================== */

/* =========================================================
   SECTION: LEGACY EVENT / REWARD / DETAIL BLOCKS
   Notes:
   - Mixed qualifier-era event styling
   - Some selectors may still be referenced by current popup/event markup
   ========================================================= */

/* === Import: tab-event.css === */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

/* Costume Preview Section */

.costume-preview-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}



.costume-preview-card {
  background: transparent;
  border: none;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  box-shadow: none;
}



.costume-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #4a0e0e;
  padding-bottom: 15px;
  text-align: center;
  width: 70%;
  margin: 0 auto;
}

.costume-preview-card .rank-label {
  padding: 4px 15px;
  font-size: 14px;
  font-weight: 900;
  border-radius: 5px;
  color: #000;
}

.costume-preview-card .rank-label.gold {
  background: var(--color-gold);
}

.costume-preview-card .rank-label.silver {
  background: #c0c0c0;
}

.costume-preview-card .rank-label.bronze {
  background: #cd7f32;
  color: #fff;
}

.costume-title {
  font-size: 18px;
  color: #4a0e0e;
  margin: 0;
  font-weight: 600;
}

.preview-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 80%;
  max-width: 250px;
  margin: 0 auto;
}

.preview-boxes .box img {
  object-fit: contain;
}

/* =========================================================
   SECTION: POPUPS / FLOATING BUTTONS
   ========================================================= */

/* === Import: popup-common.css === */
/* --- Lines 801 to 1080 --- */
/* Popups */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}



.popup-container {
  max-width: 900px;
  width: 92%;
  max-height: 85vh;
  background: var(--color-black);
  border: 1px solid var(--color-gold-dark);
  border-radius: 4px;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
  padding: 0 40px 50px;
  /* Top padding removed to fix sticky header clipping */
}



/* External Close Button */

/* Popup TOP button */
.popup-top-btn {
  position: sticky;
  bottom: -20px !important;
  /* Forced 20px down from the viewport bottom */
  right: 0px !important;
  margin-left: auto;
  width: 50px;
  height: 50px;
  background: #4a0e0e !important;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  box-shadow: none !important;
  margin-top: 0 !important;
  transition: all 0.3s;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  opacity: 0;
  pointer-events: none;
}

.popup-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-top-btn:hover {
  background: #6b1414;
}

.popup-top-btn i {
  font-size: 20px;
}



.popup-close {
  position: absolute;
  bottom: calc(100% + 5px);
  right: 0;
  font-size: 50px;
  color: #cca353;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transform: rotate(90deg);
}

.popup-close.no-interaction {
  transition: none;
}

.popup-close.no-interaction:hover {
  transform: none;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Lines 2733 to 2968 --- */
/* Floating Buttons */

.floating-btns {
  --floating-btn-size: 60px;
  --floating-btn-gap: 8px;
  position: fixed;
  right: 30px;
  bottom: 50px;
  width: var(--floating-btn-size);
  height: calc(var(--floating-btn-size) * 2 + var(--floating-btn-gap));
  z-index: 1000;
}

.float-btn {
  width: var(--floating-btn-size);
  height: var(--floating-btn-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--shadow-md);
}

.btn-apply {
  position: absolute;
  right: 0;
  top: auto;
  bottom: 0;
  background: var(--color-maroon);
  color: var(--color-off-white);
  text-decoration: none;
  line-height: 1.3;
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition:
    bottom 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.floating-btns.visible .btn-apply {
  bottom: calc(var(--floating-btn-size) + var(--floating-btn-gap));
}

.btn-apply:hover {
  background: var(--color-maroon-mid);
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}


.btn-top {
  position: absolute;
  right: 0;
  top: auto;
  bottom: 0;
  background: var(--gradient-gold);
  color: #1c0e0e;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    filter 0.25s ease;
}



.floating-btns.visible .btn-top {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}



.btn-top:hover {
  transform: scale(1.08);
  filter: brightness(1.08);
}



/* Animations */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* --- Lines 2969 to 3496 --- */
/* Parchment Popup Style */

.popup-container.parchment {
  background: #fdfaf5;
  color: #333;
  border: 8px solid #e5d9c8;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.popup-container.parchment .popup-close {
  color: #4a0e0e;
}

/* Shimmer sweep animation */

@keyframes goldSweep {

  0% {

    transform: translateX(-100%) skewX(-20deg);

  }



  100% {

    transform: translateX(300%) skewX(-20deg);

  }

}

.rank-label {
  width: 80px;

  height: 30px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 900;

  font-size: 14px;

  background: #eee;

  color: #333;

}

/* =========================================================
   SECTION: RULES POPUP / REWARD DETAIL POPUP
   ========================================================= */

/* === Import: popup-rules.css === */
/* --- Lines 4211 to 4694 --- */
/* Rules Popup Styles (Exact Match to Reference) */

.rules-popup-container {
  background: url('../images/ros-intro-section-bg.webp') no-repeat center center;
  background-size: cover;
  width: 90%;
  max-width: 800px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  border: 5px solid #cca353;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  font-family: var(--font-main);
  z-index: 1002;
}

.rules-header {
  background: #cca353;
  padding: 20px 0 0 0;
  text-align: center;
  position: relative;
}



.rules-header h2 {

  color: #ffffff;

  font-size: 22px;

  margin: 0 0 16px 0;

  font-weight: 700;

  letter-spacing: 0.05em;

  display: inline-block;

}



.rules-header h2::before {

  content: '+ ';

  margin-right: 8px;

  font-weight: 300;

  opacity: 0.8;

}



.rules-header h2::after {

  content: ' +';

  margin-left: 8px;

  font-weight: 300;

  opacity: 0.8;

}



.rules-close {

  color: #fff;

  font-size: 30px;

  cursor: pointer;

  line-height: 1;

}



.rules-tabs {

  display: flex;

  background: #f0e6d6;

  border-top: 2px solid #b8903e;

  border-bottom: 1px solid #dcd1be;

  width: 100%;

}



.rules-tab-btn {

  flex: 1;

  padding: 14px 0;

  border: none;

  background: none;

  font-size: 14px;

  font-weight: 700;

  color: #7c6853;

  cursor: pointer;

  border-right: 1px solid #e1d6c4;

  transition: all 0.2s;

}



.rules-tab-btn:hover {

  background: #ebdcc5;

  color: #4a0e0e;

}



.rules-tab-btn:last-child {

  border-right: none;

}



.rules-tab-btn.active {

  background: url('../images/ros-intro-section-bg.webp') no-repeat center center;
  background-size: cover;

  color: #cca353;

  border-bottom: 3px solid #cca353;

}



.rules-content-area {

  padding: 30px;

  max-height: 500px;

  overflow-y: auto;

}



.rules-content-area::-webkit-scrollbar {

  width: 8px;

}



.rules-content-area::-webkit-scrollbar-track {

  background: #f4ece0;

  border-radius: 4px;

}



.rules-content-area::-webkit-scrollbar-thumb {

  background: #cca353;

  border-radius: 4px;

}



.rules-content-area::-webkit-scrollbar-thumb:hover {

  background: #b8903e;

}



.rules-list {

  list-style: none;

  padding: 0;

  margin: 0;

}



.rules-list li {

  position: relative;

  padding-left: 20px;

  margin-bottom: 15px;

  font-size: 15px;

  color: #333333;

  line-height: 1.7;

}



.rules-list li strong {

  color: #b8903e;

}



.rules-list .bullet {

  position: absolute;

  left: 0;

  top: 8px;

  width: 6px;

  height: 6px;

  background: var(--color-gold);

  border-radius: 50%;

}



.rules-list-num {

  padding: 0;

  margin: 0;

  list-style: none;

  counter-reset: rule-counter;

}



.rules-list-num>li {

  position: relative;

  padding-left: 30px;

  margin-bottom: 16px;

  font-size: 15px;

  color: #333333;

  line-height: 1.8;

}



.rules-list-num>li::before {

  counter-increment: rule-counter;

  content: counter(rule-counter) ".";

  position: absolute;

  left: 0;

  top: 0;

  font-weight: 700;

  color: #b8903e;

  font-size: 15px;

}



.rules-table {

  width: 100%;

  border-collapse: collapse;

  margin: 20px 0;

  background: url('../images/ros-intro-section-bg.webp') no-repeat center center;
  background-size: cover;

  border: 1px solid #cca353;

  font-size: 13.5px;

}



.rules-table th,
.rules-table td {
  border: 1px solid #e2d2ba;
  padding: 10px 12px;
  text-align: left;
  width: 30%;
}



.rules-table th {
  background: #cca353;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #fff;
  border-top: 0;
  text-align: center;
}

.rules-table th:last-child {border-right: 0;}
.rules-table th:first-child {border-left: 0;}



.rules-table td {
  color: #333333;
}



.rules-table tbody tr:nth-child(odd) {
  background-color: #fcfaf5;
}



.rules-table tbody tr:nth-child(even) {
  background-color: #f4ece0;
}



.arrow-text {
  margin-top: 10px;
  padding: 10px;
  background: #f4ece0;
  border-radius: 5px;
  font-size: 14px;
  color: #333333;
  line-height: 1.6;
  border: 1px dashed #cca353;
}



.rules-list-num li.important {
  color: #c41e3a;
  font-weight: bold;
  margin-top: 10px;
}



.rule-sub-text {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}



.inner-tab-btn.active {
  color: #4a0e0e;
  background: #fdfaf5;
  border-radius: 5px 5px 0 0;
}



.inner-tab-content {
  display: none;
}



.inner-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}



/* Marker Styles */

.rule-red-text {
  color: #5a5248;
  font-size: 14px;
  font-weight: 600;
}

.notice-card li.rule-red-text::before {
  content: none !important;
}

.notice-card li.rule-red-text {
  padding-left: 0 !important;
}



.rule-btn-container {
  text-align: center;
  margin-top: 40px;
}



.btn-notice-wrapper {
  margin-top: 20px;
}



.btn-notice-wrapper p {
  margin-bottom: 8px;
  line-height: 1.5;
}



@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================================
   SECTION: RESPONSIVE OVERRIDES
   Notes:
   - Contains both qualifier and standalone apply overrides
   - Inline-style override selectors are concentrated here
   ========================================================= */

/* === Import: responsive.css === */
@media screen and (max-width: 768px) {
  /* --- Lines 4795 to 5706 --- */
  /* GNB */

  .gnb-menu {
    display: none;
  }



  .gnb-inner {
    justify-content: center;
  }


  .main-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }


  .main-buttons .btn {
    min-width: 260px;
    width: 100%;
    max-width: 320px;
    font-size: 14px;
    padding: 12px 20px;
  }


  /* Sections */

  .section {
    padding: 0 0 60px;
  }



  .content-inner {

    padding: 0 16px;

  }



  .tab-btn {

    font-size: 18px;

    min-width: 140px;

    padding: 16px 12px;

  }



  /* Content Blocks */

  .content-box {

    padding: 28px 20px;

    margin-bottom: 30px;

  }



  .sub-title {

    font-size: 20px;

    margin-bottom: 24px;

  }



  /* Reward Section */

  .reward-main {

    padding: 24px;

  }




  .reward-desc strong {

    font-size: 22px;

  }



  .reward-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

  }



  .reward-card {

    padding: 16px 12px;

  }



  .medal-img img {

    width: 45px;

  }



  .reward-card p {

    font-size: 12px;

  }



  .reward-card .detail {

    font-size: 11px;

  }



  /* Steps */

  .step-item {

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    padding: 20px;

  }



  .step-num {

    min-width: auto;

    font-size: 16px;

  }



  .step-title {

    font-size: 16px;

  }



  /* Venue Info */

  .venue-info {

    flex-direction: column !important;

    gap: 16px !important;

  }



  .venue-image {

    width: 100% !important;

  }



  /* Tournament Info */

  .tournament-info-tabs {

    grid-template-columns: 1fr;

    gap: 20px;

  }



  .info-block {

    white-space: normal;

  }



  .info-block .detail-list li {

    white-space: normal;

  }


  /* Experience Circles */

  .exp-circles {

    gap: 12px;

  }



  .circle {

    width: 130px;

    height: 130px;

    font-size: 14px;

  }



  .circle span {

    font-size: 22px;

  }



  .rank-rewards {

    gap: 16px;

  }



  .exp-card h3 {

    font-size: 18px;

  }



  /* Popups */

  .popup-wrapper {

    width: 96% !important;

    max-width: 100% !important;

  }



  .popup-container {

    max-height: 80vh;

    padding: 0 20px 30px;

  }

  /* Reward Detail Popup */

  .popup-main-title {

    font-size: 24px !important;

    margin-bottom: 20px !important;

  }



  .costume-preview-section {

    gap: 20px;

  }



  .preview-boxes {

    flex-direction: column;

    gap: 10px;

  }



  /* Reward Table - vertical scroll, fix thead overlap */

  .reward-table-wrapper {

    overflow: visible;

  }



  .reward-data-table {

    font-size: 12px;

    table-layout: fixed;

    min-width: auto;

  }



  .reward-data-table th {

    position: sticky;

    top: -1px;

    z-index: 50;

    /* Cover 1px border gap with shadow matching parchment bg */

    box-shadow: 0 -20px 0 0 #fdfaf5;

  }



  #popup-reward-detail .popup-container {

    overflow-y: auto;

    overflow-x: hidden;

  }



  .reward-data-table th,

  .reward-data-table td {

    padding: 8px 6px;

  }



  .item-list-dot li {

    font-size: 12px;

  }



  /* Rules Popup */

  .rules-popup-container {

    width: 96%;

    max-height: 85vh;

    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;

    flex-direction: column;
  }



  .rules-content-area {

    padding: 20px 16px 30px;

    flex: 1;

    overflow-y: auto;

    max-height: none;

  }



  .rules-tabs {

    flex-wrap: wrap;

    flex-shrink: 0;

  }



  .rules-tab-btn {

    font-size: 12px;

    padding: 10px 4px;

  }



  .rules-list li {

    font-size: 13px;

    padding-left: 16px;

  }



  .rules-list-num>li {
    font-size: 13px;
    padding-left: 25px;
  }



  .rules-table {

    font-size: 11px;

  }



  .rules-table th,
  .rules-table td {
    padding: 6px;
  }



  /* Update Popup */

  .popup-container.parchment {

    padding: 30px 20px !important;

  }



  .popup-container.parchment h1 {

    font-size: 24px !important;

    margin-top: 20px !important;

  }



  .popup-container.parchment h2 {

    font-size: 20px !important;

  }



  /* Reward Detail Popup - title top margin removed */

  #popup-reward-detail .popup-container h2 {

    margin-top: 0 !important;

  }



  /* Floating Buttons - btn-apply always visible, btn-top hidden until scroll */

  .floating-btns {
    --floating-btn-size: 48px;
    right: 16px;
    bottom: 24px;
    width: var(--floating-btn-size);
    height: calc(var(--floating-btn-size) * 2 + var(--floating-btn-gap));
    opacity: 1;
    pointer-events: auto;
  }



  .floating-btns .btn-apply {

    display: flex;

  }



  .floating-btns .btn-top {

    display: none;

  }



  .floating-btns.visible .btn-top {

    display: flex;

  }



  .float-btn {
    width: var(--floating-btn-size);
    height: var(--floating-btn-size);
    font-size: 10px;
  }



  /* Footer */

  .footer-inner {

    flex-direction: column;

    gap: 10px;

    padding: 0 20px;

  }



  .footer-logo-img {

    height: 30px;

  }



  .footer-copy {

    font-size: 11px;

    text-align: center;

  }



  /* Notice Card */

  .notice-card {

    padding: 16px;

  }



  .notice-card li {

    font-size: 12px;

    line-height: 1.6;

  }



  /* Parchment sections */

  .content-box.parchment-bg {

    padding: 30px 20px !important;

    border-width: 4px !important;

  }



  .content-box.support-event {

    padding: 30px 20px !important;

    border-width: 4px !important;

  }



  /* Period Badge - force single line */

  .period-badge {

    font-size: 11px;

    padding: 4px 14px;

    height: auto;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;

  }



  /* Event Section Title - shrink */

  .content-box.support-event .sub-title {

    font-size: 22px !important;

  }



  /* Tier Rows - vertical center */

  .tier-row {

    align-items: center !important;

  }


  /* EXP Circles - force horizontal */

  .exp-circles {

    flex-direction: row !important;

    justify-content: center;

  }



  /* TOP Button - sticky at bottom of scroll area */

  .popup-top-btn {

    position: sticky !important;

    bottom: 0 !important;

    float: right;

    width: 40px;

    height: 40px;

    margin: 0 !important;

    z-index: 50;

  }



  .popup-top-btn i {

    font-size: 16px;

  }


  /* ===================================================
     모바일 최적화: 이벤트 탭 인라인 스타일 오버라이드
     =================================================== */

  /* 이벤트 아이템 카드 4열 → 2열 */
  #event div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* EVENT 4 경품 4열 → 2열 */
  #event div[style*="grid-template-columns: repeat(4, 1fr)"][style*="max-width: 960px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 이벤트 보상 박스 flex → 세로 방향 */
  #event div[style*="display: flex"][style*="gap: 40px"] {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

  /* 이벤트 보상 아이템 카드 내부 아이템 폰트/이미지 축소 */
  .item-card img {
    max-width: 100% !important;
    height: auto !important;
  }

  .item-card p {
    font-size: 11px !important;
  }

  /* EVENT 2 응원봉 이미지 축소 */
  .event2-col img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 인라인 폰트 전반 오버라이드 */
  #event div[style*="font-size: 20px"] {
    font-size: 16px !important;
  }

  /* === ROS 소개 섹션 모바일 === */
  .ros-intro-section {
    padding: 60px 0 100px !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px)) !important;
    min-height: auto !important;
    margin-bottom: 80px !important;
  }

  .ros-title {
    font-size: 28px !important;
  }

  .ros-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
    padding: 0 10px !important;
  }

  .ros-logo img {
    max-width: 154px !important;
  }

  #apply-tab {
    min-height: auto !important;
    padding: 40px 0px !important;
  }

  .apply-container-new {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    padding: 0 !important;
  }

  /* === 갤러리 팝업 모바일 === */
  .gallery-nav-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
  }

  .gallery-nav-btn.prev-btn {
    left: 10px !important;
  }

  .gallery-nav-btn.next-btn {
    right: 10px !important;
  }

  .gallery-close-btn {
    top: 15px !important;
    right: 15px !important;
    font-size: 36px !important;
  }

  .gallery-counter-span {
    font-size: 16px !important;
    padding: 8px 20px !important;
    bottom: 20px !important;
  }

  /* === 팝업 내부 테이블 가로 스크롤 방지 === */
  .rules-table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* === 2026 변경사항 맵 이미지 모바일 === */
  .map-main-img,
  .stadium-main-img {
    border-width: 2px !important;
  }

  .map-detail-img,
  .stadium-sub-img {
    width: calc(50% - 4px) !important;
    border-width: 1px !important;
  }

  /* === 추가 모바일 최적화 (고정폭 인라인 스타일 전면 오버라이드) === */
  div[style*="max-width: 800px"],
  div[style*="max-width: 600px"],
  div[style*="max-width: 960px"],
  img[style*="max-width: 600px"],
  img[style*="max-width: 380px"],
  .notice-card[style*="max-width: 800px"],
  .map-list[style*="max-width: 800px"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  th[style*="width: 200px"],
  th[style*="width: 250px"] {
    width: auto !important;
    min-width: 100px !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }

  img[style*="width: 150px"],
  img[style*="width: 140px"] {
    width: 100% !important;
    max-width: 120px !important;
    height: auto !important;
  }

  /* tab-event.html 추가 고정폭 대응 */
  div[style*="max-width: 260px"] {
    max-width: 100% !important;
  }

  .item-card[style*="max-width: 320px"] {
    max-width: 100% !important;
    padding: 15px !important;
  }

  img[style*="width: 160px"],
  img[style*="width: 110px"],
  img[style*="width: 120px"] {
    max-width: 100% !important;
    height: auto !important;
  }

  /* tab-guide.html 오시는 길(venue-info) 레이아웃 모바일 대응 */
  .venue-info[style*="display: flex"] {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: flex-start !important;
  }

  .venue-image[style*="width: 300px"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .venue-details {
    width: 100% !important;
  }

  .venue-table {
    width: 100% !important;
  }

  /* === 사용자 요청: 한국 대표 선발전 보상 안내 카드 세로 정렬 === */
  .reward-table-container>div,
  .reward-table-container>div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
  }

}

@media screen and (max-width: 480px) {



  .event-title {

    font-size: 30px;

  }



  .game-logo img {

    max-width: 140px !important;

  }



  .tab-btn {

    font-size: 15px;

    min-width: 110px;

    padding: 14px 8px;

  }



  .content-box {

    padding: 20px 14px;

  }



  .sub-title {

    font-size: 17px;

  }



  .reward-grid {

    grid-template-columns: 1fr;

    gap: 10px;

  }



  .reward-main {
    padding: 16px;
  }



  .exp-circles {

    flex-direction: row !important;

    justify-content: center;

    gap: 10px;

  }



  .circle {

    width: 110px;

    height: 110px;

    font-size: 12px;

  }



  .circle span {

    font-size: 18px;

  }



  .rank-rewards {

    flex-direction: column;

    align-items: center;

    gap: 20px;

  }



  .btn {

    font-size: 13px;

    padding: 10px 16px;

  }



  .btn-sm {

    font-size: 12px;

    padding: 8px 16px;

  }



  .tier-row span {

    font-size: 12px !important;

  }



  .popup-container.parchment {

    padding: 20px 14px !important;

  }



  .costume-preview-card {

    padding: 10px;

  }



  .costume-header-row {

    flex-direction: column;

    gap: 6px;

  }



  .rank-label {

    width: 60px;

    height: 24px;

    font-size: 12px;

  }



  .rules-popup-container {
    width: 95%;
  }



  .rules-header h2 {

    font-size: 16px;

  }



  .rules-content-area {

    padding: 16px 12px;

    max-height: 400px;

  }



  /* ===================================================
     모바일 최적화 480px: 소형 폰 추가 오버라이드
     =================================================== */

  /* 이벤트 아이템 카드 4열→2열 유지, 이미지 더 축소 */
  .item-card img {
    width: 40px !important;
    height: 40px !important;
  }

  /* ROS 소개 더 축소 */
  .ros-intro-section {
    padding: 40px 0 70px !important;
    margin-bottom: 50px !important;
  }

  .ros-title {
    font-size: 22px !important;
  }

  .ros-description {
    font-size: 13px !important;
  }

  .apply-card .card-header-text h3 {
    font-size: 20px !important;
  }

  /* EVENT 4 경품 그리드 */
  #event div[style*="grid-template-columns: repeat(4, 1fr)"][style*="max-width: 960px"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* 현장 경품 텍스트 축소 */
  #event h3[style*="font-size: 26px"] {
    font-size: 18px !important;
  }

  /* 갤러리 이미지 높이 auto */
  .gallery-img-wrapper img {
    height: auto !important;
    max-height: 60vh !important;
  }

}

/* =========================================================
   SECTION: 2026 QUALIFIER REDESIGN BLOCKS
   Notes:
   - These are the latest live qualifier styles
   - They override many earlier legacy rules by source order
   - Keep this relative order stable during future cleanup
   ========================================================= */

/* --- ROS Intro Section Redesign --- */
.ros-intro-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  background: url('../images/ros-intro-section-bg.webp') no-repeat center center;
  background-size: cover;
  padding: 100px 0 160px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), 50% 100%, 0 calc(100% - 90px));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  box-sizing: border-box;
  min-height: 100vh;
  margin-bottom: 150px;
}

.ros-intro-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.ros-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.ros-logo {
  margin-bottom: 25px;
}

.ros-logo img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.ros-title {
  font-family: var(--font-display);
  font-size: 48pt;
  background: linear-gradient(to bottom, #743f11, #43250a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #743f11;
  margin-bottom: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ros-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: 15px 0 25px;
}

.ros-divider img {
  max-width: 100%;
  height: auto;
}

.ros-description {
  font-family: var(--font-main);
  font-size: 19px;
  color: #3f362a;
  max-width: 800px;
  line-height: 1.8;
  font-weight: 500;
  word-break: keep-all;
}

/* ---------------------------------------------------------
   2026 QUALIFIER: APPLY-ENTRY BLOCK INSIDE qualifier/index.html
   Important:
   - This is NOT the standalone `/apply` page flow above
   - Keep with qualifier page styles
   --------------------------------------------------------- */

/* --- Apply Tab Section Redesign --- */
#apply-tab {
  padding: 80px 0;
}

#apply-tab .notice-simple {
  max-width: 868px;
  margin: 20px auto;
}

.apply-container-new {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.apply-card {
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
}

.apply-card:hover {
  transform: translateY(-8px);
}

.apply-card .card-header-text h3 {
  font-family: var(--font-main);
  font-size: 28px;
  color: #ffffff;
  font-weight: 900;
  margin-top: 20px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.btn-apply-action {
  display: inline-flex;
  justify-content: center;
  font-size: clamp(13px,2vw,16px);
  line-height: 1;
  background-color: #271a1a;
  background-image: linear-gradient(180deg, rgba(36,24,24,0.7) 0%, rgba(36,24,24,0.7) 100%);
  border: 1px solid #4f3f3f;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 14px 0;
  cursor: pointer;
  width: 80%;
  max-width: 250px;
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1024px) {
  .btn-apply-action {
    width: 60%;
  }
}

.apply-card:hover .btn-apply-action {
  background-color: #55290d;
  background-image: linear-gradient(180deg, rgba(77,37,12,0.7) 0%, rgba(77,37,12,0.7) 100%);
  border: 1px solid #83421a;
}

.apply-center-content {
  text-align: center;
  margin-bottom: 80px;
}

.apply-center-content h2 {
  background: linear-gradient(
    180deg,
    #fffef8 0%,
    #f4e8cf 32%,
    #d9bb84 62%,
    #b78645 82%,
    #fff1d7 100%
  );
  -webkit-background-clip: text;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(201, 168, 76, 0.5);
  }

  100% {
    transform: scale(1.03);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(201, 168, 76, 0.8);
  }
}

/* 모바일/테블릿 반응형 지원 */
@media screen and (max-width: 1200px) {
  .apply-container-new {
    flex-direction: column;
  }

  .apply-center-content h2 {
    white-space: normal;
    font-size: 36px;
  }
}


/* --- New Stadium Image Height Unification & Hover Interactions --- */
.stadium-main-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #e5d9c8;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.stadium-sub-img {
  width: calc(50% - 5px) !important;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e5d9c8;
  transition: all 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.stadium-main-img:hover,
.stadium-sub-img:hover {
  transform: translateY(-5px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.45);
}

/* --- Gallery Popup Redesign (Fixed Controls & Original Size) --- */
.gallery-close-btn {
  position: fixed;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 54px;
  cursor: pointer;
  z-index: 3010;
  transition: all 0.3s ease;
  line-height: 1;
}

.gallery-close-btn:hover {
  color: #c9a84c;
  transform: scale(1.1);
}

.gallery-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3005;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
}

.gallery-img-wrapper img {
  max-width: 90vw;
  max-height: 70vh;
  width: auto;
  height: 503px !important;
  /* 세로 사이즈가 작은 이미지 기준 세로 503px로 맞춤 */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.95);
  border: 3px solid #e5d9c8;
}

.gallery-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 12, 8, 0.7);
  border: 2px solid rgba(201, 168, 76, 0.5);
  color: #ffffff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3010;
  transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
  background: rgba(111, 74, 29, 0.9);
  border-color: #c9a84c;
  color: #c9a84c;
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-btn.prev-btn {
  left: 40px;
}

.gallery-nav-btn.next-btn {
  right: 40px;
}

.gallery-counter-span {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  z-index: 3010;
  background: rgba(20, 12, 8, 0.85);
  padding: 10px 28px;
  border-radius: 24px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  letter-spacing: 0.1em;
}

/* --- Event Redesigns & Predict Team Styles --- */
.event-blue-box {
  background: #4a7ebb;
  border: 2px solid #2d588f;
  border-radius: 8px;
  padding: 30px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.event-blue-box h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Map Image Hover & Ratio Styles */
.map-main-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid #b67554;
    border-image: initial;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.map-main-img:hover {
  border-color: #cca353 !important;
  box-shadow: 0 10px 25px rgba(245, 221, 191, 0.35);
}

.map-detail-img {
  width: calc(50% - 5px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #b67554;
  border-image: initial;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.map-detail-img:hover {
  border-color: #cca353 !important;
  box-shadow: 0 8px 20px rgba(245, 221, 191, 0.3);
}

.map-header-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #cca353;
  border: 1px solid #b8903e;
  border-radius: 30px;
  padding: 6px 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(201, 168, 76, 0.25);
  transition: transform 0.2s ease;
}

.map-header-chip:hover {
  transform: scale(1.05);
}

/* Custom ROS Main Button */
.btn-ros-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1;
  background-color: #271a1a;
  background-image: linear-gradient(180deg, rgba(36,24,24,0.7) 0%, rgba(36,24,24,0.7) 100%);
  border: 1px solid #4f3f3f;
  border-radius: 3px;
  color: #f9ebda;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 360px;
  padding: 18px 0;
}
.btn-ros-main:hover {
  background-color: #55290d;
  background-image: linear-gradient(180deg, rgba(77,37,12,0.7) 0%, rgba(77,37,12,0.7) 100%);
  border: 1px solid #83421a;
  color: #f9ebda;
}

/* ROS Intro Characters */
.ros-ch-left, .ros-ch-right {
  position: absolute;
  bottom: 0;
  z-index: 1;
  opacity: 0;
  max-height: 90%;
  object-fit: contain;
}

.ros-ch-left {
  right: calc(50% + 420px);
  animation: fadeSlideInLeft 1.2s forwards 0.3s;
}

.ros-ch-right {
  left: calc(50% + 420px);
  animation: fadeSlideInRight 1.2s forwards 0.3s;
}

@media screen and (max-width: 1200px) {
  .ros-ch-left, .ros-ch-right {
    display: none;
  }
}

@keyframes fadeSlideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.ros-intro-container {
  position: relative;
  z-index: 10;
}
/* --- ROS Intro Star --- */
.ros-intro-star {
  position: relative;
  height: 0;
  text-align: center;
  z-index: 10;
  top: -230px; /* Use top to avoid pulling up the following elements */
  margin-top: 0; 
  pointer-events: none;
}
.ros-intro-star img {
  width: 32px;
  height: 32px;
  display: inline-block;
}
/* --- Mobile Fixes for Tabs and Intro Star --- */
@media screen and (max-width: 1024px) {
  .tabs {
    width: 100% !important;
    background: linear-gradient(to bottom, #583724, #4a2f1e) !important;
    border-top: none !important;
  }
  .tab-btn {
    min-width: 0 !important;
    font-size: 13px !important;
    padding: 10px 4px !important;
    letter-spacing: -0.5px !important;
    word-break: keep-all !important;
  }
  .ros-intro-star {
    display: none;
  }
  .ros-intro-star img {
    width: 32px !important;
    height: 32px !important;
  }
}
/* ---------------------------------------------------------
   2026 QUALIFIER: GUIDE TAB REDESIGN
   Includes:
   - reward section
   - step section
   - venue/info presentation
   --------------------------------------------------------- */

/* =========================================
   NEW REWARD & STEP SECTION STYLES
========================================= */

/* Common Container Styles */
.reward-section-new, .step-section-new {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #e5dcc3;
    font-family: var(--font-main);
}

.reward-section-new {
    margin-bottom: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: -30px;
}

.section-icon {
    width: 120px;
}

.section-header .sub-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(to bottom, #f2e7da, #ac9482);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.reward-container, .step-container-new {
    background: rgba(15, 5, 0, 0.8);
    border: 1px solid rgba(87, 70, 60, 0.5);
    border-radius: 3px;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Button Common */
.reward-btn-wrap {
    text-align: center;
    margin: 30px 0;
}

.btn-brown {
    background: linear-gradient(to bottom, #6d4224, #4a2712);
    border: 1px solid #8b5a2b;
    border-radius: 4px;
    color: #f6e6d1;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 40px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-brown:hover {
    background: linear-gradient(to bottom, #8b5a2b, #6d4224);
    box-shadow: 0 4px 10px rgba(139, 90, 43, 0.4);
}

.btn-brown-sm {
    background: linear-gradient(to bottom, #e29416, #e98c10);
    border: 1px solid #e58c0d;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-brown-sm:hover {
    filter: brightness(1.15);
}

/* Simple Notice */
.notice-simple {
    background-color: #271207;
    padding: 25px 15px;
    margin-top: 20px;
    width: 100%;
    text-align: left;
}

.notice-simple h4 {
    font-size: 16px;
    color: #f6e6d1;
    margin-bottom: 10px;
}

.notice-simple ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-simple li {
    font-size: 13px;
    color: #c4b5a3;
    line-height: 1.6;
    margin-bottom: 5px;
}

.notice-simple li::before {
  content: "-";
  margin-right: 5px;
}

.popup-container .notice-simple {
  background-color: transparent;
}

.popup-container .notice-simple h4 {
  color: #77370e;
}

.popup-container .notice-simple li {
  color: #333;
}

.highlight-red {
    color: #e55;
    font-weight: bold;
}

/* -------------------------------------
   REWARD SECTION SPECIFIC
------------------------------------- */

.reward-main-card {
    background: #3a2212;
    border: 1px solid #8b5a2b;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border-radius: 0;
    margin-bottom: 30px;
}

.corner-deco {
    position: absolute;
    width: 15px;
    height: 15px;
    opacity: 0.8;
}

.corner-deco.top-left { top: 8px; left: 8px; }
.corner-deco.top-right { top: 8px; right: 8px; }
.corner-deco.bottom-left { bottom: 8px; left: 8px;}
.corner-deco.bottom-right { bottom: 8px; right: 8px;}

.reward-desc,
#reward-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: #f6e6d1;
    line-height: 1.3;
    margin: 0px 0px 15px;
}

.reward-sub {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 700;
    color: #ffd6a4;
    display: inline-block;
    background: #1c0d05;
    padding: 5px 20px;
    border-radius: 30px;
    text-align: center;
    margin: 0;
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.reward-grid-item {
    background: #f1e9dd;
    border: 4px solid #231105;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 370px;
    padding: 50px 0;
}

.card-header {
    font-family: var(--font-display);
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1d5c8;
}

.card-header img {
    height: 48px;
    vertical-align: middle;
    margin-right: 10px;
}

.card-header span {
    font-size: clamp(32px,3.8vw,42px);
    font-weight: 900;
    color: #612702;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.card-header small {
    display: block;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-top: 5px;
}

.card-body {
    padding: 15px 40px 25px;
}

.card-title {
    font-size: clamp(24px, 3.7vw, 30px);
    font-weight: 900;
    color: #4f260c;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-list {
    list-style: none;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.card-list li {
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 500;
    color: #301709;
    line-height: 1.2;
    padding-left: 5px;
}

/* -------------------------------------
   STEP SECTION SPECIFIC
------------------------------------- */

.step-row {
    background: #f1ebe3;
    border: 1px solid #b67554;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 28px 20px;
}

.step-badge {
    background: #4c250c;
    color: #f6e6d1;
    font-size: 14px;
    font-weight: 900;
    padding: 6px 25px;
    border-radius: 20px;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
}

.step-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #301709;
}

.step-date {
    font-size: 14px;
    color: #666;
}

/* Step 4 Special Layout */
.step-row.step-4-wrap {
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
}

.step-info-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-4-content {
    display: flex;
    gap: 20px;
    padding: 15px 0px;
}

.vspace-img {
    width: 250px;
    border: 3px solid #c3a795;
    object-fit: cover;
}

.venue-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.venue-item {
    display: flex;
    font-size: 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dbcbc0;
}

.venue-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.v-label {
    width: 70px;
    color: #713108;
    font-weight: 600;
}

.v-value {
    color: #331705;
    font-weight: 400;
}

.v-link {
    color: #4a2712;
    font-weight: bold;
    text-decoration: underline;
}

.step-4-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.info-block-new h4 i {
    color: #77370e;
    margin-right: 5px;
}

.info-block-new h4 {
    font-size: 16px;
    color: #77370e;
    margin-bottom: 10px;
    border-bottom: 1px solid #d5c3ae;
    padding-bottom: 10px;
}

.label-w {
    display: inline-block;
    width: 125px;
    color: #8b5a2b;
    font-weight: bold;
}


/* Responsive */
@media screen and (max-width: 768px) {
    .reward-grid {
        grid-template-columns: 1fr;
    }
    .reward-container, .step-container-new {
        padding: 20px 13px;
    }
    .step-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .step-4-content {
        flex-direction: column;
    }
    .vspace-img {
        width: 100%;
        height: auto;
    }
    .step-4-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Theme Table for Update Tab */
.dark-table {
  background: rgba(20, 10, 5, 0.5) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #f5f0ed !important;
}
.dark-table th {
  background: rgba(40, 20, 10, 0.8) !important;
  color: #d5c3ae !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
}
.dark-table td {
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #f5f0ed !important;
}
.dark-table tbody tr:nth-child(odd) {
  background-color: rgba(30, 15, 5, 0.6) !important;
}
.dark-table tbody tr:nth-child(even) {
  background-color: rgba(20, 10, 5, 0.4) !important;
}

#update .section-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

/* ---------------------------------------------------------
   2026 QUALIFIER: UPDATE TAB REDESIGN
   --------------------------------------------------------- */

/* --- 2026 Update Section Designs --- */
.update-section-card-wrap {
  margin-bottom: 130px;
}

@media screen and (max-width: 1024px) {
  .update-section-card-wrap {
    margin-bottom: 75px;
  }
}

.update-section-card {
    background: rgba(20, 10, 5, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 55px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.update-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.section-stadium .update-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
    text-align: center;
    border-bottom: 1px solid #2c2827;
    padding-bottom: 20px;
    width: 100%;
}

.update-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background: linear-gradient(to bottom, #6d4224, #4a2712);
    color: #fff;
    font-size: clamp(13px, 2vw, 24px);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    font-family: var(--font-main);
    padding: 11px 20px;
    line-height: 1;
}

.update-badge.number-badge {
  border-radius: 50%;
  background: #66381b;
  color: #ffd6a4;
  width: 55px;
  height: 55px;
  padding: 0;
}

@media screen and (max-width: 1024px) {
    .update-badge.number-badge {
        width: 40px;
        height: 40px;
    }
}

.update-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 700;
    background: linear-gradient(to bottom, #ffecd5 33%, #ac9482 71%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.update-title.update-title-type2 {
  font-size: clamp(26px, 4vw, 40px);
  background: none;
  color: #f1dfd7;
  -webkit-text-fill-color: initial;
}

.update-title-desc {
  color: #fff;
  font-size: clamp(14px, 2.5vw, 30px);
  font-weight: 500;
  margin-top: 6px;
}

.update-subtitle {
    color: #ffd6a4;
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    word-break: keep-all;
    line-height: 1.3;
    margin-top: 8px;
}

.map-header-ribbon {
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgb(56, 26, 8), rgb(43, 21, 6));
    border-width: 1px;
    border-style: solid;
    border-color: rgb(76, 36, 11);
    border-radius: 60px;
    border-image: initial;
    padding: 6px 30px;
    gap: 15px;
}

.map-header-ribbon::before,
.map-header-ribbon::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('../images/shape.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 5px;
}

.map-ribbon-title-en {
    color: #ffd6a4;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.map-ribbon-divider {
    width: 1px;
    height: 12px;
    background: #50290f;
}

.map-ribbon-title-ko {
    color: #f5ddbf;
    font-size: 13.5px;
    font-weight: 400;
    opacity: 0.95;
}

@media screen and (max-width: 1024px) {
  .map-header-ribbon {
    border-radius: 5px;
  }
  .map-ribbon-divider,
  .map-header-ribbon::before, 
  .map-header-ribbon::after {display: none;}
}



@media screen and (max-width: 768px) {
    .update-section-card {
        padding: 30px 15px;
    }

    .map-header-ribbon {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background: linear-gradient(90deg, #381a08, #2b1506);
    }
}

.map-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    border-radius: 12px;
}

.map-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .map-list {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Update Tab Specific Utility Classes */
.update-img-col {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
}

.update-img-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.update-img-standard {
    max-width: 100%;
    border: 1px solid #b67554;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.update-img-600 {
    /* max-width: 600px; */
    width: 100%;
}

.update-img-380 {
    max-width: 380px;
    width: 100%;
}

.update-debuff-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.update-debuff-container > * {
    flex: 1;
}

.debuff-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #b67554;
}

.debuff-table-wrapper {
    display: flex;
}

.debuff-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #1a0f08;
}

.debuff-table th, .debuff-table td {
    border: 1px solid #2c1a0e;
    text-align: center;
    vertical-align: middle;
}

.debuff-table th {
    background-color: #8f461d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 8px;
}

.debuff-table td {
    background-color: #f3ede2;
    color: #2c2827;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 5px;
    width: 50%;
}

.update-info-box {
    text-align: center;
    color: #bba694;
    margin-top: 15px;
    padding: 15px 30px;
}

.info-title {
    font-weight: 700;
    color: #ffd6a4;
    font-size: 16px;
    margin: 0;
}

.info-desc {
    font-weight: 600;
    margin-top: 8px;
    color: #e0d4c8;
    font-size: 14px;
}

.info-note {
    font-size: 12px;
    color: #cdbaa3;
    margin-top: 4px;
}

.update-npc-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
  .update-npc-row {
    flex-direction: column;  
  }
}

.update-npc-row > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.npc-title {
    font-weight: 700;
    color: #ffd6a4;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.npc-title::before, .npc-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    color: #ffd6a4;
    background-image: url(../images/shape.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.update-notice-card {
    text-align: left;
    width: 100%;
    background: rgba(30, 15, 8, 0.6) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 30px 30px !important;
    margin-top: 10px;
}

.update-notice-card h4 {
    color: #ffd6a4;
    font-size: 18px;
    font-weight: 700;
    border-bottom: none;
    margin-bottom: 15px;
}

.update-notice-card ul {
    color: #e0d4c8;
}

.update-notice-card li {
    color: #e0d4c8;
    margin-bottom: 7px;
    padding-left: 12px !important;
    line-height: 1.6;
    position: relative;
}

.update-notice-card li:last-child {
    margin-bottom: 0;
}

.update-notice-card li::before {
    content: '·' !important;
    color: #cdbaa3 !important;
    font-family: inherit !important;
    font-size: 20px !important;
    position: absolute !important;
    left: 0 !important;
    top: -8px !important;
    font-weight: 700 !important;
}

.skill-update-container {
    max-width: 860px;
    margin: 0 auto;
}

.skill-update-container .rules-table {
    border: 1px solid #3d1d0c !important;
}

.skill-update-container .rules-table th {
    background-color: #8c4211 !important;
    color: #ffffff !important;
    border: 1px solid #3d1d0c !important;
    padding: 9px 12px !important;
    font-size: 14px;
}

.skill-update-container .rules-table td {
    border: 1px solid #3d1d0c !important;
    background-color: #f1ebe3 !important;
    color: #1a0b04 !important;
    padding: 12px 15px !important;
    text-align: center !important;
    font-size: 14px;
}

.skill-update-container .rules-table tbody tr:nth-child(odd) td,
.skill-update-container .rules-table tbody tr:nth-child(even) td {
    background-color: #f1ebe3 !important;
}

.skill-update-container .rules-table th.col-before {
    width: 181px;
}

.skill-update-container .rules-table th.col-after {
    width: 251px;
}

.skill-update-container .rules-table td.highlight-cell {
    font-weight: 700 !important;
    text-align: left !important;
    background-color: #f7e3c9 !important;
}

.skill-update-container .rule-sub-text {
    margin-top: 10px !important;
    color: #ffd6a4 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* ---------------------------------------------------------
   2026 QUALIFIER: EVENT TAB REDESIGN
   --------------------------------------------------------- */

/* Event Tab Premium CSS */
.update-section-card1 .event-item-card {
  max-width: 131px;
}

.event-item-card .event-item-card-name-box{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #77370e;
  text-align: center;
  padding: 10px 5px;
  min-height: 90px;
}

.event-item-card p {
    font-size: 14px;
    font-weight: 400;
    color: #f1ebe3;
    margin: 0;
    line-height: 1.2;
}

@media screen and (max-width: 1024px) {
  .event-item-card p {
    font-size: 12px;
  }
}

.event-reward-column-title {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  color: #77370e;;
  font-family: var(--font-display);
  font-size: clamp(18px,2.4vw,32px);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #cbbaa6;
  font-weight: 700;;
  text-align: center;
  position: relative;
  line-height: 1.1;
}

.event-reward-column-title::before,
.event-reward-column-title::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-image: url('../images/shape.webp');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.event-reward-column-title::before {margin-right: auto;}
.event-reward-column-title::after {margin-left: auto;}

.event-item-card-img-wrap,
.event2-item-card-img-wrap {
  background-color: #fefbf9;
  border: 1px solid #e7dbcc;
  border-bottom: 0;
  text-align: center;
}

.event-item-card-img-wrap img,
.event2-item-card-img-wrap img {
  width: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
  .event-item-card-img-wrap img,
  .event2-item-card-img-wrap img {
    width: auto;
    max-width: 100%;
    object-fit: cover;
  }
}

.updata-section-card2 .event-reward-column-title {
  gap: 15px;
  margin-bottom: 7px;
  border-bottom: 0;
  padding-bottom: 0;
}

.updata-section-card2 .event-reward-column-title::before,
.updata-section-card2 .event-reward-column-title::after {
  margin-right: 0;
  margin-left: 0;
}

.updata-section-card2 .event2-reward-name-wrap {
  background-color: #77370e;
  padding: 7px 0;
}

.updata-section-card2 .event2-reward-name-wrap p {
  color: #f1ebe3;
  font-size: clamp(13px,2vw,16px);
  font-weight: 400;
}

.updata-section-card2 .event2-reward-img-wrap {
  background-color: #fefbf9;
  border: 1px solid #e7dbcc;
  border-top: 0;
  text-align: center;
}

.updata-section-card2 .event2-reward-img-wrap img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.updata-section-card2 .event2-reward-wrap {
  text-align: center;
  margin-bottom: 25px;
  max-width: 422px;
}

.updata-section-card2 .event2-reward-wrap:last-child {
  margin-bottom: 0;
}

.event2-reward-top-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background-color: #492f10;
  border: 1px solid #b67554;
  padding: 30px 0 15px;
  margin-bottom:30px;
  position: relative;
}

.event2-reward-top-main .corner-deco {
  width: 9px;
  height: 9px;
}

.event2-reward-top-main .event2-reward-top-img-wrap {
  max-width: 106px;
  margin: 0 auto;
}

.event2-reward-top-main .reward-name {
  background-color: #241606;
  border-radius: 30px;
  color: #ffd6a4;
  padding: 5px 35px;
  font-weight: 700;
  font-size: clamp(12px, 2vw, 16px);
  max-width: 100%;
  text-align: center;
}

.event3-card-title-wrap {
  text-align: center;
}

.event3-card-title-wrap .event3-card-title {
  font-family: var(--font-display);
  font-size: clamp(24px,3vw,42px);
  color: #ffc47d;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.025em;
}

.event3-card-title-wrap .event3-card-title span {
  color: #fff;
  font-size: clamp(22px,2.5vw,36px);
}

.event3-reward-card-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.event3-reward-card-wrap .event-item-card {
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
  background-color: #f1e8e3;
  border: 2px solid #b67554;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .event3-reward-card-wrap {
      gap: 10px;
  }

  .event3-reward-card-wrap .event-item-card {
      flex-basis: calc((100% - 10px) / 2);
      max-width: calc((100% - 10px) / 2);
  }
}


.event-predict-card {
    background: #f1ebe3;
    border: 1px solid #b67554;
    padding: 20px 15px;
}

.event-predict-card .team-name-header {
    text-align: center;
}

.event-predict-card .team-badge {
  background-color: #693f1d;
  border-radius: 30px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 5px 20px;
}

.event-predict-card .team-name {
  color: #77370e;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 27px);
  margin-top: 7px;
}

.event-predict-card .team-member-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid #cbbaa6;
  border-bottom: 1px solid #cbbaa6;
  padding: 20px 0;
  margin: 15px 0;
}

.event-predict-card .team-member-list li {
  color: #331705;
  font-size: clamp(14px, 2.5vw, 18px);
}

.event-predict-card .team-member-list li .level{
  color: #331705;
  font-size: clamp(11px, 2.3vw, 12px);
  font-weight: 300;
}

.event-predict-card .vote-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.event-predict-card .vote-percent {
  color: #693f1d;
  font-size: clamp(20px ,3vw, 28px);
  font-weight: 900;
}

.event-predict-card .btn-vote {
  background: linear-gradient(to bottom, #6d4224, #4a2712);
  border-radius: 5px;
  color: #fff;
  font-size: clamp(13px, 2vw, 16px);
  padding: 10px 25px;
  transition: all 0.3s;
}

.event-predict-card .btn-vote:hover {
  background: linear-gradient(to bottom, #d9ad56, #cf7a0b);
}

.comingsoon-text {
  background: linear-gradient(to bottom, #ffecd5 44%, #ac9482 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 60px);
  color: #ffc47d;
  font-weight: 700;
}

.vote-card-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.vote-reward-box {
  background-color: #492f10;
  border: 1px solid #b67554;
  padding: 25px 20px;
  position: relative;
}

.vote-reward-box .vote-reward-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.vote-reward-box .vote-reward-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  color: #fff;
}

.vote-reward-box .vote-reward-title span {
  color: #ffc47d;
}

.vote-reward-content-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.vote-reward-content-wrap .vote-reward-item-wrap {
  text-align: center;
}

.vote-reward-content-wrap .vote-reward-item-wrap .reward-name {
  background-color: #241606;
  border-radius: 30px;
  color: #ffd6a4;
  padding: 5px 35px;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 16px);
  max-width: 212px;
  text-align: center;
  margin-top: 17px;
}

.vote-reward-content-wrap .vote-reward-game-wrap {
  border-left: 1px solid #654722;
  padding: 25px 0 25px 30px;
}

.vote-reward-content-wrap .vote-reward-game-wrap h4 {
  color: #ffc47d;
  font-size: clamp(15px, 2.4vw, 20px);
  margin-bottom: 15px;
}

.step-right {
  text-align: right;
}

.support-reward-main,
.comingsoon-box {
  background: #492f10; 
  border: 1px solid #b67554; 
  padding: 30px; 
  margin-bottom: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative;
  text-align: center;
}

.comingsoon-box {
  padding: 150px 30px;
}

@media screen and (max-width: 1024px) {
  .comingsoon-box {padding: 75px 15px;}
}

.support-reward-main .box-visual {
  margin-bottom: 15px;
}

.support-reward-main .box-visual .reward-title {
  font-family: var(--font-display);
  font-size: clamp(25px, 5vw, 40px);
  font-weight: 700;
  color: #ffc47d;
  margin-bottom: 15px;
}

.support-reward-main .box-visual .reward-title span {
  color: #fff;
  font-size: clamp(20px, 4vw, 32px);
}

.support-reward-main .box-visual .reward-img-wrap {
  max-width: 161px;
  margin: 0 auto 30px;
}

.support-reward-main .reward-txt-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 265px;
  margin: 0 auto;
}

.support-reward-main .reward-txt-wrap .reward-name {
  background-color: #241606;
  border-radius: 30px;
  color: #ffd6a4;
  padding: 10px 20px;
  font-weight: 700;
  font-size: clamp(14px, 2.5vw, 21px);
}

.support-reward-main .reward-txt-wrap .reward-sub {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: #f1dfd7;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 400;
}

.reward-columns-wrapper {
  display: flex;
  gap: 15px;
}

.event-reward-column-desc {
  text-align: center;
  color: #000;
  font-size: clamp(13px,2.5vw,18px);
  font-weight: 600;
  margin-bottom: 10px;
}

.event2-grid {
  display: flex;
  gap: 15px;
}

@media screen and (max-width: 1024px) {
  .event2-grid {
    flex-direction: column;
  }
}

.event2-grid .event2-col {
  width: 100%;
  background-color: #f1ebe3;
  border: 1px solid #b67554;
  padding: 40px 28px 50px;
}

.event2-game-reward-wrap {
  margin-bottom: 30px;
}

.event2-item-row {
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 10px;
}

.event2-item-card {
  max-width: 99px;
}

.event2-item-card .event2-item-card-name-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #77370e;
  padding: 7px 5px;
  text-align: center;
  min-height: 75px;
}

.event2-item-card .event2-item-card-name-box p{
  color: #f1ebe3;
  font-size: 11px;
  line-height: 1.2;
}

@media screen and (max-width: 1024px) {
  .reward-columns-wrapper {
    flex-direction: column;
  }

  .event2-grid .event2-col {
    padding: 25px 15px 35px;
  }

  .event2-item-card .event2-item-card-name-box p{
    font-size: 12px;
  }
}

.reward-columns-wrapper .reward-column {
  background-color: #f1ebe3;
  border: 1px solid #b67554;
  padding: 25px 25px 50px;
  width: 100%;
}

.reward-columns-wrapper .reward-item-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

@media screen and (max-width: 1024px) {
  form[name=frmPaymentGnb]+table {
    display: none !important;
  }
  
  .main-content {
    padding: 0 15px;
  }
  
  .step-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .vote-card-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .update-debuff-container {
    flex-direction: column;
  }

  .card-body {
    padding: 25px 0;
  }

  .reward-grid-item {
    min-height: auto;
    padding: 25px 15px;
  }

  .step-right {
    text-align: left;
  }

  .reward-columns-wrapper .reward-column {
    padding: 25px 15px;
  }

  .reward-columns-wrapper .reward-item-row,
  .event2-item-row {
    grid-template-columns: repeat(2, 1fr);
  }
  

  .update-section-card1 .event-item-card,
  .event2-item-card {
    max-width: 100%;
  }

  .vote-reward-content-wrap {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .vote-reward-content-wrap .vote-reward-game-wrap {
    border-left: 0;
    border-top: 1px solid #654722;
    padding: 15px 0 0;
    width: 100%;
  }
}
