:root {
  --paper: #E5E0D3;
  --sheet: #F7F4EC;
  --sheet-2: #F0EBDF;
  --forest: #0A2E22;
  --forest-2: #08281D;
  --forest-3: #061F17;
  --ink: #14231C;
  --muted: #7C837A;
  --gold: #B08D57;
  --gold-soft: #D9C7A3;
  --line: #DCD5C4;
  --line-2: #E7E1D2;
  --serif: "Cormorant Garamond", "Noto Serif KR", "Nanum Myeongjo", serif;
  --serif-kr: "Noto Serif KR", "Cormorant Garamond", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

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

body {
  margin: 0;
  padding: 30px 20px 96px;
  background:
    radial-gradient(120% 70% at 50% 0%, #EFEAE0 0%, #E5E0D3 55%, #DCD6C7 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, li { margin: 0; }
ul { padding: 0; list-style: none; }

.sheet {
  width: min(1060px, 100%);
  margin: 0 auto;
  background: var(--sheet);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 36px 80px -46px rgba(8, 40, 29, 0.6);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 24px 26px 0;
  color: #EFEAD9;
  background:
    radial-gradient(120% 100% at 12% 0%, rgba(255, 255, 255, 0.09), transparent 58%),
    linear-gradient(158deg, #0C3628 0%, var(--forest-2) 58%, var(--forest-3) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(217, 199, 163, 0.22);
  border-radius: 4px;
  pointer-events: none;
}

.hero::after {
  content: "G";
  position: absolute;
  right: -6px;
  bottom: -58px;
  font-family: var(--serif);
  font-size: 260px;
  line-height: 1;
  color: rgba(217, 199, 163, 0.05);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(217, 199, 163, 0.26);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand .bni {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand .bni sup {
  font-family: var(--sans);
  font-size: 8px;
  vertical-align: super;
  color: var(--gold-soft);
}

.brand .sep {
  width: 1px;
  height: 15px;
  background: rgba(217, 199, 163, 0.45);
}

.brand .green {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.44em;
  color: var(--gold-soft);
}

.ornament {
  font-size: 8px;
  color: var(--gold);
  letter-spacing: 0.3em;
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: 30px 3px 26px;
}

.rule {
  display: block;
  width: 38px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--gold);
}

.intro {
  max-width: 840px;
  font-family: var(--serif-kr);
  font-size: clamp(23px, 3.5vw, 34px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #F3EFE2;
}

.intro em {
  font-style: normal;
  color: var(--gold-soft);
}

.metas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 199, 163, 0.26);
}

.meta .lab {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.meta .val {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: #E9E3D1;
  white-space: nowrap;
}

.meta .val.is-pending {
  color: #9AA79C;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: -0.01em;
}

/* ---------- Members ---------- */

.members {
  padding: 26px 26px 34px;
  background:
    linear-gradient(180deg, var(--sheet) 0%, var(--sheet) 70%, var(--sheet-2) 100%);
}

.members-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.micro {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8D7D61;
}

.members-head .count {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--forest);
}

.roster { margin-top: 16px; }

/* ---------- Region cells ---------- */

.cell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cell:last-child { border-bottom: 0; padding-bottom: 4px; }

.cell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cell-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.cell-head .idx {
  display: none;
}

.cell-head h3 {
  font-family: var(--serif-kr);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--forest);
}

.cell-sub {
  padding-top: 4px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A9384;
  white-space: nowrap;
}

.cell-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.subcell { min-width: 0; }

.subcell-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 7px;
}

.subcell-head h4 {
  margin: 0;
  font-family: var(--serif-kr);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
}

.subcell-head > span {
  font-size: 8.5px;
  color: #A58A5C;
}

.subcell-head .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #E0D6C1, rgba(224, 214, 193, 0));
}

.sub-muted {
  color: #A2ACA6;
  font-weight: 500;
}

.cell-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, 96px);
  gap: 16px 13px;
  justify-content: start;
}

.card {
  width: 96px;
  text-align: center;
}

