@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap");

:root {
  --phone-width: 328px;
  --phone-height: 780px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --bg: #000;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #6e6e6e;
  --line: #e9e9e9;
  --chip: #303030;
  --blue: #0a91b4;
  --blue-dark: #087694;
  --blue-soft: #e6f6fb;
  --dream: #78aee7;
  --share: #f2b089;
  --teal: #0f7f97;
  --danger: #ea2044;
  --success: #0aa1d0;
  --card-dark: #2a2a2a;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: -0.02em;
  word-break: keep-all;
  line-break: strict;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.mockup-shell {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  overflow-x: hidden;
  position: relative;
}

.screen-stage {
  width: min(100%, var(--phone-width));
  max-width: var(--phone-width);
  min-width: min(100%, var(--phone-width));
  flex: 0 0 auto;
}

.app-stage {
  width: 100%;
  max-width: var(--phone-width);
  min-width: 0;
  margin: 0 auto;
  position: relative;
  will-change: transform, opacity;
  transform-origin: center center;
}

.app-stage--enter {
  animation: page-enter 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-stage--leave {
  animation: page-leave 180ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.phone {
  position: relative;
  width: 100%;
  height: min(var(--phone-height), calc(100svh - 24px));
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.phone--plain {
  background: #fff;
}

.screen {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-y;
  overflow-x: hidden;
}

.screen--dark {
  background: #0c0c0c;
  color: #fff;
}

.screen-scroll {
  padding-bottom: 24px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 10px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.app-header--ghost {
  background: transparent;
  color: #fff;
}

.chrome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms var(--ease-out),
    opacity 160ms var(--ease-out);
}

.chrome-btn:hover {
  background: rgba(17, 17, 17, 0.06);
}

.menu-icon {
  width: 20px;
  display: grid;
  gap: 4px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.profile-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.profile-icon::before,
.profile-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.profile-icon::before {
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.profile-icon::after {
  bottom: 0;
  width: 18px;
  height: 9px;
  border-radius: 10px 10px 6px 6px;
}

.back-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.back-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.brand-chip {
  padding: 5px 10px;
  background: #2d2d2d;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border: 0;
  cursor: pointer;
}

.page-pad {
  padding: 0 16px 24px;
}

.page-pad--tight {
  padding: 0 10px 16px;
}

.eyebrow {
  margin: 0;
  color: #d7f6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-title,
.package-page__title,
.section-title,
.predict-page__title,
.modal-card__title,
.points-month,
.points-total,
.drawer-name {
  text-wrap: balance;
}

.section-subtitle,
.subtle-note,
.warning-note,
.package-page__copy,
.package-page__note,
.package-page__warning,
.modal-card__body,
.faq-answer,
.field-label,
.drawer-points,
.feed-card__title {
  line-height: 1.58;
}

.button,
.ghost-button,
.tab,
.chip-button,
.inline-button,
.drawer-row,
.mypage-row,
.player-chip,
.feed-card,
.package-card,
.team-choice,
.lineup-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms var(--ease-out),
    opacity 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    color 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.button {
  width: 100%;
  min-height: 58px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.button--dark {
  background: #262626;
  color: #fff;
}

.button--blue {
  background: var(--blue);
  color: #fff;
}

.button--light {
  background: #f4f4f4;
  color: #222;
}

.button--pdf {
  min-height: 40px;
  border-radius: 0;
  font-size: 14px;
}

.button:active,
.ghost-button:active,
.tab:active,
.chip-button:active,
.inline-button:active,
.drawer-row:active,
.mypage-row:active,
.player-chip:active,
.feed-card:active,
.package-card:active,
.team-choice:active,
.lineup-slot:active {
  transform: scale(0.985);
}

.chrome-btn:active {
  transform: scale(0.96);
}

.button-stack {
  display: grid;
  gap: 12px;
}

.subtle-note {
  color: #6a6a6a;
  font-size: 12px;
  line-height: 1.55;
}

.warning-note {
  color: #e84c57;
  font-size: 12px;
  line-height: 1.45;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 230, 132, 0.26), transparent 22%),
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 88% 28%, rgba(255, 167, 71, 0.15), transparent 18%),
    linear-gradient(180deg, #07132d 0%, #0c2958 48%, #173217 100%);
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 16px 28px;
}

.landing-title {
  margin: 12px 0 0;
  font-size: 19px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.landing-title strong {
  display: block;
  color: #f1dc3b;
}

.landing-art {
  position: relative;
  height: 438px;
  margin: 12px -4px 18px;
}

.landing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: saturate(1.02);
}

.package-page {
  padding: 16px 12px 22px;
}

.package-page__head {
  text-align: center;
}

.package-page__head strong {
  font-size: 11px;
  font-weight: 600;
}

.package-page__title {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.1;
}

.package-page__copy {
  margin: 6px 0 12px;
  font-size: 11px;
  line-height: 1.42;
  color: #666;
}

.package-page__warning {
  margin: 8px 0 0;
  text-align: center;
}

.package-page__note {
  margin: 8px 0 0;
  text-align: center;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.package-grid--pdf {
  gap: 8px;
}

.package-card {
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  min-height: 246px;
}

.package-card--dream {
  background: var(--dream);
}

.package-card--share {
  background: var(--share);
}

.package-card--active {
  outline: 2px solid #111;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.package-card--dim {
  opacity: 0.42;
}

.package-card__pack {
  width: 100%;
  height: 152px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(-22px) scale(1.05);
  transform-origin: center top;
}

.package-card__product {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 176px;
  padding: 18px 8px 0;
  position: relative;
  overflow: hidden;
}

.package-card__product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 34px;
  z-index: 2;
}

.package-card--dream .package-card__product::before {
  background: var(--dream);
}

.package-card--share .package-card__product::before {
  background: var(--share);
}

.package-card__team-stack {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 8px 0 14px;
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.team-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #2f2f2f;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.03em;
}

.team-dot--stack {
  width: 36px;
  height: 36px;
  font-size: 10px;
}

.team-dots--compact .team-dot {
  width: 48px;
  height: 48px;
}

.team-dots--home {
  margin-top: 4px;
}

.rank-strip {
  margin: 0 0 14px;
  width: 100%;
  padding: 12px 16px;
  background: var(--blue-dark);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.coin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffe27e, #d8a10d);
  flex: 0 0 auto;
}

.home-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.home-panel {
  padding: 10px 0 18px;
  min-height: 420px;
  display: grid;
  align-content: start;
  flex: 1 0 auto;
}

.home-hero--dream,
.home-panel--dream {
  background: var(--dream);
}

.home-hero--share,
.home-panel--share {
  background: var(--share);
}

.home-panel__meta {
  display: flex;
  justify-content: flex-end;
}

.home-panel__title {
  margin: 0;
  padding: 0 16px;
  text-align: right;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-panel__hero-copy {
  margin: 12px 16px 0;
  color: rgba(17, 17, 17, 0.78);
  font-size: 12px;
  line-height: 1.48;
}

.home-panel__visual {
  width: 126px;
  height: 108px;
  margin: 4px auto 10px;
  overflow: hidden;
}

.home-panel__visual--hero {
  width: 100%;
  height: 214px;
  margin: 0 0 10px;
  padding: 0 14px;
  position: relative;
  display: grid;
  place-items: center;
}

.home-panel__visual--hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 34px;
  z-index: 2;
}

.home-hero--dream .home-panel__visual--hero::before {
  background: var(--dream);
}

.home-hero--share .home-panel__visual--hero::before {
  background: var(--share);
}

.home-panel__visual img {
  width: auto;
  max-width: 192px;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  position: relative;
  z-index: 1;
  transform: translateY(-32px) scale(1.16);
  transform-origin: center top;
}

.home-panel__stamp {
  position: absolute;
  right: 52px;
  top: 48px;
  width: 70px;
  height: 62px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--stamp) 88%, black 12%);
  opacity: 0.76;
}

.stat-bubble {
  width: calc(100% - 44px);
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: 28px;
  background: #262626;
  color: #fff;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.stat-bubble--pdf {
  width: calc(100% - 66px);
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.42;
}

.home-page__cta {
  padding-top: 12px;
}

.surface {
  background: #fff;
  color: var(--ink);
}

.surface--dark {
  background: var(--card-dark);
  color: #fff;
}

.surface--teal {
  background: var(--teal);
  color: #fff;
}

.surface-card {
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.section-stack {
  display: grid;
  gap: 16px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.8;
}

.step-list,
.bullet-list,
.menu-list,
.ledger-list,
.faq-list,
.inquiry-list {
  display: grid;
  gap: 10px;
}

.step-item,
.menu-item,
.ledger-item,
.faq-item,
.inquiry-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.step-item:last-child,
.menu-item:last-child,
.ledger-item:last-child,
.faq-item:last-child,
.inquiry-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}

.step-no {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mini-table th,
.mini-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.mini-table th {
  font-size: 11px;
  color: #c4f5ff;
  font-weight: 700;
}

.ranking-head {
  padding: 0 16px 14px;
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  align-items: end;
}

.podium-card {
  position: relative;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  text-align: center;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.12);
}

.podium-card__inner {
  padding: 18px 10px 14px;
}

.podium-card--first {
  min-height: 186px;
  background: linear-gradient(180deg, #f85b59, #d92f2e);
}

.podium-card--second {
  min-height: 148px;
  background: linear-gradient(180deg, #f3d65e, #e0b419);
}

.podium-card--third {
  min-height: 116px;
  background: linear-gradient(180deg, #5da5f1, #2d72d3);
}

.rank-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.84);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.podium-card__name {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.podium-card__score {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.rank-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #efefef;
}

.drawer-screen {
  height: 100%;
  padding: 0;
  background: #000;
  overflow-y: auto;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  overflow: hidden;
  display: flex;
  animation: overlay-fade-in 180ms var(--ease-out);
}

.drawer-overlay--left {
  justify-content: flex-start;
}

.drawer-overlay--right {
  justify-content: flex-end;
}

.drawer-overlay__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.56);
  cursor: pointer;
}

.drawer-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  padding: 18px 0 28px;
  background: #fff;
  color: var(--ink);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 18px 0 36px rgba(0, 0, 0, 0.22);
  animation: drawer-slide-in 260ms var(--ease-soft);
}

.drawer-panel--left {
  box-shadow: 18px 0 36px rgba(0, 0, 0, 0.22);
}

.drawer-panel--right {
  box-shadow: -18px 0 36px rgba(0, 0, 0, 0.22);
  animation: drawer-slide-in-right 260ms var(--ease-soft);
}

.drawer-panel--mypage {
  max-width: none;
}

.drawer-top {
  padding: 0 18px 18px;
}

.drawer-top--mypage {
  padding-top: 10px;
}

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

.drawer-name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1788a0;
}

.drawer-name--mypage {
  font-size: 22px;
}

.drawer-points {
  margin-top: 8px;
  color: #ff5f6d;
  font-size: 14px;
  font-weight: 700;
}

.drawer-list {
  display: grid;
}

.drawer-list--mypage {
  border-top: 1px solid #efefef;
}

.drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: #fff;
  text-align: left;
  border-top: 1px solid #f0f0f0;
}

.drawer-row--active {
  background: #efefef;
}

.drawer-row--link {
  font-weight: 600;
}

.drawer-row:hover {
  background: #f7f7f7;
}

.drawer-submenu {
  display: grid;
  gap: 6px;
  padding: 8px 18px 12px 28px;
  background: #efefef;
  border-top: 1px solid #efefef;
}

.drawer-submenu__link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: auto;
  padding: 0 0 2px;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:
    transform 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.drawer-submenu__link:hover {
  color: #555;
}

.drawer-submenu__link:active {
  transform: scale(0.985);
}

.drawer-caret {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-right: 3px solid #222;
  border-bottom: 3px solid #222;
  transform: rotate(45deg) translateY(-1px);
  transition:
    transform 180ms var(--ease-out),
    opacity 180ms var(--ease-out);
  opacity: 0.86;
}

.drawer-caret--open {
  transform: rotate(-135deg) translateX(1px);
  opacity: 1;
}

.drawer-store {
  width: 232px;
  margin: 24px auto 0;
  min-height: 56px;
  border-radius: 999px;
  background: #0c87d1;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.desktop-reference {
  display: none;
}

.desktop-sitemap {
  display: none;
}

.desktop-sitemap__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.desktop-sitemap__stack {
  display: grid;
  gap: 14px;
}

.desktop-sitemap__section {
  display: grid;
  gap: 8px;
}

.desktop-sitemap__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.desktop-sitemap__items {
  display: grid;
  gap: 4px;
}

.desktop-sitemap__link {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.desktop-sitemap__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.desktop-sitemap__link--active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.desktop-reference__image {
  width: 100%;
  display: block;
  border-radius: 16px;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  object-fit: cover;
}

.toast-banner {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 40;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  animation: toast-pop-in 220ms var(--ease-soft);
  pointer-events: none;
}

.article-layout {
  padding: 16px 20px 28px;
}

.simple-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
}

.article-block {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.article-card {
  padding: 16px 14px;
  border: 1px solid #ededed;
  background: #fff;
}

.agreement-scroll {
  max-height: 180px;
  overflow: auto;
  border: 1px solid #ececec;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #555;
}

.screen,
.drawer-panel,
.agreement-scroll,
.player-chip-row {
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.28) transparent;
}

.screen::-webkit-scrollbar,
.drawer-panel::-webkit-scrollbar,
.agreement-scroll::-webkit-scrollbar {
  width: 6px;
}

.player-chip-row::-webkit-scrollbar {
  height: 6px;
}

.screen::-webkit-scrollbar-track,
.drawer-panel::-webkit-scrollbar-track,
.agreement-scroll::-webkit-scrollbar-track,
.player-chip-row::-webkit-scrollbar-track {
  background: transparent;
}

.screen::-webkit-scrollbar-thumb,
.drawer-panel::-webkit-scrollbar-thumb,
.agreement-scroll::-webkit-scrollbar-thumb,
.player-chip-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.28);
}

