/* ==========================================================================
   메인 (2026-11-04 클래식 메이플 UI) — classic.css 의 창(.mw)·버튼·딱지를 쓴다
   첫 화면: 하늘 띠 위 [배너 창 + 상태 막대] | [GAME START + 처음 오셨나요]
   아래로: 공지사항 | 이벤트 → 패치노트(NPC) → 랭킹 3칸 → 레벨별 사냥터
   ========================================================================== */
.cl-home { padding-top: var(--nav-h); }
.cl-home > section { width: min(1180px, 100% - 32px); margin: 0 auto 26px; }

/* ---------- 첫 화면 ---------- */
.cl-sky {
  position: relative; width: 100% !important; max-width: none; margin: 0 0 30px !important; padding: 26px 0 30px;
  background:
    radial-gradient(260px 60px at 12% 22%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(200px 48px at 88% 16%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(300px 70px at 70% 92%, rgba(255, 255, 255, 0.75), transparent 70%),
    linear-gradient(180deg, #3d9ce8 0%, #7cc4f6 55%, #c6e8ff 100%);
  border-bottom: 3px solid #fff; box-shadow: 0 3px 0 var(--cl-frame-2);
}
.cl-top { width: min(1180px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: stretch; }

/* 배너 창 */
.cl-banner { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.mh-banner-box { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #dfe9f5; box-shadow: inset 0 0 0 1px #b8c9df; }
@supports not (aspect-ratio: 1 / 1) { .mh-banner-box { height: 0; padding-top: 56.25%; } }
.banner-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-banner .banner-fallback { display: none; }
.mh-banner-box .hero-banner { position: absolute; inset: 0; }
.mh-banner-box .hero-banner[hidden] { display: none; }
.mh-banner-box .banner-viewport { position: absolute; inset: 0; background: transparent; }
.mh-banner-box .banner-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.mh-banner-box .banner-slide.is-active { opacity: 1; visibility: visible; }
.mh-banner-box .banner-bg { display: none; }
.mh-banner-box .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-banner-box .banner-slide:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.mh-banner-box .banner-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 26px; line-height: 1; color: #1d3766; background: linear-gradient(180deg, #fff, #e3ebf6); box-shadow: inset 0 0 0 1px #8ea6c8, 0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0; transition: opacity 0.2s;
}
.mh-banner-box .banner-arrow--prev { left: 10px; }
.mh-banner-box .banner-arrow--next { right: 10px; }
.cl-banner:hover .banner-arrow, .mh-banner-box .banner-arrow:focus-visible { opacity: 1; }
@media (pointer: coarse) { .mh-banner-box .banner-arrow { display: none; } }

/* 배너 아래 = 클라이언트 아래쪽 상태 막대 (남색 막대 + 퀵슬롯 + 노란 EXP 게이지) */
.cl-status {
  display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 10px; border-radius: 6px;
  background: linear-gradient(180deg, #3f5f96 0%, #283f6c 50%, #1f335a 51%, #2a4372 100%);
  box-shadow: inset 0 0 0 1px #10224a, inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.banner-caption { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.banner-caption[hidden] { display: none; }
.banner-caption-link { color: #fff; text-decoration: none; }
.banner-caption-link::before { content: "▶"; display: inline-block; margin-right: 8px; font-size: 11px; color: #ffcf4a; vertical-align: 1px; }
.banner-caption-link:hover { color: #ffe08a; }
.banner-caption-count { color: #b9c9e6; }
.launcher-slots { flex: none; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.launcher-slots[hidden] { display: none; }
.launcher-slots .banner-dots { display: flex; gap: 4px; padding: 0; }
.launcher-slots .banner-dot { position: relative; width: 50px; height: 30px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; background: #10224a; box-shadow: inset 0 0 0 1px #6f87b3; opacity: 0.6; }
.launcher-slots .banner-dot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.launcher-slots .banner-dot:hover { opacity: 0.9; }
.launcher-slots .banner-dot.is-active { opacity: 1; box-shadow: 0 0 0 2px #ffcf4a; }
.banner-gauge { display: flex; align-items: center; gap: 6px; }
.banner-gauge-label { display: inline; font: 800 11px/1 Verdana, sans-serif; color: #ffcf4a; text-shadow: 0 1px 0 #000; }
.banner-gauge-track { position: relative; width: 92px; height: 9px; border-radius: 2px; overflow: hidden; background: #0d1a36; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #6f87b3; }
.banner-gauge-fill { position: absolute; inset: 1px; background: linear-gradient(180deg, #fff2a0, #f2c230 50%, #d9a400 51%, #f7d24a); transform-origin: left center; transform: scaleX(0); }
.banner-gauge-fill.is-running { animation: gauge-fill linear forwards; }
.is-paused .banner-gauge-fill { animation-play-state: paused; }
@keyframes gauge-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.banner-toggle { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; color: #fff; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #5d7db5, #344f80); box-shadow: inset 0 0 0 1px #0f224a; }
.banner-toggle svg { width: 11px; height: 11px; }

/* 오른쪽: GAME START + 처음 오셨나요 */
.cl-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cl-start {
  position: relative; display: grid; align-content: center; gap: 2px; min-height: 130px; padding: 18px 110px 18px 22px; border-radius: 12px; text-decoration: none; overflow: hidden;
  background: linear-gradient(180deg, #46b0ff 0%, #1784ec 48%, #0a66d2 52%, #1173dd 100%);
  box-shadow: inset 0 0 0 2px #0a3f8f, inset 0 3px 0 rgba(255, 255, 255, 0.45), 0 0 0 3px #fff, 0 0 0 5px #9cc0ea, 0 10px 20px -10px rgba(0, 40, 110, 0.7);
}
.cl-start-en { font: italic 900 19px/1 Verdana, Tahoma, sans-serif; letter-spacing: 0.02em; color: #c5e6ff; }
.cl-start strong { font-family: var(--font-maple); font-size: 2.3rem; line-height: 1.1; color: #fff; text-shadow: 0 2px 0 #0a3f8f, 0 0 12px rgba(0, 60, 160, 0.5); }
.cl-start .cl-go {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font: italic 900 26px/1 Verdana, sans-serif; color: #1b6fd6; background: radial-gradient(circle at 50% 30%, #ffffff 0%, #dff1ff 55%, #a9d6ff 100%);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(10, 63, 143, 0.55), 0 4px 10px rgba(0, 30, 90, 0.4); transition: transform 0.2s;
}
.cl-start:hover .cl-go { transform: translateY(-50%) scale(1.06); }
.cl-start:focus-visible { outline: 3px solid #ffcf4a; outline-offset: 4px; }
.cl-start::after { content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 46%; border-radius: 0 0 50% 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05)); pointer-events: none; }

.cl-intro { flex: 1 1 auto; display: flex; flex-direction: column; padding: 16px 16px 14px; }
.cl-intro h1 { margin: 0 0 12px; font-size: 1.4rem; line-height: 1.35; color: #1d3766; }
.cl-intro h1 span { color: var(--cl-orange-2); }
.cl-facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.cl-facts li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #f2f7fd; box-shadow: inset 0 0 0 1px #dde8f5; }
.cl-facts .fact-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font: 900 11px/1 Verdana, sans-serif; color: #fff; }
.cl-facts .fact-ico.is-exp { background: linear-gradient(180deg, #ffd34d, #e8a800); color: #5a3d00; }
.cl-facts .fact-ico.is-lv { background: linear-gradient(180deg, #5aa9ff, #1f6fd1); }
.cl-facts .fact-ico.is-drop { background: #fff; box-shadow: inset 0 0 0 1px #dde8f5; }
.cl-facts .fact-ico img { width: 30px; height: 30px; image-rendering: pixelated; }
.cl-facts b { display: block; font-size: 15px; color: var(--cl-ink); line-height: 1.25; }
.cl-facts small { display: block; font-size: 13px; color: var(--cl-soft); line-height: 1.3; }
.cl-intro-foot { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; }
.cl-intro-foot .mbtn { flex: 1 1 0; min-width: 0; }
.cl-intro-npc { flex: none; width: 46px; height: 70px; image-rendering: pixelated; margin-right: 2px; }

/* ---------- 공지사항 | 이벤트 ---------- */
.cl-boards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.cl-boards .mw-body { padding-top: 6px; }
.cl-board-npc { position: absolute; right: 120px; top: -26px; height: 70px; image-rendering: pixelated; pointer-events: none; }

/* ---------- 패치노트 띠 ---------- */
.cl-patch { display: grid; grid-template-columns: 190px minmax(0, 1fr) 190px; align-items: center; gap: 10px; min-height: 150px; padding: 14px 20px; overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, #fff 62%, #fff4e4 100%); }
.cl-patch-title { display: grid; gap: 10px; justify-items: start; }
.cl-patch-title .mw-head { padding: 0; min-height: 0; border: 0; }
.cl-patch-title .mw-more { margin-left: 0; }
.cl-patch .post-list { align-self: center; }
.cl-patch-npc { justify-self: end; align-self: end; width: 154px; height: 300px; margin: -170px -6px -14px 0; image-rendering: pixelated; object-fit: contain; object-position: bottom; }

/* ---------- 랭킹 3칸 ---------- */
.cl-ranks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.rk3 { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 6px; }
.rk3 li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px 6px 8px; border-radius: 8px; background: #f5f8fc; box-shadow: inset 0 0 0 1px #e1e9f4; }
.rk3 .rk3-no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 Verdana, sans-serif; color: #5c6b85; background: #fff; box-shadow: inset 0 0 0 1px #cbd7e7; }
.rk3 .rk3-who { min-width: 0; display: grid; line-height: 1.25; }
.rk3 .rk3-who strong { font-size: 15.5px; color: var(--cl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk3 .rk3-who small { font-size: 13px; color: var(--cl-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk3 .rk3-val { text-align: right; line-height: 1.25; white-space: nowrap; }
.rk3 .rk3-val b { display: block; font-size: 15.5px; font-weight: 900; color: var(--cl-blue); font-variant-numeric: tabular-nums; }
.rk3 .rk3-val small { font-size: 12.5px; color: var(--cl-soft); font-variant-numeric: tabular-nums; }
/* 1위: 큰 칸 + 아바타 + 금색 딱지 */
.rk3 li.rk3-top { position: relative; grid-template-columns: 74px minmax(0, 1fr) auto; min-height: 96px; padding: 10px 14px 10px 10px; background: linear-gradient(180deg, #fffaf0, #fff3d9); box-shadow: inset 0 0 0 1px #f1d79b; }
.rk3 li.rk3-top .rk3-who strong { font-size: 17px; }
.rk3 li.rk3-top .rk3-val b { font-size: 19px; color: #d26a00; }
.rk3-badge { position: absolute; left: 6px; top: 6px; z-index: 1; padding: 2px 6px; border-radius: 4px; font: 800 11px/1.2 Verdana, sans-serif; color: #5a3d00; background: linear-gradient(180deg, #ffe17a, #f2b705); box-shadow: inset 0 0 0 1px #c99400; }
.rk3-pic { width: 74px; height: 80px; display: grid; place-items: end center; overflow: hidden; }
.rk3-pic img { max-width: 74px; max-height: 80px; width: auto; height: auto; }
.rk3-pic .rk3-ghost { width: 34px; height: 46px; border-radius: 17px 17px 10px 10px; background: rgba(29, 39, 64, 0.08); }
.rk3-note { padding: 30px 10px !important; display: block !important; text-align: center; color: var(--cl-soft); background: transparent !important; box-shadow: none !important; }
/* 보스 고르기: 몬스터 그림 단추 */
.boss-pick { display: flex; gap: 4px; padding: 10px 12px 8px; overflow-x: auto; scrollbar-width: none; }
.boss-pick::-webkit-scrollbar { display: none; }
.boss-pick button { flex: 1 0 44px; height: 46px; padding: 0; border: 0; border-radius: 8px; cursor: pointer; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, #fff, #eef3fa); box-shadow: inset 0 0 0 1px #cbd7e8; }
.boss-pick button:hover { box-shadow: inset 0 0 0 1px #8fb0dc; }
.boss-pick button[aria-pressed="true"] { background: linear-gradient(180deg, #fff5df, #ffe5b0); box-shadow: inset 0 0 0 2px var(--cl-orange); }
.boss-pick button { position: relative; }
/* 몬스터 그림(120px 칸)을 칸 가운데에 줄여 놓는다 — 칸보다 커서 격자 정렬로는 한쪽으로 쏠린다 */
.boss-pick .mob, .hunt-pic .mob {
  position: absolute; left: 50%; top: 50%; width: var(--cell); height: var(--cell); transform: translate(-50%, -50%) scale(var(--ms, 0.5));
  background-image: var(--sheet); background-size: var(--sheet-w) auto; background-position: calc(var(--x) * var(--cell) * -1) calc(var(--y) * var(--cell) * -1);
}
.boss-pick .mob { --ms: 0.4; }
.boss-pick .pick-name { font-size: 12px; font-weight: 800; color: var(--cl-ink); }
.boss-current { padding: 0 14px 8px; font-size: 14px; font-weight: 800; color: #1d3766; }
/* 직업 색 딱지 */
.job-tag { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 6px; font-size: 12px; font-weight: 900; color: #fff; }
.job-warrior { background: #d9503f; } .job-mage { background: #7b5fd6; } .job-archer { background: #3a9a4c; }
.job-thief { background: #4b5566; } .job-pirate { background: #2b8fc9; } .job-beginner { background: #a08a61; }

/* ---------- 레벨별 사냥터 ---------- */
.hunt-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; padding: 12px 16px 16px; }
.hunt-side { display: flex; flex-direction: column; gap: 12px; }
.hunt-control { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; padding: 14px; border-radius: 8px; background: #f2f7fd; box-shadow: inset 0 0 0 1px #dde8f5; }
.hunt-control label { font-weight: 800; color: #1d3766; }
.hunt-control output { justify-self: end; font-family: var(--font-maple); font-size: 1.6rem; color: var(--cl-orange-2); }
.hunt-control output::before { content: "Lv."; font-size: 0.95rem; margin-right: 2px; color: var(--cl-soft); }
.hunt-control input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--cl-orange); }
.hunt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hunt-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 10px; height: 100%; padding: 8px 12px 8px 8px; border-radius: 8px; color: var(--cl-ink); text-decoration: none; background: #fff; box-shadow: inset 0 0 0 1px #dbe5f2; }
.hunt-card:hover { color: var(--cl-ink); background: #f3f8ff; box-shadow: inset 0 0 0 1px #9fbbe0; }
.hunt-pic { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #eef4fb; }
.hunt-pic { position: relative; }
.hunt-pic .mob { --ms: 0.6; }
.hunt-body { display: grid; gap: 2px; min-width: 0; }
.hunt-name { display: flex; justify-content: space-between; gap: 6px; font-weight: 800; font-size: 15px; }
.hunt-name b { color: var(--cl-blue); white-space: nowrap; font-size: 14px; }
.hunt-maps { color: var(--cl-soft); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hunt-tag { justify-self: start; font-size: 12px; padding: 1px 7px; border-radius: 4px; background: #ffe3df; color: #a3241a; font-weight: 800; }
.hunt-empty { grid-column: 1 / -1; padding: 22px; text-align: center; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .cl-top { grid-template-columns: minmax(0, 1fr) 300px; }
  .cl-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hunt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cl-top, .cl-boards, .hunt-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cl-patch { grid-template-columns: 150px minmax(0, 1fr); }
  .cl-patch-npc { display: none; }
  .cl-board-npc { display: none; }
}
@media (max-width: 640px) {
  .cl-home > section, .cl-top { width: calc(100% - 24px); }
  .cl-sky { padding: 14px 0 18px; }
  .cl-side { grid-template-columns: minmax(0, 1fr); }
  .cl-start { min-height: 104px; padding-right: 96px; }
  .cl-start strong { font-size: 1.9rem; }
  .cl-start .cl-go { width: 64px; height: 64px; font-size: 22px; }
  .cl-status { flex-wrap: wrap; }
  .banner-caption { flex-basis: 100%; }
  .launcher-slots { margin-left: 0; }
  .cl-patch { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; }
  .cl-patch-title { grid-template-columns: 1fr auto; align-items: center; display: grid; }
  .cl-ranks, .hunt-list { grid-template-columns: minmax(0, 1fr); }
  .post-row .p-date { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-banner-box .banner-slide, .cl-start .cl-go { transition: none; }
  .banner-gauge-fill.is-running { animation: none; }
}
.motion-paused .banner-gauge-fill { animation-play-state: paused; }

/* ==========================================================================
   2003 감성 (2026-11-04) — 픽셀 글꼴 배수 크기, 회색 상자, 옛날 GAME START
   ========================================================================== */
.cl-home > section { margin-bottom: 14px; }
.cl-sky { margin-bottom: 16px !important; padding: 16px 0 18px; border-bottom: 1px solid #a9a9a9; box-shadow: none; }
.cl-top { gap: 12px; }
.cl-banner { padding: 5px; gap: 5px; }
.mh-banner-box { border-radius: 2px; }
.cl-status { min-height: 34px; padding: 4px 8px; border-radius: 2px; }
.banner-caption { font-size: 12px; font-weight: 700; }
.banner-gauge-label { font-family: var(--rt-tiny); font-size: 8px; font-weight: 400; }
.launcher-slots .banner-dot { width: 44px; height: 26px; border-radius: 2px; }
.cl-side { gap: 12px; }
.cl-start { min-height: 112px; border-radius: 6px; padding: 14px 96px 14px 18px;
  box-shadow: inset 0 0 0 1px #0a3f8f, inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 0 0 2px #fff, 0 0 0 3px #8ab0dd; }
.cl-start-en { font-family: var(--rt-tiny); font-style: normal; font-weight: 400; font-size: 16px; letter-spacing: 0.04em; color: #cfe8ff; }
.cl-start strong { font-family: var(--rt-title); font-weight: 400; font-size: 30px; line-height: 1.2; text-shadow: 0 2px 0 #0a3f8f, 2px 0 0 #0a3f8f, -2px 0 0 #0a3f8f, 0 -2px 0 #0a3f8f; }
.cl-start .cl-go { width: 64px; height: 64px; font-family: var(--rt-tiny); font-style: normal; font-weight: 400; font-size: 16px; }
.cl-intro { padding: 12px; }
.cl-intro h1 { font-size: 15px; line-height: 1.6; margin-bottom: 8px; color: #333; }
.cl-intro h1 span { color: var(--rt-head); }
.cl-facts { gap: 4px; margin-bottom: 10px; }
.cl-facts li { padding: 5px 8px; border-radius: 3px; background: #f7f7f7; box-shadow: inset 0 0 0 1px #e2e2e2; gap: 8px; }
.cl-facts .fact-ico { width: 28px; height: 28px; border-radius: 3px; font-family: var(--rt-tiny); font-weight: 400; font-size: 8px; }
.cl-facts .fact-ico img { width: 24px; height: 24px; }
.cl-facts b { font-size: 12px; }
.cl-facts small { font-size: 12px; color: #999; }
.cl-boards { gap: 12px; }
.cl-board-npc { top: -22px; right: 96px; }
.cl-patch { min-height: 112px; padding: 10px 14px; grid-template-columns: 170px minmax(0, 1fr) 170px; background: #fff; }
.cl-patch-npc { margin-top: -150px; }
.cl-ranks { gap: 12px; }
.rk3 { padding: 6px 10px 10px; gap: 0; }
.rk3 li { min-height: 30px; padding: 3px 4px; gap: 8px; border-radius: 0; background: transparent; box-shadow: none; grid-template-columns: 22px minmax(0, 1fr) auto; }
.rk3 li + li { border-top: 1px dotted var(--rt-dot); }
.rk3 .rk3-no { width: 18px; height: 18px; border-radius: 2px; font-family: "Galmuri11"; font-weight: 700; font-size: 12px; color: #fff; background: #a5a5a5; box-shadow: none; }
.rk3 li:nth-child(2) .rk3-no { background: #8aa0c4; }
.rk3 li:nth-child(3) .rk3-no { background: #c79165; }
.rk3 .rk3-who { display: flex; align-items: baseline; gap: 6px; }
.rk3 .rk3-who strong { font-size: 12px; }
.rk3 .rk3-who small { font-size: 12px; color: #999; }
.rk3 .rk3-val b { display: inline; font-size: 12px; color: var(--rt-link); }
.rk3 .rk3-val small { margin-left: 6px; font-size: 12px; color: #aaa; }
.rk3 li.rk3-top { grid-template-columns: 64px minmax(0, 1fr) auto; min-height: 84px; padding: 6px 10px 6px 6px; border-radius: 3px; background: #fff8ea; box-shadow: inset 0 0 0 1px #efd9a8; margin-bottom: 4px; }
.rk3 li.rk3-top + li { border-top: 0; }
.rk3 li.rk3-top .rk3-who { display: grid; gap: 0; }
.rk3 li.rk3-top .rk3-who strong { font-family: var(--rt-title); font-weight: 400; font-size: 15px; }
.rk3 li.rk3-top .rk3-val b { display: block; font-family: var(--rt-title); font-weight: 400; font-size: 15px; color: var(--rt-head); }
.rk3 li.rk3-top .rk3-val small { margin: 0; }
.rk3-badge { font-family: "Galmuri11"; font-weight: 700; font-size: 12px; line-height: 1.3; padding: 0 4px; border-radius: 2px; }
.rk3-pic { width: 64px; height: 72px; }
.rk3-pic img { max-width: 64px; max-height: 72px; }
.rk3-note { font-size: 12px; color: #999; }
.boss-pick { gap: 3px; padding: 8px 10px 4px; }
.boss-pick button { height: 40px; border-radius: 3px; background: #f7f7f7; box-shadow: inset 0 0 0 1px #d0d0d0; }
.boss-pick button[aria-pressed="true"] { background: #fff1e3; box-shadow: inset 0 0 0 2px var(--rt-head); }
.boss-pick .mob { --ms: 0.34; }
.job-tag { width: 18px; height: 18px; border-radius: 2px; font-family: "Galmuri11"; font-weight: 400; font-size: 12px; }
.hunt-grid { gap: 12px; padding: 8px 12px 12px; grid-template-columns: 220px minmax(0, 1fr); }
.hunt-control { border-radius: 3px; background: #f7f7f7; box-shadow: inset 0 0 0 1px #e0e0e0; padding: 10px; }
.hunt-control label { font-size: 12px; color: #333; }
.hunt-control output { font-family: var(--rt-title); font-size: 30px; line-height: 1; color: var(--rt-head); }
.hunt-control output::before { font-family: "Galmuri11"; font-size: 12px; }
.hunt-list { gap: 6px; }
.hunt-card { border-radius: 3px; grid-template-columns: 56px minmax(0, 1fr); padding: 5px 8px 5px 5px; box-shadow: inset 0 0 0 1px #dedede; }
.hunt-card:hover { background: #fbf5ef; box-shadow: inset 0 0 0 1px #f0b58f; }
.hunt-pic { width: 56px; height: 56px; border-radius: 2px; background: #f3f6fa; }
.hunt-pic .mob { --ms: 0.5; }
.hunt-name { font-size: 12px; }
.hunt-name b { font-size: 12px; color: var(--rt-link); }
.hunt-maps { font-size: 12px; color: #999; line-height: 1.6; }
.hunt-tag { font-size: 12px; border-radius: 2px; padding: 0 4px; }
@media (max-width: 640px) {
  .cl-start { min-height: 96px; padding-right: 84px; }
  .cl-start strong { font-size: 30px; }
}
.cl-quick { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cl-quick a { display: block; padding: 3px 8px 3px 18px; position: relative; font-size: 12px; color: #555; text-decoration: none; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1px #e2e2e2; }
.cl-quick a::before { content: "▶"; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); font-size: 8px; color: var(--rt-head); }
.cl-quick a:hover { color: var(--rt-head); box-shadow: inset 0 0 0 1px #f0b58f; }
.cl-start strong { text-shadow: 1px 0 0 #fff, 0 2px 0 #0a3f8f, 3px 0 0 #0a3f8f, -2px 0 0 #0a3f8f, 0 -2px 0 #0a3f8f, 3px 2px 0 #0a3f8f, -2px 2px 0 #0a3f8f; }
.cl-intro h1, .hunt-control output, .rk3 li.rk3-top .rk3-val b { text-shadow: 1px 0 0 currentColor; }
.cl-intro h1 span { text-shadow: 1px 0 0 var(--rt-head); }

/* ==========================================================================
   옛날 포털식 3단 배치 (2026-11-04) — 2005년 메이플 홈페이지처럼
   왼쪽 220 [게임시작·처음 오셨나요·바로 가기·고객지원] | 가운데 [배너·공지·패치·사냥터] | 오른쪽 270 [이벤트·랭킹]
   파란 하늘 띠 없음. 배너 아래 상태 막대 없음(넘김 화살표만).
   ========================================================================== */
.rt-home { padding: calc(var(--nav-h) + 14px) 0 30px; background: #f2f2f2; }
.rt-wrap { width: min(1080px, 100% - 24px); margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 12px; align-items: start; }
.rt-col { display: grid; gap: 12px; min-width: 0; }
.rt-home .mw { margin: 0; }
.rt-home .cl-banner { padding: 4px; }
.mh-banner-box .banner-dots, .mh-banner-box .banner-gauge { display: none !important; }

/* 게임시작: 옛날 주황 큰 단추 */
.rt-home .cl-start {
  min-height: 92px; padding: 12px 74px 12px 14px; border-radius: 4px;
  background: linear-gradient(180deg, #ffb347 0%, #f7931e 48%, #ea7a08 52%, #f58f1c 100%);
  box-shadow: inset 0 0 0 1px #b4540a, inset 1px 1px 0 2px rgba(255, 255, 255, 0.45), inset -1px -1px 0 2px rgba(150, 60, 0, 0.35);
}
.rt-home .cl-start::after { content: none; }
.rt-home .cl-start-en { color: #fff1d8; font-size: 8px; }
.rt-home .cl-start strong { font-size: 30px; text-shadow: 1px 0 0 #fff, 0 2px 0 #9a4300, 3px 0 0 #9a4300, -2px 0 0 #9a4300, 0 -2px 0 #9a4300, 3px 2px 0 #9a4300, -2px 2px 0 #9a4300; }
.rt-home .cl-start .cl-go { right: 12px; width: 52px; height: 52px; font-size: 16px; color: #d26a00; background: radial-gradient(circle at 50% 30%, #fff 0%, #fff3df 60%, #ffd9a6 100%); box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #b4540a; }

/* 처음 오셨나요 */
.rt-guide-body { position: relative; padding: 8px 10px 2px; min-height: 70px; }
.rt-guide-lead { margin: 0; font-size: 12px; line-height: 1.8; color: #555; padding-right: 52px; }
.rt-guide-lead b { font-family: var(--rt-title); font-weight: 400; font-size: 15px; color: var(--rt-head); text-shadow: 1px 0 0 var(--rt-head); }
.rt-guide-npc { position: absolute; right: 8px; bottom: 0; width: 46px; height: auto; image-rendering: pixelated; }
.rt-guide .cl-facts { padding: 6px 10px 0; margin: 0; }
.rt-guide-foot { padding: 8px 10px 10px; }
.rt-guide-foot .mbtn { width: 100%; }
.rt-home .cl-quick { padding: 8px 10px 10px; margin: 0; }
.rt-help-text { margin: 0; padding: 8px 10px 4px; font-size: 12px; color: #777; line-height: 1.7; }
.rt-help-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px 10px 10px; }

/* 가운데 */
.rt-home .cl-board-npc { right: 64px; top: -20px; height: 60px; }
.rt-patch { overflow: hidden; }
.rt-patch .mw-body { padding-right: 92px; }
.rt-patch-npc { position: absolute; right: 6px; bottom: -40px; width: 77px; height: auto; image-rendering: pixelated; pointer-events: none; }
.rt-home .hunt-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 10px 10px; }
.rt-home .hunt-control { grid-template-columns: auto auto 1fr; align-items: center; padding: 6px 10px; }
.rt-home .hunt-control input[type="range"] { grid-column: auto; }
.rt-home .hunt-control output { justify-self: start; font-size: 15px; }
.rt-home .hunt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 오른쪽: 좁은 칸용 목록 */
.rt-short .post-row .p-date { display: none; }
.rt-right .rk3 { padding: 4px 8px 8px; }
.rt-right .rk3 .rk3-who small { display: none; }
.rt-right .rk3 li.rk3-top .rk3-who small { display: block; }
.rt-right .rk3 .rk3-val small { display: none; }
.rt-right .rk3 li.rk3-top { grid-template-columns: 56px minmax(0, 1fr) auto; }
.rt-right .rk3-pic { width: 56px; height: 64px; }
.rt-right .rk3-pic img { max-width: 56px; max-height: 64px; }
.rt-right .boss-pick { padding: 6px 8px 2px; }
.rt-right .boss-pick button { flex: 1 0 32px; height: 34px; }
.rt-right .boss-pick .mob { --ms: 0.28; }

/* 좁은 화면: 한 줄로, 중요한 것부터 */
@media (max-width: 980px) {
  .rt-wrap { grid-template-columns: minmax(0, 1fr) 260px; }
  .rt-left { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .rt-wrap { display: flex; flex-direction: column; }
  .rt-col { display: contents; }
  .rt-o1 { order: 1; } .rt-o2 { order: 2; } .rt-o3 { order: 3; } .rt-o4 { order: 4; } .rt-o5 { order: 5; }
  .rt-o6 { order: 6; } .rt-o7 { order: 7; } .rt-o8 { order: 8; } .rt-o9 { order: 9; } .rt-o10 { order: 10; }
  .rt-home .hunt-list { grid-template-columns: minmax(0, 1fr); }
  .rt-short .post-row .p-date { display: inline; }
}
.rt-patch .mw-body { padding-right: 70px; min-height: 84px; }
.rt-patch-npc { right: 12px; bottom: 6px; width: 51px; }
/* 메인은 머리줄·바닥줄도 본문과 같은 폭 */
body[data-page="home"] .site-nav .container, body[data-page="home"] .site-footer .container { width: min(1080px, 100% - 24px); }
@media (max-width: 700px) {
  .rt-wrap { align-items: stretch; }
  .rt-wrap > .rt-col > * { width: 100%; }
  .rt-home .cl-board-npc { display: none; }
}
@media (max-width: 980px) and (min-width: 701px) {
  .rt-left { align-items: start; }
  .rt-left .cl-start { align-self: start; }
}

/* 배너: 오른쪽에서 들어와 왼쪽으로 밀려나는 슬라이드 (2026-11-05) */
.mh-banner-box .banner-viewport { overflow: hidden; }
.mh-banner-box .banner-slide { opacity: 1; visibility: hidden; transform: translateX(100%); transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.7s; }
.mh-banner-box .banner-slide.is-active { visibility: visible; transform: none; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s; }
.mh-banner-box .banner-slide.to-left { transform: translateX(-100%); }
.mh-banner-box .banner-slide.to-right { transform: translateX(100%); }
.mh-banner-box .banner-slide.from-left { transform: translateX(-100%); transition: none; }
.mh-banner-box .banner-slide.from-right { transform: translateX(100%); transition: none; }
.mh-banner-box .hero-banner { padding: 0; background: transparent; animation: none; max-width: none; border-radius: 0; }
.mh-banner-box .banner-slide { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .mh-banner-box .banner-slide, .mh-banner-box .banner-slide.is-active { transition: none; } }

/* 배너 좌우 화살표: 동그라미 배경 없이 가장자리의 얇은 화살표만 (2026-11-05) */
.mh-banner-box .banner-arrow {
  width: 32px; height: 64px; padding: 0; border-radius: 0; background: transparent; box-shadow: none;
  font-family: Verdana, sans-serif; font-size: 34px; line-height: 64px; color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 0.2s, color 0.2s;
}
.mh-banner-box .banner-arrow--prev { left: 2px; }
.mh-banner-box .banner-arrow--next { right: 2px; }
.cl-banner:hover .banner-arrow { opacity: 0.7; }
.mh-banner-box .banner-arrow:hover, .mh-banner-box .banner-arrow:focus-visible { opacity: 1; color: #fff; transform: translateY(-50%); }
.mh-banner-box .banner-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
/* 메인 랭킹 1위 아바타도 세로 기준으로 같은 크기 (옆으로 긴 무기 그림은 칸에서 잘림) */
.rk3-pic { justify-items: start; overflow: hidden; }
.rk3-pic img, .rt-right .rk3-pic img { max-width: none; max-height: none; width: auto; height: 64px; }
