@charset "UTF-8";

:root {
  --ink: #111827;
  --text: #2d2d2d;
  --paper: #fff;
  --line: #e5e7eb;
  --brand: #2f63e8;
  --btn: #056bf6;
  --wash: #f9fafb;
  --header: 65px;
  --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  word-break: keep-all;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h2 {
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 8px 12px;
  background: #fff;
}

.shell {
  width: min(calc(100% - clamp(32px, calc(25.739px + 1.739vw), 48px)), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 40;
  height: clamp(60px, calc(52.174px + 2.174vw), 80px);
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand img { height: clamp(36px, calc(34.435px + 0.435vw), 40px); width: auto; }
.brand strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 50px;
  font-size: clamp(18px, calc(17.217px + 0.217vw), 20px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 20px;
  text-transform: uppercase;
}
.site-nav a { color: var(--ink); }
.site-nav a.active,
.site-nav a:hover { color: var(--brand); }
.nav-toggle {
  display: none;
  width: clamp(40px, calc(38.435px + 0.435vw), 44px);
  height: clamp(40px, calc(38.435px + 0.435vw), 44px);
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #111;
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, calc(33.043px + 13.043vw), 200px) 0;
  border-bottom: 1px solid #e7e7e7;
  background: #fff;
}
.home-hero-map,
.home-hero-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-hero-map {
  background: url("../images/map_bg.png") center / auto no-repeat;
}
.home-hero-network {
  width: 100%;
  height: 100%;
  color: var(--brand);
}
.hero-node-core { fill: currentColor; opacity: 0.4; }
.hero-pulse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.home-hero .shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, calc(31.13px - 0.87vw), 28px);
}
.home-kicker {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, calc(12.87px + 0.87vw), 24px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
.home-mark {
  display: block;
  width: min(clamp(420px, calc(333.913px + 23.913vw), 640px), 88%);
  height: auto;
}

.home-intro {
  padding-top: clamp(56px, calc(40.348px + 4.348vw), 96px);
  padding-bottom: clamp(56px, calc(40.348px + 4.348vw), 96px);
  border-bottom: 1px solid #e7e7e7;
  background: rgba(249, 250, 251, 0.5);
}
.home-intro h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.pom-head {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.home-intro p {
  max-width: 846px;
  margin: 0 auto;
  padding-bottom: 7px;
  color: var(--text);
  text-align: center;
  font-size: clamp(18px, calc(16.435px + 0.435vw), 22px);
  font-weight: 500;
  line-height: 1.5;
}
.home-intro p:last-of-type { padding-bottom: 0; }
.about-page {
  padding: clamp(56px, 40.348px + 4.348vw, 96px) 0;
  border-top: 1px solid #e7e7e7;
  background: #fff;
}
.about-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 28.87px + 0.87vw, 40px);
}
.about-company {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-tail,
.about-inquiry {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about-inquiry { gap: 12px; }
.about-page h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}
.about-page p {
  margin: 0;
  padding-bottom: 12px;
  color: var(--text);
  text-align: left;
  font-size: clamp(18px, 17.217px + 0.217vw, 20px);
  font-weight: 500;
  line-height: 27px;
}
.about-page p:last-child { padding-bottom: 0; }
.about-page .about-kicker {
  padding-bottom: 8px;
  color: var(--text);
  font-size: clamp(20px, 19.217px + 0.217vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}
.about-rule {
  display: block;
  width: 100%;
  height: 23px;
  margin: 0;
  border: 0;
  background: linear-gradient(rgba(0, 52, 123, 0.3), rgba(0, 52, 123, 0.3)) center / 100% 1px no-repeat;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, calc(7.304px + 1.304vw), 24px);
  margin-top: 0;
}
.home-intro .project-grid { margin-top: 40px; }
.project-card {
  position: relative;
  display: flex;
  overflow: hidden;
  aspect-ratio: 0.82;
  min-height: 0;
  padding: 16px;
  color: #fff;
  background: #111 url("../images/bg_img_1800.webp") center / auto 110% no-repeat;
  transition: filter 0.25s ease-in, transform 0.25s ease-in;
}
.project-card:hover {
  z-index: 2;
  filter: brightness(1.4);
  transform: scale(1.04);
}
.project-card:nth-child(1) { background-position: 0 0; }
.project-card:nth-child(2) { background-position: 16% 0; background-size: auto 100%; }
.project-card:nth-child(3) { background-position: 66% 0; }
.project-card:nth-child(4) { background-position: 100% 0; }
.project-card::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  content: "";
}
.project-card:nth-child(2)::before,
.project-card:nth-child(3)::before {
  background: rgba(0, 0, 0, 0.4);
}
.project-card::after {
  position: absolute;
  inset: clamp(8px, calc(4.87px + 0.87vw), 16px);
  border: 1.6px solid rgba(255, 255, 255, 0.8);
  content: "";
  pointer-events: none;
}
.project-card span {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0;
  font-size: clamp(18px, calc(14.087px + 1.087vw), 28px);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-align: center;
}

