/* 서브 페이지(업적·도움말·랭킹) 공통 레이아웃 */
.page-wrap {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 88px;
}

.landing-panel.landing-info-hub {
  padding-bottom: 2px;
}

.landing-info-hub > .landing-info-hub__header {
  display: flex;
  justify-content: center;
  padding: 14px 0 0;
}

.landing-info-subnav {
  display: inline-flex;
  gap: 5px;
  width: fit-content;
  border: 1px solid rgba(0, 132, 255, 0.15);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(38, 79, 119, 0.1);
}

.landing-info-subnav button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: #536a84;
  font: 900 13px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-info-subnav button.is-active {
  background: linear-gradient(135deg, #d9ecff, #9fcfff);
  color: #064f96;
  box-shadow: 0 7px 18px rgba(0, 103, 214, 0.14);
}

.landing-info-view[hidden] {
  display: none !important;
}

.nation-contest-page .landing-landmark-contest {
  margin-top: 0;
}

.nation-contest-page .landing-landmark-contest,
.nation-contest-page .nation-contest-office-view,
.nation-contest-ranking-view,
.nation-contest-ranking-view .nation-contest-ranking-panel,
.nation-contest-ranking-view .nation-contest-score-history,
.nation-contest-ranking-view .doc-panel--ranking,
.nation-contest-ranking-view .nation-contest-history-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.nation-contest-ranking-view .nation-contest-ranking-panel {
  margin-top: 0;
}

.nation-contest-ranking-view .rank-board__head {
  margin-bottom: 0;
}

.nation-contest-ranking-view .nation-contest-score-history {
  margin-top: 28px;
}

.nation-contest-ranking-view .ranking-live-meta--board,
.nation-contest-ranking-view .nation-contest-history-card,
.nation-contest-ranking-view .nation-contest-history-scroll {
  min-width: 0;
  max-width: 100%;
}

.nation-contest-ranking-view .ranking-live-meta--board {
  justify-content: space-between;
}

.nation-contest-ranking-view .ranking-stat--season {
  color: var(--soft);
  font-weight: 900;
}

.nation-contest-ranking-meta__right {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
  margin-left: auto;
  text-align: right;
}

.nation-contest-ranking-meta__right .ranking-stat--my-rank {
  margin-left: 0;
}

/* Nation Contest unlimited beta */
.nation-contest-office-view,
.nation-contest-ranking-panel,
[data-ranking-mode-panel="evergreen"] {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.nation-contest-office-view[hidden],
.nation-contest-ranking-panel[hidden],
[data-ranking-mode-panel][hidden] {
  display: none !important;
}

.nation-contest-beta-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 9px;
  padding: 1px 2px;
  color: #526b84;
}

.nation-contest-beta-note strong {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(0, 132, 255, 0.1);
  color: #075aa9;
  font-size: 11px;
  font-weight: 950;
}

.nation-contest-beta-note span {
  color: #526b84;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.nation-contest-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nation-contest-summary article {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 17px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(38, 79, 119, 0.07);
}

.nation-contest-summary span,
.nation-contest-summary small {
  color: #637990;
  font-size: 11px;
  font-weight: 800;
}

.nation-contest-summary strong {
  margin-top: 7px;
  color: #102c49;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
}

.nation-contest-summary small {
  margin-top: 4px;
  line-height: 1.4;
}

.nation-contest-access-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  border-bottom: 1px solid rgba(21, 128, 61, 0.14);
  padding: 2px 2px 9px;
  color: #526b65;
}

.nation-contest-access-note--locked,
.nation-contest-access-note--setup {
  border-color: rgba(185, 132, 27, 0.24);
}

.nation-contest-access-note > span {
  color: #6b7e90;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nation-contest-access-note strong {
  color: #166534;
  font-size: 12px;
  font-weight: 950;
}

.nation-contest-access-note--locked strong,
.nation-contest-access-note--setup strong {
  color: #8a5b00;
}

.nation-contest-access-note small {
  min-width: min(100%, 260px);
  flex: 1 1 280px;
  color: #526b65;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.nation-contest-access-note button,
.nation-contest-loading button,
.nation-contest-history-more {
  min-height: 32px;
  border: 1px solid rgba(0, 132, 255, 0.24);
  border-radius: 9px;
  padding: 0 11px;
  background: #fff;
  color: #075aa9;
  font: 850 11px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.nation-contest-preset-card,
.nation-contest-history-card {
  overflow: hidden;
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 22px;
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(circle at 92% 8%, rgba(242, 199, 95, 0.18), transparent 17rem),
    linear-gradient(145deg, #fff, #f7fbff);
  box-shadow: 0 20px 48px rgba(31, 67, 104, 0.1);
}

.nation-contest-preset-card {
  overflow: visible;
}

.landing-landmark-contest {
  margin-top: 28px;
}

.landing-landmark-contest__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.landing-landmark-contest__head span {
  color: #0084ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.landing-landmark-contest__head h2 {
  margin: 4px 0 0;
  color: #173452;
}

.landing-landmark-contest__head p {
  margin: 0;
  color: #61758d;
  font-size: 13px;
}

.nation-contest-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.nation-contest-preset-grid .nation-contest-preset-card {
  margin: 0;
}

.nation-contest-preset-card > header,
.nation-contest-history-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.nation-contest-preset-card header span,
.nation-contest-history-card header span {
  color: #0084ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.nation-contest-preset-card h2,
.nation-contest-history-card h2 {
  margin: 5px 0 7px;
  color: #102c49;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.nation-contest-preset-card header p {
  margin: 0;
  color: #60758a;
  font-size: 13px;
  line-height: 1.55;
}

.nation-contest-country-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nation-contest-country-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.nation-contest-country-field > span {
  color: #4c647c;
  font-size: 11px;
  font-weight: 900;
}

.nation-contest-country-picker {
  position: relative;
  min-width: 0;
}

.nation-contest-country-picker.is-open {
  z-index: 30;
}

.nation-contest-country-picker__trigger {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(0, 105, 203, 0.22);
  border-radius: 12px;
  padding: 9px 11px;
  background: #fff;
  color: #173452;
  font: 800 12px/1.25 Pretendard, sans-serif;
  cursor: pointer;
  text-align: left;
}

.nation-contest-country-picker__trigger:focus-visible {
  border-color: #0084ff;
  outline: 3px solid rgba(0, 132, 255, 0.12);
}

.nation-contest-country-picker__trigger:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.nation-contest-country-picker__identity {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
}

.nation-contest-country-picker__identity strong {
  min-width: 0;
  overflow: hidden;
  color: #173452;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nation-contest-country-picker__identity small {
  flex: 0 1 auto;
  min-width: 0;
  color: #71869a;
  font-size: 8px;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-align: right;
}

.nation-contest-country-picker__empty {
  color: #71869a;
  font-size: 12px;
  font-weight: 800;
}

.nation-contest-country-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  width: 100%;
  max-height: 286px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(0, 105, 203, 0.24);
  border-radius: 13px;
  padding: 5px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 67, 104, 0.22);
}

.nation-contest-country-menu[hidden] {
  display: none;
}

.nation-contest-country-option {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 9px;
  background: transparent;
  color: #173452;
  cursor: pointer;
  font-family: Pretendard, sans-serif;
  text-align: left;
}

.nation-contest-country-option + .nation-contest-country-option {
  border-top: 1px solid rgba(0, 132, 255, 0.08);
}

.nation-contest-country-option:hover,
.nation-contest-country-option:focus-visible,
.nation-contest-country-option.is-selected {
  outline: 0;
  background: rgba(0, 132, 255, 0.09);
}

.nation-contest-country-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  border-top: 1px solid rgba(0, 132, 255, 0.1);
  padding-top: 5px;
  color: #60758a;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.nation-contest-country-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.nation-contest-country-stats strong {
  color: #075aa9;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.nation-contest-country-stats .is-empty {
  flex: 1;
  color: #8393a3;
  font-weight: 650;
}

.nation-contest-preset-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 15px;
}

