@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;700&display=swap");

:root {
  --ink: #0c0c0c;
  --ink-2: #161616;
  --panel: #161616;
  --line: rgba(255, 255, 255, 0.08);
  --bronze: #c9a227;
  --bronze-deep: #a51614;
  --accent: #8f1110;
  --gold: #c9a227;
  --copper: #c9a227;
  --text: #f2efe8;
  --muted: #9a958c;
  --fog: rgba(242, 239, 232, 0.06);
  --ok: #3ecf8e;
  --warn: #e0a84a;
  --off: #c45c5c;
  --radius: 14px;
  --font-display: "Shippori Mincho", "Batang", serif;
  --font-body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(143, 17, 16, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201, 162, 39, 0.08), transparent 50%),
    var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.muted {
  color: var(--muted);
}

/* ——— shell ——— */
#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 12, 0.92);
  border-bottom: 1px solid var(--line);
}

.shell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.7rem 1.25rem;
}

.shell-menu {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  padding: 0.55rem 1.25rem 0.7rem;
  border-top: 1px solid var(--line);
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.05rem 0.05rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.2rem;
}

.brand-classic {
  color: rgba(242, 239, 232, 0.9);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-rest {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.shell-util {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.util-link {
  color: rgba(242, 239, 232, 0.78);
  font-size: 0.82rem;
  white-space: nowrap;
}

.util-link:hover,
.util-link.is-active {
  color: var(--text);
}

.util-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.nav-link {
  padding: 0.45rem 0.55rem;
  border-radius: 0;
  color: rgba(242, 239, 232, 0.88);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold);
  background: transparent;
}

.nav-link.is-soon,
.util-link.is-soon {
  opacity: 0.45;
  cursor: default;
  color: var(--muted);
}

.nav-link.is-soon:hover {
  color: var(--muted);
}

.nav-link.is-soon small,
.util-link.is-soon small {
  font-size: 0.72em;
  margin-left: 0.15em;
  font-weight: 600;
}

.btn-header-dl.is-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  filter: grayscale(0.2);
}

.btn-header-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 7.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #a51614 0%, var(--accent) 100%);
}

.btn-header-dl:hover {
  filter: brightness(1.08);
}

.nav-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.nav-drawer {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 45;
  flex-direction: column;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer .nav-link {
  padding: 0.75rem 0.5rem;
}

@media (min-width: 960px) {
  .shell-menu {
    display: flex;
  }
  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }
}

@media (min-width: 960px) and (max-width: 1280px) {
  .nav-link {
    padding: 0.4rem 0.4rem;
    font-size: 0.86rem;
  }

  .btn-header-dl {
    min-width: 6.2rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 959px) {
  .btn-header-dl {
    display: none;
  }
}

#site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}

.shell-foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: grid;
  gap: 0.85rem;
}

.foot-brand {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.foot-brand a {
  color: var(--bronze);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot-links a:hover {
  color: var(--bronze);
}

.foot-note {
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ——— page shell ——— */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.page-head {
  position: relative;
  margin: 1.35rem 0 1.75rem;
  padding: 2.1rem 1.6rem 1.85rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 2px;
  background:
    radial-gradient(ellipse 70% 90% at 12% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 80% at 100% 100%, rgba(143, 17, 16, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(28, 24, 18, 0.92), rgba(14, 14, 14, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(201, 162, 39, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.page-head::before,
.page-head::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border-color: var(--bronze);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}

.page-head::before {
  top: 0.55rem;
  left: 0.55rem;
  border-width: 1px 0 0 1px;
}

.page-head::after {
  right: 0.55rem;
  bottom: 0.55rem;
  border-width: 0 1px 1px 0;
}

.page-head-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.page-head-inner::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  right: -8rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.07), transparent 68%);
  pointer-events: none;
}

.page-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.page-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-ornament {
  position: relative;
  width: 5.5rem;
  height: 0.55rem;
  margin: 0.95rem 0 0.85rem;
}

.page-ornament::before,
.page-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.page-ornament::before {
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bronze), rgba(201, 162, 39, 0.15));
}

.page-ornament::after {
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--bronze);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.35);
}