.pom-section {
  padding-top: clamp(56px, calc(40.348px + 4.348vw), 96px);
  padding-bottom: clamp(56px, calc(40.348px + 4.348vw), 96px);
  background: #fff;
}
.page-home .pom-head { display: none; }
.pom-grid,
.contents-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, calc(12.870px + 0.870vw), 24px);
}
.pom-card,
.contents-card {
  min-width: 0;
  margin: 0;
}
.pom-card .contents-media {
  aspect-ratio: 16 / 9;
}
.load-more {
  display: flex;
  width: 160px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  color: #fff;
  background: var(--btn);
  border-radius: 4px;
  font-size: clamp(16px, calc(15.217px + 0.217vw), 18px);
  font-weight: 700;
  line-height: 1.1;
}
.load-more:hover { color: #fff; filter: brightness(0.96); }
.load-more-icon {
  margin-right: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(48px, 32.348px + 4.348vw, 88px) 0;
  overflow: hidden;
  color: #fff;
  background: #000 url("../images/bg_img_1800.webp") 50% 100% / auto no-repeat;
}
.page-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  content: "";
  pointer-events: none;
}
.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(38px, calc(34.087px + 1.087vw), 48px);
  font-weight: 800;
  letter-spacing: 2.8px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.page-about .page-hero { background-position: 50% 100%; }
.page-about .page-hero::before { background: rgba(0, 0, 0, 0.42); }

/* Short page: keep the footer at the bottom of the viewport. */
.page-not-found {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-not-found main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
.not-found {
  display: grid;
  flex: 1 0 auto;
  align-content: center;
  padding: clamp(56px, 40.348px + 4.348vw, 96px) 0;
  border-top: 1px solid #e7e7e7;
  background: #fff url("../images/map_bg.png") center / auto no-repeat;
}
.not-found-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  text-align: center;
}
.not-found h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
  line-height: 1.4;
}
.not-found p {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 17.217px + 0.217vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}
.not-found-home {
  width: auto;
  min-width: 160px;
  height: 44px;
  margin-top: 16px;
  padding: 0 28px;
}
.page-players .page-hero { background-position: 50% 0; }
.page-players .page-hero::before { background: rgba(0, 0, 0, 0.56); }
.page-contents .page-hero { background-position: 50% 36%; }
.page-contents .page-hero::before { background: rgba(0, 0, 0, 0.48); }
.page-schedule .page-hero { background-position: 50% 54%; }
.page-schedule .page-hero::before { background: rgba(0, 0, 0, 0.46); }