.nation-contest-primary-button,
.nation-contest-secondary-button {
  min-height: 43px;
  border-radius: 11px;
  padding: 0 17px;
  font: 900 13px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.nation-contest-primary-button {
  border: 1px solid #0078e8;
  background: linear-gradient(135deg, #0084ff, #006fda);
  color: #fff;
  box-shadow: 0 9px 20px rgba(0, 112, 218, 0.2);
}

.nation-contest-secondary-button {
  border: 1px solid rgba(185, 132, 27, 0.28);
  background: linear-gradient(135deg, #fff8e4, #f7dc94);
  color: #654708;
}

.nation-contest-primary-button:disabled,
.nation-contest-secondary-button:disabled,
.nation-contest-history-more:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.55;
}

.nation-contest-form-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: #49657f;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.nation-contest-team-preview,
.nation-contest-empty {
  margin-top: 12px;
  border: 1px solid rgba(0, 132, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  background: rgba(238, 247, 255, 0.64);
}

.nation-contest-empty {
  color: #667d92;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
  text-align: center;
}

.nation-contest-team-countries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nation-contest-team-countries article {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.nation-contest-team-countries article > span {
  font-size: 23px;
}

.nation-contest-team-countries article div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.nation-contest-team-countries strong {
  overflow: hidden;
  color: #173452;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nation-contest-team-countries small {
  margin-top: 3px;
  color: #71869a;
  font-size: 10px;
}

.nation-contest-team-stat {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) repeat(3, auto);
  gap: 10px 18px;
  align-items: center;
  margin-top: 11px;
  border-top: 1px solid rgba(0, 132, 255, 0.1);
  padding-top: 13px;
  color: #365673;
  font-size: 12px;
}

.nation-contest-team-stat span {
  font-weight: 900;
}

.nation-contest-team-stat b {
  color: #075aa9;
  font-variant-numeric: tabular-nums;
}

.nation-contest-team-preview > p {
  margin: 10px 0 0;
  color: #6c7f91;
  font-size: 11px;
  font-weight: 750;
  text-align: right;
}

.nation-contest-team-preview > .nation-contest-server-total-pending {
  border-top: 1px solid rgba(0, 132, 255, 0.1);
  padding-top: 12px;
  text-align: left;
}

.nation-contest-history-card > header strong {
  color: #075aa9;
  font-size: 14px;
}

.nation-contest-history-scroll {
  overflow: auto;
  border: 1px solid rgba(0, 132, 255, 0.12);
  border-radius: 14px;
}

.nation-contest-history-scroll.is-expanded {
  max-height: min(520px, 62vh);
  overflow-y: auto;
}

.nation-contest-history-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.nation-contest-history-scroll th,
.nation-contest-history-scroll td {
  border-bottom: 1px solid rgba(0, 132, 255, 0.08);
  padding: 12px 13px;
  color: #405d78;
  font-size: 12px;
  text-align: left;
}

.nation-contest-history-scroll th {
  background: #eef7ff;
  color: #075aa9;
  font-weight: 900;
}

.nation-contest-history-scroll th:first-child,
.nation-contest-history-scroll td:first-child {
  padding-left: 18px;
}

.nation-contest-history-scroll th:last-child,
.nation-contest-history-scroll td:last-child {
  padding-right: 18px;
}

.nation-contest-history-delta {
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.nation-contest-history-delta.is-positive { color: #0b7a3d; }
.nation-contest-history-delta.is-negative { color: #c43c4b; }

.nation-contest-history-empty {
  padding: 24px !important;
  color: #71869a !important;
  text-align: center !important;
}

.nation-contest-history-more {
  display: block;
  margin: 14px auto 0;
}

.nation-contest-history-more[hidden] {
  display: none;
}

.nation-contest-loading {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #60778d;
  text-align: center;
}

.nation-contest-loading strong {
  color: #173452;
  font-size: 18px;
  font-weight: 950;
}

.nation-contest-loading span {
  font-size: 13px;
  line-height: 1.55;
}

.nation-contest-loading button {
  margin-top: 8px;
}

.ranking-mode-tabs {
  display: flex;
  gap: 5px;
  width: fit-content;
  margin: 0 auto 20px;
  margin-inline: auto;
  border: 1px solid rgba(0, 132, 255, 0.15);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(38, 79, 119, 0.1);
}

.nation-contest-ranking-view .nation-contest-history-card h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ranking-page .nation-contest-ranking-view .doc-panel--ranking {
  padding: clamp(20px, 4vw, 30px);
}

.rank-board-table--nation-contest {
  width: 100%;
  table-layout: fixed;
}

.rank-board-table--nation-contest th,
.rank-board-table--nation-contest td {
  padding: 13px 12px;
  font-size: 12px;
}

.nation-contest-ranking-view .rank-board-table--nation-contest th {
  font-weight: 900;
}

.rank-board-table--nation-contest td,
.rank-board-table--nation-contest td.rank-board-table__score,
.rank-board-table--nation-contest .rank-cell {
  font-weight: 800;
}

.rank-board-table--nation-contest th:nth-child(1),
.rank-board-table--nation-contest td:nth-child(1) {
  width: 14%;
  padding-left: 16px;
}

.rank-board-table--nation-contest th:nth-child(2),
.rank-board-table--nation-contest td:nth-child(2) {
  width: 44%;
}

.rank-board-table--nation-contest th:nth-child(3),
.rank-board-table--nation-contest td:nth-child(3) {
  width: 24%;
  text-align: right;
}

.rank-board-table--nation-contest th:nth-child(4),
.rank-board-table--nation-contest td:nth-child(4) {
  width: 18%;
  padding-right: 16px;
  text-align: right;
}

.nation-contest-ranking-view .rank-board-table--nation-contest .rank-board-table__reward {
  color: #727b85;
  font-weight: 500;
  font-size: 12px;
}

.ranking-mode-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: #536a84;
  font: 900 13px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.ranking-mode-tabs button.is-active {
  border: 1px solid rgba(185, 132, 27, 0.24);
  background: linear-gradient(135deg, #fff5d7, #f2c75f);
  color: #4d3507;
  box-shadow: 0 7px 18px rgba(173, 121, 21, 0.17);
}

.rank-board-table--nation-contest .is-current-user {
  background: rgba(0, 132, 255, 0.1) !important;
  box-shadow: inset 3px 0 0 #0084ff;
}

@media (max-width: 900px) {
  .nation-contest-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nation-contest-ranking-view .nation-contest-history-card h2 {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .landing-panel.landing-info-hub {
    padding-bottom: 10px;
  }

  .landing-info-subnav {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .landing-info-view > .page-wrap.landing-tab-pad {
    width: min(900px, calc(100% - 32px));
    margin-inline: auto;
    padding-top: 6px;
  }

  .landing-info-subnav::-webkit-scrollbar {
    display: none;
  }

  .landing-info-subnav button {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .landing-codex-subnav {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .landing-codex-subnav::-webkit-scrollbar {
    display: none;
  }

  .landing-codex-subnav button {
    flex: 0 0 auto;
    min-width: max-content;
    padding-inline: 15px;
  }

  .nation-contest-preset-card > header,
  .nation-contest-history-card > header {
    align-items: stretch;
    flex-direction: column;
  }

  .nation-contest-country-selects,
  .nation-contest-team-countries,
  .nation-contest-preset-grid {
    grid-template-columns: 1fr;
  }

  .landing-landmark-contest__head {
    align-items: stretch;
    flex-direction: column;
  }

  .nation-contest-summary article {
    min-height: 72px;
    padding: 13px;
  }

  .nation-contest-access-note button {
    margin-left: auto;
  }

  .nation-contest-preset-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .nation-contest-primary-button,
  .nation-contest-secondary-button {
    width: 100%;
  }

  .nation-contest-team-stat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nation-contest-team-stat span {
    grid-column: 1 / -1;
  }

  .nation-contest-ranking-view .ranking-live-meta--board {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    overflow: hidden;
  }

  .nation-contest-ranking-view .doc-panel--ranking,
  .nation-contest-ranking-view .nation-contest-history-card {
    overflow: hidden;
  }

  .nation-contest-ranking-view .rank-board__head,
  .nation-contest-ranking-view .rank-board__hint,
  .nation-contest-ranking-view .nation-contest-history-card > header {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .nation-contest-ranking-view .ranking-stat--season {
    flex: 1 1 112px;
    width: auto;
    min-width: 0;
    white-space: normal;
  }

  .nation-contest-ranking-view .nation-contest-ranking-meta__right {
    flex: 1 1 180px;
    width: auto;
    margin-left: auto;
  }

  .nation-contest-ranking-view .nation-contest-ranking-meta__right .ranking-stat {
    width: auto;
    min-width: 0;
    margin-left: 0;
    white-space: nowrap;
  }

  .nation-contest-ranking-view .rank-board__scroll,
  .nation-contest-ranking-view .nation-contest-history-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .ranking-page .nation-contest-ranking-view .doc-panel--ranking {
    padding: 18px 8px 20px;
  }

  .nation-contest-ranking-view .rank-board-table--nation-contest {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 12px;
  }

  .nation-contest-ranking-view .rank-board-table--nation-contest th,
  .nation-contest-ranking-view .rank-board-table--nation-contest td {
    min-width: 0;
    padding: 11px 8px;
    overflow-wrap: anywhere;
    vertical-align: middle;
  }

  .nation-contest-ranking-view .rank-board-table--nation-contest th:nth-child(1),
  .nation-contest-ranking-view .rank-board-table--nation-contest td:nth-child(1) {
    width: 18%;
    padding-left: 12px;
  }
  .nation-contest-ranking-view .rank-board-table--nation-contest th:nth-child(2),
  .nation-contest-ranking-view .rank-board-table--nation-contest td:nth-child(2) { width: 34%; }
  .nation-contest-ranking-view .rank-board-table--nation-contest th:nth-child(3),
  .nation-contest-ranking-view .rank-board-table--nation-contest td:nth-child(3) {
    width: 28%;
  }
  .nation-contest-ranking-view .rank-board-table--nation-contest th:nth-child(4),
  .nation-contest-ranking-view .rank-board-table--nation-contest td:nth-child(4) {
    width: 20%;
    padding-right: 12px;
  }

  .nation-contest-ranking-view .rank-board-table--nation-contest .rank-board-table__reward {
    font-size: 11px;
  }

  .nation-contest-ranking-view .nation-contest-history-scroll table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .nation-contest-ranking-view .nation-contest-history-scroll th,
  .nation-contest-ranking-view .nation-contest-history-scroll td {
    min-width: 0;
    padding: 9px 5px;
    font-size: 10px;
    overflow-wrap: anywhere;
    word-break: keep-all;
    vertical-align: middle;
  }

  .nation-contest-ranking-view .nation-contest-history-scroll th:nth-child(1),
  .nation-contest-ranking-view .nation-contest-history-scroll td:nth-child(1) {
    width: 32%;
    padding-left: 10px;
  }
  .nation-contest-ranking-view .nation-contest-history-scroll th:nth-child(2),
  .nation-contest-ranking-view .nation-contest-history-scroll td:nth-child(2) { width: 28%; }
  .nation-contest-ranking-view .nation-contest-history-scroll th:nth-child(3),
  .nation-contest-ranking-view .nation-contest-history-scroll td:nth-child(3) { width: 16%; }
  .nation-contest-ranking-view .nation-contest-history-scroll th:nth-child(4),
  .nation-contest-ranking-view .nation-contest-history-scroll td:nth-child(4) {
    width: 24%;
    padding-right: 10px;
  }

  .ranking-mode-tabs {
    display: flex;
    width: min(100%, 280px);
  }

  .ranking-mode-tabs button {
    flex: 1;
    min-width: 0;
    padding-inline: 10px;
  }
}

.page-hero {
  position: relative;
  margin-bottom: 20px;
  padding: 8px 0 32px;
  border-bottom: 1px solid rgba(0, 132, 255, 0.22);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(280px, 55%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(0, 132, 255, 0));
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.page-title-row,
.heading-with-help {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
}

.page-title-row {
  margin-bottom: 8px;
}

.page-title-row .page-title,
.page-title-row .landing-codex-title,
.heading-with-help h2,
.heading-with-help h3 {
  min-width: 0;
  margin-bottom: 0;
}

.page-title-row--codex {
  align-items: flex-start;
  margin: 0;
}

.heading-with-help--compact {
  align-items: center;
  gap: 2px;
}

.context-help-button {
  position: relative;
  display: inline-grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.context-help-button > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 132, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 132, 255, 0.1);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.context-help-button--compact > span {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.context-help-button:hover > span,
.context-help-button[aria-expanded="true"] > span {
  border-color: var(--gold);
  background: rgba(0, 132, 255, 0.14);
}

.context-help-button:focus-visible {
  outline: none;
}

.context-help-button:focus-visible > span,
.context-help-dialog button:focus-visible {
  outline: 3px solid rgba(0, 132, 255, 0.32);
  outline-offset: 2px;
}

.context-help-dialog {
  --context-help-title: #111827;
  --context-help-body: #26384f;
  --context-help-muted: #64748b;
  --context-help-accent: #0067c7;
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(520px, calc(100vw - 32px));
  width: min(520px, calc(100dvw - 32px));
  max-width: calc(100vw - 32px);
  max-width: calc(100dvw - 32px);
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 132, 255, 0.3);
  border-radius: 18px;
  background: #ffffff;
  color: var(--context-help-title);
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, -50%);
  overflow: auto;
}

.context-help-dialog::backdrop {
  background: rgba(15, 23, 42, 0.62);
}

.context-help-dialog__body {
  display: grid;
  gap: 0;
}

.context-help-dialog__body > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0, 132, 255, 0.16);
}

.context-help-dialog__body > header span {
  color: var(--context-help-accent);
  font-size: 12px;
  font-weight: 800;
}

.context-help-dialog__body h2 {
  margin: 4px 0 0;
  color: var(--context-help-title);
  font-size: 21px;
  line-height: 1.35;
}

.context-help-dialog__close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--context-help-muted);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.context-help-dialog__copy {
  margin: 0;
  padding: 20px;
  color: var(--context-help-body);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.context-help-divider {
  border: 0;
  border-top: 1px solid rgba(0, 132, 255, 0.16);
  margin: 16px 0 14px;
}

.context-help-heading {
  display: block;
  margin: 0 0 2px;
  color: var(--context-help-title);
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .context-help-dialog {
    width: calc(100vw - 16px);
    width: calc(100dvw - 16px);
    max-width: calc(100vw - 16px);
    max-width: calc(100dvw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }

  .context-help-dialog__body > header {
    padding: 18px 16px 14px;
  }

  .context-help-dialog__copy {
    padding: 18px 16px;
    font-size: 14px;
  }

}

.page-lede {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.doc-panel {
  padding: 26px 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(22, 15, 9, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.doc-panel h2 {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 800;
}

.doc-panel h3 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.doc-panel p,
.doc-panel li {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}

.alliance-stronghold-card.is-current-alliance {
  border-color: rgba(121, 255, 167, 0.72);
  background: rgba(121, 255, 167, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(121, 255, 167, 0.18);
}

.doc-panel ul,
.doc-panel ol {
  margin: 0;
  padding-left: 0;
}

.doc-panel li + li {
  margin-top: 10px;
}

.doc-panel--expandable .doc-panel__expandable-body {
  position: relative;
  overflow: hidden;
  max-height: 12.5rem;
}

.doc-panel--expandable.is-expanded .doc-panel__expandable-body {
  max-height: none;
  overflow: visible;
}

.doc-panel--expandable:not(.is-expanded) .doc-panel__expandable-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 15, 9, 0) 0%, rgba(22, 15, 9, 0.92) 78%);
}

.doc-panel__expand-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.doc-panel__expand-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.doc-panel__expand-toggle:focus-visible {
  outline: 2px solid rgba(255, 214, 120, 0.65);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .doc-panel--expandable .doc-panel__expandable-body {
    transition: max-height 0.35s ease;
  }
}

.cmd-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
}

.cmd-table th,
.cmd-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.cmd-table th {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
  width: 28%;
}

.cmd-table td code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--gold);
  word-break: break-all;
}

.command-detail {
  margin-top: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.command-detail summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: var(--soft);
  list-style: none;
}

.command-detail summary::-webkit-details-marker {
  display: none;
}

.command-detail pre {
  margin: 0;
  padding: 0 18px 18px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.top-tabs .tab-link.is-current {
  color: var(--gold);
  background: rgba(0, 132, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 132, 255, 0.22);
}

.ranking-live-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(232, 122, 122, 0.35);
  background: rgba(232, 122, 122, 0.08);
  color: #f0b0b0;
  font-size: 14px;
}

.rank-empty {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.rank-board-table td:first-child,
.rank-board-table th:first-child {
  white-space: nowrap;
  width: 52px;
}

.ranking-live-meta--board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  padding: 14px 18px;
  margin-bottom: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.ranking-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.ranking-stat--wide {
  flex: 1 1 220px;
  min-width: 0;
  white-space: normal;
}

.ranking-stat__label {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.ranking-stat strong {
  color: var(--soft);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ranking-stat--my-rank {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 132, 255, 0.28);
  background: rgba(0, 132, 255, 0.08);
}

.doc-panel--ranking {
  border-color: rgba(0, 132, 255, 0.18);
  background:
    linear-gradient(165deg, rgba(0, 132, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(18, 12, 8, 0.82);
}

.rank-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rank-board__title {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rank-board__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.rank-board__tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bde5ff;
  border: 1px solid rgba(0, 132, 255, 0.35);
  background: rgba(0, 132, 255, 0.1);
}

.rank-board__hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.rank-board__scroll {
  max-height: min(520px, 62vh);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.rank-board__scroll--collapsed {
  max-height: none;
  overflow-y: visible;
}

.rank-board__scroll--expanded {
  max-height: min(520px, 62vh);
  overflow-y: auto;
}

.rank-board__scroll .cmd-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #1c1410 0%, #16100c 100%);
  border-bottom: 1px solid rgba(0, 132, 255, 0.2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  color: var(--gold);
}

.rank-board__toggle {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid rgba(0, 132, 255, 0.24);
  border-radius: 12px;
  background: rgba(0, 132, 255, 0.08);
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.rank-board__toggle-arrow {
  display: inline-block;
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 160ms ease;
}

.rank-board__toggle[aria-expanded="true"] .rank-board__toggle-arrow {
  transform: translateY(1px) rotate(180deg);
}

.rank-board-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

@media (hover: hover) and (pointer: fine) {
  .rank-board-table tbody tr:hover {
    background: rgba(0, 132, 255, 0.06);
  }
}

.rank-board-table__name {
  font-weight: 800;
  color: var(--soft);
}

.rank-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.rank-name-cell__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rank-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  vertical-align: -2px;
}

.rank-country-flag--image {
  width: 22px;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.rank-country-flag__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-country-flag__fallback,
.rank-country-flag--code {
  min-width: 22px;
  min-height: 16px;
  padding: 1px 3px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 3px;
  background: rgba(0, 132, 255, 0.08);
  color: #245070;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.landing-flag-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  vertical-align: -3px;
}

.landing-flag-image--inline {
  width: 24px;
  height: 18px;
}

.landing-flag-image--option {
  width: 30px;
  height: 22px;
}

.country-flag .landing-flag-image--hero {
  width: 62px;
  height: 46px;
  border-radius: 9px;
}

.landing-flag-image__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-flag-image__fallback,
.landing-flag-image--code {
  min-width: 22px;
  min-height: 16px;
  padding: 1px 3px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 4px;
  background: rgba(0, 132, 255, 0.08);
  color: #245070;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.country-flag .landing-flag-image__fallback,
.country-flag .landing-flag-image--code {
  font-size: 13px;
}

.rank-max-power-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid rgba(13, 148, 136, 0.34);
  border-radius: 999px;
  background: rgba(240, 253, 250, 0.96);
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.rank-board-table__score {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  text-align: right;
}

.rank-board-table__num,
.rank-board-table__pct {
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 700;
}

.rank-board-table__pct {
  color: #bde5ff;
}

.rank-board-table th.rank-board-table__num,
.rank-board-table td.rank-board-table__num,
.rank-board-table th.rank-board-table__pct,
.rank-board-table td.rank-board-table__pct,
.rank-board-table th.rank-board-table__score,
.rank-board-table td.rank-board-table__score,
.rank-board-table--war th:nth-child(5),
.rank-board-table--war td:nth-child(5) {
  text-align: right;
}

.rank-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.rank-cell__medal {
  font-size: 15px;
  line-height: 1;
  width: 1.25em;
  text-align: center;
}

.rank-cell__medal--empty {
  opacity: 0;
}

.rank-cell__num {
  min-width: 1.5em;
  color: var(--soft);
}

.rank-row--1 {
  background: rgb(0 0 0 / 6%) !important;
}

.rank-row--2 {
  background: rgb(0 0 0 / 6%) !important;
}

.rank-row--3 {
  background: rgb(0 0 0 / 6%) !important;
}

.rank-row--top10 .rank-cell__num {
  color: var(--gold);
}

.alliance-name-cell {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  gap: 3px;
}

.alliance-name-cell__main {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--soft);
  font-weight: 900;
}

.alliance-name-cell small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.alliance-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.alliance-podium-card {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px 14px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: 0 14px 30px rgba(12, 22, 38, 0.12);
}

.alliance-podium-card--1 {
  border-color: rgba(244, 196, 48, 0.5);
  background: #fff8df;
}

.alliance-podium-card--2 {
  border-color: rgba(192, 200, 212, 0.44);
  background: #f8fbff;
}

.alliance-podium-card--3 {
  border-color: rgba(205, 127, 50, 0.42);
  background: #fff7ed;
}

.alliance-podium-card__medal {
  font-size: 28px;
  line-height: 1;
}

.alliance-podium-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #102033;
  font-size: 18px;
  line-height: 1.25;
}

.alliance-podium-card span:not(.alliance-podium-card__medal) {
  color: #0067c7;
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.alliance-podium-card small {
  min-height: 1.4em;
  color: #52677d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.rank-board .alliance-podium-card {
  background: #f8fbff;
  color: #102033;
}

.rank-board .alliance-podium-card--1 {
  background: #fff8df;
}

.rank-board .alliance-podium-card--2 {
  background: #f8fbff;
}

.rank-board .alliance-podium-card--3 {
  background: #fff7ed;
}

.rank-board .alliance-podium-card strong {
  color: #102033;
}

.rank-board .alliance-podium-card span:not(.alliance-podium-card__medal) {
  color: #0067c7;
}

.rank-board .alliance-podium-card small {
  color: #52677d;
}

.alliance-history-control {
  width: min(100%, 318px);
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.alliance-history-control__nav {
  width: 40px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 132, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: var(--soft);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.alliance-history-control__nav:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.alliance-history-control__body {
  min-width: 0;
  min-height: 38px;
  display: grid;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 2px;
  padding: 4px 9px;
  text-align: center;
}

.alliance-history-control__topline {
  width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.alliance-history-control__date {
  flex: 0 0 auto;
  color: #ffe08a;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.alliance-history-control__scope {
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.alliance-strongholds-panel {
  overflow: hidden;
}

.alliance-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 224, 138, 0.22);
  border-radius: 10px;
  background: rgba(9, 13, 21, 0.72);
  color: var(--soft);
}

.alliance-preview-toolbar__label,
.alliance-preview-toolbar__count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.alliance-preview-toolbar__select {
  min-width: 0;
  flex: 1 1 220px;
  height: 32px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 850;
}

.alliance-preview-toolbar__nav {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(255, 224, 138, 0.28);
  border-radius: 8px;
  background: rgba(77, 49, 22, 0.78);
  color: #ffe08a;
  cursor: pointer;
}

.alliance-preview-toolbar__nav:hover {
  border-color: rgba(255, 224, 138, 0.55);
  background: rgba(108, 69, 29, 0.9);
}

.alliance-preview-toolbar__nav:focus-visible {
  outline: 2px solid #ffe08a;
  outline-offset: 2px;
}

.alliance-preview-toolbar__nav svg {
  width: 16px;
  height: 16px;
}

.alliance-map-configuration-error {
  margin: -6px 0 0;
  padding: 9px 11px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: 9px;
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
  font-size: 12px;
  font-weight: 800;
}

.alliance-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.alliance-map-canvas {
  position: relative;
  --alliance-map-zoom: 1;
  --alliance-map-user-zoom: 1;
  --alliance-map-marker-scale: 1;
  --alliance-map-pan-x: 0px;
  --alliance-map-pan-y: 0px;
  min-height: 0;
  aspect-ratio: 1000 / 620;
  overflow: hidden;
  border: 1px solid rgba(196, 142, 72, 0.34);
  border-radius: 18px;
  background:
    url("/landing/assets/maps/alliance-map-desk.webp?v=20260616-desk-texture"),
    #140804;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 223, 161, 0.1),
    inset 0 0 78px rgba(0, 0, 0, 0.58),
    0 16px 42px rgba(0, 0, 0, 0.22);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.alliance-map-canvas.is-dragging {
  cursor: grabbing;
}

.alliance-map-world {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translate3d(var(--alliance-map-pan-x, 0), var(--alliance-map-pan-y, 0), 0)
    scale(var(--alliance-map-user-zoom, 1));
  transform-origin: 50% 50%;
  transition: transform 160ms ease;
  will-change: transform;
}

.alliance-map-canvas.is-dragging .alliance-map-world {
  transition: none;
}

.alliance-map-parchment {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.04) contrast(1.03);
  pointer-events: none;
  user-select: none;
}

.alliance-map-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: saturate(1.02) contrast(1.05) drop-shadow(0 12px 18px rgba(9, 4, 1, 0.22));
  pointer-events: none;
  transform: scale(var(--alliance-map-zoom, 1));
  transform-origin: 50% 50%;
  user-select: none;
  will-change: transform;
}

.alliance-map-routes {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.alliance-map-viewport-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(72, 42, 18, 0.32);
  border-radius: 14px;
  background: rgba(139, 83, 35, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 248, 224, 0.44), 0 12px 24px rgba(51, 29, 12, 0.24);
}

.alliance-map-viewport-controls button {
  appearance: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 47, 20, 0.44);
  border-radius: 10px;
  background: rgba(232, 190, 116, 0.88);
  color: #42220d;
  font: inherit;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.alliance-map-viewport-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.alliance-map-viewport-controls button:focus-visible {
  outline: 3px solid rgba(255, 224, 138, 0.68);
  outline-offset: 2px;
}

.alliance-map-route {
  fill: none;
  stroke: var(--route-color, rgba(244, 196, 48, 0.34));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  stroke-dasharray: 9 12;
  opacity: 0.5;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.32));
}

.alliance-map-route.is-current-alliance {
  stroke: #f4c430;
  stroke-width: 4;
  opacity: 0.8;
}

.alliance-map-title-plate {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 3;
  max-width: min(54%, 360px);
  padding: 8px 12px;
  border: 1px solid rgba(94, 55, 24, 0.48);
  border-radius: 12px;
  background: rgba(201, 155, 87, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 247, 220, 0.42), 0 10px 22px rgba(57, 31, 12, 0.2);
  color: #4a2a12;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 241, 200, 0.36);
}

/* Map coordinates target the marker pin tip, not the circular icon center. */
.alliance-map-marker {
  --marker-size: 30px;
  --marker-anchor-x: 40%;
  --marker-anchor-y: -16%;
  appearance: none;
  position: absolute;
  z-index: 4;
  width: var(--marker-size);
  height: var(--marker-size);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  overflow: visible;
  transform: translate(-50%, -50%) scale(var(--alliance-map-marker-scale, 1));
  transform-origin: 50% 50%;
  display: block;
}

.alliance-map-marker.is-selected {
  z-index: 8;
}

.alliance-map-marker--성역 {
  --marker-size: 43px;
}

.alliance-map-marker--전설 {
  --marker-size: 39px;
}

.alliance-map-marker--정예 {
  --marker-size: 36px;
}

.alliance-map-marker--영웅 {
  --marker-size: 35px;
}

.alliance-map-marker--희귀 {
  --marker-size: 32px;
}

.alliance-map-marker__dot {
  position: absolute;
  left: var(--marker-anchor-x);
  top: var(--marker-anchor-y);
  width: var(--marker-size);
  height: var(--marker-size);
  display: inline-grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 239, 184, 0.86);
  border-radius: 999px;
  background: var(--marker-color, #94a3b8);
  box-shadow:
    0 0 0 3px rgba(67, 38, 15, 0.3),
    0 0 0 5px rgba(255, 239, 184, 0.22),
    0 10px 20px rgba(38, 21, 10, 0.4);
  color: #fff9df;
  line-height: 1;
}

.alliance-map-marker__dot::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 4px;
  height: 7px;
  border-radius: 999px;
  background: var(--marker-accent-color, #f8fafc);
  opacity: 0.82;
}

.alliance-map-marker__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 239, 184, 0.78);
  border-bottom: 2px solid rgba(255, 239, 184, 0.78);
  background: var(--marker-strong-color, #334155);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 4px 4px 9px rgba(38, 21, 10, 0.24);
}

.alliance-map-marker__symbol {
  display: inline-grid;
  place-items: center;
  position: relative;
  z-index: 1;
  color: #fff9df;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(26, 14, 6, 0.44));
}

.alliance-map-marker--성역 .alliance-map-marker__symbol,
.alliance-map-marker--전설 .alliance-map-marker__symbol,
.alliance-map-marker--정예 .alliance-map-marker__symbol,
.alliance-map-marker--영웅 .alliance-map-marker__symbol {
  font-size: 17px;
}

.alliance-map-marker-svg {
  width: 1em;
  height: 1em;
  stroke-width: 2.4;
}

.alliance-map-marker-score {
  display: inline-block;
  min-width: 1.35em;
  color: #fff9df;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.alliance-map-marker--성역 .alliance-map-marker__dot {
  border-color: #fff7bd;
  color: #fffbd8;
  box-shadow:
    0 0 0 3px rgba(92, 48, 8, 0.42),
    0 0 0 7px rgba(255, 214, 86, 0.34),
    0 0 24px rgba(255, 210, 74, 0.78),
    0 12px 24px rgba(38, 21, 10, 0.46);
}

.alliance-map-marker--전설 .alliance-map-marker__dot {
  border-color: #fff3b0;
  color: #fff6bd;
}

.alliance-map-marker--정예 .alliance-map-marker__dot {
  border-color: #fff3b0;
  color: #fff6bd;
}

.alliance-map-marker--영웅 .alliance-map-marker__dot {
  border-color: #d9f9ff;
}

.alliance-map-marker--희귀 .alliance-map-marker__dot {
  border-color: #e8f7ce;
}

.alliance-map-marker.is-empty {
  opacity: 0.76;
}

.alliance-map-marker.is-empty .alliance-map-marker__dot {
  border-style: solid;
  border-color: rgba(92, 52, 23, 0.9);
  background: rgba(98, 61, 30, 0.9);
  box-shadow: 0 0 0 3px rgba(67, 38, 15, 0.22), 0 7px 15px rgba(38, 21, 10, 0.26);
}

.alliance-map-marker.is-empty .alliance-map-marker__dot::before {
  display: none;
}

.alliance-map-marker.is-empty .alliance-map-marker__symbol {
  color: rgba(255, 247, 221, 0.76);
}

.alliance-map-marker.is-local-color-preview {
  opacity: 1;
}

.alliance-map-marker.is-local-color-preview .alliance-map-marker__dot {
  border-color: rgba(255, 239, 184, 0.9);
  background: var(--marker-color, #e11d48);
  box-shadow:
    0 0 0 3px rgba(67, 38, 15, 0.3),
    0 0 0 5px rgba(255, 224, 138, 0.22),
    0 10px 20px rgba(38, 21, 10, 0.4);
}

.alliance-map-marker.is-local-color-preview .alliance-map-marker__dot::before {
  display: block;
}

.alliance-map-marker.is-local-color-preview .alliance-map-marker__symbol {
  color: #fff9df;
}

.alliance-map-marker.is-current-alliance .alliance-map-marker__dot {
  border-color: #fff4c4;
  box-shadow: 0 0 0 6px rgba(244, 196, 48, 0.24), 0 0 24px rgba(244, 196, 48, 0.3), 0 10px 24px rgba(38, 21, 10, 0.42);
}

.alliance-map-marker.is-selected .alliance-map-marker__dot {
  border-color: #ffffff;
  box-shadow: 0 0 0 7px rgba(72, 214, 200, 0.28), 0 0 28px rgba(72, 214, 200, 0.32), 0 12px 28px rgba(38, 21, 10, 0.44);
}

.alliance-map-marker:focus-visible .alliance-map-marker__dot {
  outline: 3px solid rgba(255, 224, 138, 0.74);
  outline-offset: 5px;
}

.alliance-map-marker__popup {
  display: none;
  position: absolute;
  left: calc(var(--marker-size) + 12px);
  top: var(--marker-anchor-y);
  z-index: 9;
  min-width: 72px;
  width: max-content;
  max-width: min(260px, calc(100vw - 96px));
  padding: 7px 10px;
  border: 1px solid rgba(94, 55, 24, 0.34);
  border-left: 3px solid var(--marker-color, #94a3b8);
  border-radius: 14px;
  background: rgba(248, 232, 184, 0.96);
  box-shadow: 0 18px 34px rgba(38, 21, 10, 0.34);
  color: #32190a;
  line-height: 1.25;
  pointer-events: none;
  text-align: left;
  transform: translateY(-50%);
}

.alliance-map-marker.is-edge-right .alliance-map-marker__popup {
  right: calc(var(--marker-size) + 12px);
  left: auto;
  border-right: 3px solid var(--marker-color, #94a3b8);
  border-left-width: 1px;
  text-align: right;
}

.alliance-map-marker.is-edge-top .alliance-map-marker__popup {
  top: calc(100% + 8px);
  transform: none;
}

.alliance-map-marker.is-edge-bottom .alliance-map-marker__popup {
  top: auto;
  bottom: calc(100% + 6px);
  transform: none;
}

.alliance-map-marker.is-popup-open .alliance-map-marker__popup,
.alliance-map-marker:focus-visible .alliance-map-marker__popup {
  display: grid;
  gap: 2px;
}

.alliance-map-marker__popup strong {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #2f1608;
  font-size: 13px;
  font-weight: 950;
}

.alliance-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(226, 232, 240, 0.74);
  font-weight: 900;
}

.alliance-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.alliance-map-legend-item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 10px 7px 8px;
  border: 1px solid rgba(96, 58, 28, 0.28);
  border-radius: 999px;
  background: rgba(205, 154, 82, 0.58);
  color: #43250f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 18px rgba(46, 25, 10, 0.12);
}

.alliance-map-legend-icon {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(77, 43, 18, 0.52);
  border-radius: 999px;
  background: #7b4f28;
  color: #fff4c4;
  font-size: 11px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -4px 10px rgba(42, 23, 9, 0.2);
}

.alliance-map-legend-item--성역 .alliance-map-legend-icon {
  background: #d59b0f;
  box-shadow: 0 0 12px rgba(255, 210, 74, 0.66);
}

.alliance-map-legend-item--전설 .alliance-map-legend-icon {
  background: #b98518;
}

.alliance-map-legend-item--정예 .alliance-map-legend-icon {
  background: #b98518;
}

.alliance-map-legend-item--영웅 .alliance-map-legend-icon {
  background: #2f7f8d;
}

.alliance-map-legend-item--희귀 .alliance-map-legend-icon {
  background: #5c8f45;
}

.alliance-map-legend-svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.alliance-map-legend-item > span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.alliance-map-legend-item strong {
  color: #2f1909;
  font-size: 12px;
  font-weight: 950;
}

.alliance-map-legend-item small {
  color: #0f0d06;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.alliance-stronghold-focus-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: end;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.alliance-focus-card__eyebrow {
  grid-column: 1 / -1;
  color: #ffe08a;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.alliance-stronghold-focus-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.alliance-stronghold-focus-card small {
  justify-self: end;
  color: var(--alliance-muted, #aebcc2);
  font-size: 12px;
  font-weight: 900;
}

.alliance-stronghold-focus-card > span:not(.alliance-focus-card__eyebrow),
.alliance-focus-card__list {
  grid-column: 1 / -1;
  color: var(--alliance-muted, #aebcc2);
  font-size: 12px;
  font-weight: 850;
}

.alliance-stronghold-focus-card .alliance-focus-card__list {
  display: grid;
  gap: 4px;
  margin: 2px 0 0;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.35;
  list-style: disc;
}

.alliance-stronghold-focus-card .alliance-focus-card__list li {
  margin-top: 0;
  padding-left: 1px;
  font-size: 11px;
  line-height: 1.35;
}

.alliance-stronghold-focus-card .alliance-focus-card__list li::marker {
  color: #ffe08a;
}

.alliance-stronghold-drawer {
  margin-top: 12px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.alliance-stronghold-drawer summary {
  min-height: 48px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.alliance-stronghold-drawer summary > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

.alliance-stronghold-drawer summary::-webkit-details-marker {
  display: none;
}

.alliance-stronghold-drawer summary::after {
  content: "⌄";
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex: 0 0 auto;
  color: #ffe08a;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 8px;
  transform-origin: 50% 58%;
  transition: transform 160ms ease;
}

.alliance-stronghold-drawer[open] summary::after {
  transform: rotate(180deg);
}

.alliance-stronghold-drawer summary small {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  color: var(--alliance-muted, #aebcc2);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.alliance-stronghold-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 330px;
  overflow: auto;
  padding: 12px;
  border-top: 1px solid rgba(122, 160, 176, 0.12);
}

.alliance-stronghold-row {
  appearance: none;
  position: relative;
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 13px 92px 13px 14px;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.alliance-stronghold-row::after {
  content: attr(data-status-label);
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: 72px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alliance-stronghold-row.is-occupied {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
}

.alliance-stronghold-row.is-occupied::after {
  border-color: var(--marker-color, rgba(255, 224, 138, 0.58));
  color: #ffffff;
}

.alliance-stronghold-row.is-empty {
  border-color: rgba(174, 188, 194, 0.2);
  border-style: dashed;
  background: rgba(0, 0, 0, 0.08);
}

.alliance-stronghold-row.is-empty::after {
  border-color: rgba(174, 188, 194, 0.18);
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.025);
}

.alliance-stronghold-row.is-selected {
  border-color: rgba(72, 214, 200, 0.48);
  background: rgba(72, 214, 200, 0.08);
  box-shadow: inset 3px 0 0 #48d6c8;
}

.alliance-stronghold-row:focus-visible {
  outline: 3px solid rgba(255, 224, 138, 0.48);
  outline-offset: 2px;
}

.alliance-stronghold-row__grade {
  color: #bde5ff;
  font-size: 11px;
  font-weight: 900;
}

.alliance-stronghold-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--soft);
  font-size: 15px;
  font-weight: 900;
}

.alliance-stronghold-row span:not(.alliance-stronghold-row__grade),
.alliance-stronghold-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.alliance-page {
  --alliance-panel: rgba(10, 13, 18, 0.94);
  --alliance-panel-2: rgba(15, 17, 22, 0.92);
  --alliance-line: rgba(122, 160, 176, 0.18);
  --alliance-soft: #d7e2e4;
  --alliance-muted: #aebcc2;
  --alliance-cyan: #48d6c8;
  --alliance-gold: #f4c430;
  --alliance-red: #ff5a66;
  color: var(--alliance-soft);
}

body.is-alliance-tab-active #landing-alliance-panel {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 86px);
  background: rgba(5, 6, 8, 0.96);
}

body.is-alliance-tab-active #landing-alliance-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(244, 196, 48, 0.018);
  opacity: 0.56;
}

.alliance-door-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  overflow: hidden;
  pointer-events: none;
  background: #020308;
}

.alliance-door-overlay::before,
.alliance-door-overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 2;
  width: min(760px, 84vw);
  height: 1px;
  background: rgba(244, 196, 48, 0.58);
  opacity: 0.42;
  transform: translateX(-50%);
  pointer-events: none;
}

.alliance-door-overlay::before {
  top: calc(50% - 1px);
}

.alliance-door-overlay::after {
  top: calc(50% + 1px);
  opacity: 0.22;
  filter: blur(5px);
}

.alliance-door-overlay__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.4%;
  background: #05070c;
  box-shadow: inset 0 0 72px rgba(0, 0, 0, 0.72), inset 0 0 0 1px rgba(244, 196, 48, 0.08);
  will-change: transform;
}

.alliance-door-overlay__panel--top {
  top: 0;
  border-bottom: 1px solid rgba(244, 196, 48, 0.32);
}

.alliance-door-overlay__panel--bottom {
  bottom: 0;
  border-top: 1px solid rgba(244, 196, 48, 0.32);
  background: #05070c;
}

.alliance-door-overlay__aura {
  position: absolute;
  top: calc(50% - 1px);
  z-index: 4;
  width: min(360px, 38vw);
  height: 2px;
  background: rgba(244, 196, 48, 0.66);
  filter: drop-shadow(0 0 16px rgba(244, 196, 48, 0.24));
  transform-origin: 100% 50%;
  will-change: opacity, transform;
}

.alliance-door-overlay__aura--left {
  right: 50%;
}

.alliance-door-overlay__aura--right {
  left: 50%;
  transform-origin: 0 50%;
  background: rgba(244, 196, 48, 0.66);
}

.alliance-door-overlay__handle {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(244, 196, 48, 0.86);
  border-radius: 999px;
  background: #2c1b08;
  box-shadow: 0 0 0 5px rgba(244, 196, 48, 0.08), 0 10px 24px rgba(0, 0, 0, 0.48);
  will-change: opacity, transform;
}

.alliance-door-overlay__handle--top {
  right: calc(50% + 8px);
  bottom: 16px;
}

.alliance-door-overlay__handle--bottom {
  left: calc(50% + 8px);
  top: 16px;
}

.alliance-door-overlay__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 118px;
  height: 118px;
  translate: -50% -50%;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff0b8;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(244, 196, 48, 0.44);
  will-change: opacity, transform, filter;
}

.alliance-door-overlay__seal::before {
  content: "";
  position: absolute;
  inset: 23px;
  border-radius: 999px;
  background: rgba(56, 33, 11, 0.5);
  border: 1px solid rgba(244, 196, 48, 0.58);
  box-shadow:
    0 0 0 6px rgba(244, 196, 48, 0.08),
    0 0 38px rgba(244, 196, 48, 0.22);
}

.alliance-door-overlay__seal-ring {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(244, 196, 48, 0.52);
  border-radius: 999px;
  box-shadow: inset 0 0 22px rgba(244, 196, 48, 0.08);
  will-change: opacity, transform;
}

.alliance-door-overlay__seal-ring--inner {
  inset: 18px;
  border-color: rgba(255, 241, 187, 0.42);
  border-style: dashed;
}

.alliance-door-overlay__seal-core {
  position: relative;
  z-index: 2;
  line-height: 1;
  will-change: opacity, transform;
}

.alliance-door-overlay__bond {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 88px;
  height: 1px;
  background: rgba(244, 196, 48, 0.5);
  transform-origin: 0 50%;
  will-change: opacity, transform;
}

.alliance-door-overlay__bond--one {
  rotate: 0deg;
}

.alliance-door-overlay__bond--two {
  rotate: 120deg;
}

.alliance-door-overlay__bond--three {
  rotate: 240deg;
}

@media (max-width: 640px) {
  .alliance-door-overlay__aura {
    width: min(240px, 42vw);
  }

  .alliance-door-overlay__handle {
    width: 20px;
    height: 20px;
  }

  .alliance-door-overlay__seal {
    width: 96px;
    height: 96px;
    font-size: 17px;
  }

  .alliance-door-overlay__seal::before {
    inset: 19px;
  }

  .alliance-door-overlay__seal-ring {
    inset: 7px;
  }

  .alliance-door-overlay__seal-ring--inner {
    inset: 15px;
  }

  .alliance-door-overlay__bond {
    width: 68px;
  }
}

/* Landmark progression and pre-season combat registry */
.landing-landmark-effect-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--landmark-line);
  border-radius: 0;
  padding: 14px 16px;
  background: #11171d;
  color: #edf2f5;
  text-align: left;
  cursor: pointer;
}

.landing-landmark-effect-card:first-child {
  border-left: 0;
}

.landing-landmark-effect-card:hover,
.landing-landmark-effect-card:focus-visible {
  background: #171f26;
}

.landing-landmark-effect-card:focus-visible {
  outline: 2px solid #d0b263;
  outline-offset: -2px;
}

.landing-landmark-effect-card__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  color: #d9c886;
  font-size: 11px;
  font-weight: 700;
}

.landing-landmark-effect-card__next .landing-svg-icon {
  width: 14px;
  height: 14px;
}

.landing-landmark-effect-card__progress {
  display: block;
  overflow: hidden;
  height: 3px;
  background: #28313a;
}

.landing-landmark-effect-card__progress i {
  display: block;
  height: 100%;
  background: #d0b263;
}

.landing-landmark-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--landmark-line);
  margin-bottom: 12px;
  padding-top: 12px;
}

.landing-landmark-sort-field {
  width: min(190px, 100%);
}

.landing-landmark-sort-field .landing-control-label {
  color: #aab5bf;
}

.landing-landmark-sort-field .landing-select-button {
  min-height: 44px;
  border-color: #303a44;
  background: #11171d;
  color: #edf2f5;
}

.landing-landmark-sort-field__value {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.landing-landmark-sort-field__value .landing-svg-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.landing-landmark-sort-field .landing-select-menu {
  z-index: 30;
  border-color: #303a44;
  background: #11171d;
}

.landing-landmark-sort-field .landing-select-menu button {
  color: #cbd4dc;
}

.landing-landmark-sort-field .landing-select-menu button:hover,
.landing-landmark-sort-field .landing-select-menu button.is-selected {
  background: #222b33;
  color: #f2d982;
}

.landing-landmark-check-filter {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.landing-landmark-check-filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.landing-landmark-check-filter span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border: 1px solid #303a44;
  border-radius: 6px;
  padding: 0 13px;
  background: #11171d;
  color: #aab5bf;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.landing-landmark-check-filter input:checked + span {
  border-color: #b99a4c;
  background: #201d15;
  color: #f2d982;
}

.landing-landmark-check-filter input:focus-visible + span {
  outline: 2px solid #d0b263;
  outline-offset: 2px;
}

.landing-landmark-check-filter .landing-svg-icon {
  width: 14px;
  height: 14px;
}

.landing-landmark-country-card,
.landing-landmark-country-card:hover {
  grid-template-columns: 44px minmax(0, 1fr) minmax(126px, 0.72fr) 88px 16px;
}

.landing-landmark-country-card__combat {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  gap: 8px;
  min-width: 0;
}

.landing-landmark-country-card__combat small {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #e4e9ed;
}

.landing-landmark-country-card__combat i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #3b4650;
  border-radius: 50%;
  color: #b9c4cc;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.landing-landmark-country-card__combat b {
  overflow: visible;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-overflow: clip;
  white-space: nowrap;
}

.landing-landmark-effect-dialog {
  width: min(680px, calc(100vw - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  overflow: hidden;
  border: 1px solid #3a4650;
  border-radius: 10px;
  padding: 0;
  background: #0d1217;
  color: #edf2f5;
}

.landing-landmark-effect-dialog::backdrop {
  background: rgba(4, 7, 10, 0.78);
}

.landing-landmark-effect-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #2b353e;
  padding: 16px 18px;
}

.landing-landmark-effect-dialog > header span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d9c886;
  font-size: 11px;
  font-weight: 800;
}

.landing-landmark-effect-dialog > header h2,
.landing-landmark-effect-dialog > header p {
  margin: 4px 0 0;
}

.landing-landmark-effect-dialog > header h2 {
  font-size: 19px;
}

.landing-landmark-effect-dialog > header p {
  color: #91a0ad;
  font-size: 12px;
}

.landing-landmark-effect-dialog > header button {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #35414b;
  border-radius: 6px;
  background: #171e25;
  color: #edf2f5;
}

.landing-landmark-effect-dialog__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #27313a;
  padding: 12px 18px;
  color: #aeb9c2;
  font-size: 12px;
}

.landing-landmark-effect-dialog__summary strong {
  color: #f2d982;
}

.landing-landmark-effect-schedule {
  display: grid;
  gap: 0;
  max-height: min(590px, calc(100dvh - 190px));
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.landing-landmark-effect-schedule li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid #222b33;
  padding: 9px 18px;
}

.landing-landmark-effect-schedule li > span {
  color: #81909d;
  font-size: 11px;
  font-weight: 800;
}

.landing-landmark-effect-schedule li > div {
  display: grid;
  gap: 3px;
}

.landing-landmark-effect-schedule li strong {
  color: #dce3e8;
  font-size: 12px;
}

.landing-landmark-effect-schedule li small {
  color: #7f8d99;
  font-size: 10px;
}

.landing-landmark-effect-schedule li > b {
  border: 1px solid #a78940;
  border-radius: 999px;
  padding: 4px 7px;
  color: #f2d982;
  font-size: 10px;
}

.landing-landmark-effect-schedule li.is-complete {
  background: #11171d;
}

.landing-landmark-effect-schedule li.is-current {
  background: #211d13;
}

.landing-landmark-combat-stats {
  display: grid;
  gap: 10px;
  border-top: 1px solid #303a44;
  border-bottom: 1px solid #303a44;
  padding: 13px 0;
}

.landing-landmark-combat-stats header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
}

.landing-landmark-combat-stats header span {
  color: #d9c886;
  font-size: 11px;
  font-weight: 800;
}

.landing-landmark-combat-stats header small,
.landing-landmark-combat-stats > p {
  color: #8d9aa6;
  font-size: 10px;
}

.landing-landmark-combat-stats > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.landing-landmark-combat-stats > div > span {
  display: grid;
  gap: 3px;
  border: 1px solid #303a44;
  border-radius: 6px;
  padding: 9px;
  background: #11171d;
}

.landing-landmark-combat-stats i,
.landing-landmark-combat-stats small {
  color: #8f9da8;
  font-size: 10px;
  font-style: normal;
}

.landing-landmark-combat-stats strong {
  color: #edf2f5;
  font-size: 18px;
}

.landing-landmark-combat-stats > p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .landing-landmark-effect-card {
    border-top: 1px solid var(--landmark-line);
    border-left: 0;
  }

  .landing-landmark-effect-card:first-child {
    border-top: 0;
  }

  .landing-landmark-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-landmark-sort-field {
    grid-column: 1 / -1;
    width: 100%;
  }

  .landing-landmark-check-filter,
  .landing-landmark-check-filter span {
    width: 100%;
  }

  .landing-landmark-check-filter span {
    justify-content: center;
    padding: 0 7px;
    font-size: 11px;
  }

  .landing-landmark-country-card,
  .landing-landmark-country-card:hover {
    grid-template-columns: 40px minmax(0, 1fr) auto 16px;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }

  .landing-landmark-country-card__flag {
    grid-row: 1 / 3;
  }

  .landing-landmark-country-card__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .landing-landmark-country-card__state {
    grid-column: 3;
    grid-row: 1;
  }

  .landing-landmark-country-card__combat {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .landing-landmark-country-card__chevron {
    grid-column: 4;
    grid-row: 1 / 3;
  }

  .landing-landmark-country-card__combat small {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .landing-landmark-effect-dialog {
    width: calc(100vw - 8px);
    max-height: calc(100dvh - 8px);
  }

  .landing-landmark-effect-schedule li {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 12px;
  }

  .landing-landmark-effect-schedule li strong {
    line-height: 1.45;
  }

  .landing-landmark-combat-stats header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.alliance-page .page-wrap {
  width: min(1220px, calc(100% - 28px));
}

.alliance-page .page-hero--alliance {
  position: relative;
  overflow: hidden;
  margin: 4px 0 12px;
  padding: 14px 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(244, 196, 48, 0.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-alliance-tab-active .alliance-page .page-hero--alliance {
  margin-top: 8px;
  border-color: rgba(244, 196, 48, 0.3);
  background: transparent;
  box-shadow: none;
}

.alliance-page .page-hero--alliance::after {
  width: 100%;
  height: 1px;
  background: rgba(244, 196, 48, 0.42);
}

.alliance-page .page-title {
  color: #ffffff;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 850;
  letter-spacing: 0;
}

.alliance-page .page-lede {
  max-width: 620px;
  color: #a9b7bc;
  font-size: 14px;
  font-weight: 700;
}

#landing-alliance-shell {
  display: grid;
  gap: 16px;
}

#landing-alliance-shell.is-alliance-entry-active .alliance-map-shell {
  perspective: 1200px;
}

#landing-alliance-shell.is-alliance-entry-active .alliance-map-canvas {
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: opacity, transform, clip-path, filter;
}

#landing-alliance-shell.is-alliance-entry-active .alliance-map-marker {
  will-change: opacity, filter;
}

#landing-alliance-shell.is-alliance-entry-active .alliance-map-route {
  will-change: stroke-dashoffset;
}

.alliance-page .doc-panel--alliance {
  border: 1px solid var(--alliance-line);
  border-radius: 18px;
  background: var(--alliance-panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.alliance-command-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
}

.alliance-command-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.alliance-command-kicker {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 196, 48, 0.36);
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.1);
  color: #ffe89a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(244, 196, 48, 0.22);
}

.alliance-command-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
}

.alliance-command-copy p {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 224, 138, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.alliance-command-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.alliance-command-metrics span {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.032);
}

.alliance-command-metrics small {
  color: var(--alliance-muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.alliance-command-metrics strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.alliance-map-panel {
  padding: 16px;
}

.alliance-map-title-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.alliance-map-title-row > .rank-board__title {
  justify-self: start;
}

.alliance-map-title-summary {
  min-width: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
  justify-self: center;
  gap: 6px;
  line-height: 1;
}

.alliance-map-title-summary span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(72, 214, 200, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.alliance-map-title-summary small {
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.alliance-page .alliance-map-canvas {
  border-color: rgba(96, 58, 28, 0.64);
  border-radius: 20px;
  background:
    url("/landing/assets/maps/alliance-map-desk.webp?v=20260616-desk-texture"),
    #140804;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 178, 0.2),
    inset 0 0 74px rgba(0, 0, 0, 0.5),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.alliance-page .rank-board__title,
.alliance-page .section-title {
  color: #ffffff;
  letter-spacing: 0;
}

.alliance-page .rank-board__hint {
  color: var(--alliance-muted);
}

.alliance-page .alliance-stronghold-row {
  border-color: transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.alliance-page .alliance-stronghold-row.is-occupied {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.alliance-page .alliance-stronghold-row.is-empty {
  border-color: rgba(174, 188, 194, 0.2);
  border-style: dashed;
  background: rgba(255, 255, 255, 0.018);
}

.alliance-page .alliance-stronghold-row.is-selected {
  border-color: rgba(255, 224, 138, 0.52);
  background: rgba(255, 255, 255, 0.07);
  outline: 1px solid rgba(255, 224, 138, 0.22);
}

.alliance-page .alliance-stronghold-row__grade {
  color: #ffe08a;
}

.alliance-page .alliance-stronghold-row strong {
  color: #ffffff;
}

.alliance-page .alliance-stronghold-row span:not(.alliance-stronghold-row__grade),
.alliance-page .alliance-stronghold-row small {
  color: var(--alliance-muted);
}

.alliance-board-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 12px;
  align-items: start;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(174, 188, 194, 0.14);
}

.alliance-rank-panel {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.alliance-rank-panel .rank-board__head {
  margin-bottom: 8px;
  margin-top: 10px;
  padding: 0px 20px 0px;
}

.alliance-rank-list-wrap {
  max-height: 500px;
  overflow: auto;
  margin-top: 0;
  border: 1px solid rgba(122, 160, 176, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.alliance-rank-list-head {
  display: grid;
  grid-template-columns: 10px 34px minmax(120px, 0.6fr) minmax(180px, 1fr) minmax(74px, 90px);
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 6px 16px 5px 13px;
  border-bottom: 1px solid rgba(122, 160, 176, 0.12);
  color: var(--alliance-muted);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

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

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

.alliance-rank-list__item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 10px 34px minmax(120px, 0.6fr) minmax(180px, 1fr) minmax(74px, 90px);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--alliance-soft);
}

.alliance-rank-list__item + .alliance-rank-list__item {
  border-top: 1px solid rgba(122, 160, 176, 0.1);
}

.alliance-rank-list__item.is-rank-extra {
  display: none;
}

.alliance-rank-panel.is-expanded .alliance-rank-list__item.is-rank-extra {
  display: grid;
}

.alliance-rank-list__item.rank-row--1,
.alliance-rank-list__item.rank-row--2,
.alliance-rank-list__item.rank-row--3 {
  background: rgb(0 0 0 / 6%) !important;
}

.alliance-rank-list__item.is-current-alliance {
  outline: 1px solid rgba(244, 196, 48, 0.42);
  background: rgba(244, 196, 48, 0.09);
}

.alliance-rank-list__color {
  width: 9px;
  height: 28px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: var(--marker-color, #94a3b8);
}

.alliance-rank-list__color::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: var(--marker-accent-color, #f8fafc);
}

.alliance-rank-list__rank {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffe08a;
  font-size: 12px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.alliance-rank-list__name {
  min-width: 0;
  display: block;
}

.alliance-rank-list__name strong {
  min-width: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.alliance-rank-list__meta {
  min-width: 0;
  display: block;
}

.alliance-rank-list__meta small {
  min-width: 0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  overflow-wrap: anywhere;
}

.alliance-rank-list__score {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  color: #ffe08a;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.alliance-rank-list__score strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.alliance-rank-list__score small {
  color: var(--alliance-muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.alliance-rank-more,
.alliance-log-more {
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  border: 1px solid rgba(244, 196, 48, 0.22);
  border-radius: 12px;
  background: rgba(244, 196, 48, 0.08);
  color: #ffe08a;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.alliance-reward-panel {
  padding: 16px;
}

.alliance-reward-panel .section-title {
  margin-bottom: 10px;
  font-size: 17px;
}

.alliance-reward-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(122, 160, 176, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.alliance-reward-table__row {
  display: grid;
  grid-template-columns: minmax(108px, 0.58fr) minmax(148px, 0.95fr) minmax(15em, 1.45fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(122, 160, 176, 0.1);
  color: var(--alliance-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.alliance-reward-table__row:last-child {
  border-bottom: 0;
}

.alliance-reward-table__row--head {
  min-height: 30px;
  padding-top: 6px;
  padding-bottom: 5px;
  color: var(--alliance-muted);
  font-size: 10px;
  font-weight: 950;
}

.alliance-reward-table__rank {
  color: #ffe08a;
  font-weight: 950;
}

.alliance-reward-table__reward {
  display: grid;
  align-content: center;
  gap: 3px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}

.alliance-reward-table__reward-item {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.alliance-reward-table__reward-item--sub {
  color: var(--alliance-soft);
  font-size: 11px;
  font-weight: 850;
}

.alliance-reward-table__alliances {
  display: grid;
  grid-template-columns: repeat(2, minmax(7.6em, 1fr));
  align-items: stretch;
  gap: 5px;
  min-width: 0;
}

.alliance-reward-table__alliance {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 7.6em;
  box-sizing: border-box;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(244, 196, 48, 0.18);
  border-radius: 8px;
  background: transparent;
  color: var(--alliance-soft);
  text-align: center;
}

.alliance-reward-table__alliance--first {
  grid-column: 1 / -1;
  justify-self: center;
  width: auto;
  max-width: 100%;
  min-width: 9.2em;
  gap: 8px;
  padding: 8px 16px;
  border-color: rgba(255, 224, 138, 0.44);
  font-size: 15px;
  font-weight: 950;
}

.alliance-reward-table__alliance small {
  flex: 0 0 auto;
  color: #ffe08a;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.alliance-reward-table__crown {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
}

.alliance-reward-table__alliance--first .alliance-reward-table__crown {
  font-size: 18px;
}

.alliance-reward-table__alliance strong {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.alliance-reward-table__empty {
  grid-column: 1 / -1;
  color: var(--alliance-muted);
  font-size: 11px;
  font-weight: 850;
}

.alliance-page .rank-board__scroll {
  border-color: rgba(122, 160, 176, 0.16);
  background: rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.alliance-page .rank-board__scroll .cmd-table thead th {
  background: #0b0d11;
  border-bottom-color: rgba(72, 214, 200, 0.18);
  color: var(--alliance-gold);
}

.alliance-page .rank-board-table td {
  color: var(--alliance-soft);
}

.alliance-page .rank-board-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

@media (hover: hover) and (pointer: fine) {
  .alliance-page .rank-board-table tbody tr:hover {
    background: rgba(72, 214, 200, 0.07);
  }
}

.alliance-page .rank-cell__num,
.alliance-page .rank-board-table__name,
.alliance-page .alliance-name-cell__main {
  color: #ffffff;
}

.alliance-page .alliance-name-cell small {
  color: var(--alliance-muted);
}

.alliance-page .rank-board-table__num {
  color: #dbeafe;
}

.alliance-page .alliance-podium {
  gap: 10px;
}

.alliance-page .rank-board .alliance-podium-card,
.alliance-page .alliance-podium-card {
  min-height: 118px;
  border-color: rgba(72, 214, 200, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  color: var(--alliance-soft);
}

.alliance-page .rank-board .alliance-podium-card--1,
.alliance-page .alliance-podium-card--1 {
  border-color: rgba(244, 196, 48, 0.38);
  background: rgba(244, 196, 48, 0.08);
}

.alliance-page .rank-board .alliance-podium-card--2,
.alliance-page .alliance-podium-card--2 {
  border-color: rgba(255, 224, 138, 0.26);
}

.alliance-page .rank-board .alliance-podium-card--3,
.alliance-page .alliance-podium-card--3 {
  border-color: rgba(255, 90, 102, 0.26);
}

.alliance-page .rank-board .alliance-podium-card strong,
.alliance-page .alliance-podium-card strong {
  color: #ffffff;
}

.alliance-page .rank-board .alliance-podium-card span:not(.alliance-podium-card__medal),
.alliance-page .alliance-podium-card span:not(.alliance-podium-card__medal) {
  color: #ffe08a;
}

.alliance-page .rank-board .alliance-podium-card small,
.alliance-page .alliance-podium-card small {
  color: var(--alliance-muted);
}

.alliance-page .alliance-history-control {
  border-color: rgba(122, 160, 176, 0.2);
  background: rgba(0, 0, 0, 0.18);
}

.alliance-page .alliance-history-control__nav {
  border-color: rgba(122, 160, 176, 0.18);
  color: #ffffff;
}

.alliance-page .alliance-history-control__nav:not(:disabled):active {
  border-color: rgba(255, 224, 138, 0.38);
  background: rgba(255, 224, 138, 0.08);
}

.alliance-page .alliance-history-control__topline {
  color: #ffffff;
}

.alliance-page .alliance-history-control__scope {
  color: var(--alliance-muted);
}

.alliance-log-panel {
  padding: 16px;
}

.alliance-log-panel .section-title {
  margin-bottom: 8px;
  font-size: 17px;
}

.alliance-log-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alliance-log-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(122, 160, 176, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.alliance-log-list__time {
  flex: 0 0 auto;
  color: #ffe08a;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.45;
}

.alliance-log-list__message {
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: lighter;
}

.alliance-log-list__subject {
  color: inherit;
  font-size: 14px;
  font-weight: bolder;
}

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

@media (max-width: 900px) {
  .alliance-command-panel,
  .alliance-board-grid {
    grid-template-columns: 1fr;
  }

  .alliance-command-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alliance-podium {
    grid-template-columns: 1fr;
  }

  .alliance-podium-card {
    min-height: auto;
  }

  .alliance-map-shell,
  .alliance-page .alliance-map-shell {
    grid-template-columns: 1fr;
  }

  .alliance-map-title-row {
    grid-template-columns: 1fr;
  }

  .alliance-map-title-summary {
    justify-self: center;
  }

  .alliance-stronghold-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .alliance-page .page-wrap {
    width: min(100% - 20px, 1220px);
  }

  .alliance-page .page-hero--alliance {
    margin-top: 0;
    padding: 10px 0 12px;
    border-radius: 0;
  }

  .alliance-page .page-title {
    font-size: 28px;
  }

  .alliance-page .page-lede {
    font-size: 13px;
    line-height: 1.45;
  }

  .alliance-command-panel,
  .alliance-map-panel,
  .alliance-page .doc-panel--alliance {
    padding: 14px;
    border-radius: 18px;
  }

  .alliance-command-metrics {
    gap: 8px;
  }

  .alliance-command-metrics span {
    min-height: 82px;
    padding: 12px;
  }

  .alliance-command-metrics strong {
    font-size: 18px;
  }

  .alliance-preview-toolbar {
    flex-wrap: wrap;
  }

  .alliance-preview-toolbar__label {
    width: 100%;
  }

  .alliance-preview-toolbar__select {
    flex-basis: calc(100% - 80px);
  }

  .alliance-preview-toolbar__count {
    width: 100%;
    text-align: right;
  }

  .alliance-history-control {
    width: 60%;
    flex: 0 0 70%;
    margin-inline: -17px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 3px;
  }

  .alliance-history-control__nav {
    width: 38px;
    height: 36px;
    font-size: 19px;
  }

  .alliance-history-control__body {
    min-height: 36px;
    padding: 4px 8px;
  }

  .alliance-map-canvas {
    width: calc(100% + 32px);
    max-width: none;
    margin-right: -16px;
    margin-left: -16px;
    aspect-ratio: 1000 / 620;
    border-radius: 14px;
  }

  .alliance-map-title-plate {
    left: 10px;
    top: 10px;
    max-width: min(62%, 240px);
    padding: 6px 9px;
    border-radius: 10px;
    font-size: 11px;
  }

  .alliance-map-viewport-controls {
    top: 8px;
    right: 8px;
    gap: 3px;
    padding: 3px;
    border-radius: 9px;
  }

  .alliance-map-viewport-controls button {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 15px;
  }

  .alliance-map-marker {
    --marker-size: 18px;
    gap: 0;
  }

  .alliance-map-marker--전설 {
    --marker-size: 23px;
  }

  .alliance-map-marker--정예 {
    --marker-size: 22px;
  }

  .alliance-map-marker--영웅 {
    --marker-size: 21px;
  }

  .alliance-map-marker--희귀 {
    --marker-size: 20px;
  }

  .alliance-map-marker__dot {
    border-width: 1.5px;
    box-shadow:
      0 0 0 2px rgba(67, 38, 15, 0.28),
      0 0 0 3px rgba(255, 239, 184, 0.18),
      0 6px 12px rgba(38, 21, 10, 0.34);
  }

  .alliance-map-marker__dot::after {
    bottom: -4px;
    width: 6px;
    height: 6px;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
  }

  .alliance-map-marker-score {
    min-width: 1.15em;
    font-size: 8px;
  }

  .alliance-map-marker--전설 .alliance-map-marker-score,
  .alliance-map-marker--정예 .alliance-map-marker-score,
  .alliance-map-marker--영웅 .alliance-map-marker-score {
    font-size: 9px;
  }

  .alliance-map-marker__popup {
    min-width: 64px;
    max-width: min(230px, calc(100vw - 72px));
    padding: 7px 9px;
  }

  .alliance-stronghold-focus-card {
    grid-template-columns: 1fr;
  }

  .alliance-stronghold-focus-card small {
    justify-self: start;
  }

  .alliance-map-title-summary {
    width: 100%;
    gap: 5px;
  }

  .alliance-map-title-summary span {
    flex: 1 1 calc(33.333% - 5px);
    justify-content: center;
    min-height: 30px;
    padding: 5px 7px;
  }

  .alliance-map-title-summary small,
  .alliance-name-cell small {
    font-size: 10px;
  }

  .alliance-map-legend {
    gap: 6px;
  }

  .alliance-map-legend-item {
    flex: 1 1 calc(50% - 6px);
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 14px;
  }

  .alliance-map-legend-item small {
    white-space: normal;
  }

  .alliance-stronghold-list {
    grid-template-columns: 1fr;
  }

  .alliance-page .rank-board__head {
    align-items: flex-start;
  }

  .alliance-rank-panel .rank-board__head {
    margin-top: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .alliance-page .rank-board__title {
    min-width: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    line-height: 1.25;
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .alliance-rank-panel .rank-board__title {
    width: auto;
    margin-left: -17px;
    flex: 1 1 0;
  }

  .alliance-rank-panel {
    width: 100%;
    padding: 0;
  }

  .alliance-rank-list-wrap {
    max-height: 292px;
    margin-top: 8px;
  }

  .alliance-rank-panel.is-expanded .alliance-rank-list-wrap {
    max-height: 430px;
  }

  .alliance-rank-list {
    padding: 6px;
  }

  .alliance-rank-list-head {
    grid-template-columns: 8px 30px minmax(44px, 0.55fr) minmax(0, 1fr) minmax(50px, auto);
    gap: 6px;
    min-height: 28px;
    padding: 6px 11px 5px 10px;
    font-size: 9px;
  }

  .alliance-rank-list-head span:nth-child(4) {
    display: inline;
  }

  .alliance-rank-list-head span:nth-child(5) {
    grid-column: 5;
    text-align: right;
  }

  .alliance-rank-list__item {
    grid-template-columns: 8px 30px minmax(44px, 0.55fr) minmax(0, 1fr) minmax(50px, auto);
    grid-template-areas: "color rank name meta score";
    gap: 6px;
    min-height: 46px;
    padding: 6px 7px;
    border-radius: 9px;
  }

  .alliance-rank-list__name {
    grid-area: name;
  }

  .alliance-rank-list__meta {
    grid-area: meta;
  }

  .alliance-rank-list__meta small {
    text-align: left;
  }

  .alliance-rank-list__color {
    grid-area: color;
    width: 7px;
    height: 24px;
  }

  .alliance-rank-list__rank {
    grid-area: rank;
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .alliance-rank-list__score {
    grid-area: score;
    display: inline-grid;
    justify-items: end;
    grid-auto-flow: column;
    gap: 1px;
  }

  .alliance-rank-list__name strong,
  .alliance-rank-list__score strong {
    font-size: 12px;
  }

  .alliance-rank-list__meta small,
  .alliance-rank-list__score small {
    font-size: 10px;
  }

  .alliance-rank-more,
  .alliance-log-more {
    min-height: 34px;
    font-size: 11px;
  }

  .alliance-reward-panel {
    padding: 13px 12px;
  }

  .alliance-reward-table__row {
    grid-template-columns: minmax(46px, 0.4fr) minmax(72px, 0.72fr) minmax(0, 1.7fr);
    gap: 6px;
    min-height: 38px;
    padding: 8px 8px;
    font-size: 10px;
  }

  .alliance-reward-table__row--head {
    min-height: 28px;
    font-size: 8px;
  }

  .alliance-reward-table__rank {
    font-size: 10px;
    line-height: 1.25;
  }

  .alliance-reward-table__alliance {
    min-width: 0;
    gap: 3px;
    padding: 3px 4px;
    border-radius: 7px;
    font-size: 9px;
  }

  .alliance-reward-table__alliance--first {
    min-width: 7.8em;
    gap: 5px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .alliance-reward-table__reward {
    gap: 2px;
  }

  .alliance-reward-table__alliances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .alliance-reward-table__alliance strong {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 9px;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .alliance-reward-table__reward-item--sub {
    font-size: 9px;
  }

  .alliance-reward-table__alliance small,
  .alliance-reward-table__crown,
  .alliance-reward-table__empty {
    font-size: 8px;
  }

  .alliance-reward-table__alliance--first .alliance-reward-table__crown {
    font-size: 14px;
  }

  .alliance-page .rank-board__scroll {
    max-height: none;
    overflow: visible;
    margin-top: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .alliance-page .rank-board-table {
    display: block;
    width: 100%;
    min-width: 0;
    table-layout: auto;
    border-collapse: separate;
    font-size: 12px;
  }

  .alliance-page .rank-board-table thead {
    display: none;
  }

  .alliance-page .rank-board-table tbody {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .alliance-page .rank-board-table tr {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(122, 160, 176, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
  }

  .alliance-page .rank-board-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.06);
  }

  .alliance-page .rank-board-table th,
  .alliance-page .rank-board-table td,
  .alliance-page .rank-board-table td:first-child,
  .alliance-page .rank-board-table th:first-child {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .alliance-page .rank-board-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .alliance-page .rank-board-table td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--alliance-muted, #aebcc2);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-align: left;
  }

  .alliance-page .rank-board-table__name {
    align-items: flex-start;
  }

  .alliance-page .rank-board-table__name .alliance-name-cell {
    align-items: flex-end;
    text-align: right;
  }

  .alliance-page .rank-cell {
    justify-content: flex-end;
  }

  .alliance-page .rank-board-table__num {
    white-space: normal;
    font-size: 12px;
  }

  .alliance-page .rank-board-table .rank-empty {
    justify-content: center;
    text-align: center;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
  }

  .alliance-page .rank-board-table tr.alliance-rank-row.rank-row--1 {
    border-color: rgba(244, 196, 48, 0.72);
    background: rgb(0 0 0 / 6%) !important;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row.rank-row--2 {
    border-color: rgba(192, 200, 212, 0.58);
    background: rgb(0 0 0 / 6%) !important;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row.rank-row--3 {
    border-color: rgba(205, 127, 50, 0.56);
    background: rgb(0 0 0 / 6%) !important;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td {
    min-width: 0;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:first-child {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:first-child::before,
  .alliance-page .rank-board-table tr.alliance-rank-row .rank-board-table__name::before {
    content: none;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .rank-board-table__name {
    grid-column: 2 / -1;
    grid-row: 1;
    justify-content: flex-end;
    text-align: right;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .alliance-name-cell {
    align-items: flex-end;
    text-align: right;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .alliance-name-cell__main {
    font-size: 15px;
    line-height: 1.2;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .rank-cell {
    min-height: 34px;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 224, 138, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .rank-cell__medal {
    width: auto;
    font-size: 16px;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .rank-cell__num {
    min-width: 0;
    font-size: 14px;
    line-height: 1;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:nth-child(n + 3) {
    display: grid;
    align-content: start;
    gap: 5px;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid rgba(122, 160, 176, 0.13);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.16);
    text-align: left;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:nth-child(n + 3)::before {
    content: attr(data-label);
    color: var(--alliance-muted, #aebcc2);
    font-size: 10px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row td:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }

  .alliance-page .rank-board-table tr.alliance-rank-row .rank-board-table__num {
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.15;
  }
}

/* 포디움(국력 상위) */
.rank-podium {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  align-items: end;
}

.rank-podium--triple {
  grid-template-columns: 1fr 1.12fr 1fr;
}

.rank-podium--double {
  grid-template-columns: 1fr 1.12fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.rank-podium--single {
  grid-template-columns: 1fr;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.rank-podium__card {
  position: relative;
  border-radius: 20px;
  padding: 16px 14px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.2)),
    rgba(12, 9, 6, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rank-podium__card--1 {
  padding-bottom: 22px;
  min-height: 148px;
  border-color: rgba(0, 132, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(0, 132, 255, 0.18), rgba(0, 0, 0, 0.25)),
    rgba(18, 12, 8, 0.95);
}

.rank-podium__card--2 {
  min-height: 118px;
}

.rank-podium__card--3 {
  min-height: 104px;
}

.rank-podium__medal {
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.rank-podium__name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--soft);
  line-height: 1.35;
  word-break: break-word;
}

.rank-podium__value {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.rank-podium__value strong {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.rank-podium__unit {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .rank-podium--triple {
    grid-template-columns: 1fr;
  }

  .rank-podium--triple .rank-podium__card--1 {
    order: -1;
  }

  .rank-podium--triple .rank-podium__card--2 {
    order: 0;
  }

  .rank-podium--triple .rank-podium__card--3 {
    order: 1;
  }

  .doc-panel:not(.rank-board) .cmd-table th {
    width: 34%;
  }
}

/* Guide FAQ category tabs */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}

.faq-filter-btn {
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 999px;
  padding: 10px 14px;
  font: 800 13px/1 var(--font);
  background: rgba(255, 255, 255, 0.02);
  color: var(--soft);
  cursor: pointer;
}

.faq-filter-btn.is-active {
  color: var(--gold);
  border-color: rgba(0, 132, 255, 0.56);
  background: rgba(0, 132, 255, 0.12);
}

.faq-count {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.faq-list {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(0, 132, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(0, 132, 255, 0.30);
}

.faq-summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--soft);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.help-page .doc-panel,
#landing-help-panel .doc-panel {
  margin-top: 28px;
  border-color: rgba(0, 132, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(0, 132, 255, 0.08), rgba(165, 230, 29, 0.07)),
    #ffffff;
  box-shadow: 0 16px 40px rgba(0, 132, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.help-page .doc-panel--expandable:not(.is-expanded) .doc-panel__expandable-body::after,
#landing-help-panel .doc-panel--expandable:not(.is-expanded) .doc-panel__expandable-body::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 78%);
}

.help-page .doc-panel__expand-toggle,
#landing-help-panel .doc-panel__expand-toggle {
  border-color: rgba(0, 132, 255, 0.2);
  background: rgba(0, 132, 255, 0.06);
  color: #0067c7;
}

.help-page .doc-panel p,
.help-page .doc-panel li,
#landing-help-panel .doc-panel p,
#landing-help-panel .doc-panel li {
  color: #123b5d;
}

.help-page .cmd-table-wrap,
#landing-help-panel .cmd-table-wrap {
  border-color: rgba(0, 132, 255, 0.16);
  background: #ffffff;
}

.help-page .cmd-table th,
.help-page .cmd-table td,
#landing-help-panel .cmd-table th,
#landing-help-panel .cmd-table td {
  border-bottom-color: rgba(0, 132, 255, 0.12);
}

.help-page .cmd-table th,
#landing-help-panel .cmd-table th {
  background: rgba(0, 132, 255, 0.08);
  color: var(--electric-blue);
}

.help-page .cmd-table td,
#landing-help-panel .cmd-table td {
  background: rgba(255, 255, 255, 0.96);
  color: #123b5d;
}

.help-page .cmd-table td code,
#landing-help-panel .cmd-table td code {
  color: #0067c7;
}

.help-page .command-detail,
#landing-help-panel .command-detail {
  border-color: rgba(0, 132, 255, 0.18);
  background: linear-gradient(150deg, rgba(0, 132, 255, 0.07), rgba(165, 230, 29, 0.07)), #ffffff;
}

.help-page .command-detail pre,
#landing-help-panel .command-detail pre {
  color: #245070;
}

.help-page .faq-filter-btn,
#landing-help-panel .faq-filter-btn {
  border-color: rgba(0, 132, 255, 0.2);
  background: rgba(0, 132, 255, 0.08);
  color: #245070;
}

.help-page .faq-filter-btn.is-active,
#landing-help-panel .faq-filter-btn.is-active {
  border-color: rgba(165, 230, 29, 0.62);
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.12), rgba(165, 230, 29, 0.22));
  color: #0067c7;
}

.help-page .faq-count,
#landing-help-panel .faq-count {
  color: #245070;
}

.help-page .faq-item,
#landing-help-panel .faq-item {
  border-color: rgba(0, 132, 255, 0.16);
  background: linear-gradient(150deg, rgba(0, 132, 255, 0.07), rgba(255, 255, 255, 0.98)), #ffffff;
}

.help-page .faq-item[open],
#landing-help-panel .faq-item[open] {
  border-color: rgba(0, 132, 255, 0.34);
  background: linear-gradient(150deg, rgba(0, 132, 255, 0.1), rgba(165, 230, 29, 0.08)), #ffffff;
}

.help-page .faq-summary,
#landing-help-panel .faq-summary {
  color: #0b2740;
}

.help-page .faq-answer,
#landing-help-panel .faq-answer {
  color: #245070;
}

/* Landing 내부 비서실/업적 패널 */
.landing-panel {
  padding-bottom: 24px;
}

.landing-tab-pad {
  padding-top: 14px;
}

.page-wrap.landing-page-wrap--ads {
  width: min(1160px, calc(100% - 28px));
}

.landing-panel[hidden] {
  display: none;
}

.landing-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.landing-office-unlock-button,
.landing-office-lock-cancel {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  font: 800 12px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-office-unlock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 132, 255, 0.42);
  background: #086fd5;
  color: #fff;
}

.landing-office-unlock-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.landing-office-lock-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: #245000;
  font-size: 13px;
  font-weight: 850;
}

.landing-office-lock-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(0, 132, 255, 0.28);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: #1d354d;
  box-shadow: 0 20px 60px rgba(8, 33, 63, 0.28);
}

.landing-office-lock-dialog::backdrop {
  background: rgba(8, 20, 35, 0.55);
}

.landing-office-lock-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.landing-office-lock-dialog__head,
.landing-office-lock-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-office-lock-dialog__head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #20384f;
  font-size: 18px;
}

.landing-office-lock-close {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #61788e;
  cursor: pointer;
}

.landing-office-lock-field {
  display: grid;
  gap: 7px;
  color: #526a7d;
  font-size: 13px;
  font-weight: 800;
}

.landing-office-lock-field input {
  min-height: 48px;
  border: 1px solid #bfd0df;
  border-radius: 6px;
  padding: 0 12px;
  color: #20384f;
  font: 800 18px/1 Pretendard, sans-serif;
  letter-spacing: 0;
}

.landing-office-lock-field input:focus {
  outline: 2px solid rgba(0, 132, 255, 0.28);
  outline-offset: 1px;
  border-color: #087bd8;
}

.landing-office-lock-help,
.landing-office-lock-status {
  min-height: 20px;
  margin: 0;
  color: #61788e;
  font-size: 13px;
  line-height: 1.45;
}

.landing-office-lock-status {
  color: #b3482e;
  font-weight: 800;
}

.landing-office-lock-help code {
  border-radius: 4px;
  padding: 2px 4px;
  background: #edf3f7;
  color: #244b6c;
  font: 800 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.landing-office-lock-cancel {
  border: 1px solid #c6d3de;
  background: #fff;
  color: #526a7d;
}

.support-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 18px;
  align-items: stretch;
}

.support-overview-panel--single {
  grid-template-columns: minmax(0, 1fr);
}

.support-overview-panel--single .support-overview-copy {
  max-width: 860px;
}

.support-overview-copy h2 {
  margin-top: 12px;
  line-height: 1.25;
}

.support-status-card,
.support-ad-reward-panel,
.support-ad-reward-step,
.support-ad-reward-count,
.support-tier-card,
.support-reward-list article,
.landing-ad-slot {
  border: 1px solid rgba(0, 132, 255, 0.16);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.support-status-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 20px;
  padding: 20px;
}

.support-status-card span,
.support-tier-card__label {
  color: #0067c7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-status-card strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
}

.support-tier-grid,
.support-reward-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 22px;
}

.support-product-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

#landing-support-shell > .support-product-wrap {
  margin-top: 30px;
}

.support-product-group {
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.84)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.support-product-group__head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 84px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(0, 132, 255, 0.12);
}

.support-product-group__head h2 {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.support-product-group__head span {
  flex: none;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.support-product-group .support-tier-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.support-product-group--count-1 .support-tier-grid {
  grid-template-columns: minmax(0, 1fr);
}

.support-product-group--count-2 .support-tier-grid {
  grid-template-columns: minmax(0, 1fr);
}

.support-product-group--count-3 .support-tier-grid {
  grid-template-columns: minmax(0, 1fr);
}

.support-product-group--count-4 .support-tier-grid {
  grid-template-columns: minmax(0, 1fr);
}

.support-tier-card,
.support-reward-list article {
  min-width: 0;
  border-radius: 22px;
  padding: 22px;
  overflow-wrap: anywhere;
}

.support-tier-card[data-support-product] {
  cursor: pointer;
}

.support-tier-card[data-support-product]:focus-visible {
  outline: 3px solid rgba(0, 132, 255, 0.32);
  outline-offset: 3px;
}

.support-tier-card h2 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.support-tier-card strong {
  display: block;
  color: var(--electric-blue);
  font-size: 28px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.support-tier-card p,
.support-reward-list p {
  color: #245070;
}

.support-tier-card[data-support-product] {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.support-tier-card[data-support-product].is-selected {
  border-color: rgba(0, 132, 255, 0.46);
  box-shadow: 0 20px 50px rgba(0, 132, 255, 0.16), inset 0 0 0 1px rgba(0, 132, 255, 0.12);
}

.support-tier-card[data-support-product].is-selected {
  transform: none;
}

.support-tier-card em {
  display: inline-flex;
  max-width: 100%;
  width: fit-content;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(165, 230, 29, 0.18);
  color: #457800;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.support-reward-list article strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.support-process-list {
  max-width: 720px;
}

.support-order-panel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 22px;
  align-items: start;
}

.support-order-panel[hidden] {
  display: none;
}

.support-order-panel > * { min-width: 0; }
.support-order-panel .support-order-bank-wrap { width: 100%; }
.support-order-panel .support-order-bank { width: 100%; }
.support-order-panel > .support-order-status { grid-column: 1 / -1; }

.support-order-bank-wrap {
  display: grid;
  width: max-content;
  max-width: 100%;
  gap: 7px;
  margin: 16px 0 0;
}

.support-order-bank {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 9px;
  align-items: center;
  justify-content: start;
  border: 1px solid rgba(0, 132, 255, 0.16);
  padding: 10px 13px;
  border-radius: 14px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font: inherit;
  font-weight: 900;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.support-order-bank:hover {
  border-color: rgba(0, 132, 255, 0.32);
  background: rgba(0, 132, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 132, 255, 0.12);
}

.support-order-bank:active {
  transform: translateY(1px);
}

.support-order-bank:focus-visible {
  outline: 3px solid rgba(0, 132, 255, 0.2);
  outline-offset: 2px;
}

.support-order-bank:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  box-shadow: none;
}

.support-order-bank span {
  min-width: 0;
}

.support-order-bank__icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.support-order-bank-status {
  margin: 0;
  color: #61738c;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.support-order-bank-status[data-tone="ok"] {
  color: #18843e;
}

.support-order-bank-status[data-tone="error"] {
  color: #b42318;
}

.support-order-help {
  margin: 12px 0 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
}

.support-order-identity-note {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #b42318;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.94);
  color: #b42318;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.support-order-identity-note strong,
.support-order-identity-note span {
  min-width: 0;
}

.support-order-identity-note strong {
  color: #b42318;
  font-weight: 950;
}

.support-order-identity-note span {
  overflow-wrap: anywhere;
}

.support-order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 16px;
  align-items: start;
}

.support-order-form label {
  position: relative;
  display: grid;
  gap: 8px;
  color: #245070;
  font-size: 13px;
  font-weight: 900;
}

.support-field-label {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}

.support-field-note {
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.support-order-form label.is-disabled .support-field-label {
  color: #61738c;
}

.support-order-form input,
.support-order-form select {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  border: 1px solid rgba(0, 132, 255, 0.2);
  border-radius: 13px;
  padding: 0 13px;
  background: #ffffff;
  color: var(--text);
  font: 800 14px/1 var(--font);
  text-overflow: ellipsis;
}

.support-order-form input:disabled,
.support-order-form select:disabled {
  cursor: not-allowed;
  background: rgba(241, 247, 253, 0.86);
  color: #8ba0b6;
}

.support-order-form input[name="desired_nickname"]::placeholder,
.support-order-form input[data-title-request-input]::placeholder {
  font-size: 13px;
}

.support-order-form input:not([type="checkbox"]).is-invalid,
.support-order-form select.is-invalid {
  border-color: rgba(232, 85, 85, 0.48);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(232, 85, 85, 0.11);
}

.support-order-form input[name="company"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.support-input-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.support-order-form .support-input-wrap input {
  padding-right: 58px;
}

.support-input-count {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #61738c;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.support-input-count[data-empty="true"] {
  color: #8ba0b6;
}

.support-input-wrap input:disabled + .support-input-count {
  opacity: 0.5;
}

.support-field-error {
  position: static;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid rgba(232, 85, 85, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #b42318;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(180, 35, 24, 0.1);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  pointer-events: none;
}

.support-field-error::before {
  content: "!";
  flex: 0 0 auto;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 999px;
  background: rgba(232, 85, 85, 0.12);
  color: #b42318;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.support-field-error[hidden] {
  display: none;
}

.support-order-check,
.support-order-delay-note,
.support-order-form .landing-panel-actions,
.support-order-status {
  grid-column: 1 / -1;
}

.support-order-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  width: 100%;
  min-height: 28px;
  line-height: 1.55;
}

.support-order-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
}

.support-order-check input.is-invalid {
  outline: 3px solid rgba(232, 85, 85, 0.14);
  outline-offset: 2px;
}

.support-order-check span {
  min-width: 0;
}

.support-order-check a {
  color: var(--electric-blue);
  font-weight: 950;
}

#support-order-form .support-order-delay-note {
  margin: -6px 0 -10px;
  color: #8fa0b3;
  font-size: 10px !important;
  font-weight: 650;
  line-height: 1.45;
  opacity: 0.8;
}

.support-order-form .landing-panel-actions {
  margin-top: 4px;
}

.support-order-status {
  min-height: 22px;
  margin: 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 900;
}

.support-order-status[data-tone="ok"] {
  color: #457800;
}

.support-order-status[data-tone="error"] {
  color: #d92d20;
}

.support-hero {
  display: block;
}

.support-hero .page-title span {
  color: #23a455;
  font-weight: 900;
}

.support-ad-reward-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
  padding: clamp(18px, 2.8vw, 24px);
  border-radius: 22px;
}

.support-ad-reward-panel__copy,
.support-ad-reward-panel__status {
  min-width: 0;
}

.support-ad-reward-panel__copy h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
}

.support-ad-reward-panel__copy p,
.support-ad-reward-panel__status p {
  margin: 0;
  color: #245070;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.support-ad-reward-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.support-ad-reward-step {
  position: relative;
  min-width: 0;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 14px 14px;
  border-radius: 16px;
  box-shadow: none;
}

.support-ad-reward-step span {
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
}

.support-ad-reward-step strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.support-ad-reward-step.is-current {
  border-color: rgba(0, 132, 255, 0.48);
  background: linear-gradient(150deg, rgba(235, 247, 255, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow: 0 12px 28px rgba(0, 132, 255, 0.12), inset 0 0 0 1px rgba(0, 132, 255, 0.2);
}

.support-ad-reward-step.is-current::before {
  content: "이번 보상";
  position: absolute;
  top: 8px;
  right: 9px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.12);
  color: #0067c7;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.2;
}

.support-ad-reward-step.is-complete {
  border-color: rgba(35, 164, 85, 0.42);
  background: linear-gradient(150deg, rgba(232, 255, 242, 0.96), rgba(255, 255, 255, 0.96));
  opacity: 0.72;
}

.support-ad-reward-step.is-complete::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #23a455;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.support-ad-reward-step.is-complete span,
.support-ad-reward-step.is-complete strong {
  color: #61738c;
}

.support-ad-reward-panel__status {
  display: grid;
  align-content: center;
  gap: 12px;
}

.support-ad-reward-count {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 16px;
  box-shadow: none;
}

.support-ad-reward-count span {
  color: #245070;
  font-size: 12px;
  font-weight: 900;
}

.support-ad-reward-count strong {
  color: var(--electric-blue);
  font-size: 30px;
  line-height: 1;
}

.support-ad-reward-panel__status .cta-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.support-ad-reward-panel__status .cta-button .landing-chip-svg {
  flex: 0 0 auto;
}

.support-ad-reward-panel__status .cta-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.support-ad-reward-message {
  min-height: 20px;
  color: #61738c;
  font-size: 13px;
  font-weight: 900;
}

.support-ad-reward-message[data-tone="ok"] {
  color: #18843e;
}

.support-ad-reward-message[data-tone="error"] {
  color: #d92d20;
}

.support-section-title {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 132, 255, 0.14);
}

.support-section-title:first-of-type {
  border-top: 0;
}

.support-section-title span {
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
}

.support-section-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
}

.support-section-title p {
  margin: 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.support-section-title--donation {
  margin-top: 34px;
}

.support-donation-section {
  margin-top: 16px;
}

.support-catalog-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 132, 255, 0.12);
  border-radius: 18px;
  background: rgba(244, 249, 255, 0.9);
}

.support-catalog-tab {
  min-width: 0;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #536a84;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.support-catalog-tab:hover {
  color: #143a5a;
  background: rgba(255, 255, 255, 0.82);
}

.support-catalog-tab.is-selected {
  border-color: rgba(0, 132, 255, 0.24);
  background: #ffffff;
  color: var(--electric-blue);
  box-shadow: 0 8px 22px rgba(0, 87, 176, 0.1);
}

.support-catalog-tab:focus-visible {
  outline: 3px solid rgba(0, 132, 255, 0.28);
  outline-offset: 2px;
}

.support-donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.support-donation-card {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.support-donation-card--full-row {
  grid-column: 1 / -1;
}

.support-donation-card[hidden] {
  display: none;
}

.support-donation-card h2 {
  margin-top: 0;
}

.support-donation-card.is-selected {
  border-color: rgba(0, 132, 255, 0.52);
  box-shadow: 0 20px 50px rgba(0, 132, 255, 0.18), inset 0 0 0 1px rgba(0, 132, 255, 0.16);
}

.support-donation-card.support-donation-card--monthly {
  min-height: 0;
  background: #ffffff;
}

.support-donation-card.support-donation-card--monthly h2 {
  margin-bottom: 6px;
}

.support-donation-card.support-donation-card--monthly > strong {
  font-size: 24px;
}

.support-donation-card.support-donation-card--monthly .support-tier-card__rewards {
  margin-top: 10px;
}

.support-donation-card.support-donation-card--monthly .support-tier-card__rewards ul {
  gap: 4px;
}

.support-donation-card.support-donation-card--ad-removal {
  border-color: rgba(24, 148, 118, 0.5);
}

.support-donation-card.support-donation-card--ad-removal.is-owned {
  cursor: default;
  box-shadow: none;
}

.support-ad-removal-badge {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #157b62;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.support-donation-card .support-tier-card__rewards ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 18px;
}

.support-donation-benefit {
  min-width: 0;
}

.support-donation-benefit--feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #245070;
  line-height: 1.25;
}

.support-tier-card__rewards li.support-donation-benefit--feature::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-blue);
}

.support-donation-benefit--resource {
  flex: 1 0 100%;
  margin-top: 2px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 0;
  background: transparent;
  color: #123f62;
  font-weight: 950;
  line-height: 1.45;
}

.support-tier-card__rewards li.support-donation-benefit--resource::before {
  content: none;
}

.support-donation-benefit--detail {
  flex: 1 0 100%;
}

.support-tier-card__rewards .support-donation-benefit-strong {
  display: inline;
  color: #143a5a;
  font-size: inherit;
  font-weight: 950;
  line-height: inherit;
}

.support-donation-card__note {
  margin: 12px 0 0;
  padding: 0;
  color: #61738c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.support-caution-panel {
  margin-top: 48px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 16px;
  background: rgba(245, 250, 255, 0.76);
}

.support-caution-panel h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}

.support-caution-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #245070;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.support-caution-panel__titles {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 132, 255, 0.14);
  color: #163f60;
  font-size: 12px;
  line-height: 1.45;
}

.support-caution-panel__titles strong,
.support-caution-panel__titles span {
  font-size: inherit;
  font-weight: 950;
}

.support-caution-panel__titles span {
  color: #0067c7;
}

.support-order-selection {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(165, 230, 29, 0.42);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(240, 255, 209, 0.82), rgba(255, 255, 255, 0.92));
}

.support-order-selection span {
  color: #245070;
  font-size: 12px;
  font-weight: 900;
}

.support-order-selection strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.support-order-selection em {
  color: #18843e;
  font-style: normal;
  font-size: 14px;
  font-weight: 950;
}

.support-product-group {
  padding: 0;
  overflow: hidden;
}

.support-product-group__head {
  width: 100%;
  min-height: 82px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.support-product-group__head:hover {
  background: rgba(0, 132, 255, 0.035);
}

.support-product-group__head span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.support-product-group__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: rgba(0, 132, 255, 0.08);
  font-size: 30px;
}

.support-product-group__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
  flex: 1 1 auto;
}

.support-product-group__copy strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.support-product-group__copy small {
  color: #245070;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.support-product-group__chevron {
  justify-self: end;
  color: var(--text);
  font-size: 24px;
  transition: transform 0.16s ease;
}

.support-product-group__body {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 22, 34, 0.54);
  backdrop-filter: blur(8px);
}

.support-product-group__body[hidden] {
  display: none;
}

.support-product-popup__panel {
  width: min(620px, 100%);
  max-height: min(640px, calc(100svh - 56px));
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
}

.support-product-popup__panel .support-tier-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}

.support-product-popup__panel .support-tier-card {
  border-radius: 16px;
  padding: 16px;
}

.support-product-popup__panel .support-tier-card h2 {
  font-size: 17px;
}

.support-product-popup__panel .support-tier-card strong {
  font-size: 21px;
}

.support-product-popup__panel .support-tier-card__rewards {
  margin-top: 12px;
  gap: 5px;
}

.support-product-popup__panel .support-tier-card__rewards ul {
  gap: 4px;
  font-size: 12px;
}

.support-product-popup__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 14px;
  align-items: start;
}

.support-product-popup__head div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.support-product-popup__head strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.support-product-popup__head span {
  color: #245070;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.support-product-popup__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.support-product-popup__close:hover {
  color: #0067c7;
}

.support-tier-card__rewards {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.support-tier-card__rewards span {
  color: #245070;
  font-size: 12px;
  font-weight: 900;
}

.support-tier-card__rewards ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #245070;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.support-tier-card__rewards li::before {
  content: "· ";
  color: var(--electric-blue);
  font-weight: 950;
}

.support-order-form > label:not(.support-order-check) > span:not(.support-input-wrap) {
  color: #61738c;
  font-size: 12px;
  font-weight: 800;
}

.support-order-total {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(165, 230, 29, 0.42);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(240, 255, 209, 0.82), rgba(255, 255, 255, 0.92));
}

.support-order-total span {
  color: #245070;
  font-size: 12px;
  font-weight: 900;
}

.support-order-total strong {
  color: #18843e;
  font-size: 24px;
  line-height: 1.1;
}

.landing-supporter-profile-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  background: rgba(0, 132, 255, 0.08);
  color: var(--electric-blue);
  font-size: 12px;
  font-weight: 900;
}

.landing-ad-slot {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  color: #245070;
  font-size: 13px;
}

.landing-ad-slot.is-ad-ready,
.landing-ad-slot.is-ad-fallback {
  display: flex;
}

.landing-ad-slot--rail {
  min-height: 360px;
}

.landing-ad-slot--mobile {
  min-height: 96px;
  max-height: 112px;
  margin-top: 28px;
  overflow: hidden;
}

.landing-ad-slot .adsbygoogle {
  width: 100%;
  min-height: inherit;
}

.landing-ad-slot .kakao_ad_area {
  width: 100%;
  max-width: 320px;
}

.landing-ad-slot.is-ad-provider-adfit {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landing-ad-slot--mobile .adsbygoogle {
  height: 96px;
  min-height: 96px;
  max-height: 112px;
}

.landing-ad-slot--mobile.is-ad-provider-adfit {
  position: fixed;
  right: auto;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 45;
  transform: translateX(-50%);
  width: min(100%, 320px);
  min-height: 100px;
  max-height: 100px;
  margin: 0;
  border-radius: 0;
  overflow: visible;
}

.landing-ad-slot--mobile .kakao_ad_area {
  min-height: 100px;
}

.landing-ad-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.landing-ad-main {
  min-width: 0;
}

.ad-rail {
  display: none;
}

.ad-rail.is-ad-ready,
.ad-rail.is-ad-fallback {
  display: none;
}

.ad-mobile-bottom {
  display: none;
}

.ad-mobile-bottom.is-ad-provider-adfit.is-ad-ready,
.ad-mobile-bottom.is-ad-provider-adfit.is-ad-fallback {
  display: flex;
  padding: 0;
}

body.has-mobile-ad-dock {
  padding-bottom: calc(122px + env(safe-area-inset-bottom));
}

@media (min-width: 1440px) {
  .landing-ad-layout.has-rail-ads {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .ad-rail.is-ad-ready,
  .ad-rail.is-ad-fallback {
    position: absolute;
    top: 0;
    display: flex;
    width: 120px;
  }

  .ad-rail--left.is-ad-ready,
  .ad-rail--left.is-ad-fallback {
    right: calc(100% + 20px);
  }

  .ad-rail--right.is-ad-ready,
  .ad-rail--right.is-ad-fallback {
    left: calc(100% + 20px);
  }
}

@media (max-width: 1439px) {
  .ad-mobile-bottom.is-ad-ready,
  .ad-mobile-bottom.is-ad-fallback {
    display: flex;
  }
}

.codex-country-grid {
  margin-top: 10px;
}

.landing-codex-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.landing-codex-shell > * {
  min-width: 0;
}

[data-codex-view-panel="countries"] {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-codex-subnav {
  position: sticky;
  z-index: 20;
  top: var(--landing-sticky-subnav-top, 88px);
  display: inline-flex;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 20px;
  border: 1px solid rgba(201, 158, 72, 0.28);
  border-radius: 999px;
  padding: 5px;
  background: rgba(19, 25, 34, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.landing-codex-subnav button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  font: 850 13px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-codex-subnav button.is-active {
  background: linear-gradient(135deg, #d6a64c, #f2ca70);
  color: #1d160a;
}

[data-codex-view-panel][hidden],
.landing-landmark-skin-order[hidden] {
  display: none !important;
}

.all-out-war-medal-shop {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 0 36px;
  color: #18293b;
}

.all-out-war-medal-shop__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d9e2ec;
  padding-bottom: 16px;
}

.all-out-war-medal-shop__head > div:first-child > span,
.all-out-war-currency-group__head span {
  display: block;
  color: #667b91;
  font-size: 12px;
  font-weight: 750;
}

.all-out-war-medal-shop__head h1 {
  margin: 5px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.all-out-war-medal-balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 8px;
  min-width: 248px;
}

.all-out-war-medal-balance {
  border-left: 3px solid;
  border-radius: 6px;
  padding: 8px 11px;
}

.all-out-war-medal-balance:only-child {
  grid-column: 1 / -1;
}

.all-out-war-medal-balance--fragment {
  border-color: #4f958c;
  background: #eff8f6;
}

.all-out-war-medal-balance--medal {
  border-color: #c28a25;
  background: #fff8e9;
}

.all-out-war-medal-balance > span {
  display: block;
  color: #61768b;
  font-size: 11px;
  font-weight: 750;
}

.all-out-war-medal-balance strong {
  display: block;
  margin-top: 2px;
  color: #203447;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.all-out-war-medal-balance strong small {
  margin-left: 3px;
  color: #65798d;
  font-size: 11px;
}

.all-out-war-medal-shop__rule,
.all-out-war-medal-shop__notice {
  margin: 0;
  color: #50657a;
  font-size: 14px;
  line-height: 1.55;
}

.all-out-war-medal-shop__notice:not(:empty) {
  border-left: 3px solid #b98620;
  padding: 9px 12px;
  color: #6b4908;
  font-weight: 750;
}

.all-out-war-currency-groups,
.all-out-war-currency-group {
  display: grid;
  gap: 12px;
}

.all-out-war-currency-groups {
  gap: 24px;
}

.all-out-war-currency-group + .all-out-war-currency-group {
  border-top: 1px solid #d9e2ec;
  padding-top: 22px;
}

.all-out-war-currency-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.all-out-war-currency-group__head h2 {
  margin: 3px 0 0;
  font-size: 18px;
}

.all-out-war-currency-group__head p {
  margin: 0;
  color: #61768b;
  font-size: 12px;
}

.all-out-war-currency-group--fragment .all-out-war-currency-group__head span {
  color: #397d75;
}

.all-out-war-currency-group--medal .all-out-war-currency-group__head span {
  color: #8c5d08;
}

.all-out-war-medal-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.all-out-war-medal-tier {
  border: 1px solid #d5dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.all-out-war-medal-tier--fragment {
  border-color: #c7dedb;
}

.all-out-war-medal-tier--fragment .all-out-war-medal-product button:not(:disabled) {
  border-color: #6d9f98;
  background: #eff8f6;
  color: #214f4a;
}

.all-out-war-medal-tier > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5ebf1;
  padding: 14px 16px;
}

.all-out-war-medal-tier > header span {
  color: #718398;
  font-size: 11px;
}

.all-out-war-medal-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.all-out-war-medal-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  border-bottom: 1px solid #edf1f5;
  padding: 9px 12px 9px 16px;
}

.all-out-war-medal-product:last-child {
  border-bottom: 0;
}

.all-out-war-medal-product span {
  min-width: 0;
  font-size: 14px;
  font-weight: 750;
}

.all-out-war-medal-product button,
.all-out-war-medal-shop__locked button {
  min-height: 44px;
  border: 1px solid #b98a32;
  border-radius: 7px;
  padding: 0 15px;
  background: #fff8e6;
  color: #503707;
  font: 800 13px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.all-out-war-medal-product button:disabled {
  border-color: #dce3ea;
  background: #f3f6f8;
  color: #8c9bab;
  cursor: not-allowed;
}

.all-out-war-medal-product__controls {
  display: grid;
  grid-template-columns: 82px minmax(112px, auto);
  gap: 8px;
}

.all-out-war-medal-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  min-height: 44px;
}

.all-out-war-medal-stepper input {
  min-width: 0;
  border: 1px solid #ccd7e2;
  border-radius: 7px 0 0 7px;
  padding: 0 8px;
  background: #fff;
  color: #18293b;
  font: 800 14px/1 Pretendard, sans-serif;
  text-align: center;
  appearance: textfield;
}

.all-out-war-medal-stepper input::-webkit-inner-spin-button,
.all-out-war-medal-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.all-out-war-medal-stepper__buttons {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}

.all-out-war-medal-stepper__buttons button,
.all-out-war-medal-tier--fragment .all-out-war-medal-stepper__buttons button:not(:disabled) {
  width: 24px;
  min-height: 0;
  border-color: #ccd7e2;
  border-left: 0;
  border-radius: 0 7px 0 0;
  padding: 0;
  background: #f6f8fa;
  color: #52677b;
  font-size: 8px;
}

.all-out-war-medal-stepper__buttons button:last-child,
.all-out-war-medal-tier--fragment .all-out-war-medal-stepper__buttons button:last-child:not(:disabled) {
  border-top: 0;
  border-radius: 0 0 7px 0;
}

.all-out-war-medal-stepper input:disabled {
  background: #f3f6f8;
  color: #8c9bab;
}

.all-out-war-medal-shop__locked {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  padding: 34px 20px;
  background: #fff;
  text-align: center;
}

.all-out-war-medal-shop__locked > svg {
  width: 24px;
  height: 24px;
  color: #8c5d08;
}

.all-out-war-medal-shop__locked p,
.all-out-war-medal-shop__error {
  margin: 0 0 8px;
  color: #63778b;
  font-size: 14px;
}

@media (max-width: 640px) {
  .landing-codex-subnav button {
    flex: 1 1 0;
    padding-inline: 8px;
    font-size: 12px;
  }

  .all-out-war-medal-shop {
    width: 100%;
    padding: 18px 4px 28px;
  }

  .all-out-war-medal-shop__head {
    align-items: stretch;
    flex-direction: column;
  }

  .all-out-war-medal-shop__head h1 {
    font-size: 20px;
  }

  .all-out-war-medal-balances {
    min-width: 0;
  }

  .all-out-war-medal-balance strong {
    font-size: 19px;
  }

  .all-out-war-currency-group__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .all-out-war-medal-tiers {
    grid-template-columns: 1fr;
  }
}

.landing-landmark-panel {
  display: grid;
  gap: 20px;
}

.landing-landmark-hero {
  overflow: hidden;
  border: 1px solid rgba(152, 126, 227, 0.32);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 56px);
  background:
    radial-gradient(circle at 82% 12%, rgba(104, 82, 185, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(18, 24, 34, 0.98), rgba(31, 24, 48, 0.96));
}

.landing-landmark-stat-grid,
.landing-landmark-effect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.landing-landmark-stat-grid article,
.landing-landmark-effect-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.landing-landmark-stat-grid span,
.landing-landmark-effect-grid span {
  color: #ae9fcf;
  font-size: 12px;
  font-weight: 850;
}

.landing-landmark-stat-grid strong,
.landing-landmark-effect-grid strong {
  color: #f3e9ff;
  font-size: clamp(16px, 2vw, 22px);
}

.landing-landmark-effect-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.landing-landmark-effect-grid p,
.landing-landmark-command-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.landing-landmark-command-note {
  margin-top: 18px;
}

.landing-landmark-command-note code {
  border-radius: 5px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f2ca70;
}

.landing-skin-creation-history {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(7, 12, 19, 0.46);
}

.landing-skin-creation-history p {
  margin: 0;
  color: var(--muted);
}

.landing-skin-creation-history__item {
  display: grid;
  grid-template-columns: minmax(100px, auto) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-skin-creation-history__item:last-child {
  border-bottom: 0;
}

.landing-skin-creation-history__item span {
  display: block;
  color: #f2ca70;
  font-weight: 900;
}

.landing-skin-creation-history__item strong,
.landing-skin-creation-history__item small {
  display: block;
}

.landing-skin-creation-history__item small {
  color: var(--muted);
}

.landing-skin-creation-history__item img {
  display: block;
  object-fit: cover;
  border-radius: 9px;
}

.landing-skin-creation-history__assets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
}

.landing-skin-creation-history__assets figure {
  margin: 0;
}

.landing-skin-creation-history__assets figcaption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.landing-skin-creation-history__asset--square {
  width: 88px;
  aspect-ratio: 1;
}

.landing-skin-creation-history__asset--battle-wrap {
  width: 176px;
}

.landing-skin-creation-history__asset--battle {
  width: 100%;
  aspect-ratio: 2 / 1;
}

.landing-skin-creation-history__actions {
  display: grid;
  gap: 7px;
}

.landing-skin-creation-history__actions button {
  min-height: 36px;
  border: 1px solid rgba(242, 202, 112, 0.4);
  border-radius: 8px;
  background: rgba(242, 202, 112, 0.1);
  color: #f2ca70;
  font-weight: 900;
  cursor: pointer;
}

.landing-skin-creation form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-skin-creation label,
.landing-landmark-skin-order label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.landing-skin-creation select,
.landing-skin-creation input,
.landing-skin-creation textarea,
.landing-landmark-skin-order input {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  padding: 0 11px;
  background: rgba(7, 12, 19, 0.68);
  color: var(--ink);
  font: 700 14px/1.4 Pretendard, sans-serif;
}

.landing-skin-creation textarea {
  min-height: 130px;
  padding: 11px;
  resize: vertical;
}

.landing-skin-creation .is-wide,
.landing-skin-creation [data-skin-creation-status] {
  grid-column: 1 / -1;
}

.landing-landmark-check {
  grid-template-columns: auto 1fr !important;
  align-items: center;
}

.landing-landmark-check input {
  min-height: 0;
}

.landing-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.landing-landmark-country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.landing-landmark-country-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.landing-landmark-country-card:hover {
  border-color: rgba(209, 167, 86, 0.55);
  transform: translateY(-1px);
}

.landing-landmark-country-card span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.landing-landmark-country-card b,
.landing-landmark-country-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-landmark-country-card small {
  color: var(--muted);
  font-size: 11px;
}

.landing-landmark-country-card strong {
  color: #e8bd65;
  font-size: 12px;
}

.landing-landmark-country-card__flag {
  font-size: 23px;
}

.landing-landmark-dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  overflow: auto;
  border: 1px solid rgba(208, 166, 83, 0.35);
  border-radius: 18px;
  padding: 0;
  background: #111923;
  color: #eef2f6;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.landing-landmark-dialog::backdrop {
  background: rgba(3, 7, 12, 0.76);
}

.landing-landmark-dialog__body {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 32px);
}

.landing-landmark-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.landing-landmark-dialog header h2,
.landing-landmark-dialog header p {
  margin: 4px 0 0;
}

.landing-landmark-dialog header span {
  color: #c8a969;
  font-size: 12px;
  font-weight: 850;
}

.landing-landmark-dialog header button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.landing-landmark-base-card,
.landing-landmark-skin-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.landing-landmark-base-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  align-items: center;
}

.landing-landmark-base-card img,
.landing-landmark-skin-card img,
.landing-landmark-asset-pending {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.landing-landmark-asset-pending {
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(111, 87, 165, 0.24), rgba(13, 20, 29, 0.88));
  color: #a99dc1;
  font-size: 13px;
  font-weight: 800;
}

.landing-landmark-base-card > div,
.landing-landmark-skin-card__copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.landing-landmark-skin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.landing-landmark-skin-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1fr);
}

.landing-landmark-skin-card__copy span,
.landing-landmark-base-card span {
  color: #b7a6d9;
  font-size: 11px;
  font-weight: 850;
}

.landing-landmark-skin-card__copy p,
.landing-landmark-base-card p {
  margin: 0;
  color: #aab5c1;
  font-size: 12px;
}

.landing-landmark-skin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.landing-landmark-skin-actions button,
.landing-landmark-representative-action button,
.landing-landmark-skin-order button {
  min-height: 34px;
  border: 1px solid rgba(222, 181, 95, 0.36);
  border-radius: 7px;
  padding: 0 10px;
  background: rgba(214, 166, 76, 0.14);
  color: #f2d28c;
  font: 800 11px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-landmark-skin-actions button:disabled,
.landing-landmark-representative-action button:disabled {
  opacity: 0.55;
  cursor: default;
}

.landing-landmark-skin-order {
  display: grid;
  gap: 9px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

@media (max-width: 900px) {
  .landing-landmark-stat-grid,
  .landing-landmark-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-landmark-effect-grid,
  .landing-skin-creation form,
  .landing-landmark-skin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .landing-codex-subnav {
    width: 100%;
  }

  .landing-codex-subnav button {
    flex: 1;
  }

  .landing-landmark-stat-grid,
  .landing-landmark-country-grid,
  .landing-landmark-base-card,
  .landing-landmark-skin-card {
    grid-template-columns: 1fr;
  }

  .landing-landmark-country-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .landing-skin-creation-history__item {
    grid-template-columns: 1fr;
  }

  .landing-skin-creation-history__item img {
    width: min(100%, 280px);
  }

  .landing-skin-creation-history__assets {
    flex-wrap: wrap;
  }
}

.landing-stats-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.landing-stats-section {
  border-color: rgba(0, 132, 255, 0.18);
}

.landing-stats-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.landing-stats-head h2 {
  margin: 10px 0 6px;
}

.landing-stats-head p {
  margin: 0;
  max-width: 620px;
}

.landing-stats-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 132, 255, 0.28);
  background: rgba(0, 132, 255, 0.1);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

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

.landing-stats-card {
  min-height: 132px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 132, 255, 0.2);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 132, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-stats-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(0, 132, 255, 0.2);
  background: rgba(0, 132, 255, 0.08);
  color: var(--electric-blue);
  box-shadow: none;
}

.landing-stats-card > span {
  color: #0067c7;
  font-size: 12px;
  font-weight: 800;
}

.landing-stats-card strong {
  color: #0b2740;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.landing-stats-card p {
  margin: auto 0 0;
  color: #245070;
  font-size: 12px;
  line-height: 1.45;
}

.landing-stats-section .landing-stats-card p {
  color: #245070;
}

.landing-stats-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 132, 255, 0.14);
  color: #245070;
  font-size: 13px;
  line-height: 1.55;
}

.landing-svg-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.landing-button-svg {
  width: 17px;
  height: 17px;
}

.landing-panel-actions .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.landing-codex-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(241, 200, 102, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 24%, rgba(241, 200, 102, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(65, 45, 19, 0.92), rgba(22, 15, 8, 0.98) 58%, rgba(42, 29, 13, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(22px, 4vw, 38px);
}

.landing-codex-hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(241, 200, 102, 0.13);
  border-radius: 22px;
  pointer-events: none;
}

.landing-codex-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.landing-codex-hero-grid--simple {
  grid-template-columns: minmax(0, 1fr);
}

.landing-atlas-orb {
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(241, 200, 102, 0.22);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.3), transparent 36%),
    repeating-linear-gradient(110deg, rgba(241, 200, 102, 0.16) 0 2px, transparent 2px 14px),
    rgba(26, 18, 8, 0.7);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.48), 0 30px 52px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.landing-eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-codex-hero__help {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
}

.landing-codex-hero__help > span {
  border-color: rgba(0, 132, 255, 0.45);
  background: #ffffff;
  color: #0067c7;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.landing-codex-hero__help:hover > span,
.landing-codex-hero__help[aria-expanded="true"] > span {
  background: #f2f8ff;
}

.landing-eyebrow-line .landing-svg-icon {
  width: 16px;
  height: 16px;
}

.landing-eyebrow-line::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.landing-codex-title {
  margin: 10px 0 10px;
  color: var(--soft);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.landing-title-particle {
  display: inline;
}

.landing-codex-copy {
  max-width: 620px;
  color: #d8c6a8;
  font-size: 15px;
  line-height: 1.7;
}

.landing-progress-stage {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.landing-progress-ring {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #1a1208 0 58%, transparent 59%),
    conic-gradient(var(--gold) var(--progress-deg, 0deg), rgba(255, 255, 255, 0.1) 0);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.55), 0 0 32px rgba(241, 200, 102, 0.16);
}

.landing-progress-ring strong {
  display: block;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
}

.landing-progress-ring span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.landing-ring-svg {
  width: 22px;
  height: 22px;
  margin: 0 auto 8px;
  color: var(--gold);
  opacity: 0.88;
}

.landing-hero-stat-grid,
.landing-record-grid,
.landing-rarity-ledger {
  display: grid;
  gap: 10px;
}

.landing-hero-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-hero-stat,
.landing-record-card,
.landing-rarity-ledger-item,
.landing-section-panel,
.landing-featured-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(241, 200, 102, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.landing-hero-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  border-radius: 18px;
  padding: 13px 14px;
}

.landing-stat-icon {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 132, 255, 0.2);
  border-radius: 14px;
  background: rgba(0, 132, 255, 0.08);
  color: var(--gold);
}

.landing-stat-icon .landing-svg-icon {
  width: 19px;
  height: 19px;
}

.landing-hero-stat span,
.landing-rarity-ledger-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-hero-stat strong,
.landing-rarity-ledger-item strong {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  font-size: 22px;
  line-height: 1;
}

.landing-hero-stat span,
.landing-hero-stat strong {
  grid-column: 2;
}

.landing-featured-card {
  min-height: 100%;
  border-radius: 26px;
  padding: 20px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 82% 16%, rgba(241, 200, 102, 0.18), transparent 13rem);
}

.landing-featured-flag {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(0, 132, 255, 0.08);
  border: 1px solid rgba(0, 132, 255, 0.2);
  font-size: 42px;
  box-shadow: none;
}

.landing-featured-card h2 {
  margin: 16px 0 8px;
  font-size: 31px;
  line-height: 1.1;
}

.landing-featured-card p {
  color: #d5c3a5;
  font-size: 14px;
  line-height: 1.65;
}

.landing-featured-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.landing-record-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-record-grid.landing-codex-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-record-card,
.landing-section-panel {
  border-radius: 24px;
  padding: clamp(18px, 3vw, 26px);
}

.landing-representative-card {
  border: 1px solid rgba(241, 200, 102, 0.18);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.landing-representative-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.landing-representative-card__head h3 {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
}

.landing-representative-card__head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.landing-representative-card__head strong {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 15px;
  white-space: nowrap;
}

.landing-representative-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.landing-representative-option {
  min-width: 116px;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 8px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 14px;
  background: rgba(0, 132, 255, 0.08);
  color: var(--soft);
  padding: 10px 12px;
  font: 900 12px/1.2 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-representative-option__flag {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.landing-representative-option b,
.landing-representative-option small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-representative-option small {
  color: var(--muted);
  font-size: 11px;
}

.landing-representative-option.is-active {
  border-color: rgba(165, 230, 29, 0.42);
  background: rgba(165, 230, 29, 0.14);
}

.landing-representative-option:disabled {
  cursor: default;
  opacity: 0.72;
}

.landing-display-preferences {
  display: grid;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-display-preference {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.landing-display-preference + .landing-display-preference {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-display-preference input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.landing-display-preference__toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  border: 1px solid rgba(148, 169, 188, 0.56);
  border-radius: 999px;
  background: rgba(117, 138, 158, 0.24);
  transition: background 140ms ease, border-color 140ms ease;
}

.landing-display-preference__toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f4f8fb;
  box-shadow: 0 1px 3px rgba(7, 27, 45, 0.38);
  transition: transform 140ms ease;
}

.landing-display-preference input:checked + .landing-display-preference__toggle {
  border-color: rgba(165, 230, 29, 0.72);
  background: rgba(165, 230, 29, 0.42);
}

.landing-display-preference input:checked + .landing-display-preference__toggle::after {
  transform: translateX(18px);
}

.landing-display-preference input:focus-visible + .landing-display-preference__toggle {
  outline: 2px solid var(--electric-blue);
  outline-offset: 3px;
}

.landing-display-preference input:disabled + .landing-display-preference__toggle {
  opacity: 0.48;
}

.landing-display-preference:has(input:disabled) {
  cursor: default;
  opacity: 0.72;
}

.landing-industry-mastery-card {
  margin-top: 10px;
  border: 1px solid rgba(241, 200, 102, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  padding: 16px;
}

.landing-industry-mastery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.landing-industry-mastery-card h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--soft);
  font-size: 17px;
}

.landing-industry-mastery-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.landing-industry-mastery-head > strong {
  color: var(--gold);
  font-size: 20px;
  white-space: nowrap;
}

.landing-industry-mastery-card .landing-linear-bar {
  margin-top: 14px;
}

.landing-industry-mastery-groups {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.landing-industry-mastery-group {
  min-width: 0;
}

.landing-industry-mastery-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.landing-industry-mastery-group__head strong {
  color: var(--soft);
  font-size: 13px;
}

.landing-industry-mastery-group__head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.landing-industry-mastery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 178px);
  justify-content: start;
  gap: 8px;
  margin-top: 9px;
}

.landing-industry-chip {
  min-height: 42px;
  width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 14px;
  background: rgba(0, 132, 255, 0.05);
  color: var(--muted);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 900;
}

.landing-industry-chip__row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.landing-industry-chip__row > span {
  min-width: 0;
}

.landing-industry-chip__bar {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.12);
}

.landing-industry-chip__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.72;
}

.landing-industry-chip.is-mastered {
  border-color: rgba(165, 230, 29, 0.42);
  background: rgba(165, 230, 29, 0.12);
  color: #245000;
}

.landing-industry-chip.is-progress {
  border-color: rgba(0, 132, 255, 0.3);
  background: rgba(0, 132, 255, 0.1);
  color: #174a7a;
}

.landing-industry-chip.is-rare {
  border-color: rgba(197, 166, 93, 0.46);
  background: rgba(255, 224, 138, 0.12);
}

.landing-industry-chip b {
  color: inherit;
  font-size: 11px;
  margin-left: auto;
}

.landing-record-head,
.landing-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.landing-record-head h3,
.landing-section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--soft);
}

.landing-heading-svg {
  width: 19px;
  height: 19px;
  color: var(--gold);
}

.landing-record-head span,
.landing-result-count {
  color: var(--gold);
  font-weight: 900;
}

.landing-record-card p,
.landing-section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.landing-linear-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.landing-linear-bar > span {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

.landing-linear-bar.is-complete,
.achv-bar.is-complete {
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

.landing-linear-bar.is-complete > span,
.achv-bar.is-complete > span {
  width: 100% !important;
}

.landing-record-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.landing-rarity-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-rarity-ledger-item {
  border-radius: 18px;
  padding: 14px;
}

.landing-rarity-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.landing-rarity-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 132, 255, 0.2);
  border-radius: 13px;
  background: rgba(0, 132, 255, 0.08);
  color: var(--gold);
}

.landing-rarity-icon .landing-svg-icon {
  width: 17px;
  height: 17px;
}

.landing-quick-filter-row,
.landing-active-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.landing-filter-panel {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.landing-filter-row-label {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font: 900 12px/1 Pretendard, sans-serif;
  padding: 0 4px;
  white-space: nowrap;
}

.landing-quick-chip,
.landing-reset-filter-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(241, 200, 102, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  padding: 0 13px;
  font: 800 12px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-chip-svg,
.landing-label-svg,
.landing-badge-svg,
.landing-meta-svg {
  width: 14px;
  height: 14px;
}

.landing-quick-chip.is-active {
  color: var(--gold);
  border-color: rgba(241, 200, 102, 0.56);
  background: rgba(241, 200, 102, 0.14);
}

.landing-codex-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landing-filter-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.landing-control-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.landing-codex-controls select,
.landing-codex-controls input,
.landing-select-button {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--soft);
  padding: 8px 0;
  font: 600 13px/1 Pretendard, sans-serif;
}

.landing-custom-select {
  position: relative;
  min-width: 0;
}

.landing-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.landing-select-button [data-filter-value],
.landing-select-button [data-sort-value] {
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-select-chevron {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 0.16s ease;
}

.landing-custom-select.is-open .landing-select-chevron {
  transform: rotate(180deg);
}

.landing-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  display: none;
  min-width: 148px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.landing-custom-select[data-multi-filter="continent"] .landing-select-menu {
  max-height: 292px;
}

.landing-select-menu--single {
  right: auto;
  width: max-content;
  min-width: max(100%, 168px);
  max-width: min(230px, calc(100vw - 48px));
}

.landing-custom-select.is-open .landing-select-menu {
  display: grid;
  gap: 4px;
}

.landing-select-option,
.landing-select-action {
  min-height: 40px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0b2740;
  padding: 8px 10px;
  font: 800 13px/1.2 var(--font);
  text-align: left;
  white-space: nowrap;
  overflow: visible;
  cursor: pointer;
}

.landing-select-action {
  grid-template-columns: 18px minmax(0, 1fr);
}

.landing-select-action::before {
  content: "";
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1.5px solid rgba(0, 132, 255, 0.34);
  border-radius: 4px;
  background: rgba(0, 132, 255, 0.04);
  grid-column: 1;
}

.landing-select-action.is-selected::before {
  content: "✓";
  display: grid;
  place-items: center;
  border-color: var(--electric-blue);
  background: rgba(0, 132, 255, 0.1);
  color: var(--electric-blue);
  font-size: 12px;
  line-height: 1;
}

.landing-select-option input {
  position: relative;
  width: 16px;
  height: 16px;
  min-height: 0;
  flex: 0 0 auto;
  grid-column: 1;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(0, 132, 255, 0.34);
  border-radius: 4px;
  appearance: none;
  background: rgba(0, 132, 255, 0.04);
}

.landing-codex-controls .landing-select-option input {
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 16px;
  min-height: 0;
  flex: 0 0 16px;
  padding: 0;
}

.landing-select-option input::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--electric-blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  opacity: 0;
}

.landing-select-option input:checked {
  border-color: var(--electric-blue);
  background: rgba(0, 132, 255, 0.1);
}

.landing-select-option input:checked::before {
  opacity: 1;
}

.landing-select-option:has(input:checked),
.landing-select-action.is-selected {
  color: var(--electric-blue);
}

@media (hover: hover) and (pointer: fine) {
  .landing-select-option:hover,
  .landing-select-action:hover {
    background: rgba(0, 132, 255, 0.07);
  }
}

@media (max-width: 1100px) {
  .landing-codex-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-filter-field:first-child,
  .landing-reset-filter-button {
    grid-column: 1 / -1;
  }
}

.landing-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(241, 200, 102, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--gold);
  background: rgba(241, 200, 102, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.landing-active-filter-row:empty {
  display: none;
}

.landing-empty-results {
  display: none;
  border: 1px rgba(241, 200, 102, 0.28);
  border-radius: 22px;
  padding: 34px 20px;
  color: var(--muted);
  text-align: center;
}

.landing-empty-results.is-visible {
  display: block;
}

.landing-codex-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-codex-list .landing-country-card {
  position: relative;
  list-style: none;
  border-radius: 24px;
  border: 1px solid rgba(200, 176, 122, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.landing-codex-list .landing-country-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
  opacity: 0.7;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .landing-codex-list .landing-country-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 132, 255, 0.28);
    box-shadow: 0 20px 48px rgba(0, 132, 255, 0.14);
  }
}

.landing-codex-list .landing-country-card.is-hidden {
  display: none;
}

.landing-codex-list .landing-country-card[data-grade="rare"] { border-color: rgba(112, 183, 231, 0.38); }
.landing-codex-list .landing-country-card[data-grade="epic"] { border-color: rgba(180, 138, 242, 0.4); }
.landing-codex-list .landing-country-card[data-grade="legendary"] {
  border-color: rgba(241, 200, 102, 0.58);
  box-shadow: 0 0 0 1px rgba(241, 200, 102, 0.06), 0 0 30px rgba(241, 200, 102, 0.1);
}

.landing-codex-list .landing-country-card:not([data-owned="true"]) {
  filter: saturate(0.52);
  opacity: 0.66;
}

.landing-codex-list .country-card-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.landing-codex-list .country-card-body {
  min-width: 0;
}

.landing-codex-list .flag-medallion {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(0, 132, 255, 0.2);
  background: rgba(0, 132, 255, 0.08);
  font-size: 31px;
}

.landing-codex-list .country-topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.landing-codex-list .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.landing-codex-list .continent {
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-codex-list .grade-normal { background: rgba(200, 176, 122, 0.14); border-color: rgba(200, 176, 122, 0.6); color: #e0cfa0; }
.landing-codex-list .grade-rare { background: rgba(91, 174, 224, 0.14); border-color: rgba(91, 174, 224, 0.6); color: #a8d8f8; }
.landing-codex-list .grade-epic { background: rgba(157, 112, 224, 0.14); border-color: rgba(157, 112, 224, 0.6); color: #d0b8f8; }
.landing-codex-list .grade-legendary { background: rgba(240, 200, 64, 0.16); border-color: rgba(240, 200, 64, 0.8); color: #ffe480; }
.landing-codex-list .continent { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); color: var(--muted); }

.landing-codex-list .country-name {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.landing-codex-list .country-description {
  margin-top: 8px;
  min-height: 62px;
  color: #c8b89a;
  font-size: 13px;
  line-height: 1.55;
}

.landing-codex-list .country-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.landing-codex-list .country-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
}

.landing-codex-list .owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: max-content;
  color: var(--success);
  border: 1px solid rgba(145, 199, 119, 0.3);
  background: rgba(145, 199, 119, 0.08);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.landing-codex-list .owned-badge[data-owned="false"] {
  color: #9e8c70;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 900px) {
  .landing-codex-hero-grid,
  .landing-progress-stage {
    grid-template-columns: 1fr;
  }

  .landing-record-grid,
  .landing-rarity-ledger,
  .landing-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-record-grid.landing-codex-summary-grid {
    grid-template-columns: 1fr;
  }

  .landing-codex-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-product-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 520px) {
  .page-wrap {
    width: min(900px, calc(100% - 32px));
  }

  .landing-tab-pad {
    width: 100%;
    padding: 18px 0 76px;
  }

  #landing-support-shell {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .landing-tab-pad,
  .landing-codex-shell {
    min-width: 0;
  }

  .landing-codex-shell {
    gap: 18px;
  }

  .support-catalog-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 4px;
  }

  .support-catalog-tab {
    min-height: 44px;
    padding: 2px;
    font-size: clamp(10px, 2.8vw, 11px);
  }

  .landing-codex-hero,
  .landing-record-grid,
  .landing-section-panel {
    scroll-margin-top: 84px;
  }

  .landing-codex-hero {
    max-width: 100%;
    border-radius: 20px;
    padding: 18px 14px;
  }

  .landing-codex-hero::before {
    inset: 8px;
    border-radius: 16px;
  }

  .landing-codex-hero__help {
    top: 10px;
    right: 10px;
  }

  .landing-atlas-orb {
    display: none;
  }

  .landing-eyebrow-line {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .landing-eyebrow-line::before {
    width: 24px;
  }

  .landing-codex-title {
    font-size: 31px;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .landing-title-particle {
    margin-left: 1px;
  }

  .landing-codex-copy {
    font-size: 14px;
    line-height: 1.62;
  }

  .landing-panel-actions .cta-button {
    width: 100%;
    min-height: 46px;
  }

  .landing-progress-stage {
    gap: 14px;
    margin-top: 22px;
  }

  .landing-progress-ring {
    width: 118px;
    margin: 0 auto;
  }

  .landing-progress-ring strong {
    font-size: 28px;
  }

  .landing-ring-svg {
    display: none;
  }

  .landing-record-grid,
  .landing-rarity-ledger,
  .support-overview-panel,
  .support-order-panel,
  .support-order-form,
  .support-tier-grid,
  .support-product-group .support-tier-grid,
  .support-reward-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #landing-support-shell > .support-product-wrap {
    margin-top: 22px;
  }

  .support-product-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .support-product-group {
    gap: 16px;
    padding: 0;
    border-radius: 16px;
  }

  .support-product-group__head {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    min-height: 104px;
    padding: 12px;
  }

  .support-ad-reward-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
  }

  .support-ad-reward-panel__copy h2 {
    font-size: 20px;
  }

  .support-ad-reward-panel__copy p,
  .support-ad-reward-panel__status p {
    font-size: 13px;
  }

  .support-ad-reward-progress {
    gap: 8px;
    margin-top: 12px;
  }

  .support-ad-reward-step {
    min-height: 86px;
    padding: 22px 10px 10px;
    border-radius: 14px;
  }

  .support-ad-reward-step.is-current::before {
    top: 7px;
    right: 7px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .support-ad-reward-step.is-complete::after {
    top: 7px;
    right: 7px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .support-ad-reward-step span {
    font-size: 11px;
  }

  .support-ad-reward-step strong {
    font-size: 13px;
  }

  .support-ad-reward-count {
    padding: 13px;
  }

  .support-ad-reward-count strong {
    font-size: 26px;
  }

  .support-section-title {
    margin-top: 22px;
    padding-top: 18px;
  }

  .support-section-title h2 {
    font-size: 20px;
  }

  .support-donation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .support-donation-card {
    width: 100%;
    min-height: 0;
    padding: 16px;
  }

  .support-donation-benefit--resource {
    padding: 10px 0 0;
  }

  .support-donation-card__note {
    align-items: flex-start;
  }

  .support-donation-card--full-row {
    grid-column: auto;
  }

  .support-donation-card h2 {
    font-size: 17px;
  }

  .support-donation-card strong {
    font-size: 21px;
  }


  .support-caution-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .support-product-group__icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 20px;
  }

  .support-product-group__copy strong {
    font-size: 14px;
  }

  .support-product-group__copy small {
    font-size: 11px;
    line-height: 1.35;
  }

  .support-product-group__chevron {
    font-size: 18px;
  }

  .support-product-group__body {
    padding: 14px;
  }

  .support-product-popup__panel {
    max-height: calc(100svh - 40px);
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .support-product-popup__head {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .support-product-popup__head strong {
    font-size: 18px;
  }

  .support-product-popup__head span {
    font-size: 12px;
  }

  .support-product-popup__close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 23px;
  }

  .support-product-group .support-tier-grid,
  .support-product-group--count-2 .support-tier-grid,
  .support-product-group--count-3 .support-tier-grid,
  .support-product-group--count-4 .support-tier-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .landing-hero-stat {
    min-width: 0;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    border-radius: 15px;
    padding: 12px;
  }

  .landing-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .landing-hero-stat span {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .landing-hero-stat strong {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .landing-featured-card,
  .landing-record-card,
  .landing-industry-mastery-card,
  .landing-section-panel,
  .support-status-card,
  .support-tier-card,
  .support-reward-list article {
    border-radius: 20px;
    padding: 18px;
  }

  .landing-industry-mastery-head {
    align-items: flex-start;
  }

  .landing-industry-mastery-card h3 {
    font-size: 15px;
  }

  .landing-industry-mastery-head > strong {
    font-size: 18px;
  }

  .landing-industry-mastery-list {
    grid-template-columns: 1fr;
  }

  .landing-industry-chip {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
  }

  .landing-featured-flag {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 34px;
  }

  .landing-featured-card h2 {
    font-size: 25px;
  }

  .landing-featured-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .landing-featured-footer {
    gap: 6px;
  }

  .landing-stats-head {
    display: grid;
  }

  .landing-section-heading {
    display: grid;
    gap: 6px;
  }

  .landing-quick-filter-row {
    display: none;
  }

  .landing-quick-chip,
  .landing-reset-filter-button {
    min-height: 40px;
  }

  .landing-codex-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border-radius: 0;
  }

  .landing-filter-field:first-child,
  .landing-reset-filter-button {
    grid-column: 1 / -1;
  }

  .landing-codex-controls select,
  .landing-codex-controls input,
  .landing-select-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
  }

  .landing-stats-card {
    min-height: 112px;
    padding: 12px;
  }

  .landing-stats-card strong {
    font-size: 18px;
  }

  .landing-stats-card p {
    font-size: 11px;
  }

  .landing-stats-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .landing-codex-controls .landing-select-option input {
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 0;
    flex: 0 0 18px;
    padding: 0;
  }

  .landing-codex-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .landing-codex-list .landing-country-card {
    border-radius: 20px;
  }

  .landing-codex-list .country-card-inner {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 16px;
  }

  .landing-codex-list .flag-medallion {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 28px;
  }

  .landing-codex-list .country-topline {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px;
    margin-bottom: 7px;
  }

  .landing-codex-list .badge,
  .landing-codex-list .owned-badge {
    margin-left: 0;
    padding: 3px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .landing-codex-list .country-name {
    font-size: 18px;
    line-height: 1.2;
  }

  .landing-codex-list .country-description {
    min-height: 0;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .landing-codex-hero,
  .landing-featured-card,
  .landing-record-card,
  .landing-section-panel,
  .landing-codex-list .landing-country-card {
    border-color: rgba(0, 132, 255, 0.16);
  }

  .landing-codex-list .country-meta-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-top: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .landing-codex-list .country-meta-row::-webkit-scrollbar {
    display: none;
  }

  .landing-codex-list .country-meta-row span {
    flex: 0 0 auto;
    padding: 5px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .landing-active-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .landing-active-filter-row::-webkit-scrollbar {
    display: none;
  }

  .ranking-live-meta--board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .ranking-stat {
    min-width: 0;
    white-space: normal;
  }

  .ranking-stat--my-rank {
    margin-left: 0;
    align-items: center;
    width: 100%;
  }

  .ranking-page .doc-panel--ranking {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .rank-board__head {
    gap: 8px;
  }

  .rank-board__title {
    gap: 8px;
    font-size: 18px;
    min-width: 0;
  }

  .rank-board__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .rank-board__tag {
    padding: 5px 9px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .rank-board__scroll {
    max-height: min(520px, 62vh);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 14px;
  }

  .rank-board__scroll--collapsed {
    max-height: none;
    overflow-y: visible;
  }

  .rank-board__scroll--expanded {
    max-height: min(520px, 62vh);
    overflow-y: auto;
  }

  .ranking-page .rank-board-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 12px;
  }

  .ranking-page .rank-board-table th,
  .ranking-page .rank-board-table td {
    padding: 9px 8px;
    vertical-align: middle;
  }

  .rank-board-table td:first-child,
  .rank-board-table th:first-child {
    width: 48px;
  }

  .ranking-page .rank-board-table:not(.rank-board-table--war):not(.rank-board-table--nation-contest) th:nth-child(1),
  .ranking-page .rank-board-table:not(.rank-board-table--war):not(.rank-board-table--nation-contest) td:nth-child(1) {
    width: 22%;
  }

  .ranking-page .rank-board-table:not(.rank-board-table--war):not(.rank-board-table--nation-contest) th:nth-child(2),
  .ranking-page .rank-board-table:not(.rank-board-table--war):not(.rank-board-table--nation-contest) td:nth-child(2) {
    width: 48%;
  }

  .ranking-page .rank-board-table:not(.rank-board-table--war):not(.rank-board-table--nation-contest) th:nth-child(3),
  .ranking-page .rank-board-table:not(.rank-board-table--war):not(.rank-board-table--nation-contest) td:nth-child(3) {
    width: 30%;
  }

  .rank-board-table__name {
    overflow-wrap: anywhere;
  }

  .rank-board-table__score,
  .rank-board-table__num,
  .rank-board-table__pct {
    font-size: 12px;
  }

  .rank-max-power-badge {
    padding: 3px 7px;
    font-size: 10px;
  }

  .rank-board-table--war th:first-child,
  .rank-board-table--war td:first-child {
    width: 44px;
  }

  .rank-board-table--war th:nth-child(2),
  .rank-board-table--war td:nth-child(2) {
    width: auto;
  }

  .rank-board-table--war th:nth-child(3),
  .rank-board-table--war td:nth-child(3),
  .rank-board-table--war th:nth-child(4),
  .rank-board-table--war td:nth-child(4) {
    width: 38px;
  }

  .rank-board-table--war th:nth-child(5),
  .rank-board-table--war td:nth-child(5) {
    width: 48px;
  }

  .rank-cell {
    gap: 3px;
  }

  .rank-cell__medal {
    width: 16px;
    font-size: 13px;
  }

  .rank-cell__num {
    min-width: 1em;
  }

  .rank-podium {
    gap: 10px;
  }

  .rank-podium__card {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .rank-podium__card--1,
  .rank-podium__card--2,
  .rank-podium__card--3 {
    min-height: 0;
  }

  .ranking-page .doc-panel:not(.rank-board) .cmd-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .ranking-page .doc-panel:not(.rank-board) .cmd-table th,
  .ranking-page .doc-panel:not(.rank-board) .cmd-table td {
    padding: 10px 9px;
    overflow-wrap: anywhere;
  }
}

.achv-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.achv-filter-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 0 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: color 0.16s ease;
}

.achv-filter-toggle input {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid rgba(0, 132, 255, 0.36);
  border-radius: 6px;
  appearance: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  color: currentColor;
}

.achv-filter-toggle input::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.achv-filter-toggle input:checked {
  border-color: var(--electric-blue);
  background: rgba(0, 132, 255, 0.08);
}

.achv-filter-toggle input:checked::before {
  opacity: 1;
}

.achv-filter-toggle input:focus-visible {
  outline: 2px solid rgba(0, 132, 255, 0.34);
  outline-offset: 3px;
}

.achv-filter-toggle:has(input:checked) {
  border-color: transparent;
  background: transparent;
  color: var(--electric-blue);
  box-shadow: none;
}

.achv-filter-summary {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 900px) {
  .achv-block-grid {
    grid-template-columns: 1fr;
  }
}

.achv-block {
  border-radius: 22px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px 14px 12px;
}

.achv-empty {
  border-radius: 18px;
  border: 1px solid rgba(0, 132, 255, 0.16);
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.achv-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
}

.achv-progress-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.achv-progress-pct {
  font-weight: 900;
  color: var(--gold);
}

.achv-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.achv-bar > span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  border-radius: 999px;
}

.achv-desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.achv-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.achv-title-button {
  min-height: 38px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.08);
  color: var(--electric-blue);
  padding: 0 14px;
  font: 900 12px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.achv-title-button.is-active {
  border-color: rgba(165, 230, 29, 0.42);
  background: rgba(165, 230, 29, 0.14);
  color: #245000;
}

.achv-clear-title-button {
  min-height: 28px;
  margin-left: 8px;
  border: 1px solid rgba(165, 230, 29, 0.42);
  border-radius: 999px;
  background: rgba(165, 230, 29, 0.14);
  color: #245000;
  padding: 0 10px;
  font: 900 12px/1 Pretendard, sans-serif;
  cursor: pointer;
}

.achv-title-button:disabled,
.achv-clear-title-button:disabled {
  cursor: default;
  border-color: rgba(165, 230, 29, 0.42);
  background: rgba(165, 230, 29, 0.14);
  color: #245000;
}

.page-hero--world {
  border-bottom-color: rgba(0, 132, 255, 0.22);
}

.landing-world-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.world-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(160deg, #ffffff, #f2f8ff);
}

.world-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 132, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 132, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 86%);
  pointer-events: none;
}

.world-stage__scene,
.world-sidebar {
  position: relative;
  z-index: 1;
}

.world-canvas-wrap {
  position: relative;
  min-height: clamp(430px, 58vw, 680px);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #000000 0%, #000103 58%, #000000 100%);
  box-shadow:
    inset 0 -54px 96px rgba(0, 12, 34, 0.1),
    0 26px 60px rgba(0, 0, 0, 0.22);
  touch-action: none;
  cursor: grab;
}

.world-canvas-wrap.is-dragging {
  cursor: grabbing;
}

.world-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.world-pause-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(120, 223, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 18, 34, 0.76);
  color: #f8fbff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.world-pause-button[aria-pressed="true"] {
  border-color: rgba(165, 230, 29, 0.5);
  background: rgba(12, 31, 18, 0.82);
  color: var(--lime-green);
}

.world-pause-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.world-pause-icon--play,
.world-pause-button[aria-pressed="true"] .world-pause-icon--pause {
  display: none;
}

.world-pause-button[aria-pressed="true"] .world-pause-icon--play {
  display: block;
}

.world-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.world-marker {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  gap: 0;
  border: 0;
  background: transparent;
  color: #f8fbff;
  font: 900 11px/1 Pretendard, sans-serif;
  transform: translate3d(-9999px, -9999px, 0);
  pointer-events: none;
  cursor: pointer;
}

.world-marker__dot {
  display: none;
}

.world-marker__label {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  max-width: 132px;
  padding: 7px 9px;
  border: 1px solid rgba(120, 223, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 18, 34, 0.78);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.world-marker.is-owned .world-marker__label,
.world-marker.is-selected .world-marker__label {
  display: inline-flex;
}

.world-marker.is-owned .world-marker__label {
  border-color: rgba(165, 230, 29, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26), 0 0 18px rgba(165, 230, 29, 0.28);
}

.world-marker.is-selected .world-marker__label {
  border-color: rgba(165, 230, 29, 0.62);
  background: rgba(12, 31, 18, 0.9);
}

.world-marker.is-quiet {
  opacity: 0.72;
}

.world-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.world-sidebar h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.world-sidebar p {
  margin: 0;
  color: #245070;
  line-height: 1.65;
}

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

.world-stat-grid div,
.world-selected-card {
  min-width: 0;
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 132, 255, 0.07);
}

.world-stat-grid div {
  grid-column: span 2;
  padding: 12px;
}

.world-stat-grid div:nth-child(n + 4) {
  grid-column: span 3;
}

.world-stat-grid span,
.world-selected-card span {
  display: block;
  color: #0067c7;
  font-size: 11px;
  font-weight: 900;
}

.world-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 21px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.world-selected-card {
  padding: 16px;
}

.world-selected-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.world-selected-card p {
  margin-top: 10px;
  color: #245070;
  font-size: 13px;
}

.world-selected-card__status {
  font-weight: 800;
}

.world-selected-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.world-selected-card__meta em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.world-selected-card__meta em[data-owned="true"] {
  background: rgba(165, 230, 29, 0.18);
  color: #3e6f00;
}

.world-selected-card__meta em[data-owned="false"] {
  background: rgba(157, 167, 184, 0.16);
  color: #617084;
}

.world-connect-button {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 900px) {
  .world-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
  }

  .world-canvas-wrap {
    min-height: min(64vh, 430px);
    border-radius: 22px;
  }

  .world-sidebar {
    padding: 16px;
    border-radius: 22px;
  }

  .world-sidebar h2 {
    font-size: 24px;
  }

  .world-stat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .world-stat-grid div {
    padding: 10px;
  }

  .world-stat-grid strong {
    font-size: 18px;
  }

  .world-marker__label {
    max-width: 104px;
    padding: 6px 8px;
    font-size: 10px;
  }
}

@media (max-width: 520px) {
  .world-canvas-wrap {
    min-height: 360px;
  }

  .world-marker:not(.is-selected) .world-marker__label {
    display: none;
  }

  .world-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-stat-grid div,
  .world-stat-grid div:nth-child(n + 4) {
    grid-column: span 1;
  }
}

/* White launch theme */
.doc-panel,
.doc-panel--ranking,
.landing-codex-hero,
.landing-hero-stat,
.landing-record-card,
.landing-industry-mastery-card,
.landing-rarity-ledger-item,
.landing-section-panel,
.landing-featured-card,
.landing-codex-list .landing-country-card,
.achv-block,
.achv-empty {
  border-color: rgba(0, 132, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.9)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.landing-codex-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(165, 230, 29, 0.24), transparent 14rem),
    radial-gradient(circle at 10% 12%, rgba(0, 132, 255, 0.12), transparent 18rem),
    linear-gradient(135deg, #ffffff, #eef7ff);
}

.landing-codex-hero::before {
  border-color: rgba(0, 132, 255, 0.16);
}

.landing-atlas-orb {
  border-color: rgba(0, 132, 255, 0.18);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 44% 60%, rgba(165, 230, 29, 0.42), transparent 25%),
    radial-gradient(circle at 65% 36%, rgba(165, 230, 29, 0.34), transparent 19%),
    var(--electric-blue);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.35), 0 28px 54px rgba(0, 132, 255, 0.2);
}

.landing-codex-title,
.landing-record-head h3,
.landing-industry-mastery-card h3,
.landing-section-heading h2,
.rank-board__title,
.achv-block h3 {
  color: var(--text);
}

.landing-codex-copy,
.landing-featured-card p,
.landing-industry-mastery-card p,
.doc-panel p,
.doc-panel li {
  color: var(--soft);
}

.alliance-page .alliance-command-copy p {
  color: #ffffff;
}

.landing-eyebrow-line,
.landing-heading-svg,
.landing-result-count,
.landing-record-head span,
.landing-industry-mastery-head > strong,
.landing-ring-svg,
.landing-progress-ring strong,
.landing-stat-icon,
.landing-rarity-icon,
.landing-quick-chip.is-active,
.landing-active-chip,
.achv-progress-pct,
.cmd-table th {
  color: var(--electric-blue);
}

.landing-eyebrow-line::before {
  background: linear-gradient(90deg, transparent, var(--electric-blue));
}

.landing-progress-ring {
  background:
    radial-gradient(circle at center, #ffffff 0 58%, transparent 59%),
    conic-gradient(var(--electric-blue) var(--progress-deg, 0deg), rgba(157, 167, 184, 0.22) 0);
  box-shadow: inset 0 0 24px rgba(0, 132, 255, 0.08), 0 0 30px rgba(0, 132, 255, 0.14);
}

.landing-linear-bar,
.achv-bar {
  background: rgba(157, 167, 184, 0.22);
}

.landing-linear-bar > span,
.landing-linear-bar.is-complete,
.achv-bar > span,
.achv-bar.is-complete {
  background: linear-gradient(90deg, var(--electric-blue) 0%, var(--lime-green) 100%);
}

.landing-stat-icon,
.landing-rarity-icon,
.landing-featured-flag,
.flag-medallion,
.rank-board__icon {
  border-color: rgba(0, 132, 255, 0.2);
  background: rgba(0, 132, 255, 0.08);
  color: var(--electric-blue);
  box-shadow: none;
}

.landing-codex-controls select,
.landing-codex-controls input,
.landing-select-button {
  background: transparent;
  color: var(--text);
}

.landing-filter-panel .landing-codex-controls input:not([data-filter-option]),
.landing-filter-panel .landing-select-button,
.landing-filter-panel .landing-reset-filter-button {
  min-height: 0 !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}

.landing-filter-panel .landing-quick-chip {
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #245070;
}

.landing-filter-panel .landing-quick-chip.is-active {
  border: 0 !important;
  background: transparent !important;
  color: var(--electric-blue);
}

.landing-filter-panel .landing-codex-controls input:not([data-filter-option]):focus,
.landing-filter-panel .landing-select-button:focus-visible,
.landing-filter-panel .landing-reset-filter-button:focus-visible {
  outline: 0;
  color: var(--electric-blue);
}

.landing-filter-panel .landing-reset-filter-button {
  min-height: 0 !important;
  padding: 0 !important;
  color: #245070;
}

.landing-filter-panel {
  margin: 12px 0 16px;
}

.landing-filter-panel .landing-quick-filter-row {
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
}

.landing-filter-panel .landing-codex-controls {
  gap: 16px 24px;
  margin: 0;
}

.landing-filter-panel .landing-filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-filter-panel .landing-control-label {
  flex: 0 0 auto;
}

.landing-filter-panel .landing-custom-select {
  min-width: 0;
  flex: 1 1 auto;
}

.landing-filter-panel .landing-codex-controls input:not([data-filter-option]) {
  flex: 1 1 auto;
  min-width: 80px;
}

.landing-filter-panel .landing-select-button {
  width: auto;
}

.landing-filter-panel .landing-select-button [data-filter-value],
.landing-filter-panel .landing-select-button [data-sort-value] {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.landing-filter-panel .landing-select-chevron {
  margin-left: 6px;
}

.landing-filter-panel .landing-select-option input[data-filter-option] {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  flex: 0 0 16px !important;
  border: 1.5px solid rgba(0, 132, 255, 0.34) !important;
  border-radius: 4px !important;
  background: rgba(0, 132, 255, 0.04) !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}

.landing-filter-panel .landing-select-option input[data-filter-option]:checked {
  border-color: var(--electric-blue) !important;
  background: rgba(0, 132, 255, 0.1) !important;
}

.landing-quick-chip,
.landing-reset-filter-button,
.landing-industry-chip,
.badge,
.owned-badge,
.landing-country-card .country-meta-row span,
.rank-board__tag,
.ranking-live-meta--board {
  border-color: rgba(0, 132, 255, 0.16);
  background: rgba(0, 132, 255, 0.07);
  color: #245070;
}

.landing-codex-list .grade-legendary {
  background: rgba(165, 230, 29, 0.18);
  border-color: rgba(165, 230, 29, 0.68);
  color: #457800;
}

.landing-codex-list .grade-rare {
  background: rgba(0, 132, 255, 0.12);
  border-color: rgba(0, 132, 255, 0.52);
  color: #0067c7;
}

.landing-codex-list .grade-normal,
.landing-codex-list .continent {
  background: rgba(157, 167, 184, 0.13);
  border-color: rgba(157, 167, 184, 0.38);
  color: #526071;
}

.landing-codex-list .country-description,
.landing-codex-list .country-meta-row span,
.ranking-live-meta,
.rank-board__hint,
.ranking-stat__label,
.achv-progress-line,
.achv-desc {
  color: var(--muted);
}

.rank-board__scroll {
  border-color: rgba(0, 132, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.rank-board__scroll .cmd-table thead th {
  background: linear-gradient(180deg, #f3f9ff 0%, #e8f4ff 100%);
  border-bottom-color: rgba(0, 132, 255, 0.18);
  color: var(--electric-blue);
}

.rank-board-table tbody tr:nth-child(even) {
  background: rgba(157, 167, 184, 0.07);
}

.rank-row--1,
.rank-row--2,
.rank-row--3 {
  background: rgb(0 0 0 / 6%) !important;
}

@media (hover: hover) and (pointer: fine) {
  .rank-board-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(0, 132, 255, 0.08), rgba(165, 230, 29, 0.08)) !important;
  }
}

.rank-board-table__name,
.rank-cell__num,
.rank-podium__name {
  color: var(--text);
}

.rank-board-table__score,
.rank-board-table__pct,
.rank-podium__value strong {
  color: var(--electric-blue);
}

.rank-podium__card {
  border-color: rgba(0, 132, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.9)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.rank-podium__card--1 {
  border-color: rgba(165, 230, 29, 0.6);
  background:
    radial-gradient(circle at 50% 0%, rgba(165, 230, 29, 0.24), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f3fbff);
}

/* Admin dashboard */
body.admin-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #edf4fb;
}

.admin-page {
  min-height: 100vh;
  background: #edf4fb;
  color: #101828;
}

.admin-shell {
  box-sizing: border-box;
  width: min(100%, 1320px);
  max-width: 100%;
  margin-inline: auto;
  padding: 28px clamp(16px, 2.5vw, 32px) 48px;
  min-width: 0;
  overflow-x: clip;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-eyebrow {
  margin: 0 0 8px;
  color: #0067c7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.admin-hero p {
  margin: 10px 0 0;
  color: #61738c;
  line-height: 1.6;
}

.admin-actions,
.admin-auth-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-button {
  min-height: 42px;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 12px;
  padding: 0 14px;
  background: #ffffff;
  color: #0067c7;
  font: 900 13px/1 var(--font);
  cursor: pointer;
}

.admin-button--primary {
  border-color: rgba(0, 132, 255, 0.56);
  background: var(--electric-blue);
  color: #ffffff;
}

.admin-button--ghost {
  color: #61738c;
}

.admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.admin-button--compact {
  min-height: 38px;
  border-radius: 10px;
  padding: 0 11px;
  font-size: 12px;
  white-space: nowrap;
}

.admin-card,
.admin-metric-card,
.admin-alert-card {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(0, 132, 255, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.admin-chart-card,
.admin-table-card,
.admin-filter-card {
  min-width: 0;
  max-width: 100%;
}

.admin-auth-panel {
  max-width: 620px;
  padding: 24px;
}

.admin-auth-panel h2 {
  margin: 0 0 8px;
}

.admin-auth-panel p {
  color: #61738c;
  line-height: 1.6;
}

.admin-auth-form input {
  flex: 1 1 260px;
  min-height: 42px;
  border: 1px solid rgba(0, 132, 255, 0.2);
  border-radius: 12px;
  padding: 0 13px;
  font: 700 14px/1 var(--font);
}

.admin-status {
  min-height: 24px;
  margin: 0 0 14px;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
}

.admin-status[data-tone="ok"] {
  color: #457800;
}

.admin-status[data-tone="error"] {
  color: #d92d20;
}

.admin-dashboard {
  display: grid;
  gap: 22px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-dashboard > * {
  min-width: 0;
  max-width: 100%;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(0, 132, 255, 0.12);
  border-radius: 16px;
  background: #f7fbff;
}

.admin-tab-button {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 13px;
  background: transparent;
  color: #52657c;
  font: 900 13px/1 var(--font);
  cursor: pointer;
}

.admin-tab-button.is-active {
  border-color: rgba(0, 132, 255, 0.22);
  background: #fff;
  color: #0067c7;
  box-shadow: 0 8px 18px rgba(11, 57, 112, 0.08);
}

.admin-tab-panel {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-grid {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.admin-grid--overview {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.admin-grid--alerts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-metric-card,
.admin-alert-card {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  overflow-wrap: anywhere;
}

.admin-metric-card span,
.admin-alert-card span {
  display: block;
  color: #61738c;
  font-weight: 900;
  font-size: 13px;
}

.admin-metric-card strong,
.admin-alert-card strong {
  display: block;
  margin-top: 10px;
  color: #101828;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.admin-metric-card p,
.admin-alert-card p {
  margin: 12px 0 0;
  color: #61738c;
  font-weight: 700;
}

.admin-metric-card--list {
  padding: 18px;
}

.admin-metric-card--list > span {
  font-size: 12px;
}

.admin-metric-card--list p {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.35;
}

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

.admin-metric-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.admin-metric-card .admin-metric-list span,
.admin-metric-card .admin-metric-list strong {
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
}

.admin-metric-card .admin-metric-list strong {
  color: #101828;
  font-weight: 950;
  white-space: nowrap;
}

.admin-alert-card {
  color: #ffffff;
}

.admin-alert-card span,
.admin-alert-card strong,
.admin-alert-card p {
  color: inherit;
}

.admin-alert-card--red {
  background: linear-gradient(135deg, #f04438, #db2777);
}

.admin-alert-card--orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.admin-alert-card--purple {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.admin-alert-card--blue {
  background: linear-gradient(135deg, #0084ff, #2563eb);
}

.admin-metric-card--danger {
  border-color: rgba(240, 68, 56, 0.28);
  background: linear-gradient(180deg, #fff7f7, #ffffff);
}

.admin-metric-card--danger strong {
  color: #d92d20;
}

.admin-metric-card--warning {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(180deg, #fffbeb, #ffffff);
}

.admin-metric-card--warning strong {
  color: #b45309;
}

.admin-metric-card--ok {
  border-color: rgba(16, 185, 129, 0.28);
  background: linear-gradient(180deg, #ecfdf3, #ffffff);
}

.admin-metric-card--ok strong {
  color: #047857;
}

.admin-chart-card,
.admin-table-card {
  padding: 24px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-card-head h2 {
  margin: 0;
  font-size: 22px;
}

.admin-card-head p {
  margin: 6px 0 0;
  color: #61738c;
}

.admin-card-head > span {
  height: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-card {
  padding: 24px;
}

.admin-shop-toolbar {
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) 120px auto;
  align-items: end;
  gap: 12px;
  margin: 14px 0 16px;
}

.admin-shop-toolbar label {
  display: grid;
  gap: 7px;
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-shop-toolbar select,
.admin-shop-toolbar input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  background: #f8fbff;
  color: #101828;
  font: 800 13px/1 var(--font);
}

.admin-shop-refresh-button {
  justify-self: start;
  margin-bottom: 2px;
}

.admin-skin-register-form {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.admin-skin-guide {
  padding: 24px;
  border-color: rgba(0, 103, 199, 0.2);
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 62%);
}

.admin-skin-guide__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-skin-guide__head span {
  display: block;
  margin-bottom: 4px;
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
}

.admin-skin-guide__head h2 {
  margin: 0;
  color: #15253a;
  font-size: 22px;
}

.admin-skin-guide__routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-skin-guide__routes article {
  min-width: 0;
  border: 1px solid rgba(0, 103, 199, 0.14);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}

.admin-skin-guide__routes strong {
  color: #15253a;
  font-size: 15px;
}

.admin-skin-guide__routes p {
  margin: 7px 0 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
}

.admin-skin-guide__routes b {
  color: #0067c7;
}

.admin-skin-guide__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: skin-workflow;
}

.admin-skin-guide__steps li {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(0, 103, 199, 0.12);
  border-radius: 12px;
  padding: 14px 13px 14px 42px;
  background: rgba(255, 255, 255, 0.82);
  counter-increment: skin-workflow;
}

.admin-skin-guide__steps li::before {
  position: absolute;
  top: 13px;
  left: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #0067c7;
  color: #ffffff;
  content: counter(skin-workflow);
  font-size: 11px;
  font-weight: 950;
}

.admin-skin-guide__steps strong,
.admin-skin-guide__steps span {
  display: block;
}

.admin-skin-guide__steps strong {
  color: #20334b;
  font-size: 12px;
}

.admin-skin-guide__steps span {
  margin-top: 5px;
  color: #61738c;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.55;
}

.admin-skin-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-skin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #42526a;
  font-size: 13px;
  font-weight: 850;
}

.admin-skin-checks label,
.admin-skin-grant-controls label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-skin-thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-skin-links {
  display: grid;
  gap: 6px;
}

.admin-skin-inline-controls,
.admin-skin-grant-controls {
  display: grid;
  gap: 6px;
  min-width: 190px;
  margin-top: 8px;
}

.admin-skin-inline-controls .admin-filter-control,
.admin-skin-grant-controls .admin-filter-control {
  width: 100%;
  min-height: 34px;
}

.admin-skin-grant-controls small,
.admin-skin-waiting-note {
  color: #61738c;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-skin-action-fields {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.admin-skin-action-fields > strong {
  color: #42526a;
  font-size: 11px;
}

.admin-skin-action-fields .admin-filter-control {
  width: 100%;
  min-width: 0;
}

.admin-skin-early-access-field {
  display: grid;
  gap: 5px;
  padding: 8px 0 2px;
}

.admin-skin-early-access-field > span {
  color: #42526a;
  font-size: 11px;
  font-weight: 850;
}

.admin-skin-early-access-field > small {
  color: #61738c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-skin-direct-register {
  padding: 0;
  overflow: hidden;
}

.admin-skin-direct-register > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: #26364a;
  cursor: pointer;
  list-style: none;
}

.admin-skin-direct-register > summary::-webkit-details-marker {
  display: none;
}

.admin-skin-direct-register > summary::after {
  content: "열기";
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 11px;
  background: #eef6ff;
  color: #0067c7;
  font-size: 11px;
  font-weight: 900;
}

.admin-skin-direct-register[open] > summary::after {
  content: "닫기";
}

.admin-skin-direct-register > summary span {
  font-size: 17px;
  font-weight: 950;
}

.admin-skin-direct-register > summary small {
  margin-left: auto;
  color: #61738c;
  font-size: 12px;
  font-weight: 750;
}

.admin-skin-direct-register .admin-skin-register-form {
  border-top: 1px solid rgba(0, 132, 255, 0.12);
  margin: 0;
  padding: 20px 24px 24px;
}

.admin-revenue-toolbar {
  grid-template-columns: 150px 160px 160px auto;
}

.admin-revenue-chart-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-revenue-panel {
  min-width: 0;
}

.admin-revenue-panel h3 {
  margin: 0 0 12px;
  color: #26364a;
  font-size: 15px;
}

.admin-revenue-card .admin-bar-row {
  grid-template-columns: minmax(52px, 72px) minmax(64px, 1fr) max-content;
  gap: 10px;
}

.admin-revenue-card .admin-bar-row strong {
  text-align: right;
  white-space: nowrap;
}

.admin-revenue-card .admin-bar-track {
  height: 12px;
}

.admin-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 14px;
}

.admin-table-toolbar span {
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-event-metrics {
  margin-bottom: 16px;
}

.admin-event-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-left: 4px solid #6b7f99;
  border-radius: 12px;
  padding: 16px;
  background: #f8fbff;
}

.admin-event-status--warning {
  border-left-color: #d97706;
  background: #fffbeb;
}

.admin-event-status--ok {
  border-left-color: #047857;
  background: #ecfdf3;
}

.admin-event-status--danger {
  border-left-color: #d92d20;
  background: #fff7f7;
}

.admin-event-status strong {
  display: block;
  color: #101828;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.admin-event-status p {
  margin: 5px 0 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.admin-event-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-event-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border-bottom: 1px solid rgba(0, 132, 255, 0.12);
  padding: 0 2px 14px;
  color: #047857;
  font-size: 13px;
  font-weight: 900;
}

.admin-event-tables {
  margin-top: 20px;
}

.admin-event-recipient-wrap {
  max-height: 360px;
}

.admin-alliance-directory-wrap {
  max-height: 420px;
}

.admin-alliance-directory-table {
  min-width: 1080px;
}

.admin-alliance-directory-table td {
  vertical-align: top;
}

.admin-alliance-name {
  display: block;
  margin-bottom: 4px;
  color: #101828;
}

.admin-alliance-directory-table td small {
  color: #7c8da3;
  font-size: 11px;
}

.admin-alliance-deploy-sections {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.admin-alliance-deploy-block h3 {
  margin: 0 0 10px;
}

.admin-alliance-deploy-log-table td small {
  display: block;
  margin-top: 3px;
  color: #7c8da3;
  font-size: 11px;
}

.admin-alliance-pending-cell {
  display: grid;
  gap: 4px;
  max-width: 360px;
  white-space: normal;
  line-height: 1.45;
}

.admin-alliance-pending-cell strong {
  color: #101828;
}

.admin-alliance-pending-cell small,
.admin-alliance-pending-cell span {
  color: #7c8da3;
  font-size: 11px;
  font-weight: 800;
}

.admin-alliance-pending-cell span {
  color: #40546d;
}

.admin-deploy-change-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef4ff;
  color: #325078;
  font-size: 12px;
  font-weight: 900;
}

.admin-deploy-change-badge--changed {
  background: #fff4de;
  color: #9a5b00;
}

.admin-alliance-members {
  max-width: 360px;
  white-space: normal !important;
  line-height: 1.55;
}

.admin-alliance-research-cell,
.admin-alliance-activity-cell {
  display: grid;
  gap: 3px;
  min-width: 96px;
}

.admin-alliance-research-cell strong,
.admin-alliance-activity-cell strong {
  color: #26364a;
  font-size: 13px;
}

.admin-alliance-research-cell small,
.admin-alliance-activity-cell small {
  color: #61738c;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  white-space: normal;
}

.admin-alliance-activity-cell {
  min-width: 132px;
}

.admin-alliance-rename-form {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto;
  gap: 7px;
  align-items: start;
  min-width: 220px;
}

.admin-alliance-rename-form input {
  min-height: 34px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 10px;
  padding: 0 10px;
  background: #f8fbff;
  color: #101828;
  font: 850 12px/1 var(--font);
}

.admin-alliance-rename-form input:focus {
  border-color: rgba(0, 132, 255, 0.42);
  outline: none;
}

.admin-alliance-rename-form small {
  grid-column: 1 / -1;
  min-height: 14px;
  color: #61738c;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  white-space: normal;
}

.admin-alliance-rename-form small[data-tone="danger"] {
  color: #b42318;
}

.admin-shop-product-list {
  display: grid;
  gap: 5px;
  min-width: 180px;
}

.admin-shop-product-list span {
  color: #245070;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.admin-filter-grid label {
  display: grid;
  gap: 7px;
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-grid select,
.admin-filter-grid input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  background: #f8fbff;
  color: #101828;
  font: 850 13px/1 var(--font);
}

.admin-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.admin-two-column,
.admin-three-column {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.admin-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-two-column > *,
.admin-three-column > * {
  min-width: 0;
}

.admin-two-column h3,
.admin-three-column h3 {
  margin: 0 0 12px;
  color: #26364a;
  font-size: 15px;
}

.admin-table-heading {
  margin: 20px 0 10px;
  color: #26364a;
  font-size: 15px;
}

.admin-empty-note {
  margin: 0;
  color: #61738c;
  font-weight: 800;
  line-height: 1.6;
}

.admin-nation-contest-clone-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-nation-contest-clone-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-nation-contest-clone-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0, 132, 255, 0.2);
  border-radius: 10px;
  padding: 0 12px;
  background: #f8fbff;
  color: #101828;
  font: 800 13px/1 var(--font);
}

.admin-nation-contest-clone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nation-contest-clone-manager [data-nation-contest-clone-status] {
  min-height: 26px;
  margin-top: 14px;
}

.admin-nation-contest-clone-manager [data-nation-contest-clone-status][data-tone="ok"] {
  color: #047857;
}

.admin-nation-contest-clone-manager [data-nation-contest-clone-status][data-tone="warning"] {
  color: #987100;
}

.admin-nation-contest-clone-manager [data-nation-contest-clone-status][data-tone="error"] {
  color: #b42318;
}

.admin-nation-contest-clone-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 132, 255, 0.14);
}

.admin-nation-contest-clone-summary dl {
  min-width: 0;
  margin: 0;
  padding: 12px;
  background: #ffffff;
}

.admin-nation-contest-clone-summary dt,
.admin-nation-contest-clone-digest span {
  color: #61738c;
  font-size: 11px;
  font-weight: 800;
}

.admin-nation-contest-clone-summary dd {
  margin: 5px 0 0;
  color: #101828;
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.admin-nation-contest-clone-digest {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  background: #ffffff;
}

.admin-nation-contest-clone-digest code {
  overflow-wrap: anywhere;
  color: #26364a;
  font-size: 12px;
}

.admin-nation-contest-clone-progress {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.admin-nation-contest-clone-progress progress {
  width: 100%;
  height: 10px;
  accent-color: var(--electric-blue);
}

.admin-nation-contest-clone-progress span,
.admin-nation-contest-clone-guard {
  color: #61738c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.admin-nation-contest-clone-summary[hidden],
.admin-nation-contest-clone-progress[hidden] {
  display: none;
}

.admin-nation-contest-clone-guard {
  margin: 12px 0 0;
}

.admin-bars {
  display: grid;
  gap: 12px;
}

.admin-bar-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 80px;
  gap: 12px;
  align-items: center;
}

.admin-bar-row span,
.admin-bar-row strong {
  color: #61738c;
  font-weight: 900;
  font-size: 13px;
}

.admin-bar-track {
  height: 18px;
  border-radius: 999px;
  background: #eef4fb;
  overflow: hidden;
}

.admin-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--electric-blue);
}

.admin-funnel {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-funnel-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 130px;
  gap: 12px;
  align-items: center;
}

.admin-funnel-row span,
.admin-funnel-row strong {
  color: #61738c;
  font-size: 13px;
  font-weight: 900;
}

.admin-percentiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-height: 260px;
}

.admin-percentile {
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  gap: 8px;
  text-align: center;
}

.admin-percentile-bar {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 180px;
  border-radius: 18px;
  background: #f4f8fc;
  overflow: hidden;
}

.admin-percentile-bar i {
  width: 62%;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, var(--electric-blue), var(--lime-green));
}

.admin-percentile strong {
  color: #61738c;
}

.admin-percentile span {
  color: #101828;
  font-size: 20px;
  font-weight: 950;
}

.admin-percentile p {
  margin: 0;
  color: #61738c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-source-list {
  display: grid;
  gap: 12px;
}

.admin-source-item {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  padding: 14px;
  background: #f8fbff;
}

.admin-source-item strong {
  color: #101828;
  font-size: 14px;
}

.admin-source-item code {
  width: fit-content;
  border-radius: 8px;
  padding: 4px 7px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font: 800 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.admin-source-item p {
  margin: 0;
  color: #61738c;
  font-weight: 700;
  line-height: 1.5;
}

.admin-source-item--ok {
  border-color: rgba(34, 197, 94, 0.25);
  background: #f0fdf4;
}

.admin-source-item--warning {
  border-color: rgba(245, 158, 11, 0.28);
  background: #fffbeb;
}

.admin-source-item--danger {
  border-color: rgba(239, 68, 68, 0.25);
  background: #fff1f2;
}

.admin-research-group-event-form {
  align-items: end;
  margin-bottom: 14px;
}

.admin-research-group-event-form__wide {
  grid-column: 1 / -1;
}

.admin-card-divider {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  margin: 18px 0;
}

.admin-kakao-event-preview {
  margin: 0 0 12px;
}

.admin-kakao-event-preview__card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-kakao-event-preview__card img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
}

.admin-kakao-event-preview__card > div {
  display: grid;
  gap: 4px;
}

.admin-kakao-event-preview__closing {
  margin-top: 8px !important;
}

.admin-kakao-event-json {
  border: 1px solid rgba(0, 132, 255, 0.1);
  border-radius: 16px;
  background: #f8fbff;
  overflow: hidden;
}

.admin-kakao-event-json summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #26364a;
  font-weight: 900;
}

.admin-kakao-event-json pre {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border-top: 1px solid rgba(0, 132, 255, 0.1);
  color: #24364f;
  font: 800 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.admin-research-campaign-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 2px;
}

.admin-research-campaign-option {
  appearance: none;
  min-width: 0;
  display: grid;
  gap: 8px;
  text-align: left;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  color: #101828;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.admin-research-campaign-option:hover {
  border-color: rgba(0, 132, 255, 0.45);
  box-shadow: 0 10px 24px rgba(20, 46, 85, 0.08);
  transform: translateY(-1px);
}

.admin-research-campaign-option.is-selected {
  border-color: #0084ff;
  background: #edf6ff;
  box-shadow: inset 0 0 0 1px rgba(0, 132, 255, 0.25);
}

.admin-research-campaign-option__top {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-research-campaign-option__top strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}

.admin-research-campaign-option__top em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(16, 24, 40, 0.08);
  color: #344054;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.admin-research-campaign-option.is-selected .admin-research-campaign-option__top em {
  background: #0084ff;
  color: #fff;
}

.admin-research-campaign-option code {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-radius: 8px;
  padding: 4px 7px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font: 800 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.admin-research-campaign-option__meta {
  color: #61738c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-segment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-segment-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 14px;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
}

.admin-segment-summary strong {
  color: #0067c7;
  font-size: 20px;
  font-weight: 950;
}

.admin-segment-pill {
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fbff;
  color: #26364a;
  font: inherit;
  cursor: pointer;
}

.admin-segment-pill.is-active {
  border-color: rgba(0, 132, 255, 0.42);
  background: #eaf4ff;
  box-shadow: inset 0 0 0 1px rgba(0, 132, 255, 0.16);
}

.admin-segment-pill strong {
  display: block;
  color: #0084ff;
  font-size: 20px;
  font-weight: 950;
}

.admin-segment-pill span {
  display: block;
  margin-top: 3px;
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-watch-list {
  display: grid;
  gap: 10px;
}

.admin-watch-list__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
}

.admin-watch-list__summary strong {
  color: #d92d20;
  font-size: 20px;
  font-weight: 950;
}

.admin-watch-list__scroll {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.admin-watch-list__scroll.is-collapsed {
  max-height: 420px;
}

.admin-watch-list__scroll.is-expanded {
  max-height: 68vh;
}

.admin-watch-list__toggle {
  margin-top: 2px;
}

.admin-watch-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(240, 68, 56, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: #fff8f8;
}

.admin-watch-item strong {
  color: #101828;
  font-weight: 950;
}

.admin-watch-item span {
  color: #d92d20;
  font-weight: 900;
}

.admin-watch-item em {
  color: #61738c;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.admin-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  contain: inline-size;
  -webkit-overflow-scrolling: touch;
}

.admin-table-wrap--short {
  max-height: 360px;
  margin-top: 18px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table--dense {
  width: max-content;
  min-width: 100%;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0, 132, 255, 0.1);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: #0067c7;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-table td {
  color: #26364a;
  font-weight: 800;
}

.admin-approval-table td {
  vertical-align: top;
}

.admin-approval-metric-cell {
  display: grid;
  gap: 4px;
}

.admin-approval-metric-cell strong {
  color: #26364a;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.admin-approval-metric-cell small,
.admin-approval-subtext,
.admin-approval-failure-reasons {
  display: block;
  max-width: 320px;
  margin-top: 4px;
  color: #61738c;
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
}

.admin-table tbody tr[data-admin-user-id] {
  cursor: pointer;
}

.admin-table tbody tr[data-admin-user-id]:hover {
  background: #f8fbff;
}

.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-table-actions .admin-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-table-actions .admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef5ff;
  color: #0067c7;
  font-size: 12px;
  font-weight: 900;
}

.admin-status-pill.is-waiting {
  background: #fff6dc;
  color: #987100;
}

.admin-status-pill.is-ok {
  background: #effbd2;
  color: #457800;
}

.admin-status-pill.is-danger {
  background: #fff0ed;
  color: #d92d20;
}

.admin-status-pill.is-info {
  background: #eaf4ff;
  color: #0067c7;
}

.admin-details-body {
  margin-top: 18px;
}

.admin-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.42);
}

.admin-detail-backdrop[hidden] {
  display: none;
}

.admin-detail-panel {
  width: min(720px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 24px;
  background: #ffffff;
  box-shadow: -18px 0 44px rgba(15, 23, 42, 0.18);
}

.admin-detail-close {
  float: right;
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: #f8fbff;
  color: #0067c7;
  font: 900 12px/1 var(--font);
  cursor: pointer;
}

.admin-detail-header {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.admin-detail-header p,
.admin-detail-header span {
  margin: 0;
  color: #61738c;
  font-size: 12px;
  font-weight: 900;
}

.admin-detail-header h2 {
  margin: 0;
  color: #101828;
  font-size: 28px;
}

.admin-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-detail-tab {
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: #f8fbff;
  color: #61738c;
  font: 900 12px/1 var(--font);
  cursor: pointer;
}

.admin-detail-tab.is-active {
  border-color: rgba(0, 132, 255, 0.42);
  background: #eaf4ff;
  color: #0067c7;
}

.admin-detail-grid {
  display: block;
}

.admin-detail-section {
  border: 1px solid rgba(0, 132, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  background: #f8fbff;
}

.admin-detail-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.admin-detail-section p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
}

.admin-detail-section strong {
  color: #101828;
  text-align: right;
}

@media (max-width: 1100px) {
  .admin-grid--alerts,
  .admin-grid--compact,
  .admin-filter-grid,
  .admin-skin-form-grid,
  .admin-two-column,
  .admin-three-column,
  .admin-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hero {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .admin-grid--overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-revenue-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-shell {
    width: min(100%, 1320px);
    padding-top: 18px;
  }

  .admin-grid--overview,
  .admin-grid--alerts,
  .admin-grid--compact,
  .admin-filter-grid,
  .admin-skin-form-grid,
  .admin-shop-toolbar,
  .admin-two-column,
  .admin-three-column,
  .admin-percentiles,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-nation-contest-clone-form,
  .admin-nation-contest-clone-summary,
  .admin-nation-contest-clone-progress {
    grid-template-columns: 1fr;
  }

  .admin-nation-contest-clone-actions .admin-button {
    flex: 1 1 140px;
    min-height: 44px;
  }

  .admin-bar-row {
    grid-template-columns: 70px minmax(0, 1fr) 64px;
  }

  .admin-revenue-card .admin-bar-row {
    grid-template-columns: minmax(58px, 74px) minmax(92px, 1fr) minmax(118px, max-content);
    gap: 8px;
  }

  .admin-revenue-chart-grid {
    grid-template-columns: 1fr;
  }

  .admin-skin-guide__head,
  .admin-skin-direct-register > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-skin-guide__routes {
    grid-template-columns: 1fr;
  }

  .admin-skin-guide__steps {
    grid-template-columns: 1fr;
  }

  .admin-skin-direct-register > summary small {
    margin-left: 0;
  }

  .admin-skin-workflow-table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .admin-skin-workflow-table thead {
    display: none;
  }

  .admin-skin-workflow-table tbody,
  .admin-skin-workflow-table tr,
  .admin-skin-workflow-table td {
    display: block;
    width: 100%;
  }

  .admin-skin-workflow-table tr {
    display: grid;
    gap: 0;
    border: 1px solid rgba(0, 132, 255, 0.12);
    border-radius: 14px;
    padding: 4px 14px;
    background: #fbfdff;
  }

  .admin-skin-workflow-table td {
    min-width: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 132, 255, 0.08);
    padding: 11px 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .admin-skin-workflow-table td:last-child {
    border-bottom: 0;
  }

  .admin-skin-workflow-table td[data-label]::before {
    display: block;
    margin-bottom: 5px;
    color: #6a7d95;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 950;
  }

  .admin-skin-workflow-table td[colspan] {
    padding: 14px 0;
  }

  .admin-skin-workflow-table code,
  .admin-skin-workflow-table small {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .admin-skin-workflow-table code {
    white-space: normal;
  }

  .admin-card-head > span,
  .admin-skin-workflow-table .admin-status-pill {
    white-space: nowrap;
  }

  .admin-skin-workflow-table .admin-table-actions,
  .admin-skin-workflow-table .admin-shop-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-skin-workflow-table .admin-button {
    width: 100%;
  }

  .admin-revenue-card .admin-bar-row span,
  .admin-revenue-card .admin-bar-row strong {
    font-size: 12px;
  }

  .admin-funnel-row {
    grid-template-columns: 1fr;
  }

  .admin-watch-item {
    grid-template-columns: 1fr;
  }

  .admin-shop-refresh-button {
    width: fit-content;
    max-width: 100%;
  }

  .admin-event-status,
  .admin-event-result {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-event-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .admin-event-actions .admin-button {
    width: 100%;
    min-height: 44px;
  }

  .admin-table-toolbar {
    align-items: stretch;
  }

  .admin-table-toolbar .admin-button {
    width: 100%;
  }

  .admin-alliance-members {
    max-width: 280px;
  }

  .admin-alliance-rename-form {
    min-width: 200px;
    grid-template-columns: minmax(90px, 1fr) auto;
  }

  .admin-detail-panel {
    padding: 18px;
  }
}

/* Partner pitch page */
.partner-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 132, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 132, 255, 0.045) 1px, transparent 1px),
    #f6fbff;
  background-size: 72px 72px;
  color: #101828;
}

.partner-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 34px;
}

.partner-eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.08);
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.partner-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: #245070;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 650;
}

.partner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partner-hero-card,
.partner-section,
.partner-cta,
.partner-metric-card,
.partner-slot-card,
.partner-impact-card,
.partner-industry-card,
.partner-calculation-card {
  border: 1px solid rgba(0, 132, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.partner-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 26px;
  padding: 28px;
}

.partner-hero-card span {
  color: #61738c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-hero-card strong {
  display: block;
  margin-top: 10px;
  color: #0067c7;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
}

.partner-hero-card p {
  margin-top: 12px;
  font-size: 15px;
}

.partner-section {
  border-radius: 28px;
  padding: 34px;
  margin-top: 30px;
}

.partner-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.partner-section-head h2,
.partner-value-copy h2,
.partner-cta h2 {
  margin: 0;
  color: #101828;
  font-size: 26px;
  line-height: 1.2;
}

.partner-section-head p,
.partner-value-copy p,
.partner-cta p {
  margin: 8px 0 0;
  color: #61738c;
  line-height: 1.65;
}

.partner-section-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(165, 230, 29, 0.22);
  color: #457800;
  font-size: 12px;
  font-weight: 900;
}

.partner-metric-grid {
  display: grid;
  gap: 18px;
}

.partner-metric-grid--primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-metric-grid--secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

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

.partner-exposure-section .partner-metric-card {
  background:
    linear-gradient(180deg, rgba(165, 230, 29, 0.18), rgba(255, 255, 255, 0.96) 56%),
    #ffffff;
}

.partner-metric-card {
  border-radius: 22px;
  padding: 22px;
}

.partner-metric-card--featured {
  border-color: rgba(165, 230, 29, 0.55);
  background:
    linear-gradient(180deg, rgba(165, 230, 29, 0.2), rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
}

.partner-metric-card span,
.partner-slot-card span {
  display: block;
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-metric-card strong {
  display: block;
  margin-top: 10px;
  color: var(--electric-blue);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.partner-metric-card p,
.partner-slot-card p {
  margin: 12px 0 0;
  color: #61738c;
  line-height: 1.6;
  font-weight: 700;
}

.partner-metric-note {
  margin: 18px 0 0;
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

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

.partner-message-card {
  min-width: 0;
}

.partner-message-label {
  width: fit-content;
  margin: 0 0 10px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(0, 132, 255, 0.09);
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
}

.partner-message-frame {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 100%;
  border: 1px solid rgba(0, 132, 255, 0.14);
  border-radius: 22px;
  padding: 16px;
  background:
    linear-gradient(180deg, #ffffff, #f6fbff),
    #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.partner-message-card--card .partner-message-frame {
  grid-template-columns: 150px minmax(0, 1fr);
}

.partner-chat-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eaf4ff;
  color: #0067c7;
  font-size: 12px;
  font-weight: 950;
}

.partner-result-image {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 150px;
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 30% 18%, rgba(165, 230, 29, 0.58), transparent 4rem),
    linear-gradient(135deg, #0084ff, #0f2645 68%);
  color: #ffffff;
  overflow: hidden;
}

.partner-result-image span {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.partner-result-image strong {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.2;
}

.partner-message-copy {
  min-width: 0;
}

.partner-message-user {
  margin: 0 0 8px;
  color: #0067c7;
  font-size: 13px;
  font-weight: 950;
}

.partner-message-copy h3 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.3;
}

.partner-message-copy p:not(.partner-message-user) {
  margin: 10px 0 0;
  color: #245070;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.partner-message-copy ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.partner-message-copy li {
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(0, 132, 255, 0.06);
  color: #245070;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.partner-value-section {
  display: block;
}

.partner-value-copy {
  max-width: 820px;
}

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

.partner-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.partner-impact-card {
  border-radius: 18px;
  padding: 16px;
  background: rgba(246, 251, 255, 0.95);
  box-shadow: none;
}

.partner-impact-card strong {
  display: block;
  color: #0067c7;
  font-size: 15px;
  font-weight: 950;
}

.partner-impact-card p {
  margin: 8px 0 0;
  color: #245070;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

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

.partner-custom-card {
  border: 1px solid rgba(0, 132, 255, 0.13);
  border-radius: 18px;
  padding: 18px;
  background: #f8fbff;
}

.partner-custom-card strong {
  display: block;
  color: #101828;
  font-size: 16px;
  font-weight: 950;
}

.partner-custom-card p {
  margin: 9px 0 0;
  color: #245070;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.partner-reference-section,
.partner-data-section {
  display: block;
}

.partner-reference-section summary,
.partner-data-section summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.partner-reference-section summary::-webkit-details-marker,
.partner-data-section summary::-webkit-details-marker {
  display: none;
}

.partner-reference-section summary span,
.partner-data-section summary span {
  color: #101828;
  font-size: 22px;
  font-weight: 950;
}

.partner-reference-section summary small,
.partner-data-section summary small {
  color: #61738c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: right;
}

.partner-reference-section[open] summary,
.partner-data-section[open] summary {
  margin-bottom: 22px;
}

.partner-principles li {
  position: relative;
  padding-left: 20px;
  color: #245070;
  font-weight: 800;
  line-height: 1.6;
}

.partner-principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime-green);
}

.partner-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.partner-slot-card {
  border-radius: 22px;
  padding: 22px;
}

.partner-calculation-card {
  display: grid;
  gap: 12px;
  border-radius: 22px;
  padding: 22px;
  box-shadow: none;
}

.partner-calculation-card > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.partner-calculation-card span {
  color: #0067c7;
  font-size: 13px;
  font-weight: 950;
}

.partner-calculation-card strong {
  flex: 0 0 auto;
  color: var(--electric-blue);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.partner-calculation-card p {
  margin: 0;
  color: #245070;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 850;
}

.partner-calculation-card small,
.partner-calculation-card em {
  color: #61738c;
  font-size: 13px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.partner-note-list li {
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(0, 132, 255, 0.055);
  color: #245070;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.partner-basis-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.partner-basis-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.partner-basis-table th,
.partner-basis-table td {
  border-bottom: 1px solid rgba(0, 132, 255, 0.1);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.partner-basis-table th {
  width: 34%;
  color: #0067c7;
  font-size: 13px;
  font-weight: 950;
}

.partner-basis-table td {
  color: #245070;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.partner-slot-card h3 {
  margin: 12px 0 0;
  color: #101828;
  font-size: 19px;
}

.partner-industry-section {
  overflow: hidden;
}

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

.partner-industry-card {
  min-height: 0;
  border-radius: 22px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(0, 132, 255, 0.055), transparent 58%),
    #ffffff;
}

.partner-industry-code {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(0, 132, 255, 0.1);
  color: #0067c7;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.partner-industry-card h3 {
  margin: 14px 0 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.25;
}

.partner-industry-category {
  margin: 10px 0 0;
  color: #0084ff;
  font-size: 13px;
  font-weight: 950;
}

.partner-industry-card p:not(.partner-industry-category) {
  margin: 10px 0 0;
  color: #61738c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

.partner-cta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-radius: 28px;
  padding: 34px;
  margin-top: 30px;
  background:
    radial-gradient(circle at 90% 20%, rgba(165, 230, 29, 0.28), transparent 12rem),
    #ffffff;
}

.partner-cta-button {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--electric-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0, 132, 255, 0.22);
}

.partner-application-section {
  scroll-margin-top: 24px;
}

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

.partner-form-field {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.partner-form-field--wide,
.partner-form-notice,
.partner-form-actions {
  grid-column: 1 / -1;
}

.partner-form-field span {
  color: #245070;
  font-size: 13px;
  font-weight: 950;
}

.partner-form-field input,
.partner-form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 16px;
  padding: 14px 15px;
  background: #ffffff;
  color: #101828;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
}

.partner-form-field textarea {
  resize: vertical;
}

.partner-form-field input:focus,
.partner-form-field textarea:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.12);
}

.partner-form-field input.is-invalid,
.partner-form-field textarea.is-invalid {
  border-color: rgba(232, 85, 85, 0.48);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(232, 85, 85, 0.11);
}

.partner-field-error {
  position: absolute;
  z-index: 4;
  top: 30px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: min(260px, calc(100vw - 76px));
  padding: 4px 8px;
  border: 1px solid rgba(232, 85, 85, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #b42318;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 12px 28px rgba(180, 35, 24, 0.14);
  backdrop-filter: blur(12px);
  overflow-wrap: anywhere;
  pointer-events: none;
}

.partner-field-error::before {
  content: "!";
  flex: 0 0 auto;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 999px;
  background: rgba(232, 85, 85, 0.12);
  color: #b42318;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.partner-field-error[hidden] {
  display: none;
}

.partner-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.partner-form-notice {
  margin: 2px 0 0;
  color: #61738c;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.partner-form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.partner-form-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--electric-blue);
  color: #ffffff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 132, 255, 0.2);
}

.partner-form-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.partner-form-actions span {
  color: #245070;
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .partner-hero,
  .partner-value-section {
    grid-template-columns: 1fr;
  }

  .partner-metric-grid,
  .partner-exposure-grid,
  .partner-slot-grid,
  .partner-impact-grid,
  .partner-calculation-grid,
  .partner-message-grid,
  .partner-custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-industry-grid {
    grid-template-columns: 1fr;
  }

  .partner-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .partner-shell {
    width: min(100% - 24px, 1160px);
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .partner-hero h1 {
    font-size: 30px;
  }

  .partner-hero p {
    font-size: 15px;
  }

  .partner-section,
  .partner-cta,
  .partner-hero-card {
    border-radius: 22px;
    padding: 22px;
  }

  .partner-section-head,
  .partner-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .partner-metric-grid,
  .partner-exposure-grid,
  .partner-slot-grid,
  .partner-impact-grid,
  .partner-calculation-grid,
  .partner-industry-grid,
  .partner-message-grid,
  .partner-custom-grid {
    grid-template-columns: 1fr;
  }

  .partner-message-card--card .partner-message-frame {
    grid-template-columns: 1fr;
  }

  .partner-reference-section summary,
  .partner-data-section summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-reference-section summary small,
  .partner-data-section summary small {
    text-align: left;
  }

  .partner-form {
    grid-template-columns: 1fr;
  }

  .partner-form-actions {
    align-items: stretch;
  }

  .partner-form-actions button {
    width: 100%;
  }

  .partner-metric-card strong {
    font-size: 28px;
  }

  .partner-industry-card {
    min-height: 0;
  }
}


.research-page .landing-tab-pad {
  padding-top: 26px;
}

.research-results-panel {
  display: grid;
  gap: 22px;
  border-color: rgba(35, 69, 101, 0.12);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 48px rgba(18, 42, 66, 0.12);
}

.research-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.research-results-head h2 {
  margin: 0;
  color: #17324d;
  font-size: 28px;
  line-height: 1.2;
}

.research-results-head p {
  margin: 8px 0 0;
  color: #55708a;
  font-size: 15px;
  line-height: 1.55;
}

.research-results-list {
  display: grid;
  gap: 16px;
}

.research-empty-state {
  border: 1px dashed rgba(87, 120, 151, 0.36);
  border-radius: 18px;
  padding: 22px;
  background: rgba(247, 251, 255, 0.72);
  color: #55708a;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.research-empty-state--error {
  border-color: rgba(213, 79, 79, 0.38);
  background: rgba(255, 245, 245, 0.84);
  color: #9d3333;
}

.research-result-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(35, 69, 101, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 42, 66, 0.08);
}

.research-result-card h3 {
  margin: 0;
  color: #132b42;
  font-size: 24px;
  line-height: 1.25;
}

.research-result-question {
  margin: 0;
  color: #1e2d3b;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.research-result-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #55708a;
  font-size: 14px;
  font-weight: 800;
}

.research-result-summary strong {
  color: #0f7c66;
  font-size: 17px;
}

.research-result-insight {
  margin: 0;
  border-left: 4px solid #f2b84b;
  padding: 10px 12px;
  background: rgba(255, 248, 231, 0.82);
  color: #553a08;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.55;
}

.research-result-bars {
  display: grid;
  gap: 12px;
}

.research-result-option {
  display: grid;
  gap: 8px;
}

.research-result-option__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #263b50;
  font-size: 15px;
  line-height: 1.35;
}

.research-result-option__label strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 950;
}

.research-result-option__label span {
  flex: 0 0 auto;
  color: #61788e;
  font-weight: 850;
}

.research-result-option__bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(211, 224, 235, 0.88);
}

.research-result-option__bar span {
  display: block;
  width: var(--research-result-percent, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1cae8e, #3f86f5);
}

.research-result-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 2px 0 0;
}

.research-result-meta div {
  min-width: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(239, 246, 252, 0.78);
}

.research-result-meta dt {
  margin: 0 0 4px;
  color: #6d8296;
  font-size: 12px;
  font-weight: 900;
}

.research-result-meta dd {
  margin: 0;
  color: #20384f;
  font-size: 14px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .research-results-head,
  .research-result-option__label {
    flex-direction: column;
    align-items: stretch;
  }

  .research-page .landing-tab-pad {
    padding-top: 18px;
  }

  .research-result-card {
    padding: 18px;
  }
}

/* Landmark collection and skin selector refresh */
.landing-codex-subnav {
  border-color: rgba(0, 132, 255, 0.15);
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(40, 74, 111, 0.14);
}

.landing-codex-subnav button {
  min-height: 42px;
  color: #536a84;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.landing-codex-subnav button:hover {
  color: #173452;
  background: rgba(237, 246, 255, 0.9);
}

.landing-codex-subnav button.is-active {
  border: 1px solid rgba(185, 132, 27, 0.24);
  background: linear-gradient(135deg, #fff5d7, #f2c75f);
  color: #4d3507;
  box-shadow: 0 7px 18px rgba(173, 121, 21, 0.18);
}

.landing-landmark-panel {
  gap: 18px;
}

.landing-landmark-hero {
  position: relative;
  isolation: isolate;
  border-color: rgba(0, 132, 255, 0.18);
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 88% 10%, rgba(241, 196, 86, 0.27), transparent 22rem),
    radial-gradient(circle at 7% 0%, rgba(0, 132, 255, 0.12), transparent 20rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 60%, #fffaf0 100%);
  box-shadow: 0 22px 55px rgba(35, 68, 102, 0.1), inset 0 1px 0 #ffffff;
}

.landing-landmark-hero__copy {
  position: relative;
  z-index: 1;
}

.landing-landmark-hero .landing-eyebrow-line {
  color: #8b6416;
}

.landing-landmark-hero .landing-eyebrow-line::before {
  background: linear-gradient(90deg, transparent, #c18b20);
}

.landing-landmark-hero .landing-codex-title {
  max-width: 760px;
  color: #10233d;
  font-size: clamp(32px, 5vw, 52px);
}

.landing-landmark-hero .landing-codex-copy {
  color: #526a83;
  font-weight: 700;
}

.landing-landmark-stat-grid {
  position: relative;
  z-index: 1;
  gap: 10px;
}

.landing-landmark-stat-grid article {
  border-color: rgba(0, 93, 176, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 26px rgba(31, 73, 116, 0.07);
}

.landing-landmark-stat-grid span {
  color: #6b7e93;
}

.landing-landmark-stat-grid strong {
  color: #152c46;
}

.landing-landmark-command-note {
  color: #5a7087;
  font-weight: 700;
}

.landing-landmark-command-note code {
  border: 1px solid rgba(181, 132, 30, 0.18);
  background: #fff4d3;
  color: #76530d;
}

.landing-landmark-effect-grid {
  gap: 12px;
}

.landing-landmark-effect-grid article {
  position: relative;
  overflow: hidden;
  gap: 11px;
  min-height: 156px;
  border-color: rgba(24, 74, 121, 0.14);
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(34, 69, 104, 0.08);
}

.landing-landmark-effect-grid article[data-landmark-effect="economy"] {
  border-top: 4px solid #d79b25;
  background: linear-gradient(145deg, #fffdf7, #fff8e8);
}

.landing-landmark-effect-grid article[data-landmark-effect="science"] {
  border-top: 4px solid #247ed7;
  background: linear-gradient(145deg, #fbfdff, #eef7ff);
}

.landing-landmark-effect-grid article[data-landmark-effect="culture"] {
  border-top: 4px solid #7659b5;
  background: linear-gradient(145deg, #fefcff, #f6f0ff);
}

.landing-landmark-effect-grid__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-landmark-effect-grid__head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #314a64;
  font-size: 13px;
}

.landing-landmark-effect-grid__head .landing-svg-icon {
  width: 17px;
  height: 17px;
}

.landing-landmark-effect-grid__head b {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.78);
  color: #435d76;
  font-size: 11px;
  box-shadow: inset 0 0 0 1px rgba(57, 87, 117, 0.1);
}

.landing-landmark-effect-grid strong {
  position: relative;
  z-index: 1;
  color: #142a43;
  font-size: clamp(18px, 2vw, 24px);
}

.landing-landmark-effect-grid p {
  position: relative;
  z-index: 1;
  color: #5d7186;
  font-weight: 700;
}

.landing-landmark-country-grid {
  gap: 11px;
}

.landing-landmark-country-card {
  min-height: 78px;
  border-color: rgba(0, 102, 204, 0.13);
  border-radius: 15px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  color: #13283f;
  box-shadow: 0 7px 20px rgba(44, 78, 111, 0.055);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.landing-landmark-country-card:hover {
  border-color: rgba(197, 145, 40, 0.52);
  box-shadow: 0 12px 25px rgba(99, 76, 26, 0.1);
}

.landing-landmark-country-card b {
  color: #13283f;
}

.landing-landmark-country-card small {
  color: #6a7f94;
}

.landing-landmark-country-card strong {
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff4d6;
  color: #8a6110;
  white-space: nowrap;
}

.landing-landmark-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border-color: rgba(225, 184, 95, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% -8%, rgba(55, 104, 159, 0.3), transparent 25rem),
    #0e1926;
  color: #f4f7fb;
  box-shadow: 0 32px 100px rgba(4, 12, 22, 0.64);
}

.landing-landmark-dialog::backdrop {
  background: rgba(5, 12, 20, 0.78);
  backdrop-filter: blur(5px);
}

.landing-landmark-dialog:focus {
  outline: none;
}

.landing-landmark-dialog__body {
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.landing-landmark-dialog header {
  align-items: center;
}

.landing-landmark-dialog header span {
  color: #e2bd6b;
}

.landing-landmark-dialog header h2 {
  color: #ffffff;
  font-size: clamp(25px, 4vw, 34px);
}

.landing-landmark-dialog header p {
  color: #aebdcd;
  font-size: 13px;
}

.landing-landmark-dialog .landing-landmark-dialog__close {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 7px;
  padding: 0 5px;
  background: transparent;
  color: #9fb0c2;
  font-size: 12px;
  transition: color 140ms ease, background 140ms ease;
}

.landing-landmark-dialog .landing-landmark-dialog__close:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
}

.landing-landmark-dialog__close .landing-svg-icon {
  width: 16px;
  height: 16px;
}

.landing-landmark-stage {
  display: grid;
  grid-template-columns: 34px minmax(0, 520px) 34px;
  justify-content: center;
  gap: 10px;
  align-items: center;
  touch-action: pan-y;
  user-select: none;
}

.landing-landmark-stage__center {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.landing-landmark-stage__media {
  display: grid;
  place-items: center;
}

.landing-landmark-stage__image-shell {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(231, 197, 124, 0.34);
  border-radius: 18px;
  background: #152333;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42);
}

.landing-landmark-stage__image-shell > img,
.landing-landmark-stage__image-shell > .landing-landmark-asset-pending {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-landmark-stage__image-shell.is-locked > img {
  filter: brightness(0.52) saturate(0.58);
}

.landing-landmark-stage__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 24px 20px;
  background: linear-gradient(transparent, rgba(6, 13, 22, 0.92));
  text-align: center;
}

.landing-landmark-stage__caption span {
  color: #e8c675;
  font-size: 11px;
  font-weight: 900;
}

.landing-landmark-stage__caption h3 {
  margin: 5px 0 0;
  color: #ffffff;
  font-size: clamp(22px, 4vw, 30px);
}

.landing-landmark-stage__lock {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.landing-landmark-stage__lock .landing-svg-icon {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.5));
}

.landing-landmark-stage__arrow {
  display: grid;
  width: 34px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(232, 201, 132, 0.72);
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.landing-landmark-stage__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.055);
  color: #f2cf7b;
}

.landing-landmark-stage__arrow:disabled {
  visibility: hidden;
}

.landing-landmark-stage__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 13px 2px 0;
  background: transparent;
}

.landing-landmark-stage__copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.landing-landmark-stage__copy > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.landing-landmark-stage__copy span {
  color: #e6c476;
  font-size: 11px;
  font-weight: 900;
}

.landing-landmark-stage__copy strong {
  color: #f1f5f9;
  font-size: 13px;
}

.landing-landmark-stage__copy p {
  margin: 0;
  color: #aebdcd;
  font-size: 12px;
  line-height: 1.55;
}

.landing-landmark-skin-actions {
  justify-content: flex-end;
}

.landing-landmark-skin-actions button,
.landing-landmark-representative-action button,
.landing-landmark-skin-order button {
  min-height: 38px;
  border: 1px solid rgba(231, 197, 124, 0.38);
  border-radius: 7px;
  background: transparent;
  color: #e8c980;
  font-weight: 850;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.landing-landmark-representative-action button:hover:not(:disabled),
.landing-landmark-skin-order button:hover:not(:disabled) {
  border-color: rgba(239, 207, 135, 0.7);
  background: rgba(232, 196, 118, 0.08);
  color: #f4d998;
}

.landing-landmark-skin-actions > span {
  color: #aebdcd;
  font-size: 12px;
}

.landing-landmark-skin-order {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top-color: rgba(255, 255, 255, 0.1);
}

.landing-landmark-skin-order__summary,
.landing-landmark-skin-order__bank {
  grid-column: 1 / -1;
}

.landing-landmark-skin-order__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #aebdcd;
  font-size: 12px;
}

.landing-landmark-skin-order__summary strong {
  color: #f1d58f;
  font-size: 15px;
}

.landing-landmark-skin-order__bank {
  display: grid;
  gap: 6px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.landing-landmark-skin-order__bank > span {
  color: #889bae;
  font-size: 10px;
  font-weight: 850;
}

.landing-landmark-skin-order__bank button[data-skin-bank-copy] {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  color: #f0d18a;
  text-align: left;
}

.landing-landmark-skin-order__bank button[data-skin-bank-copy]:hover:not(:disabled) {
  border: 0;
  background: transparent;
  color: #ffe3a2;
}

.landing-landmark-skin-order__bank button[data-skin-bank-copy] .landing-svg-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.landing-landmark-skin-order__bank small {
  color: #8295a8;
  font-size: 10px;
}

.landing-landmark-skin-order label {
  color: #bdc9d6;
}

.landing-landmark-skin-order input {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(5, 12, 20, 0.62);
  color: #ffffff;
}

.landing-landmark-skin-order__check {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center;
}

.landing-landmark-skin-order__check input {
  min-height: 0;
}

.landing-landmark-skin-order [data-skin-order-status] {
  grid-column: 1 / -1;
  margin: 0;
  color: #b9c7d5;
  font-size: 12px;
}

.landing-landmark-selector-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  color: #93a7bb;
  font-size: 11px;
  text-align: center;
}

.landing-landmark-selector-note code {
  color: #e3c16f;
}

.landing-landmark-skin-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 3px 8px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(226, 190, 112, 0.48) rgba(255, 255, 255, 0.05);
}

.landing-landmark-skin-thumb {
  flex: 0 0 112px;
  display: grid;
  gap: 7px;
  scroll-snap-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #b8c5d2;
  font: 800 11px/1.3 Pretendard, sans-serif;
  cursor: pointer;
}

.landing-landmark-skin-thumb.is-active {
  border-color: rgba(235, 195, 105, 0.8);
  background: rgba(223, 178, 78, 0.12);
  color: #f0d18a;
  box-shadow: 0 0 0 2px rgba(223, 178, 78, 0.12);
}

.landing-landmark-skin-thumb__image {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: #162434;
}

.landing-landmark-skin-thumb__image > img,
.landing-landmark-skin-thumb__image > .landing-landmark-asset-pending {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-landmark-skin-thumb__lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 12, 20, 0.58);
  color: #ffffff;
}

.landing-landmark-skin-thumb__lock .landing-svg-icon {
  width: 24px;
  height: 24px;
}

.landing-landmark-skin-thumb--create .landing-landmark-skin-thumb__image {
  border: 1px dashed rgba(232, 196, 118, 0.48);
  background: radial-gradient(circle, rgba(221, 177, 78, 0.16), rgba(20, 33, 47, 0.8));
  color: #edcc80;
}

.landing-landmark-skin-thumb--create .landing-svg-icon {
  width: 30px;
  height: 30px;
}

/* Creation item in Items > Monthly/Special */
.support-donation-card--creation {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 132, 30, 0.26);
  background:
    radial-gradient(circle at 92% 8%, rgba(240, 192, 83, 0.3), transparent 10rem),
    linear-gradient(145deg, #fffdf7, #fff6df);
}

.support-creation-card__eyebrow {
  color: #9a6b0d;
  font-size: 11px;
  font-weight: 950;
}

.support-creation-card__action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  color: #825b0b;
  font-size: 12px;
  font-weight: 950;
}

.support-skin-creation-panel[hidden] {
  display: none !important;
}

.support-skin-creation-panel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  scroll-margin-top: 112px;
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 32px);
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 194, 89, 0.2), transparent 18rem),
    #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.support-skin-creation-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.support-skin-creation-panel__head > div > span {
  color: #9a6b0d;
  font-size: 12px;
  font-weight: 950;
}

.support-skin-creation-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px;
  color: #12283f;
  font-size: clamp(24px, 4vw, 31px);
}

.support-skin-creation-panel__head p {
  margin: 0;
  color: #60758a;
  font-size: 14px;
  line-height: 1.6;
}

.support-skin-creation-panel__close {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(42, 78, 113, 0.14);
  border-radius: 10px;
  padding: 0 12px;
  background: #f5f9fc;
  color: #506982;
  font-weight: 900;
  cursor: pointer;
}

.support-skin-creation-panel__close .landing-svg-icon {
  width: 15px;
  height: 15px;
}

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

.support-skin-creation-guide article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(0, 104, 203, 0.13);
  border-radius: 15px;
  padding: 17px;
  background: linear-gradient(145deg, #fbfdff, #f2f8ff);
}

.support-skin-creation-guide article:last-child {
  border-color: rgba(191, 139, 37, 0.18);
  background: linear-gradient(145deg, #fffdf7, #fff7e7);
}

.support-skin-creation-guide span {
  color: #557089;
  font-size: 11px;
  font-weight: 950;
}

.support-skin-creation-guide strong {
  color: #18324c;
  font-size: 16px;
}

.support-skin-creation-guide p {
  margin: 0;
  color: #60758a;
  font-size: 13px;
  line-height: 1.55;
}

.support-skin-creation-contact {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  color: #006fca;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.support-skin-creation-bank {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(0, 104, 203, 0.12);
  border-radius: 15px;
  padding: 15px 17px;
  background: #f8fbff;
}

.support-skin-creation-bank > span {
  color: #557089;
  font-size: 11px;
  font-weight: 950;
}

.support-skin-creation-bank .support-order-bank-wrap {
  margin: 0;
}

.support-skin-creation-bank__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  align-items: start;
  gap: 12px;
}

.support-skin-creation-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid rgba(0, 112, 211, 0.12);
  padding-top: 20px;
}

.support-skin-creation-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #415d77;
  font-size: 12px;
  font-weight: 900;
}

.support-skin-creation-form select,
.support-skin-creation-form input,
.support-skin-creation-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(43, 92, 137, 0.2);
  border-radius: 11px;
  padding: 0 12px;
  background: #ffffff;
  color: #152c43;
  font: 750 14px/1.5 Pretendard, sans-serif;
  box-shadow: inset 0 1px 2px rgba(25, 54, 82, 0.04);
}

.support-skin-creation-form textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

.support-skin-creation-count {
  justify-self: end;
  color: #6d8195;
  font-size: 11px;
  font-weight: 850;
}

.support-skin-creation-form select:focus,
.support-skin-creation-form input:focus,
.support-skin-creation-form textarea:focus {
  border-color: rgba(0, 125, 230, 0.62);
  outline: 3px solid rgba(0, 132, 255, 0.12);
}

.support-skin-creation-form .is-wide {
  grid-column: 1 / -1;
}

.support-skin-creation-check {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center;
}

.support-skin-creation-check input {
  width: 18px;
  min-height: 18px;
}

.support-skin-creation-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.support-skin-creation-submit p {
  margin: 0;
  color: #60758a;
  font-size: 13px;
  font-weight: 800;
}

.support-skin-creation-submit p[data-tone="ok"] {
  color: #16703a;
}

.support-skin-creation-submit p[data-tone="error"] {
  color: #c0362c;
}

.support-skin-creation-history {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(0, 112, 211, 0.12);
  padding-top: 20px;
}

.support-skin-creation-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-skin-creation-history__head strong,
.support-skin-creation-history__head span {
  display: block;
}

.support-skin-creation-history__head strong {
  color: #17314b;
}

.support-skin-creation-history__head span {
  margin-top: 4px;
  color: #687e93;
  font-size: 12px;
}

.support-skin-creation-panel .landing-skin-creation-history {
  margin: 0;
  border-color: rgba(0, 104, 203, 0.12);
  background: #f7fbff;
}

.support-skin-creation-panel .landing-skin-creation-history p,
.support-skin-creation-panel .landing-skin-creation-history__item small,
.support-skin-creation-panel .landing-skin-creation-history__assets figcaption {
  color: #60758a;
}

.support-skin-creation-panel .landing-skin-creation-history__item {
  border-bottom-color: rgba(32, 81, 127, 0.1);
}

.support-skin-creation-panel .landing-skin-creation-history__item span {
  color: #8b6210;
}

.support-skin-creation-panel .landing-skin-creation-history__item strong {
  color: #17314b;
}

@media (max-width: 900px) {
  .landing-landmark-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-landmark-effect-grid {
    grid-template-columns: 1fr;
  }

  .landing-landmark-effect-grid article {
    min-height: 0;
  }

  .landing-landmark-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-landmark-stage__details {
    grid-template-columns: 1fr;
  }

  .landing-landmark-skin-actions {
    justify-content: flex-start;
  }

  .support-skin-creation-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .landing-codex-subnav {
    width: calc(100% - 8px);
    margin-bottom: 14px;
  }

  .landing-landmark-hero {
    border-radius: 18px;
    padding: 24px 19px;
  }

  .landing-landmark-hero .landing-codex-title {
    font-size: 30px;
    word-break: keep-all;
  }

  .landing-landmark-stat-grid,
  .landing-landmark-country-grid {
    grid-template-columns: 1fr;
  }

  .landing-landmark-stat-grid article {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .landing-landmark-stat-grid strong {
    font-size: 17px;
    text-align: right;
  }

  .landing-landmark-country-card {
    min-height: 70px;
  }

  .landing-landmark-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    border-radius: 18px;
  }

  .landing-landmark-dialog__body {
    padding: 16px 13px;
  }

  .landing-landmark-dialog header {
    align-items: flex-start;
  }

  .landing-landmark-dialog header p {
    display: none;
  }

  .landing-landmark-dialog .landing-landmark-dialog__close {
    min-width: 40px;
    width: 40px;
    padding: 0;
  }

  .landing-landmark-dialog__close span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
  }

  .landing-landmark-stage {
    position: relative;
    display: block;
  }

  .landing-landmark-stage__arrow {
    position: absolute;
    z-index: 4;
    top: min(42vw, 180px);
    width: 38px;
    height: 52px;
    transform: translateY(-50%);
    background: rgba(7, 16, 27, 0.68);
  }

  .landing-landmark-stage__arrow:first-child {
    left: 7px;
  }

  .landing-landmark-stage__arrow:last-child {
    right: 7px;
  }

  .landing-landmark-stage__image-shell {
    width: 100%;
    border-radius: 14px;
  }

  .landing-landmark-stage__caption {
    padding: 44px 18px 16px;
  }

  .landing-landmark-stage__details {
    margin-top: 10px;
    padding: 13px;
  }

  .landing-landmark-skin-actions,
  .landing-landmark-representative-action {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-landmark-skin-actions button,
  .landing-landmark-representative-action button {
    width: 100%;
  }

  .landing-landmark-skin-order {
    grid-template-columns: 1fr;
  }

  .landing-landmark-skin-thumb {
    flex-basis: 92px;
  }

  .landing-landmark-selector-note {
    display: grid;
  }

  .support-skin-creation-panel {
    border-radius: 18px;
    padding: 19px 16px;
  }

  .support-skin-creation-panel__head p {
    font-size: 13px;
  }

  .support-skin-creation-panel__close span {
    display: none;
  }

  .support-skin-creation-guide,
  .support-skin-creation-form {
    grid-template-columns: 1fr;
  }

  .support-skin-creation-form .is-wide {
    grid-column: auto;
  }

  .support-skin-creation-submit,
  .support-skin-creation-history__head {
    align-items: stretch;
    flex-direction: column;
  }

  .support-skin-creation-submit .cta-button,
  .support-skin-creation-history__head .cta-button {
    width: 100%;
  }
}

/* Landmark collection v2: compact collection registry and image-first skin gallery */
.landing-landmark-panel {
  --landmark-ink: #17283a;
  --landmark-muted: #687b8e;
  --landmark-line: #dce4eb;
  --landmark-paper: #f8fafb;
  --landmark-gold: #9a6a16;
  display: grid;
  gap: 18px;
}

.landing-landmark-overview {
  overflow: hidden;
  border: 1px solid var(--landmark-line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--landmark-paper);
  color: var(--landmark-ink);
}

.landing-landmark-overview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.landing-landmark-kicker,
.landing-landmark-effects header span,
.landing-landmark-catalog__head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--landmark-gold);
  font-size: 11px;
  font-weight: 900;
}

.landing-landmark-kicker .landing-svg-icon {
  width: 16px;
  height: 16px;
}

.landing-landmark-overview h1 {
  margin: 7px 0 5px;
  color: var(--landmark-ink);
  font-size: 30px;
  line-height: 1.15;
}

.page-title-row--landmark {
  margin: 7px 0 5px;
}

.page-title-row--landmark h1 {
  margin: 0;
}

.landing-landmark-overview .context-help-button > span {
  border-color: rgba(154, 106, 22, 0.38);
  background: rgba(154, 106, 22, 0.08);
  color: var(--landmark-gold);
}

.landing-landmark-overview .context-help-button:hover > span,
.landing-landmark-overview .context-help-button[aria-expanded="true"] > span {
  border-color: var(--landmark-gold);
  background: rgba(154, 106, 22, 0.14);
}

.landing-landmark-overview .context-help-button:focus-visible > span {
  outline-color: rgba(154, 106, 22, 0.35);
}

.landing-landmark-overview__head p {
  max-width: 610px;
  margin: 0;
  color: var(--landmark-muted);
  font-size: 13px;
  line-height: 1.6;
}

.landing-landmark-command-note {
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  border-left: 2px solid #d8b45e;
  padding: 2px 0 2px 12px;
  color: var(--landmark-muted);
}

.landing-landmark-command-note span {
  font-size: 10px;
  font-weight: 800;
}

.landing-landmark-command-note code {
  border: 0;
  padding: 0;
  background: transparent;
  color: #68480e;
  font-size: 13px;
  font-weight: 900;
}

.landing-landmark-progress {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.landing-landmark-progress > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.landing-landmark-progress span {
  color: var(--landmark-muted);
  font-size: 11px;
  font-weight: 800;
}

.landing-landmark-progress strong {
  color: var(--landmark-ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.landing-landmark-progress .landing-landmark-progress__track {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 7px;
  background: #e4e9ed;
}

.landing-landmark-progress__track i {
  display: block;
  height: 100%;
  background: #b98b32;
}

.landing-landmark-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--landmark-line);
}

.landing-landmark-stat-grid > div {
  min-width: 0;
  padding: 16px 14px 0;
  border-left: 1px solid var(--landmark-line);
}

.landing-landmark-stat-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.landing-landmark-stat-grid dt {
  color: var(--landmark-muted);
  font-size: 10px;
  font-weight: 800;
}

.landing-landmark-stat-grid dd {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
  color: var(--landmark-ink);
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.landing-landmark-effects {
  border-top: 1px solid var(--landmark-line);
  border-bottom: 1px solid var(--landmark-line);
  padding: 18px 0;
}

.landing-landmark-effects > header,
.landing-landmark-catalog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.landing-landmark-effects header h2,
.landing-landmark-catalog__head h2 {
  margin: 2px 0 0;
  color: var(--landmark-ink);
  font-size: 18px;
  line-height: 1.25;
}

.landing-landmark-effects > header p {
  margin: 0;
  color: var(--landmark-muted);
  font-size: 11px;
}

.landing-landmark-effect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  border: 1px solid var(--landmark-line);
  border-radius: 10px;
  background: #ffffff;
}

.landing-landmark-effect-grid article,
.landing-landmark-effect-grid article[data-landmark-effect] {
  overflow: visible;
  min-height: 0;
  gap: 7px;
  border: 0;
  border-top: 0;
  border-left: 1px solid var(--landmark-line);
  border-radius: 0;
  padding: 16px;
  background: transparent;
  box-shadow: none;
}

.landing-landmark-effect-grid article:first-child {
  border-left: 0;
}

.landing-landmark-effect-grid__head span {
  color: #40566c;
  font-size: 12px;
}

.landing-landmark-effect-grid__head b {
  border: 0;
  border-radius: 4px;
  padding: 3px 6px;
  background: #edf1f4;
  color: #52677b;
  box-shadow: none;
}

.landing-landmark-effect-grid strong {
  color: var(--landmark-ink);
  font-size: 15px;
}

.landing-landmark-effect-grid p {
  color: var(--landmark-muted);
  font-size: 11px;
  font-weight: 650;
}

.landing-landmark-catalog {
  min-width: 0;
}

.landing-landmark-catalog__head strong {
  color: var(--landmark-gold);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.landing-landmark-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 12px;
}

.landing-landmark-search {
  display: flex;
  min-width: 210px;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--landmark-line);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: #75889a;
}

.landing-landmark-search .landing-svg-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.landing-landmark-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: var(--landmark-ink);
  font-size: 13px;
}

.landing-landmark-category-filter {
  display: flex;
  gap: 2px;
  border: 1px solid var(--landmark-line);
  border-radius: 8px;
  padding: 3px;
  background: #eef2f5;
}

.landing-landmark-category-filter button {
  min-width: 52px;
  min-height: 36px;
  border: 0;
  border-radius: 5px;
  padding: 0 10px;
  background: transparent;
  color: #617589;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.landing-landmark-category-filter button.is-active {
  background: #ffffff;
  color: #5f410a;
  box-shadow: inset 0 0 0 1px #d9bd7b;
}

.landing-landmark-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.landing-landmark-country-card,
.landing-landmark-country-card:hover {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 16px;
  min-height: 72px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--landmark-line);
  border-radius: 9px;
  padding: 10px 11px;
  background: #ffffff;
  color: var(--landmark-ink);
  box-shadow: none;
  text-align: left;
}

