:root {
  --yellow: #ffd60a;
  --yellow-deep: #f2c200;
  --yellow-soft: #fff6c7;
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #d4d4d4;
  --gray-200: #e7e7e7;
  --gray-100: #f3f3f3;
  --gray-50: #f8f8f8;
  --white: #fff;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 720px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--gray-100);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.en {
  font-family: Archivo, "Noto Sans KR", sans-serif;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.shell {
  max-width: var(--maxw);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--gray-200), 0 30px 60px rgba(0, 0, 0, 0.06);
}

.brand-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 14px 18px;
  background: var(--yellow);
  color: #666;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-60deg, transparent 0 18px, rgba(0, 0, 0, 0.08) 18px 19px);
  opacity: 0.55;
  pointer-events: none;
}

.brand-header .brand-logo,
.brand-header .brand-name {
  position: relative;
  z-index: 1;
}

.brand-header .brand-logo {
  display: block;
  flex-shrink: 0;
  height: 15px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  color: inherit;
}

.f-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.f-brand .brand-logo {
  display: block;
  width: auto;
  height: 18px;
}

.hero {
  padding: 36px 24px 28px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.hero h1 {
  margin: 0;
  color: var(--black);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.hero h1 .accent {
  padding: 0 2px;
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%);
}

.hero .lede {
  margin: 18px 0 0;
  color: var(--gray-700);
  font-size: 14.5px;
  line-height: 1.7;
  text-wrap: pretty;
}

.hero .lede strong {
  color: var(--ink);
  font-weight: 700;
}

.summary {
  margin: 24px 24px 8px;
  overflow: hidden;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--yellow);
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.summary-head .tag {
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--black);
  color: var(--yellow);
  font-family: Archivo, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
}

.summary-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--white);
}

.summary-cell.full {
  grid-column: 1 / -1;
}

.summary-cell .label {
  color: var(--gray-500);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.summary-cell .value {
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.summary-cell .value small {
  margin-left: 4px;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 500;
}

.summary-cell .pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.summary-cell .pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.summary-cell small {
  margin-top: 6px;
  color: var(--gray-500);
  font-size: 11.5px;
}

.winners {
  padding: 28px 24px 8px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-title .count {
  color: var(--gray-700);
  font-family: Archivo, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-title .count b {
  color: var(--black);
}

.search {
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.search .hint {
  margin: 0 0 10px;
  color: var(--gray-700);
  font-size: 12.5px;
}

.search .hint b {
  color: var(--ink);
  font-weight: 700;
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-row .prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--white);
  color: var(--gray-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}

.search-row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  margin-left: -1px;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  border-radius: 0;
  outline: none;
  background: var(--white);
  color: var(--black);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.search-row input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px var(--yellow);
}

.search-row button {
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--black);
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.search-row button:hover {
  background: #222;
}

.search-status {
  min-height: 18px;
  margin-top: 10px;
  color: var(--gray-700);
  font-size: 12.5px;
}

.search-status.ok {
  color: #0c6b3a;
}

.search-status.empty,
.search-status.error {
  color: #b00020;
}

.list-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 56px 1fr 160px;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--black);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list-head span:last-child {
  text-align: right;
}

.list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 56px 1fr 160px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--gray-100);
  transition: background-color 0.25s ease;
}

.list li:last-child {
  border-bottom: 0;
}

.list li:nth-child(even) {
  background: #fcfcfc;
}

.list li.highlight {
  background: var(--yellow-soft) !important;
  box-shadow: inset 4px 0 0 var(--yellow-deep);
}

.list .no {
  color: var(--gray-500);
  font-family: Archivo, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.list .name {
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.list .phone {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: right;
}

.list .empty-row {
  display: block;
  padding: 28px 16px;
  color: var(--gray-700);
  text-align: center;
}

.list .list-loading {
  display: block;
  padding: 40px 20px 44px;
  background: var(--gray-50);
}

.list-loading-inner {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}

.list-loading-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--black);
  border-right-color: var(--yellow);
  border-radius: 50%;
  animation: listLoadingSpin 0.85s linear infinite;
}

.list-loading-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--gray-200);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.list-loading-fill {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-deep) 0%, var(--yellow) 45%, var(--black) 100%);
  animation: listLoadingBar 1.35s ease-in-out infinite;
}

.list-loading-text {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@keyframes listLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes listLoadingBar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(320%);
  }
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 0 8px;
}

.pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: Archivo, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.pager button:hover:not(:disabled) {
  border-color: var(--black);
}

.pager button[aria-current="page"] {
  border-color: var(--black);
  background: var(--black);
  color: var(--yellow);
}

.pager button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.pager .ellipsis {
  padding: 0 4px;
  color: var(--gray-500);
}

.contact {
  margin: 24px 24px 0;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.contact h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--black);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact h3::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--black);
  border-radius: 3px;
  background: var(--yellow);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 13.5px;
}

.contact-list .k {
  padding: 4px 8px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.contact-list .v {
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}

.contact-list .v a {
  text-decoration-color: var(--yellow-deep);
  text-underline-offset: 3px;
}

.contact-list .v small {
  display: block;
  margin-top: 2px;
  color: var(--gray-500);
  font-size: 11.5px;
  font-weight: 500;
}

.notes {
  padding: 22px 24px 36px;
  margin-bottom: 8px;
}

.notes h4 {
  margin: 0 0 10px;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notes li {
  position: relative;
  padding-left: 14px;
  color: var(--gray-700);
  font-size: 12px;
  line-height: 1.6;
}

.notes li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--gray-500);
}

.cta {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  padding: 32px 24px 30px;
  background: var(--yellow);
  color: var(--black);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-60deg, transparent 0 22px, rgba(0, 0, 0, 0.06) 22px 23px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta .eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta h3 {
  margin: 14px 0 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cta .product {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px dashed rgba(0, 0, 0, 0.25);
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.benefits {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.benefits li::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--yellow);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.cta-btn:hover {
  background: #1a1a1a;
}

.cta-btn .arrow {
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.cta-btn:hover .arrow {
  transform: translateX(4px);
}

.footer {
  padding: 24px 24px 32px;
  background: var(--black);
  color: #bfbfbf;
  font-size: 11.5px;
  line-height: 1.7;
}

.footer .f-brand {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 13px;
}

.footer dl {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 4px;
  margin: 0;
}

.footer dt {
  color: #777;
  font-weight: 600;
}

.footer dd {
  margin: 0;
  color: #bfbfbf;
}

.footer .copy {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #222;
  color: #777;
  font-family: Archivo, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.footer .copy .approval {
  margin-top: 4px;
  color: #777;
  text-align: left;
  opacity: 1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .hero {
    padding: 28px 20px 22px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .summary,
  .contact {
    margin-left: 16px;
    margin-right: 16px;
  }

  .winners,
  .notes {
    padding: 22px 16px 32px;
    margin-bottom: 8px;
  }

  .cta {
    padding: 28px 20px;
  }

  .cta h3 {
    font-size: 22px;
  }

  .footer {
    padding: 22px 20px 28px;
  }

  .list-head {
    display: none;
  }

  .list {
    display: grid;
    gap: 8px;
    border: 0;
    background: transparent;
  }

  .list li {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
  }

  .list .list-loading {
    grid-column: 1 / -1;
    padding: 36px 16px 40px;
  }

  .list li:nth-child(even) {
    background: var(--white);
  }

  .list .phone {
    font-size: 13px;
  }
}

@media (min-width: 721px) {
  body {
    padding: 32px 0;
  }

  .shell {
    overflow: hidden;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .list-loading-fill {
    transform: translateX(0);
    width: 60%;
  }
}