.player-profile {
  padding-top: clamp(56px, calc(40.348px + 4.348vw), 96px);
  padding-bottom: clamp(56px, calc(40.348px + 4.348vw), 96px);
  background: #fff;
}
.player-career {
  padding-top: clamp(56px, calc(40.348px + 4.348vw), 96px);
  padding-bottom: clamp(56px, calc(40.348px + 4.348vw), 96px);
  border-top: 1px solid #e7e7e7;
  background: #f8f9fb;
}
.player-career > .player-shell { width: min(calc(100% - clamp(32px, calc(25.739px + 1.739vw), 48px)), 1060px); }
.player-shell {
  width: min(calc(100% - clamp(32px, calc(25.739px + 1.739vw), 48px)), 600px);
  margin-inline: auto;
}
.player-profile > .player-shell {
  width: min(calc(100% - clamp(32px, calc(25.739px + 1.739vw), 48px)), 1060px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, calc(13.217px + 5.217vw), 80px);
}
.player-info { min-width: 0; }
.player-photo-wrap {
  overflow: hidden;
  margin: 0;
  padding-top: 18px;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.28) 100%),
    url("../images/img_1440.webp") left top / auto no-repeat;
}
.player-photo {
  display: block;
  width: 100%;
  height: auto;
}
.player-id {
  display: flex;
  align-items: center;
  gap: clamp(6px, calc(2.087px + 1.087vw), 16px);
  margin-bottom: 30px;
}
.player-trophy {
  display: flex;
  color: var(--btn);
  line-height: 0;
}
.player-trophy svg {
  width: clamp(34px, calc(31.652px + 0.652vw), 40px);
  height: clamp(34px, calc(31.652px + 0.652vw), 40px);
}
.player-profile h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
  line-height: 1;
  text-align: left;
  text-transform: capitalize;
}
.player-facts p {
  margin: 0;
  padding-bottom: 12px;
  color: var(--ink);
  font-size: clamp(20px, calc(19.217px + 0.217vw), 22px);
  font-weight: 500;
  line-height: 30px;
}
.player-facts p:last-child { padding-bottom: 0; }
.player-facts strong { font-weight: 700; }
.player-facts a {
  color: #0460ce;
  font-weight: 700;
}
.player-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e0e5ec;
}
.player-timeline li {
  display: grid;
  grid-template-columns: clamp(120px, calc(96.522px + 6.522vw), 180px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, calc(5.913px + 3.913vw), 56px);
  padding: clamp(28px, calc(24.87px + 0.87vw), 36px) 0;
  border-bottom: 1px solid #e0e5ec;
}
.player-career-card {
  min-width: 0;
  padding: 4px 0 0;
}
.player-career-year {
  margin: 0;
  color: #26364d;
  font-size: clamp(30px, calc(26.087px + 1.087vw), 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}
.player-timeline > li:first-child .player-career-year { color: var(--brand); }
.player-timeline > li:first-child .player-career-year::after {
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}
.player-career-card p {
  position: relative;
  margin: 0;
  padding: 0 0 12px 18px;
  color: var(--ink);
  font-size: clamp(20px, calc(19.217px + 0.217vw), 22px);
  font-weight: 500;
  line-height: 30px;
}
.player-career-card p::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  content: "";
}
.player-timeline > li:first-child .player-career-card p::before { background: var(--brand); }
.player-career-card p:last-child { padding-bottom: 0; }

.contents-wrap {
  padding-top: clamp(56px, calc(40.348px + 4.348vw), 96px);
  padding-bottom: clamp(56px, calc(40.348px + 4.348vw), 96px);
  background: rgba(249, 250, 251, 0.5);
}
.contents-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, calc(7.217px + 0.217vw), 10px);
  margin-bottom: clamp(22px, calc(20.435px + 0.435vw), 26px);
}
.filter-btn {
  padding: clamp(7px, calc(6.217px + 0.217vw), 9px) clamp(12px, calc(11.217px + 0.217vw), 14px);
  color: #1f2933;
  background: #fff;
  border: 1px solid #d6dbe1;
  border-radius: 4px;
  font-size: clamp(18px, calc(17.217px + 0.217vw), 20px);
  line-height: 1.2;
}
.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: #1f2933;
  outline: none;
}
.filter-btn.is-on {
  color: #fff;
  background: #1f2933;
  border-color: #1f2933;
}
.contents-card {
  margin: 0;
}
.contents-card.is-hidden { display: none; }
.contents-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f4f6f8;
}
.contents-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.contents-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms;
}
.contents-link:hover img,
.contents-link:focus-visible img { transform: scale(1.03); }
/* Video cards: YouTube hqdefault.jpg is 4:3 with black bars around a 16:9 frame. Widen the
   img box to 16:9 inside the 3:2 card ((3/2)/(16/9) = 27/32, so width 32/27) and centre it;
   object-fit: cover then crops exactly the bars. */