.landing-landmark-country-card:hover {
  border-color: #bd943f;
  transform: none;
}

.landing-landmark-country-card:focus-visible {
  outline: 3px solid rgba(0, 132, 255, 0.2);
  outline-offset: 2px;
}

.landing-landmark-country-card[hidden] {
  display: none;
}

.landing-landmark-country-card__flag {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 7px;
  background: #f1f4f6;
  font-size: 22px;
}

.landing-landmark-country-card__copy,
.landing-landmark-country-card__state {
  display: grid;
  min-width: 0;
}

.landing-landmark-country-card__copy small {
  color: #73869a;
  font-size: 9px;
  font-weight: 800;
}

.landing-landmark-country-card__copy b {
  overflow-wrap: anywhere;
  color: var(--landmark-ink);
  font-size: 13px;
}

.landing-landmark-country-card__state {
  justify-items: end;
}

.landing-landmark-country-card__state strong {
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #6c7f91;
  font-size: 10px;
}

.landing-landmark-country-card.is-owned .landing-landmark-country-card__state strong {
  color: var(--landmark-gold);
}

.landing-landmark-country-card__state small {
  color: #8a9aa8;
  font-size: 9px;
}

.landing-landmark-country-card__chevron {
  width: 15px;
  height: 15px;
  color: #9aa8b4;
}