.page-head p:not(.page-kicker) {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.section {
  padding: 2.5rem 0 1rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--bronze);
  font-weight: 650;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.section-head a {
  color: var(--bronze);
  font-size: 0.9rem;
}

/* ——— hero ——— */
.hero {
  position: relative;
  height: 830px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-content .dock-item {
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background: #000;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: -4%;
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease;
  filter: brightness(0.82) contrast(1.08) saturate(1.05);
  animation: heroKen 26s ease-in-out infinite alternate;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(143, 17, 16, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(143, 17, 16, 0.32), transparent 58%),
    linear-gradient(to top, rgba(12, 12, 12, 0.94) 0%, rgba(12, 12, 12, 0.28) 48%, rgba(12, 12, 12, 0.45) 100%);
}

.hero-inner-center {
  position: absolute;
  top: 2.75rem;
  left: 1rem;
  right: 1rem;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  width: auto;
}

.brand-sub {
  color: var(--text);
  font-weight: 700;
}

.hero-brand-live {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  max-width: 100%;
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.75);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-on {
  display: inline;
  color: #f2efe8;
  font-size: 0.72em;
  letter-spacing: 0.06em;
  margin-left: 0.15em;
  text-shadow:
    0 0 18px rgba(62, 207, 142, 0.45),
    0 8px 30px rgba(0, 0, 0, 0.7);
}

@media (max-width: 720px) {
  .hero-brand-live {
    white-space: normal;
    flex-wrap: wrap;
    gap: 0.1rem 0.3rem;
    letter-spacing: 0.02em;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-content {
    position: relative;
    inset: auto;
    height: auto;
    padding: 1.75rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    pointer-events: auto;
  }

  .hero-inner-center {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 0;
    width: 100%;
  }

  .hero-brand {
    margin-bottom: 0.55rem;
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    line-height: 1.25;
  }

  .hero-copy {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    padding: 0 0.25rem;
  }

  .hero-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 1.25rem 0 0;
    padding: 0;
    gap: 0.35rem;
    width: 100%;
  }

  .hero-actions {
    gap: 0.7rem;
    margin-bottom: 0.15rem;
  }

  .hero-actions .hero-cta .btn-hero-dl {
    min-height: 3.2rem;
    min-width: 0;
    width: min(100%, 18rem);
    padding: 0.85rem 1.35rem;
    font-size: 1.12rem;
    border-radius: 10px;
  }

  .hero-actions .hero-status {
    padding: 0.5rem 0.95rem 0.5rem 0.75rem;
    font-size: 0.92rem;
    max-width: calc(100vw - 2rem);
  }

  .shell-top {
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .brand-rest {
    display: none;
  }

  .util-link {
    font-size: 0.78rem;
  }

  .nav-toggle {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
  }

  .dock {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem 0.2rem;
    padding: 0.45rem 0.1rem 0.2rem;
  }

  .dock-item {
    gap: 0.35rem;
    padding: 0.45rem 0.15rem;
  }

  .dock-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 10px;
  }

  .dock-icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .dock-label {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .page {
    padding: 0 0.9rem 2.25rem;
  }

  .page-home {
    margin-top: 0.25rem;
  }

  .page-head {
    margin: 1rem 0 1.25rem;
    padding: 1.45rem 1rem 1.25rem;
  }

  .page-head h1 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .page-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .board-grid {
    padding: 1.35rem 0 0.5rem;
    gap: 0.95rem;
  }

  .board-panel {
    padding: 1rem 0.9rem;
  }

  .section-head {
    margin-bottom: 0.85rem;
  }

  .section-head h2 {
    font-size: 1.2rem;
  }

  .float-help {
    right: 0.7rem;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    gap: 0.5rem;
  }

  .float-icon {
    width: 3rem;
    height: 3rem;
  }

  .float-icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .shell-foot {
    padding: 1.5rem 0.9rem 2rem;
  }

  .foot-note {
    font-size: 0.72rem;
  }

  .boss-table th,
  .boss-table td {
    padding: 0.7rem 0.65rem;
    font-size: 0.85rem;
  }

  .boss-schedule {
    min-width: 360px;
  }

  .boss-sub {
    min-width: 420px;
  }

  .day-pill {
    min-width: 1.9rem;
    height: 1.9rem;
    font-size: 0.78rem;
  }

  .boss-schedule .boss-name {
    padding: 0.28rem 0.55rem;
    font-size: 0.9rem;
  }

  .time-chip {
    padding: 0.22rem 0.42rem;
    font-size: 0.74rem;
  }

  .dl-num {
    font-size: 1.2rem;
    min-width: 1.8rem;
  }

  .dl-title {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1.35rem 0.65rem 0.85rem;
    gap: 1.35rem;
  }

  .hero-actions .hero-cta .btn-hero-dl {
    width: 100%;
    font-size: 1.05rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
  }

  .dock-label {
    font-size: 0.68rem;
  }

  .brand-classic {
    letter-spacing: 0.03em;
  }

  .boss-card-badge {
    font-size: 0.72rem;
    padding: 0.28rem 0.55rem;
  }

  .boss-card-head h2 {
    font-size: 1.1rem;
  }
}

@keyframes heroKen {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.8%, 1%, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.25rem 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero-inner.hero-inner-center {
  padding: 2.75rem 1.25rem 4rem;
}

html.is-ready .hero-inner {
  opacity: 1;
  transform: none;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.42rem 0.85rem 0.42rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 207, 142, 0.35);
  background: rgba(7, 24, 18, 0.55);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.55);
  animation: pulse 1.8s ease infinite;
}

.hero-status.is-off {
  border-color: rgba(196, 92, 92, 0.4);
  background: rgba(40, 12, 12, 0.65);
}

.hero-status.is-off .hero-status-dot {
  background: var(--off);
  animation: none;
}

.hero-status.is-check {
  border-color: rgba(224, 168, 74, 0.4);
  background: rgba(40, 28, 8, 0.65);
}

.hero-status.is-check .hero-status-dot {
  background: var(--warn);
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}

.hero-brand .brand-gold,
.brand-gold {
  color: var(--gold);
}

.hero-brand em {
  font-style: normal;
  color: var(--gold);
}

.hero-copy {
  margin: 0;
  max-width: 36rem;
  color: rgba(242, 239, 232, 0.88);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 0.55rem;
  max-width: var(--max);
}

.hero-actions .hero-cta .btn {
  min-height: 3.75rem;
  padding: 0.95rem 1.95rem;
  font-size: 1.2rem;
  border-radius: 12px;
}

.hero-actions .hero-cta .btn-hero-dl {
  min-height: 4.4rem;
  min-width: 16rem;
  padding: 1.1rem 2.75rem;
  font-size: 1.45rem;
  font-weight: 750;
  border-radius: 14px;
}

.hero-actions .hero-status {
  padding: 0.7rem 1.35rem 0.7rem 1rem;
  font-size: 1.12rem;
  border-width: 1.5px;
}

.hero-actions .hero-status-dot {
  width: 0.82rem;
  height: 0.82rem;
}

.hero-bottom {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: filter 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #a51614 0%, var(--accent) 100%);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(22, 22, 22, 0.55);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: rgba(201, 162, 39, 0.55);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(62, 207, 142, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-status-dot {
    animation: none;
  }
  .hero-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide {
    animation: none;
  }
  .hero-canvas {
    display: none;
  }
}

/* ——— icon dock ——— */
.dock-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding: 0.9rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 0.45rem;
  border-radius: 12px;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: center;
}