.contents-media.is-video img {
  width: calc(100% * 32 / 27);
  max-width: none;
  margin-left: calc(-100% * 5 / 54);
}
.contents-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 180ms;
}
.contents-overlay::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(50px, calc(46.87px + 0.87vw), 58px);
  font-weight: 300;
  line-height: 54px;
  text-align: center;
  transform: translate(-50%, -50%);
  content: "+";
}
.contents-link:hover .contents-overlay,
.contents-link:focus-visible .contents-overlay { opacity: 1; }
.contents-overlay.is-video::before { content: '\25B6'; font-size: clamp(22px, calc(18.87px + 0.87vw), 30px); text-shadow: 0 2px 8px #000; }
.contents-card figcaption {
  margin: 8px 0 0;
  color: #1f2933;
  font-size: clamp(14px, calc(12.435px + 0.435vw), 18px);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.page-schedule {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.page-schedule > main {
  flex: 1 0 auto;
}
.schedule-shell {
  width: min(calc(100% - clamp(32px, calc(25.739px + 1.739vw), 48px)), 1060px);
  margin-inline: auto;
}
.month-bar { background: #fff; }
.month-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, calc(16.087px + 1.087vw), 30px) clamp(12px, calc(7.304px + 1.304vw), 24px);
  padding: clamp(28px, calc(26.435px + 0.435vw), 32px) clamp(8px, calc(4.87px + 0.87vw), 16px) clamp(26px, calc(25.217px + 0.217vw), 28px);
  border-bottom: 0.8px solid rgba(0, 52, 123, 0.2);
}
.month-nav h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, calc(26.435px + 0.435vw), 32px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.month-nav-btn {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #888;
  line-height: 1;
}
.month-nav-btn svg { display: block; flex: none; }
.month-nav-target {
  color: #666;
  font-size: clamp(18px, calc(16.435px + 0.435vw), 22px);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.month-nav-btn:hover,
.month-nav-btn:focus-visible {
  color: var(--brand);
}
.month-nav-btn:hover .month-nav-target,
.month-nav-btn:focus-visible .month-nav-target {
  color: var(--brand);
}
.month-nav-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.month-nav-btn.is-off { color: #eee; cursor: default; }
.schedule-games { padding: 56px 0 88px; background: #fff; }
.schedule-streams { padding: 0 0 96px; background: #fff; }
.schedule-streams.is-solo { padding: 56px 0 96px; }
.schedule-games h2,
.schedule-streams h2 {
  max-width: 1060px;
  margin: 0 auto 12px;
  padding: 0 0 14px;
  color: var(--ink);
  font-size: clamp(26px, calc(22.087px + 1.087vw), 36px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}
.schedule-streams:not(.is-solo) h2 { padding-top: clamp(48px, calc(35.478px + 3.478vw), 80px); }
.game-row,
.stream-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, calc(26.435px + 0.435vw), 32px) clamp(8px, calc(4.87px + 0.87vw), 16px) clamp(26px, calc(25.217px + 0.217vw), 28px);
  border-bottom: 0.8px solid rgba(0, 52, 123, 0.2);
  gap: clamp(0px, calc(27.826px - 2.174vw), 20px) clamp(0px, calc(16.696px - 1.304vw), 12px);
}
.game-row:first-of-type,
.stream-row:first-of-type {
  border-top: 0.8px solid rgba(0, 52, 123, 0.2);
}
.game-row:nth-of-type(odd),
.stream-row:nth-of-type(odd) { background: rgba(249, 250, 251, 0.5); }
.game-when,
.stream-when {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.game-when { width: 300px; flex-wrap: nowrap; }
.game-when img {
  width: 40px;
  height: auto;
  flex: 0 0 auto;
}
.game-when strong,
.stream-when strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}
.game-when span,
.stream-when span:not(.stream-cal) {
  color: #3b3c3e;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.stream-slots {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.stream-day {
  flex: none;
}
.stream-times {
  display: grid;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.stream-when.is-multi {
  align-items: flex-start;
}
.stream-when.is-multi .stream-cal,
.stream-when.is-multi > strong,
.stream-when.is-multi .stream-day {
  height: calc(22px * 1.2);
  display: inline-flex;
  align-items: center;
}
.game-team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.game-team.is-home {
  width: 257px;
  justify-content: flex-end;
}
.game-team img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.game-team strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.game-team.is-two-letter-name strong { letter-spacing: 1px; }
.game-team.is-three-letter-name strong { letter-spacing: 0.4px; }
.game-team-score { display: none; }
.game-score,
.game-team-score {
  font-size: clamp(22px, calc(21.217px + 0.217vw), 24px);
}
.game-score {
  width: 93px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
  text-align: center;
}
.game-team.is-away { width: 343px; }
.stream-row { gap: clamp(0px, calc(27.826px - 2.174vw), 20px) 0; }
.stream-when,
.stream-title { width: calc(50% - 8px); }
.stream-cal {
  display: inline-flex;
  width: 34px;
  color: #056bf6;
  line-height: 0;
}
.stream-when strong { margin-left: -6px; }
.stream-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(20px, calc(15.304px + 1.304vw), 32px);
}
.stream-link {
  display: flex;
  align-items: center;
  gap: clamp(20px, calc(15.304px + 1.304vw), 32px);
}
.stream-title img {
  width: clamp(62px, calc(57.304px + 1.304vw), 74px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}
.stream-title strong {
  color: var(--ink);
  font-size: clamp(20px, calc(19.217px + 0.217vw), 22px);
  font-weight: 700;
  line-height: 1.2;
}
.stream-link:hover strong { color: #056bf6; }

.about-page .vision-close {
  color: var(--text);
  font-size: clamp(22px, 21.217px + 0.217vw, 24px);
  font-weight: 700;
  line-height: 1.56;
}
.about-page .inquiry-line {
  color: var(--ink);
  font-size: clamp(20px, 19.217px + 0.217vw, 22px);
  font-weight: 500;
  line-height: 1.56;
}
.about-page .inquiry-line strong,
.about-page .inquiry-line span {
  color: var(--ink);
  font-weight: 700;
}

.site-footer { background: #fff; }
.footer-brand {
  padding: clamp(18px, calc(17.217px + 0.217vw), 20px) 0 clamp(16px, calc(15.217px + 0.217vw), 18px);
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  background: rgba(249, 250, 251, 0.5);
}
.footer-brand .shell {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, calc(17.217px + 0.217vw), 20px);
}
.footer-logo {
  display: block;
  padding: clamp(16px, calc(15.217px + 0.217vw), 18px) 0;
  border-bottom: 1px solid rgba(0, 52, 124, 0.2);
}
.footer-logo img {
  height: 36px;
  width: auto;
  filter: grayscale(1);
}
.footer-logo strong {
  display: inline-block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}
.footer-company {
  margin: 0;
  color: #333333;
  font-size: clamp(16px, calc(15.217px + 0.217vw), 18px);
  font-weight: 500;
  line-height: 1.5em;
  letter-spacing: 0.2px;
  text-align: left;
}
.footer-legal { padding: clamp(12px, calc(11.217px + 0.217vw), 14px) 0; background: #fff; }
.footer-copy {
  margin: 0;
  color: #505050;
  font-size: clamp(13px, calc(12.609px + 0.109vw), 14px);
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0.3px;
}
.to-top {
  position: fixed;
  right: 0;
  bottom: 136px;
  z-index: 50;
  display: none;
  width: clamp(40px, calc(36.87px + 0.87vw), 48px);
  height: clamp(40px, calc(36.87px + 0.87vw), 48px);
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 5px 0 0 5px;
  font-size: 18px;
  line-height: 1;
}
.to-top.is-visible { display: grid; }

html.lightbox-open { overflow: hidden; }
.lightbox {
  --lightbox-padding-y: clamp(24px, calc(5.217px + 5.217vw), 72px);
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: var(--lightbox-padding-y) 0;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(5, 10, 18, 0.88);
  cursor: zoom-out;
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  max-height: calc(100vh - 144px);
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  grid-template-rows: clamp(44px, calc(40.87px + 0.87vw), 52px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
}
.lightbox-stage {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1 / 4;
  grid-template-rows: subgrid;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding-top: 0;
}
.lightbox-stage img {
  grid-row: 2;
  width: 100%;
  min-height: 0;
  max-height: min(100%, calc(100vh - 210px));
  object-fit: contain;
  background: #101722;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}
.lightbox-stage img[hidden] {
  display: none;
}
.lightbox-video {
  position: relative;
  grid-row: 2;
  width: min(100%, calc((100vh - 210px) * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16/9;
  max-height: calc(100vh - 210px);
  overflow: hidden;
  background: #101722;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}
.lightbox-video[hidden] {
  display: none;
}
.lightbox-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-stage figcaption {
  display: flex;
  grid-row: 3;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(14px, calc(13.217px + 0.217vw), 16px);
  font-weight: 800;
}
.lightbox-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.lightbox-title {
  color: #fff;
  overflow-wrap: anywhere;
  font-size: clamp(16px, calc(13.652px + 0.652vw), 22px);
  font-weight: 800;
  line-height: 1.3;
}
.lightbox-counter {
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  font-size: clamp(12px, calc(11.217px + 0.217vw), 14px);
  color: #c8d1dc;
}
.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease;
}
.lightbox-close {
  position: absolute;
  grid-column: 1;
  grid-row: 1 / 2;
  z-index: 2;
  top: -4px;
  right: -4px;
  width: clamp(36px, calc(32.87px + 0.87vw), 44px);
  height: clamp(36px, calc(32.87px + 0.87vw), 44px);
  font-size: clamp(38px, calc(30.957px + 1.957vw), 56px);
  line-height: 1;
}
.lightbox-prev {
  grid-column: 1;
}
.lightbox-next {
  grid-column: 3;
}
.lightbox-nav {
  width: clamp(38px, calc(29.391px + 2.391vw), 60px);
  grid-row: 2 / 3;
  height: clamp(60px, calc(55.304px + 1.304vw), 72px);
  line-height: 1;
}
.lightbox-nav svg {
  width: clamp(38px, calc(29.391px + 2.391vw), 60px);
  height: clamp(38px, calc(29.391px + 2.391vw), 60px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox-nav-label {
  display: none;
}
.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  color: #ffffff;
}
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* 태블릿 */
@media (max-width: 1023px) {
  .nav-toggle {
    position: relative;
    display: grid;
    margin-top: -2px;
    margin-left: auto;
    place-items: center;
    border: 0;
    background: transparent;
  }
  .nav-toggle span {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 3px;
    margin: 0;
    background: var(--btn);
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle span:nth-child(1) { top: 12px; }
  .nav-toggle span:nth-child(2) { top: 20px; }
  .nav-toggle span:nth-child(3) { top: 28px; }
  body.menu-open .nav-toggle span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
  }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: clamp(16px, calc(12.87px + 0.87vw), 24px);
    left: clamp(16px, calc(12.87px + 0.87vw), 24px);
    z-index: 60;
    flex-direction: column;
    gap: 0;
    padding: 10px 15px;
    background: #fff;
    border-top: 2.4px solid var(--brand);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  body.menu-open .site-nav { display: flex; }
  body.menu-open { overflow: hidden; }
  .site-nav a {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    padding: 16px 7px;
    border-bottom: 0.8px solid rgba(0, 0, 0, 0.1);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .project-grid,
  .pom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card span {
    font-size: clamp(18px, calc(10.957px + 1.957vw), 36px);
  }
  .contents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-row {
    display: grid;
    grid-template-columns: max-content auto minmax(0, 1fr);
    justify-content: start;
    justify-items: start;
  }
  .game-when { width: auto; grid-column: 1 / -1; }
  .game-team.is-home,
  .game-team.is-away { width: auto; }
  .game-team.is-home { justify-content: flex-start; }
  .game-score {
    width: auto;
    min-width: 52px;
    font-weight: 800;
  }
  .stream-row {
    flex-wrap: wrap;
  }
  .stream-when { width: 100%; }
  .stream-title { width: auto; max-width: 100%; }
  .lightbox-dialog {
    top: clamp(-36px, calc(-50.087px + 3.913vw), 0px);
    width: calc(100% - clamp(32px, calc(22.609px + 2.609vw), 56px));
    max-height: min(calc(100vh - 92px), calc(100vh - var(--lightbox-padding-y) * 2));
    grid-template-columns: minmax(0, 1fr);
  }
  .lightbox-stage {
    grid-column: 1;
  }
  .lightbox-stage img,
  .lightbox-video {
    max-height: calc(100vh - 150px);
  }
  .lightbox-stage img {
    max-height: min(100%, calc(100vh - 150px));
  }
  .lightbox-video {
    width: min(100%, calc((100vh - 150px) * 16 / 9));
  }
  .lightbox-stage figcaption {
    margin: 9px 2px 0;
  }
  .lightbox-nav {
    position: absolute;
    grid-column: 1;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.32);
  }
  .lightbox-prev {
    left: calc(clamp(8px, calc(4.87px + 0.87vw), 16px) - clamp(32px, calc(22.609px + 2.609vw), 56px) / 2);
  }
  .lightbox-next {
    right: calc(clamp(8px, calc(4.87px + 0.87vw), 16px) - clamp(32px, calc(22.609px + 2.609vw), 56px) / 2);
  }
  .lightbox-stage img { touch-action: pan-y pinch-zoom; }

}

/* 모바일 */
@media (max-width: 767px) {
  .player-profile > .player-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .contents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .game-score { display: none; }
  .game-team-score {
    display: block;
    margin-left: 8px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
  }
  .game-team.is-home { justify-content: flex-start; }
  .stream-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .stream-when,
  .stream-title { width: 100%; }
  .footer-company { line-height: 1.8em; }
  .footer-company > span { display: block; }
  .footer-company > .footer-sep { display: none; }
  .player-shell,
  .player-profile > .player-shell { width: min(calc(100% - clamp(32px, calc(25.739px + 1.739vw), 48px)), 600px); }
  .player-timeline li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Updates: one reading column, with older posts expanded in place. */
.page-updates { display: flex; min-height: 100vh; flex-direction: column; }
.page-updates > main { flex: 1; }
.updates-wrap { padding: clamp(56px, calc(40.348px + 4.348vw), 96px) 0; }
.updates-shell { width: min(calc(100% - 32px), 800px); margin: 0 auto; }
.updates-post { padding: clamp(32px, calc(25.739px + 1.739vw), 48px) 0; border-bottom: 1px solid #c4c8ce; }
.updates-post:first-child { padding-top: 0; }
.updates-post:last-child { border-bottom: 0; }
.updates-date { display: block; font-size: clamp(18px, calc(17.217px + 0.217vw), 20px); font-weight: 500; line-height: 1.5; color: var(--text); }
.updates-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.updates-category { color: var(--ink); font-size: clamp(18px, calc(17.217px + 0.217vw), 20px); font-weight: 600; line-height: 1.5; }
.updates-source { font-weight: 700; }
.updates-title { margin: 8px 0 0; color: var(--ink); font-size: clamp(22px, calc(21.217px + 0.217vw), 24px); font-weight: 700; line-height: 1.28; overflow-wrap: anywhere; }
.updates-body { display: grid; gap: 20px; margin-top: 20px; }
.updates-copy { margin: 0; padding-bottom: clamp(12px, calc(11.217px + 0.217vw), 14px); font-size: clamp(18px, calc(17.217px + 0.217vw), 20px); font-weight: 500; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.updates-copy:last-child { padding-bottom: 0; }
.updates-media { position: relative; display: block; overflow: hidden; border-radius: 8px; }
.updates-media img { width: 100%; height: auto; }
.updates-video { aspect-ratio: 16 / 9; background: #000; }
.updates-video img { height: 100%; object-fit: cover; }
.updates-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.15); }
.updates-play svg { box-sizing: content-box; padding: 14px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); }
.updates-related { justify-self: start; min-height: 44px; display: inline-flex; gap: 8px; align-items: center; font-size: clamp(18px, calc(17.217px + 0.217vw), 20px); line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.updates-related:hover { color: var(--brand); }
.updates-summary { position: relative; display: block; padding-right: 40px; cursor: pointer; list-style: none; }
.updates-summary::-webkit-details-marker { display: none; }
.updates-chevron { position: absolute; top: 24px; right: 0; color: var(--text); transition: transform 180ms ease; }
.updates-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 12px 0 0; font-size: clamp(16px, calc(15.217px + 0.217vw), 18px); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.updates-detail[open] .updates-chevron { transform: rotate(180deg); }
.updates-detail[open] .updates-excerpt { display: none; }
.updates-detail[open] .updates-body { animation: updates-reveal 180ms ease; }
.updates-summary:focus-visible, .updates-media:focus-visible, .updates-related:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
.updates-empty { margin: 0; padding: 40px 0; text-align: center; font-size: clamp(16px, calc(14.435px + 0.435vw), 20px); line-height: 1.5; }
@keyframes updates-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .updates-chevron { transition: none; }
  .updates-detail[open] .updates-body { animation: none; }
}

html.is-preview-edit [data-edit] {
  cursor: pointer;
}
html.is-preview-edit [data-edit]:hover,
html.is-preview-edit [data-edit].is-edit-on {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