.landing-landmark-empty {
  margin: 0;
  border: 1px dashed #cbd5dd;
  border-radius: 8px;
  padding: 28px 16px;
  color: var(--landmark-muted);
  text-align: center;
}

.landing-landmark-dialog {
  width: min(1080px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  border: 1px solid #38434e;
  border-radius: 16px;
  background: #0d1218;
  color: #edf1f4;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

.landing-landmark-dialog::backdrop {
  background: rgba(4, 7, 10, 0.82);
  backdrop-filter: none;
}

.landing-landmark-dialog__body {
  display: grid;
  gap: 0;
  padding: 0;
}

.landing-landmark-dialog header {
  position: sticky;
  z-index: 8;
  top: 0;
  align-items: center;
  border-bottom: 1px solid #27313b;
  padding: 18px 22px;
  background: #0d1218;
}

.landing-landmark-dialog header span {
  color: #c9a95e;
  font-size: 10px;
}

.landing-landmark-dialog header h2 {
  margin: 3px 0 0;
  color: #ffffff;
  font-size: 22px;
}

.landing-landmark-dialog header p {
  margin: 4px 0 0;
  color: #98a8b7;
  font-size: 11px;
}

.landing-landmark-dialog .landing-landmark-dialog__close {
  width: 44px;
  height: 44px;
  border: 1px solid #303b46;
  border-radius: 8px;
  color: #b5c0ca;
}

.landing-landmark-dialog .landing-landmark-dialog__close:hover {
  border-color: #667380;
  background: #171e25;
}

.landing-landmark-dialog__close span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.landing-landmark-stage {
  display: block;
  padding: 20px 22px;
}

.landing-landmark-stage__center {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.landing-landmark-stage__media-wrap {
  position: relative;
  min-width: 0;
}

.landing-landmark-stage__media {
  display: block;
}

.landing-landmark-stage__image-shell {
  width: 100%;
  max-width: none;
  border: 1px solid #424c55;
  border-radius: 10px;
  background: #161d24;
  box-shadow: none;
}

.landing-landmark-stage__caption {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 15px;
  background: rgba(8, 12, 16, 0.88);
  text-align: left;
}

.landing-landmark-stage__caption span {
  color: #cfb36d;
  font-size: 9px;
}

.landing-landmark-stage__caption h3 {
  margin-top: 3px;
  font-size: 18px;
}

.landing-landmark-stage__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 12, 16, 0.78);
  color: #e2c67e;
  transform: translateY(-50%);
}

.landing-landmark-stage__arrow:first-child {
  left: 10px;
}

.landing-landmark-stage__arrow:last-child {
  right: 10px;
}

.landing-landmark-stage__arrow:hover:not(:disabled) {
  background: #161e26;
}

.landing-landmark-stage__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  margin: 0;
  border: 1px solid #303a44;
  border-radius: 10px;
  padding: 18px;
  background: #121920;
}