.ph {
  width: 96px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(165deg, #F2EDE0 0%, #E4DBC8 100%);
  border: 1px solid #D8CCB4;
  font-family: var(--serif-kr);
  font-size: 30px;
  color: #A78B5D;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .nm {
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif-kr);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.card .co,
.card .ind,
.card .meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.card .co {
  margin-top: 1px;
  font-size: 9.5px;
  color: #7C837A;
}

.card .ind {
  margin-top: 1px;
  font-size: 9.5px;
  color: #8A6E45;
}

.card .meta {
  margin-top: 2px;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #A99372;
}

.card .pend { color: #B4B9B1; }

.chapter {
  break-inside: avoid;
  margin-bottom: 13px;
}

.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 4px;
}

.chapter-head .idx {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.chapter-head h3 {
  font-family: var(--serif-kr);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
}

.chapter-head .cnt {
  font-size: 9px;
  color: #A09A8B;
}

.chapter-head .line {
  flex: 1;
  height: 1px;
  margin-left: 3px;
  background: linear-gradient(90deg, rgba(176, 141, 87, 0.4), rgba(216, 208, 190, 0));
}

.chapter--plain {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.rows { margin: 0; padding: 0; }

.row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5.5px 0;
  border-bottom: 1px solid var(--line-2);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

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

.ini {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border: 1px solid #D2C6AB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 10.5px;
  color: #7E6C4E;
  background: rgba(255, 255, 255, 0.35);
}

.ini img { width: 100%; height: 100%; object-fit: cover; display: block; }

.who { flex: 1; min-width: 0; }

.nm {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--serif-kr);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.nm .co {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  color: #858C83;
}

.nm .chap {
  flex: 0 0 auto;
  margin-right: 1px;
  padding-right: 5px;
  border-right: 1px solid #D9CDB4;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1.25;
}

.nm .co.pend { color: #B4B9B1; }

.nm .co::before {
  content: "·";
  margin-right: 4px;
  color: #C3B79C;
}

.sub {
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.35;
  color: #969C93;
}

.sub .pend { color: #AFB4AC; }

.arrow {
  flex: 0 0 auto;
  padding-left: 2px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
}

/* ---------- Footer ---------- */

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 26px;
  background: var(--forest);
  border-top: 1px solid rgba(217, 199, 163, 0.34);
  color: #98A69B;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.foot b {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.22em;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-links a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(217, 199, 163, 0.45);
  padding-bottom: 1px;
}

.foot-links a:active { opacity: 0.7; }

/* ---------- Dock ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 28px));
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(217, 199, 163, 0.38);
  border-radius: 11px;
  background: rgba(8, 40, 29, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65);
}

.dock a {
  flex: 1;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dock-kakao {
  background: linear-gradient(180deg, #DFCFAC 0%, #CDB88D 100%);
  color: #241C0E;
}

.dock-band {
  border: 1px solid rgba(217, 199, 163, 0.52);
  color: #EDE7D6;
}

.dock a:active { filter: brightness(0.95); }

/* ---------- Responsive ---------- */

@media (min-width: 760px) {
  .cell {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 20px 0;
  }
  .cell-head {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
  }
  .cell-sub { padding-top: 0; }
}

@media (max-width: 759px) {
  body { padding: 0 0 92px; }
  .sheet { border-radius: 0; box-shadow: none; }
  .hero { padding: 20px 18px 0; }
  .hero::before { inset: 8px; }
  .hero-body { padding: 26px 2px 22px; }
  .intro { font-size: 23px; line-height: 1.58; }
  .metas { gap: 8px; margin-top: 24px; }
  .meta .val { font-size: 15px; }
  .members { padding: 22px 18px 30px; }
  .foot { padding: 12px 18px; font-size: 8px; }
  .dock { bottom: 12px; }
}

@media (max-width: 380px) {
  .brand .green { letter-spacing: 0.32em; }
  .intro { font-size: 21px; }
  .meta .val { font-size: 14px; }
}