a.dock-item:hover {
  background: rgba(201, 162, 39, 0.1);
  transform: translateY(-2px);
}

.dock-item.is-soon {
  opacity: 0.45;
  cursor: default;
}

.dock-icon {
  width: 3.85rem;
  height: 3.85rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--bronze);
}

.dock-icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.dock-label {
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
}

.dock-label small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

@media (min-width: 720px) {
  .dock {
    grid-template-columns: repeat(8, 1fr);
    padding: 1.1rem 0.5rem;
    gap: 0.35rem;
  }

  .dock-icon {
    width: 4.25rem;
    height: 4.25rem;
  }

  .dock-icon svg {
    width: 2.1rem;
    height: 2.1rem;
  }

  .dock-label {
    font-size: 1.02rem;
  }
}

/* ——— home boards ——— */
.page-home {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
}

.board-grid {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 1rem;
}

@media (min-width: 860px) {
  .board-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.board-panel {
  padding: 1.25rem 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 22, 22, 0.72);
}

.board-panel .section-head {
  margin-bottom: 0.85rem;
}

.board-list {
  display: grid;
  gap: 0.35rem;
}

.board-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row:hover .board-title {
  color: var(--gold);
}

.board-badge {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1a1508;
  background: var(--gold);
  white-space: nowrap;
}