.landing-landmark-stage__copy {
  gap: 10px;
}

.landing-landmark-stage__copy > div {
  display: grid;
  gap: 5px;
}

.landing-landmark-stage__copy span {
  color: #cfb36d;
  font-size: 10px;
}

.landing-landmark-stage__copy strong {
  color: #f2f4f6;
  font-size: 14px;
  line-height: 1.5;
}

.landing-landmark-stage__copy p {
  color: #9eacb9;
  font-size: 12px;
}

.landing-landmark-skin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.landing-landmark-representative-action {
  display: flex;
  justify-content: center;
}

.landing-landmark-skin-actions button,
.landing-landmark-representative-action button {
  flex: 0 1 280px;
  text-align: center;
}

.landing-landmark-skin-actions button,
.landing-landmark-representative-action button,
.landing-landmark-skin-order button {
  min-height: 44px;
  border: 1px solid #c5a65d;
  border-radius: 7px;
  background: transparent;
  color: #e8c980;
  font-size: 11px;
}

.landing-landmark-representative-action button:hover:not(:disabled),
.landing-landmark-skin-order button:hover:not(:disabled) {
  border-color: #dfc77f;
  background: #dfc77f;
  color: #17130b;
}

.landing-landmark-skin-actions > span {
  width: 100%;
  border-left: 2px solid #52606d;
  padding-left: 10px;
  color: #aab5c0;
  line-height: 1.5;
}