.screen:hover::-webkit-scrollbar-thumb,
.drawer-panel:hover::-webkit-scrollbar-thumb,
.agreement-scroll:hover::-webkit-scrollbar-thumb,
.player-chip-row:hover::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.42);
}

.check-grid {
  display: grid;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-row input,
.radio-row input {
  margin-top: 2px;
}

.radio-row {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-label {
  color: #9a9a9a;
  font-size: 12px;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  background: transparent;
  color: #111;
  font-size: 15px;
  outline: 0;
  transition:
    border-color 160ms var(--ease-out),
    background-color 160ms var(--ease-out);
}

.field-textarea {
  min-height: 140px;
  resize: vertical;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-bottom-color: var(--blue);
}

.register-tabs,
.points-tabs,
.collection-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #efefef;
  color: #444;
  font-size: 13px;
  font-weight: 700;
}

.tab--active {
  background: var(--blue);
  color: #fff;
}

.register-panel {
  display: grid;
  gap: 14px;
  padding: 0 16px 24px;
}

.helper-box {
  padding: 14px;
  background: #f6f6f6;
  font-size: 12px;
  line-height: 1.55;
  color: #5a5a5a;
}

.collection-summary {
  padding: 16px;
  background: linear-gradient(180deg, #262626, #111);
  color: #fff;
}

.collection-hero {
  position: relative;
  padding: 18px 16px 14px;
  background:
    radial-gradient(circle at 14px 14px, rgba(255, 255, 255, 0.12) 2px, transparent 2.5px) 0 0 / 24px 24px,
    linear-gradient(180deg, #0d80f2, #0b63d7);
  color: #fff;
  overflow: hidden;
}

.collection-hero__mark {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 26px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: -0.05em;
}

.collection-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}

.collection-hero__title {
  margin: 12px 0 14px;
  font-size: 20px;
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.collection-hero__title strong {
  display: inline-flex;
  min-width: 32px;
  justify-content: center;
  padding: 1px 8px;
  border-radius: 999px;
  background: #ffef5f;
  color: #111;
}

.collection-hero__summary {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  color: #111;
}

.collection-hero__summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.collection-hero__summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.collection-hero__pill {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: #ececec;
  color: #666;
  font-size: 12px;
  font-weight: 800;
}

.collection-hero__pill--active {
  background: #fff347;
  color: #111;
}

.summary-rows {
  display: grid;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.player-tile {
  min-height: 132px;
  padding: 8px 6px 10px;
  border: 1px solid #8bc3ff;
  background: #fff;
  display: grid;
  align-content: space-between;
  gap: 6px;
  border-radius: 8px;
}

.player-tile--owned {
  background: linear-gradient(180deg, #ffffff 0 78%, #eef6ff 78% 100%);
  color: #111;
  border-color: #4e9df5;
}

.player-tag {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #113f90;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.player-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.player-tile__no {
  color: #9a9a9a;
  font-size: 10px;
  font-weight: 700;
}

.player-tile__portrait {
  height: 58px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 127, 151, 0.18), rgba(15, 127, 151, 0.02)),
    linear-gradient(180deg, #f6fbff, #e8f2ff);
  display: grid;
  place-items: center;
  color: #0f63cf;
  font-size: 11px;
  font-weight: 800;
}

.player-tile__name {
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.player-tile__sub {
  font-size: 10px;
  color: #6f87a4;
}

.collection-tabs--pdf {
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.collection-tab {
  min-height: auto;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.collection-tab--active {
  color: #111;
  border-bottom-color: #111;
}

.collection-toolbar {
  display: flex;
  justify-content: center;
}

.collection-all-button {
  min-height: 30px;
  padding: 0 14px;
  border: 0;
  background: #202020;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.play-stack {
  display: grid;
  gap: 16px;
  padding: 0 16px 24px;
}

.hero-button {
  min-height: 84px;
  font-size: 18px;
  font-weight: 800;
}

.predict-page {
  padding: 12px 10px 20px;
}

.predict-page__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.predict-page__note {
  margin-top: 10px;
}

.predict-list {
  display: grid;
  gap: 14px;
  padding: 0 16px 24px;
}

.predict-tools {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
}

.predict-tools--pdf {
  margin-bottom: 6px;
}

.match-group {
  background: #262626;
  color: #fff;
  padding: 14px;
}

.match-group--pdf {
  padding: 10px 10px 6px;
  margin-bottom: 12px;
}

.match-date {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.match-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  color: #111;
  margin-bottom: 6px;
}

.match-card:last-child {
  margin-bottom: 0;
}

.match-card--blocked {
  opacity: 0.45;
}

.team-choice {
  border: 0;
  background: transparent;
  padding: 8px 8px;
  text-align: left;
  display: flex;
  gap: 8px;
  align-items: center;
  border-right: 1px solid #d8d8d8;
  min-height: 44px;
}

.team-choice:last-child {
  border-right: 0;
  justify-content: flex-end;
  text-align: right;
}

.team-choice--selected {
  background: #35b2dd;
  color: #fff;
}

.team-choice__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}

.logo-pill {
  display: inline-flex;
  min-width: 34px;
  height: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 9px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
}

.logo-pill--team {
  background: #fff;
  border: 1px solid #e6e6e6;
}

.lineup-board-wrap {
  padding: 0 16px 24px;
}

.lineup-page {
  padding: 12px 10px 22px;
}

.lineup-page__meta {
  margin: -4px 10px 12px;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

.lineup-board-wrap--pdf {
  padding: 12px 10px 16px;
  background: #fff;
}

.lineup-board-shell {
  padding: 10px;
  background: #343434;
}

.lineup-scorebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #444;
}

.lineup-board {
  position: relative;
  height: 262px;
  border-radius: 0;
  background: linear-gradient(180deg, #0a5f2b 0%, #0b7a37 62%, #09632e 100%);
  overflow: hidden;
}

.lineup-board::before {
  content: "";
  position: absolute;
  inset: 24px 20px 36px;
  clip-path: polygon(50% 0, 100% 34%, 78% 100%, 22% 100%, 0 34%);
  background: linear-gradient(180deg, #14823e, #0f6c33);
  border: 4px solid #d68a56;
}

.lineup-slot {
  position: absolute;
  width: 44px;
  min-height: 58px;
  padding: 4px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  display: grid;
  align-content: center;
  gap: 2px;
}

.lineup-slot--filled {
  background: transparent;
}

.lineup-slot--active {
  filter: drop-shadow(0 0 0.5rem rgba(53, 178, 221, 0.55));
}

.lineup-slot__pos {
  display: block;
  font-size: 8px;
  margin-top: -4px;
}

.lineup-slot__name {
  display: block;
  font-size: 7px;
  line-height: 1.15;
}

.lineup-slot__placeholder,
.lineup-slot__card {
  display: grid;
  align-content: start;
  width: 36px;
  min-height: 46px;
  margin: 0 auto;
  padding: 3px 2px 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 226, 157, 0.64);
  background: linear-gradient(180deg, #2d2d2d, #111);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.24);
}

.lineup-slot__placeholder::before,
.lineup-slot__card-top {
  content: "";
  display: block;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2db6d1, #ffc447);
  margin-bottom: 5px;
}

.lineup-strip {
  margin-top: 18px;
  padding: 12px;
  background: #1a1a1a;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.lineup-strip__label {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.player-chip-row {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-top: 12px;
  padding-bottom: 4px;
  width: 100%;
}

.player-chip-row--pdf {
  margin-top: 10px;
  gap: 6px;
}

.player-chip {
  border: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f3f3f3;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}

.player-chip--selected {
  background: var(--blue);
  color: #fff;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feed-grid--pdf {
  gap: 8px;
}

.feed-card {
  min-height: 156px;
  padding: 8px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #111;
  text-align: left;
  border-radius: 0;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.feed-card:hover {
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.08);
}

.feed-card__thumb {
  height: 72px;
  overflow: hidden;
}

.feed-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.feed-card__title {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.feed-card__likes {
  font-size: 11px;
  font-weight: 700;
  color: #666;
}

.feed-detail {
  margin-top: 16px;
  padding: 14px 12px;
  background: #fff;
  color: #111;
  border: 1px solid #ececec;
}

.feed-detail__image {
  margin-top: 16px;
  overflow: hidden;
}

.feed-detail__image img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center bottom;
}

.feed-detail__actions {
  margin-top: 18px;
}

.photo-add {
  min-height: 58px;
  border: 2px dashed #2aa9c8;
  background: #fff;
  color: #0f7f97;
  font-size: 18px;
  font-weight: 800;
}

.photo-thumb {
  width: 78px;
  height: 78px;
  overflow: hidden;
  margin-top: 12px;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-post-card {
  padding: 20px 18px;
  border-radius: 34px;
  background: var(--teal);
  color: #fff;
}

.my-post-card__image {
  margin-top: 14px;
  overflow: hidden;
}

.my-post-card__image img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center bottom;
}

.sheet-actions {
  display: grid;
  gap: 10px;
}

.mypage-sheet {
  width: 100%;
  height: 100%;
  padding: 12px 0 24px;
  background: #fff;
  color: #111;
  overflow-y: auto;
}

.mypage-sheet .rank-strip {
  margin-bottom: 0;
}

.mypage-sheet__name {
  font-size: 18px;
  font-weight: 800;
}

.mypage-login {
  padding: 10px 18px 16px;
  color: #6b6b6b;
  font-size: 28px;
  font-weight: 700;
}

.mypage-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  text-align: left;
  font-size: 15px;
}

.mypage-row:hover {
  background: #f8f8f8;
}

.mypage-row__sub {
  display: block;
  margin-top: 4px;
  color: #999;
  font-size: 12px;
}

.profile-form {
  padding: 0 22px 28px;
}

.crown {
  text-align: center;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 14px;
}

.logout-button {
  margin-top: 26px;
}

.points-head {
  padding: 0 16px 20px;
}

.points-month {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.points-total {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 6px 0 10px;
}

.points-tabs {
  margin-top: 18px;
}

.points-tabs--underline {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid #ececec;
}

.points-tab {
  min-height: auto;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.points-tab--active {
  color: #111;
  border-bottom-color: #111;
}

.ledger-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.ledger-item__meta {
  color: #8a8a8a;
  font-size: 12px;
  margin-top: 2px;
}

.ledger-item__value {
  font-size: 18px;
  font-weight: 800;
}

.faq-answer {
  margin-top: 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
}

.modal-root {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.48);
  animation: overlay-fade-in 160ms var(--ease-out);
}

.modal-card {
  width: min(100%, 320px);
  background: #fff;
  color: #111;
  padding: 22px 18px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: modal-pop-in 220ms var(--ease-soft);
}

.modal-card__title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.modal-card__body {
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: #545454;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.modal-actions--single {
  grid-template-columns: 1fr;
}

.hidden {
  display: none !important;
}

.chrome-btn:focus-visible,
.button:focus-visible,
.ghost-button:focus-visible,
.tab:focus-visible,
.chip-button:focus-visible,
.inline-button:focus-visible,
.drawer-row:focus-visible,
.mypage-row:focus-visible,
.player-chip:focus-visible,
.feed-card:focus-visible,
.package-card:focus-visible,
.team-choice:focus-visible,
.lineup-slot:focus-visible,
.field-input:focus-visible,
.field-textarea:focus-visible,
.field-select:focus-visible {
  outline: 2px solid rgba(10, 145, 180, 0.95);
  outline-offset: 2px;
}

@keyframes overlay-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drawer-slide-in {
  from {
    transform: translateX(-24px);
    opacity: 0.7;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes drawer-slide-in-right {
  from {
    transform: translateX(24px);
    opacity: 0.7;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes modal-pop-in {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes toast-pop-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.997);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes page-leave {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    opacity: 0;
    transform: translate3d(0, 6px, 0) scale(0.998);
  }
}

@media (min-width: 1100px) {
  .desktop-sitemap {
    position: absolute;
    right: calc(50% + (var(--phone-width) / 2) + 36px);
    top: 50%;
    display: grid;
    gap: 14px;
    width: min(280px, calc(50vw - (var(--phone-width) / 2) - 84px));
    max-height: calc(100svh - 28px);
    transform: translateY(-50%);
    overflow: auto;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
  }

  .desktop-sitemap::-webkit-scrollbar {
    width: 6px;
  }

  .desktop-sitemap::-webkit-scrollbar-track {
    background: transparent;
  }

  .desktop-sitemap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
  }

  .desktop-reference {
    position: absolute;
    left: calc(50% + (var(--phone-width) / 2) + 36px);
    top: 50%;
    display: block;
    width: var(--phone-width);
    max-height: calc(100svh - 28px);
    transform: translateY(-50%);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
  }

  .desktop-reference::-webkit-scrollbar {
    width: 6px;
  }

  .desktop-reference::-webkit-scrollbar-track {
    background: transparent;
  }

  .desktop-reference::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
  }
}

@media (max-width: 820px) {
  html,
  body {
    min-height: 100dvh;
    background: #fff;
  }

  body {
    color: #111;
  }

  .mockup-shell {
    min-height: 100dvh;
    padding: 0;
    align-items: stretch;
  }

  .screen-stage {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .app-stage {
    max-width: none;
  }

  .phone {
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .ghost-button,
  .tab,
  .chip-button,
  .inline-button,
  .drawer-row,
  .mypage-row,
  .player-chip,
  .feed-card,
  .package-card,
  .team-choice,
  .lineup-slot,
  .drawer-overlay,
  .drawer-panel,
  .modal-root,
  .modal-card,
  .screen,
  .app-stage,
  .toast-banner {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