.board-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.board-date {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.board-empty {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— news tiles ——— */
.news-preview {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 820px) {
  .news-preview {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }

  .news-tile.is-feature {
    grid-row: 1 / span 2;
    min-height: 100%;
  }
}

.news-tile,
.news-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(28, 28, 28, 0.9), rgba(18, 18, 18, 0.95)),
    radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.1), transparent 45%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.news-tile:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

.news-tile.is-feature {
  padding: 1.5rem 1.4rem;
  background:
    linear-gradient(160deg, rgba(32, 32, 32, 0.95), rgba(12, 12, 12, 0.98)),
    radial-gradient(circle at 0% 100%, rgba(143, 17, 16, 0.22), transparent 50%);
}

.news-tile.is-feature h3 {
  font-size: 1.45rem;
}

.news-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.news-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1508;
  background: var(--gold);
}

.news-tile time,
.news-card time {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.news-tile h3,
.news-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.news-tile p,
.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-list {
  display: grid;
  gap: 0.85rem;
}

/* ——— guide teasers ——— */
.guide-teasers {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .guide-teasers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-tile {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 22, 22, 0.6);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.guide-tile:hover {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(24, 38, 60, 0.75);
  transform: translateY(-2px);
}

.guide-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.guide-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-go {
  margin-top: 0.5rem;
  color: var(--bronze);
  font-size: 0.85rem;
  font-weight: 650;
}

/* ——— intro banner ——— */
.intro-banner {
  padding-bottom: 0.5rem;
}

.intro-banner-inner {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(143, 17, 16, 0.28), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 162, 39, 0.1), transparent 50%),
    linear-gradient(135deg, #161616, #0c0c0c);
  text-align: center;
}

.intro-banner-inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--bronze);
}

.intro-banner-inner p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--muted);
}

/* ——— floating help ——— */
.float-help {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.float-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
  shape-rendering: geometricPrecision;
}

.float-icon:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.06);
}

.float-kakao {
  background: #fee500;
  color: #191600;
}

.float-tg {
  background: #229ed9;
  color: #fff;
}

/* ——— download ——— */
.dl-card .dl-grid {
  margin-top: 0.15rem;
}

.dl-grid {
  display: grid;
  gap: 0.65rem;
}

.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(28, 24, 18, 0.75), rgba(14, 14, 14, 0.7));
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dl-item:hover {
  border-color: rgba(201, 162, 39, 0.38);
  background:
    linear-gradient(135deg, rgba(36, 30, 20, 0.88), rgba(16, 16, 16, 0.8));
}

.dl-item.is-rec {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.1),
    0 0 0 1px rgba(201, 162, 39, 0.05);
}

.dl-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.dl-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--bronze);
  min-width: 2.2rem;
  line-height: 1;
}

.dl-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}

.dl-mirror {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.dl-mirror em {
  font-style: normal;
  color: var(--bronze);
}

.dl-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  background: linear-gradient(180deg, #a51614 0%, var(--accent) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.dl-btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 560px) {
  .dl-item {
    flex-direction: column;
    align-items: stretch;
  }

  .dl-btn {
    text-align: center;
  }
}

/* ——— guide / cs ——— */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.15rem 1.1rem 3.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 22, 22, 0.5);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-family: var(--font-display);
  color: var(--bronze);
  font-size: 1.1rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.panel {
  position: relative;
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(32, 28, 22, 0.9), rgba(16, 16, 16, 0.88)),
    rgba(22, 22, 22, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(201, 162, 39, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.22);
}

.panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.soon-panel {
  display: grid;
  place-items: center;
  min-height: 14rem;
  text-align: center;
  overflow: hidden;
}

.soon-panel::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(201, 162, 39, 0.14);
  pointer-events: none;
}

.soon-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.2);
}

.rules-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.rules-list li + li {
  margin-top: 0.4rem;
}

body[data-page="home"] #site-footer {
  margin-top: 2rem;
}

/* ——— wiki / DB pages ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wiki-search-wrap {
  display: block;
  margin-bottom: 1.25rem;
}

.wiki-search {
  width: 100%;
  max-width: 28rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 22, 22, 0.75);
  color: var(--text);
  font: inherit;
  outline: none;
}

.wiki-search:focus {
  border-color: rgba(201, 162, 39, 0.55);
}

.wiki-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .wiki-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wiki-card {
  padding: 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 22, 22, 0.55);
}

.wiki-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.wiki-tag {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--bronze);
  font-weight: 650;
  font-size: 0.72rem;
}

.wiki-grade {
  color: var(--muted);
}

.wiki-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.wiki-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.wiki-empty {
  color: var(--muted);
  padding: 1.5rem 0;
}

.boss-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(28, 24, 18, 0.55), rgba(12, 12, 12, 0.35));
}

.boss-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.boss-table th,
.boss-table td {
  padding: 0.95rem 1.05rem;
  text-align: left;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  vertical-align: middle;
  font-size: 0.92rem;
}

.boss-table thead th {
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.14), rgba(12, 12, 12, 0.65));
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
}

.boss-table tbody tr {
  transition: background 0.18s ease;
}

.boss-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.boss-table tbody tr:hover {
  background: rgba(201, 162, 39, 0.06);
}

.boss-table tr:last-child td,
.boss-table tr:last-child th {
  border-bottom: 0;
}

.boss-table td {
  color: var(--muted);
}

.boss-table strong,
.boss-name {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.boss-card {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(201, 162, 39, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(143, 17, 16, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(24, 22, 18, 0.95), rgba(14, 14, 14, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(201, 162, 39, 0.1),
    0 16px 36px rgba(0, 0, 0, 0.26);
}

.boss-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.15rem 0.15rem 0.95rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

.boss-card-kicker {
  margin: 0 0 0.28rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(201, 162, 39, 0.75);
}

.boss-card-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text);
}

.boss-card-badge {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.boss-card-badge.is-sub {
  border-color: rgba(143, 17, 16, 0.45);
  background: rgba(143, 17, 16, 0.18);
  color: #e4b4b0;
}

.th-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

.boss-schedule {
  min-width: 460px;
}

.boss-schedule th,
.boss-schedule td {
  text-align: center;
}

.boss-schedule thead th:first-child,
.boss-schedule tbody th {
  width: 5rem;
  background: rgba(12, 12, 12, 0.35);
}

.boss-schedule tbody th {
  border-right: 1px solid rgba(201, 162, 39, 0.1);
}

.day-pill {
  display: inline-grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.1);
  color: var(--bronze);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.boss-schedule .boss-name {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(201, 162, 39, 0.07);
}

.boss-schedule td.is-empty {
  color: rgba(232, 226, 214, 0.22);
  font-size: 1.05rem;
}

.boss-sub {
  min-width: 560px;
}

.boss-sub th:first-child,
.boss-sub td:first-child {
  width: 9.5rem;
  white-space: nowrap;
  border-right: 1px solid rgba(201, 162, 39, 0.08);
}

.boss-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.time-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(12, 12, 12, 0.55);
  color: #d9d2c3;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.time-chip.is-wide {
  border-color: rgba(143, 17, 16, 0.4);
  background: rgba(143, 17, 16, 0.15);
  color: #efd0cd;
}

.boss-note {
  margin: 0.35rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 2px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.05);
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .boss-card {
    padding: 1rem 0.85rem 1.05rem;
  }

  .boss-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