.landing-landmark-skin-order {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
  border-top: 1px solid #303a44;
  padding-top: 14px;
}

.landing-landmark-skin-order__summary,
.landing-landmark-skin-order__bank,
.landing-landmark-skin-order__check,
.landing-landmark-skin-order [data-skin-order-status] {
  grid-column: 1;
}

.landing-landmark-skin-order__bank {
  border-color: #303a44;
}

.landing-landmark-skin-order input {
  min-height: 44px;
  border-radius: 6px;
  background: #0b1015;
}

.landing-landmark-skin-rail {
  gap: 8px;
  border-top: 1px solid #27313b;
  border-bottom: 1px solid #27313b;
  padding: 12px 22px;
  background: #11171d;
}

.landing-landmark-skin-thumb {
  flex-basis: 92px;
  min-height: 112px;
  border: 1px solid #303a44;
  border-radius: 8px;
  padding: 5px;
  background: #171e25;
  color: #aab5bf;
}

.landing-landmark-skin-thumb.is-active {
  border-color: #d0b263;
  background: #201d15;
  color: #e0c77f;
  box-shadow: inset 0 -3px 0 #d0b263;
}

.landing-landmark-skin-thumb__image {
  border-radius: 5px;
  background: #0c1218;
}

.landing-landmark-skin-thumb--create .landing-landmark-skin-thumb__image {
  border-color: #826f43;
  background: #151a1f;
}

.landing-landmark-selector-note {
  display: flex;
  justify-content: flex-start;
  gap: 6px 18px;
  padding: 12px 22px 18px;
  color: #82909d;
  text-align: left;
}

@media (max-width: 900px) {
  .landing-landmark-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-landmark-stage__center {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  }
}

@media (max-width: 640px) {
  .landing-landmark-panel {
    gap: 14px;
  }

  .landing-landmark-overview {
    border-radius: 10px;
    padding: 18px 15px;
  }

  .landing-landmark-overview__head,
  .landing-landmark-effects > header,
  .landing-landmark-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-landmark-overview h1 {
    font-size: 26px;
  }

  .landing-landmark-command-note {
    width: 100%;
  }

  .landing-landmark-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-landmark-stat-grid > div,
  .landing-landmark-stat-grid > div:first-child {
    border-top: 0;
    border-left: 1px solid var(--landmark-line);
    padding: 12px 8px 0 12px;
  }

  .landing-landmark-stat-grid > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .landing-landmark-effect-grid {
    grid-template-columns: 1fr;
  }

  .landing-landmark-effect-grid article,
  .landing-landmark-effect-grid article[data-landmark-effect] {
    border-top: 1px solid var(--landmark-line);
    border-left: 0;
    padding: 13px 14px;
  }

  .landing-landmark-effect-grid article:first-child {
    border-top: 0;
  }

  .landing-landmark-search {
    width: 100%;
    min-width: 0;
  }

  .landing-landmark-category-filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .landing-landmark-category-filter button {
    min-width: 0;
    min-height: 40px;
    padding: 0 4px;
  }

  .landing-landmark-country-grid {
    grid-template-columns: 1fr;
  }

  .landing-landmark-country-card,
  .landing-landmark-country-card:hover {
    grid-template-columns: 40px minmax(0, 1fr) auto 16px;
    min-height: 68px;
  }

  .landing-landmark-dialog {
    width: calc(100vw - 8px);
    max-height: calc(100dvh - 8px);
    border-radius: 10px;
  }

  .landing-landmark-dialog header {
    align-items: center;
    padding: 13px 14px;
  }

  .landing-landmark-dialog header h2 {
    font-size: 18px;
  }

  .landing-landmark-dialog header p {
    display: none;
  }

  .landing-landmark-dialog .landing-landmark-dialog__close {
    min-width: 44px;
    width: 44px;
  }

  .landing-landmark-stage {
    padding: 12px;
  }

  .landing-landmark-stage__center {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-landmark-stage__image-shell {
    border-radius: 8px;
  }

  .landing-landmark-stage__details {
    margin: 0;
    border-radius: 8px;
    padding: 14px;
  }

  .landing-landmark-stage__arrow {
    top: 50%;
    width: 44px;
    height: 52px;
  }

  .landing-landmark-skin-actions,
  .landing-landmark-representative-action {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-landmark-skin-actions button,
  .landing-landmark-representative-action button {
    width: 100%;
  }

  .landing-landmark-skin-actions > span {
    grid-column: 1;
  }

  .landing-landmark-skin-rail {
    padding: 10px 12px;
  }

  .landing-landmark-skin-thumb {
    flex-basis: 84px;
    min-height: 102px;
  }

  .landing-landmark-selector-note {
    display: grid;
    padding: 10px 14px 16px;
  }
}

/* Keep the stat layout after the legacy landmark overrides above. */
.landing-landmark-effect-grid {
  border-color: var(--landmark-line);
  background: #ffffff;
}

.landing-landmark-effect-grid .landing-landmark-effect-card {
  min-height: 0;
  border-top: 0;
  border-left: 1px solid var(--landmark-line);
  background: #ffffff;
}

.landing-landmark-effect-grid .landing-landmark-effect-card:first-child {
  border-left: 0;
}

.landing-landmark-effect-grid .landing-landmark-effect-card:hover,
.landing-landmark-effect-grid .landing-landmark-effect-card:focus-visible {
  background: #f6f8f9;
}

.landing-landmark-effect-grid .landing-landmark-effect-grid__head span {
  color: #68480e;
}

.landing-landmark-effect-grid .landing-landmark-effect-grid__head b {
  background: #edf1f4;
  color: #52677b;
}

.landing-landmark-effect-grid .landing-landmark-effect-card strong {
  color: var(--landmark-ink);
}

.landing-landmark-effect-grid .landing-landmark-effect-card p {
  color: var(--landmark-muted);
}

.landing-landmark-effect-grid .landing-landmark-effect-card__next {
  color: #765515;
  font-size: 11px;
  font-weight: 700;
}

.landing-landmark-effect-grid .landing-landmark-effect-card__progress {
  background: #e4e9ed;
}

.landing-landmark-effect-grid .landing-landmark-effect-card__progress i {
  background: #b98b32;
}

.landing-landmark-filter-row .landing-landmark-sort-field .landing-select-button,
.landing-landmark-filter-row .landing-landmark-check-filter span {
  border-color: #cbd5dd;
  background: transparent;
  color: #617589;
}

.landing-landmark-filter-row .landing-landmark-sort-field .landing-select-menu {
  top: calc(100% + 6px);
  right: auto;
  width: 210px;
  min-width: 100%;
  gap: 2px;
  border: 1px solid #d7dee4;
  border-radius: 9px;
  padding: 7px;
  border-color: var(--landmark-line);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(29, 42, 54, 0.16);
}

.landing-landmark-sort-menu__title {
  padding: 5px 9px 7px;
  color: #8393a1;
  font-size: 10px;
  font-weight: 800;
}

.landing-landmark-filter-row .landing-landmark-sort-field .landing-landmark-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  color: #506579;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.landing-landmark-sort-option::after {
  content: "✓";
  flex: 0 0 auto;
  color: #8a6417;
  font-size: 12px;
  opacity: 0;
}

.landing-landmark-filter-row .landing-landmark-sort-field .landing-landmark-sort-option:hover,
.landing-landmark-filter-row .landing-landmark-sort-field .landing-landmark-sort-option:focus-visible {
  outline: 0;
  background: #f1f4f6;
  color: #263b4e;
}

.landing-landmark-filter-row .landing-landmark-sort-field .landing-landmark-sort-option.is-selected {
  background: #fff7df;
  color: #68480e;
}

.landing-landmark-sort-option.is-selected::after {
  opacity: 1;
}

.landing-landmark-filter-row .landing-landmark-check-filter input:checked + span {
  border-color: #d9bd7b;
  background: #fff9e8;
  color: #68480e;
}

.landing-landmark-country-card,
.landing-landmark-country-card:hover {
  grid-template-columns: 44px minmax(0, 1fr) minmax(174px, 0.8fr) 88px 16px;
}

.landing-landmark-country-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-landmark-country-card__combat b {
  color: #33495d;
  font-size: 12px;
}

.landing-landmark-country-card__combat small {
  color: #33495d;
}

.landing-landmark-country-card__combat small > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.landing-landmark-country-card__combat em {
  color: #8a9aa8;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.landing-landmark-country-card__combat i {
  border-color: #d7dee4;
  background: #f1f4f6;
  color: #5d7184;
}

.landing-landmark-stat-note {
  margin: -2px 2px 10px;
  color: #7d8e9d;
  font-size: 10px;
  line-height: 1.45;
}

.landing-landmark-stat-note b {
  color: #5d7184;
  font-weight: 800;
}

.landing-landmark-dialog .landing-landmark-combat-stats header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  padding: 0;
  background: transparent;
}

.landing-landmark-dialog .landing-landmark-combat-stats header span {
  color: #d9c886;
  font-size: 11px;
  font-weight: 800;
}

.support-skin-creation-bundle-note {
  display: grid;
  gap: 2px;
  min-height: 100%;
  border-left: 3px solid #c58a20;
  padding: 8px 10px;
  background: #fff8e8;
  color: #6d5423;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.support-skin-creation-bundle-note strong {
  color: #50370c;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 600px) {
  .support-skin-creation-bank__content {
    grid-template-columns: 1fr;
  }
}

.landing-landmark-stage__copy .landing-landmark-stage__package-note {
  margin: 0;
  border-left: 2px solid #c5a65d;
  padding-left: 9px;
  color: #d9c886;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .landing-landmark-country-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-landmark-country-grid {
    grid-template-columns: 1fr;
  }

  .landing-landmark-effect-grid .landing-landmark-effect-card,
  .landing-landmark-effect-grid .landing-landmark-effect-card:first-child {
    border-left: 0;
  }

  .landing-landmark-effect-grid .landing-landmark-effect-card + .landing-landmark-effect-card {
    border-top: 1px solid var(--landmark-line);
  }

  .landing-landmark-country-card,
  .landing-landmark-country-card:hover {
    grid-template-columns: 40px minmax(0, 1fr) auto 16px;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }

  .landing-landmark-country-card__flag {
    grid-row: 1 / 3;
  }

  .landing-landmark-country-card__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .landing-landmark-country-card__state {
    grid-column: 3;
    grid-row: 1;
  }

  .landing-landmark-country-card__combat {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .landing-landmark-stat-grid dt {
    font-size: 9px;
  }

  .landing-landmark-stat-grid dd {
    font-size: 14px;
  }

  .landing-landmark-country-card__chevron {
    grid-column: 4;
    grid-row: 1 / 3;
  }

  .landing-landmark-dialog .landing-landmark-combat-stats header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .landing-codex-shell .landing-codex-subnav {
    justify-content: center;
    width: min(100%, 280px);
    margin: 0 auto 14px;
    overflow: visible;
  }

  .landing-codex-shell .landing-codex-subnav button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
  }
}

/* ==========================================================================
   Chuseok 2026 Limited Support Section (Collapsible & 2-Column Grid)
   ========================================================================== */

.support-chuseok-section {
  width: 100%;
  margin-bottom: 24px;
}

.support-chuseok-section[hidden] {
  display: none !important;
}

.support-order-form[hidden] {
  display: none;
}

/* Festive Hanji / Golden Moonlight Header */
.support-chuseok-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fffcf6 0%, #fff7e5 50%, #faedd0 100%);
  border: 1.5px solid #dfc385;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(139, 104, 37, 0.08);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.support-chuseok-header:hover {
  border-color: #c9aa65;
  box-shadow: 0 4px 16px rgba(139, 104, 37, 0.14);
}

.support-chuseok-header:focus-visible {
  outline: 3px solid rgba(175, 126, 32, 0.4);
  outline-offset: 2px;
}

.support-chuseok-header__left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.support-chuseok-header__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}


.support-chuseok-header__title {
  font-size: 19px;
  font-weight: 800;
  color: #5c420c;
  letter-spacing: -0.3px;
}

.support-chuseok-header__desc {
  margin: 0;
  font-size: 13px;
  color: #7a6645;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.support-chuseok-header__deadline {
  color: #925805;
  font-weight: 600;
}

.support-chuseok-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.support-chuseok-header__connect {
  font-size: 12px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #c9aa65 !important;
  color: #70500f !important;
}

.support-chuseok-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid #c9aa65;
  border-radius: 999px;
  color: #70500f;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(112, 80, 15, 0.08);
  transition: all 0.2s ease;
}

.support-chuseok-header:hover .support-chuseok-toggle-pill {
  background: #fdfaf3;
  border-color: #a8853a;
}

.support-chuseok-toggle-arrow {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-chuseok-section.is-collapsed .support-chuseok-toggle-arrow {
  transform: rotate(-90deg);
}

/* Collapsible Content Area */
.support-chuseok-content {
  margin-top: 14px;
  transition: opacity 0.2s ease;
}

.support-chuseok-section.is-collapsed .support-chuseok-content {
  display: none !important;
}

/* Chuseok Product Grid (2 columns on desktop) */
.support-chuseok-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.support-donation-card.support-donation-card--chuseok {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(112, 80, 15, 0.05);
}

.support-donation-card.support-donation-card--chuseok:hover {
  transform: none !important;
}

/* 4,900원 - 주머니: 은은하고 맑은 미색 톤 */
.support-donation-card.support-donation-card--chuseok-4900 {
  border-color: #e8ddc4;
  background: linear-gradient(150deg, #ffffff 0%, #fffefa 50%, #fdfaf3 100%);
}

/* 19,900원 - 보따리: 부드럽고 따뜻한 웜 골드 톤 */
.support-donation-card.support-donation-card--chuseok-19900 {
  border-color: #dec795;
  background: linear-gradient(150deg, #ffffff 0%, #fffdf6 50%, #fbf4e2 100%);
}

/* 49,900원 - 곳간: 차분하고 깊이감 있는 앰버 골드 톤 */
.support-donation-card.support-donation-card--chuseok-49900 {
  border-color: #d4b267;
  background: linear-gradient(150deg, #ffffff 0%, #fffbf0 50%, #faeed0 100%);
}

.support-donation-card.support-donation-card--chuseok.is-selected {
  border-color: #8b6825 !important;
  box-shadow: 0 0 0 2px rgba(139, 104, 37, 0.35) !important;
}

.support-chuseok-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f3e6c6;
  color: #6a4c0d;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.support-chuseok-state {
  margin: 2px 0 8px;
  font-size: 12px;
  color: #74684d;
  font-weight: 600;
}

.support-chuseok-state[hidden],
.support-chuseok-state:empty {
  display: none !important;
  margin: 0 !important;
}

.support-donation-card.support-donation-card--chuseok.is-unavailable {
  border-color: #d3d5d8 !important;
  background: #f4f5f6 !important;
  color: #72777f !important;
  cursor: default;
  box-shadow: none !important;
  opacity: 0.72;
  transform: none !important;
}

.support-donation-card--chuseok.is-unavailable h2,
.support-donation-card--chuseok.is-unavailable > strong,
.support-donation-card--chuseok.is-unavailable .support-tier-card__rewards {
  color: #72777f;
}

.support-donation-card--chuseok.is-unavailable .support-chuseok-badge {
  background: #e1e3e6;
  color: #60656d;
}

.support-donation-card--chuseok.is-unavailable .support-tier-card__rewards li,
.support-donation-card--chuseok.is-unavailable .support-tier-card__rewards strong {
  color: #72777f;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .support-chuseok-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
  }

  .support-chuseok-header__right {
    width: 100%;
    justify-content: space-between;
  }

  .support-chuseok-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}
