﻿:root {
  --bg-0: #140b0b;
  --bg-1: #211111;
  --surface: rgba(26, 16, 16, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 124, 85, 0.32);
  --text: #f8ede5;
  --muted: #caa99d;
  --accent: #ff6f3d;
  --accent-2: #ffb15a;
  --danger: #ff4f4f;
  --success: #58d18d;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 137, 74, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(20, 11, 11, 0.82), rgba(11, 7, 7, 0.96)),
    url('../homepage.png') center top / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 5, 5, 0.1), rgba(10, 5, 5, 0.6)),
    radial-gradient(circle at 12% 18%, rgba(255, 127, 80, 0.12), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(255, 208, 90, 0.08), transparent 18%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-wrap {
  position: relative;
  z-index: 1;
}

.topline {
  height: 4px;
  background: linear-gradient(90deg, #ff8a48, #ff3d2e, #ffc266, #ff8a48);
  box-shadow: 0 0 18px rgba(255, 97, 46, 0.35);
}

.container {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 7, 7, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 280px minmax(420px, 1fr) 320px;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #65231b, #ff6f3d);
  color: #fff4ef;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 16px 36px rgba(171, 42, 10, 0.34);
}

.brand-eyebrow,
.hero-eyebrow,
.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffc28b;
  font-weight: 800;
}

.brand-title,
.hero-title,
.page-title,
.panel-title,
.section-title,
.footer-title {
  font-family: 'Cinzel', serif;
}

.brand-title {
  font-size: 1.55rem;
  font-weight: 800;
}

.brand-copy {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.primary-nav a {
  padding: 0.88rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: #fbe8df;
  font-weight: 700;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  background: rgba(255, 111, 61, 0.16);
  border-color: rgba(255, 111, 61, 0.34);
}

.primary-nav a.accent {
  background: linear-gradient(135deg, rgba(255, 111, 61, 0.22), rgba(255, 177, 90, 0.2));
}

.account-panel,
.panel,
.hero-card,
.board-card,
.metric-card,
.detail-card,
.table-card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.account-panel,
.panel,
.hero-card,
.board-card,
.detail-card,
.table-card,
.feature-card {
  padding: 20px;
}

.account-name {
  font-weight: 800;
  font-size: 1.08rem;
}

.account-sub,
.muted,
.page-lead,
.hero-copy,
.notice-content,
.post-content,
.section-copy,
.list-meta,
.board-row-meta,
.inline-meta,
.footer-copy {
  color: var(--muted);
  line-height: 1.7;
}

.admin-chip,
.badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 177, 90, 0.18);
  color: #ffd79f;
  font-size: 0.72rem;
  font-weight: 800;
}

.account-stats,
.login-grid,
.account-actions,
.hero-actions,
.main-grid,
.hero-grid,
.two-column,
.dual-grid,
.form-grid,
.action-row,
.info-grid,
.admin-grid,
.board-list,
.panel-list,
.quick-links,
.tab-links,
.metric-grid {
  display: grid;
  gap: 12px;
}

.account-stats,
.login-grid,
.account-actions {
  margin-top: 14px;
}

.account-stats {
  grid-template-columns: 1fr 1fr;
}

.account-stats div,
.metric-card,
.list-row,
.board-row,
.coupon-row,
.request-row,
.history-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-stats span,
.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.login-grid {
  grid-template-columns: 1fr 1fr;
}

.login-form,
.board-form,
.charge-form,
.admin-form {
  display: grid;
  gap: 12px;
}

.login-links,
.quick-links,
.tab-links,
.footer-links,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-links {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.inline-error,
.flash-error,
.status-rejected {
  color: #ffb0b0;
}

.page-shell {
  padding-bottom: 42px;
}

.page-hero {
  padding: 42px 0 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
}

.hero-title,
.page-title {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  margin-top: 20px;
}

.hero-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7cfbe;
}

.main-grid {
  grid-template-columns: 1.25fr 1.25fr 0.9fr;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.panel-head,
.section-head,
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-title,
.section-title {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
}

.list-row,
.board-row,
.coupon-row,
.request-row,
.history-item {
  display: grid;
  gap: 6px;
}

.list-title,
.board-row-title,
.detail-title {
  font-weight: 800;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
}

.board-table th,
.board-table td,
table th,
table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
}

.board-table th,
table th {
  color: #ffcfb0;
  font-size: 0.82rem;
}

.table-wrap {
  overflow-x: auto;
}

.notice-content,
.post-content {
  white-space: pre-wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #180b08;
  font-weight: 800;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-danger {
  background: rgba(255, 79, 79, 0.16);
  color: #ffcaca;
  border-color: rgba(255, 79, 79, 0.24);
}

.btn-success {
  background: rgba(88, 209, 141, 0.18);
  color: #baf2cf;
}

.btn-small {
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.86rem;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 111, 61, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 111, 61, 0.12);
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: #f0cfbf;
  font-weight: 700;
}

.flash {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.flash-success {
  background: rgba(88, 209, 141, 0.16);
  color: #c5f4d7;
}

.flash-error {
  background: rgba(255, 79, 79, 0.16);
}

.status-approved {
  color: #94efbc;
}

.status-pending {
  color: #ffd697;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 7, 7, 0.88);
  padding: 24px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

@media (max-width: 1180px) {
  .header-inner,
  .hero-grid,
  .main-grid,
  .admin-grid,
  .two-column,
  .dual-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .login-grid,
  .account-stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.post-image-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.post-image-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.portal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
}

.portal-home {
  padding-top: 28px;
}

.home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.stage-banner {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  background:
    linear-gradient(110deg, rgba(10, 7, 7, 0.28), rgba(10, 7, 7, 0.82)),
    radial-gradient(circle at 72% 20%, rgba(255, 181, 90, 0.22), transparent 18%),
    radial-gradient(circle at 20% 18%, rgba(255, 111, 61, 0.18), transparent 20%),
    url('../homepage.png') center top / cover no-repeat;
}

.stage-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 7, 0.1), rgba(10, 7, 7, 0.58)),
    linear-gradient(135deg, rgba(255, 128, 66, 0.08), transparent 48%);
}

.stage-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 36px;
}

.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffe2c8;
  font-size: 0.78rem;
  font-weight: 700;
}

.stage-title {
  margin: 12px 0 14px;
  max-width: 760px;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.stage-copy {
  max-width: 690px;
  color: #f2d5c7;
  font-size: 1rem;
  line-height: 1.75;
}

.stage-actions,
.stage-actions-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stage-actions {
  margin-top: 24px;
}

.stage-actions-compact {
  margin-top: 16px;
}

.stage-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f7d1bf;
  line-height: 1.6;
}

.stage-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stage-stat-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-stat-box span {
  display: block;
  margin-bottom: 8px;
  color: #dcb0a0;
  font-size: 0.8rem;
}

.stage-stat-box strong {
  font-size: 1.65rem;
  font-weight: 800;
}

.stage-side,
.portal-side-column {
  display: grid;
  gap: 18px;
}

.compact-head {
  margin-bottom: 14px;
}

.launcher-panel,
.status-panel-home,
.promo-panel,
.community-hub,
.news-card,
.community-column-card,
.service-tile {
  backdrop-filter: blur(10px);
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launcher-tile {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.launcher-tile:hover,
.service-tile:hover,
.notice-mini-item:hover,
.community-mini-item:hover,
.promo-link-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 177, 90, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.launcher-icon,
.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 111, 61, 0.24), rgba(255, 177, 90, 0.2));
  color: #ffe6cf;
  font-family: 'Cinzel', serif;
  font-weight: 800;
}

.launcher-tile strong,
.service-tile strong,
.promo-link-tile strong {
  font-size: 0.98rem;
}

.launcher-tile span:last-child,
.service-tile span:last-child,
.notice-mini-date,
.community-mini-item span,
.promo-link-tile span,
.server-inline-meta span,
.guest-message {
  color: var(--muted);
  line-height: 1.6;
}

.home-account-name {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.single-column-metrics {
  grid-template-columns: 1fr;
}

.status-metric-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-metric-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.status-metric-card strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.server-inline-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.service-tile {
  display: grid;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(21, 12, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.news-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.news-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(23, 14, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.news-card-alt {
  background: linear-gradient(180deg, rgba(28, 18, 18, 0.94), rgba(20, 13, 13, 0.9));
}

.news-card-accent {
  background: linear-gradient(180deg, rgba(52, 24, 18, 0.9), rgba(24, 14, 14, 0.92));
}

.news-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.notice-mini-list {
  display: grid;
  gap: 10px;
}

.notice-mini-item,
.community-mini-item,
.promo-link-tile {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.notice-mini-item strong,
.community-mini-item strong {
  line-height: 1.45;
}

.notice-empty {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.home-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.82fr);
  gap: 18px;
}

.community-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.community-column-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.coupon-inline-form {
  margin-top: 14px;
}

.coupon-summary-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.coupon-summary-box span {
  color: var(--muted);
}

.coupon-summary-box strong {
  font-size: 1.08rem;
  font-weight: 800;
}

.promo-links {
  display: grid;
  gap: 10px;
}

@media (max-width: 1280px) {
  .service-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-showcase,
  .home-lower-grid,
  .home-stage,
  .community-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .launcher-grid,
  .status-metrics,
  .stage-stats,
  .service-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .stage-content {
    min-height: 460px;
    padding: 26px;
  }

  .stage-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 640px) {
  .portal-home {
    padding-top: 18px;
  }

  .launcher-grid,
  .status-metrics,
  .stage-stats,
  .service-ribbon {
    grid-template-columns: 1fr;
  }

  .stage-content,
  .news-card,
  .portal-panel {
    padding: 18px;
  }

  .stage-banner,
  .stage-content {
    min-height: 420px;
  }

  .stage-ticker,
  .server-inline-meta,
  .coupon-summary-box,
  .news-card-head {
    display: grid;
    gap: 10px;
  }
}

:root {
  --bg-0: #f6efe7;
  --bg-1: #fffaf5;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(246, 237, 229, 0.72);
  --line: rgba(133, 99, 76, 0.14);
  --line-strong: rgba(226, 117, 63, 0.22);
  --text: #32211a;
  --muted: #7c6556;
  --accent: #e2753f;
  --accent-2: #efb15e;
  --danger: #d95d5d;
  --success: #2da866;
  --shadow: 0 16px 36px rgba(105, 76, 58, 0.12);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 198, 152, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 243, 0.96), rgba(245, 235, 226, 0.98)),
    url('../homepage.png') center top / cover fixed no-repeat;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.2), rgba(247, 236, 226, 0.6)),
    radial-gradient(circle at 12% 18%, rgba(255, 157, 98, 0.14), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(255, 217, 144, 0.16), transparent 18%);
}

.site-header,
.site-footer {
  background: rgba(255, 248, 241, 0.9);
  border-color: rgba(133, 99, 76, 0.12);
}

.primary-nav a,
.btn-ghost,
.account-stats div,
.metric-card,
.list-row,
.board-row,
.coupon-row,
.request-row,
.history-item,
.status-metric-card,
.community-column-card,
.notice-mini-item,
.community-mini-item,
.promo-link-tile,
.launcher-tile,
.service-tile,
.stage-stat-box,
.stage-ticker,
.coupon-summary-box,
.notice-empty {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(133, 99, 76, 0.12);
  color: var(--text);
}

.primary-nav a {
  color: #4a3125;
}

.primary-nav a:hover,
.primary-nav a.active {
  background: rgba(226, 117, 63, 0.12);
  border-color: rgba(226, 117, 63, 0.26);
}

.primary-nav a.accent {
  background: linear-gradient(135deg, rgba(226, 117, 63, 0.18), rgba(239, 177, 94, 0.16));
}

.account-panel,
.panel,
.hero-card,
.board-card,
.detail-card,
.table-card,
.feature-card,
.portal-panel,
.news-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(133, 99, 76, 0.12);
  box-shadow: var(--shadow);
}

.stage-banner {
  background:
    linear-gradient(110deg, rgba(255, 249, 243, 0.18), rgba(255, 245, 237, 0.88)),
    radial-gradient(circle at 72% 20%, rgba(255, 193, 118, 0.26), transparent 18%),
    radial-gradient(circle at 20% 18%, rgba(255, 147, 92, 0.22), transparent 20%),
    url('../homepage.png') center top / cover no-repeat;
  border-color: rgba(133, 99, 76, 0.12);
}

.stage-banner::before {
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.06), rgba(246, 233, 223, 0.44)),
    linear-gradient(135deg, rgba(255, 145, 86, 0.08), transparent 48%);
}

.stage-copy,
.hero-copy,
.section-copy,
.notice-content,
.post-content,
.account-sub,
.inline-meta,
.board-row-meta,
.footer-copy,
.notice-mini-date,
.community-mini-item span,
.promo-link-tile span,
.server-inline-meta span,
.guest-message,
.launcher-tile span:last-child,
.service-tile span:last-child {
  color: var(--muted);
}

.stage-ticker,
.hero-note {
  color: #6f4c38;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(133, 99, 76, 0.16);
  color: var(--text);
}

.field-label,
table th,
.board-table th {
  color: #8d5f47;
}

.topline {
  box-shadow: 0 0 18px rgba(226, 117, 63, 0.22);
}

.inline-error,
.flash-error,
.status-rejected {
  color: #c14848;
}

.flash-success {
  background: rgba(45, 168, 102, 0.12);
  color: #1e7e4a;
}

.flash-error {
  background: rgba(217, 93, 93, 0.1);
}

.notice-card-accent,
.news-card-accent {
  background: linear-gradient(180deg, rgba(255, 241, 229, 0.96), rgba(255, 251, 247, 0.92));
}

/* Latest homepage/header layout override */
.header-inner {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
}

.primary-nav {
  justify-content: flex-end;
  align-items: center;
}

.primary-nav a {
  padding: 0.76rem 0.92rem;
}

.portal-home {
  padding-top: 18px;
}

.news-showcase-top {
  margin-bottom: 18px;
}

.home-stage {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.78fr);
  align-items: start;
}

.stage-banner,
.stage-content {
  min-height: 390px;
}

.stage-content {
  padding: 28px;
}

.stage-title {
  max-width: 620px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.stage-copy {
  max-width: 560px;
}

.home-login-panel {
  padding: 22px;
}

.home-account-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.home-login-form,
.home-logout-form,
.home-login-links,
.home-server-meta {
  margin-top: 16px;
}

.home-side-actions {
  margin-top: 18px;
}

.home-guest-metrics {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .primary-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .stage-banner,
  .stage-content {
    min-height: 320px;
  }

  .stage-content {
    padding: 22px;
  }

  .home-login-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-copy {
    display: none;
  }

  .primary-nav a {
    width: 100%;
    text-align: center;
  }
}

/* Homepage shortcut list + ranking page */
.vertical-shortcut-list {
  grid-template-columns: 1fr;
}

.launcher-tile-row {
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  min-height: 0;
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
}

.launcher-tile-row .launcher-icon {
  grid-area: icon;
}

.launcher-tile-row strong {
  grid-area: title;
}

.launcher-tile-row span:last-child {
  grid-area: copy;
}

.rank-page {
  padding-top: 18px;
}

.rank-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.78fr);
  gap: 18px;
  margin-bottom: 18px;
}

.rank-hero-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card {
  border-radius: 24px;
}

.rank-hero-card {
  padding: 30px;
  background:
    linear-gradient(110deg, rgba(255, 249, 243, 0.32), rgba(255, 245, 237, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(255, 193, 118, 0.26), transparent 18%),
    radial-gradient(circle at 18% 18%, rgba(255, 147, 92, 0.22), transparent 20%),
    url('../homepage.png') center top / cover no-repeat;
  border: 1px solid rgba(133, 99, 76, 0.12);
  box-shadow: var(--shadow);
}

.rank-title {
  margin: 8px 0 12px;
}

.rank-copy {
  max-width: 720px;
}

.rank-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.rank-search-input {
  flex: 1 1 320px;
  min-width: 0;
}

.rank-query-copy {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(133, 99, 76, 0.12);
  color: var(--muted);
}

.rank-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rank-alert-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.rank-alert-card {
  padding: 16px 18px;
  color: var(--text);
}

.rank-alert-error {
  background: rgba(217, 93, 93, 0.08);
  border-color: rgba(217, 93, 93, 0.18);
  color: #b54747;
}

.rank-table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(133, 99, 76, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.rank-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.rank-table th,
.rank-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(133, 99, 76, 0.1);
  text-align: center;
}

.rank-table th {
  position: sticky;
  top: 0;
  background: rgba(255, 246, 238, 0.98);
  color: #8d5f47;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 1;
}

.rank-table tbody tr:nth-child(even) {
  background: rgba(249, 241, 233, 0.52);
}

.rank-table tbody tr:hover {
  background: rgba(255, 234, 214, 0.7);
}

.rank-name {
  display: inline-block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.rank-number {
  font-weight: 800;
}

.rank-job-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}

.rank-char-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.rank-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.rank-status-badge.is-online {
  background: rgba(45, 168, 102, 0.12);
  color: #1f8e53;
}

.rank-status-badge.is-offline {
  background: rgba(217, 93, 93, 0.1);
  color: #bf4e4e;
}

.rank-pager-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.rank-pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(133, 99, 76, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.rank-pager.is-active {
  background: linear-gradient(135deg, rgba(226, 117, 63, 0.18), rgba(239, 177, 94, 0.16));
  border-color: rgba(226, 117, 63, 0.24);
  font-weight: 800;
}

.rank-pager-muted {
  color: var(--muted);
}

.rank-empty {
  color: var(--muted);
}

.top1 {
  color: #c8861a;
}

.top2 {
  color: #7e8da0;
}

.top3 {
  color: #c57240;
}

@media (max-width: 1180px) {
  .rank-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .rank-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .launcher-tile-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "copy";
  }

  .rank-hero-card {
    padding: 20px;
  }

  .rank-summary-grid {
    grid-template-columns: 1fr;
  }

  .rank-search-form {
    display: grid;
  }
}

/* Homepage login column to the left */
.home-stage > .stage-side {
  order: 1;
}

.home-stage > .stage-banner {
  order: 2;
}

.home-stage {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.3fr);
}

@media (max-width: 1280px) {
  .home-stage > .stage-side,
  .home-stage > .stage-banner {
    order: initial;
  }
}

/* Grouped quick links + homepage coupon block */
.vertical-shortcut-list {
  gap: 0;
  border: 1px solid rgba(133, 99, 76, 0.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
}

.vertical-shortcut-list .launcher-tile-row {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.9);
}

.vertical-shortcut-list .launcher-tile-row + .launcher-tile-row {
  border-top: 1px solid rgba(133, 99, 76, 0.12);
}

.vertical-shortcut-list .launcher-tile-row:hover {
  transform: none;
  background: rgba(255, 245, 237, 0.96);
}

.community-hub-home {
  margin-bottom: 18px;
}

.stage-coupon-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(133, 99, 76, 0.12);
}

.stage-coupon-copy {
  margin-bottom: 12px;
  color: var(--muted);
}

.stage-coupon-form {
  display: grid;
  gap: 12px;
}

.stage-coupon-summary {
  margin-top: 12px;
}

/* Homepage top-left account layout */
.home-top-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.home-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.home-main-stack {
  display: grid;
  gap: 18px;
}

.news-showcase-top,
.community-hub-home {
  margin-bottom: 0;
}

.home-banner-shell {
  margin-bottom: 18px;
}

.home-banner-shell .stage-banner,
.home-banner-shell .stage-content {
  min-height: 380px;
}

@media (max-width: 1180px) {
  .home-top-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .home-top-layout {
    grid-template-columns: 1fr;
  }
}

/* Tiny quick links docked to the left of login */
.home-sidebar {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
}

.home-sidebar .launcher-panel {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  overflow: hidden;
}

.home-sidebar .launcher-panel .panel-head {
  display: none;
}

.home-sidebar .home-login-panel {
  grid-column: 2;
  grid-row: 1;
}

.home-sidebar .vertical-shortcut-list {
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.home-sidebar .vertical-shortcut-list .launcher-tile-row {
  grid-template-columns: 1fr;
  grid-template-areas:
    "icon"
    "title";
  justify-items: center;
  align-items: center;
  min-height: 68px;
  padding: 8px 6px;
  row-gap: 5px;
  text-align: center;
}

.home-sidebar .vertical-shortcut-list .launcher-tile-row span:last-child {
  display: none;
}

.home-sidebar .vertical-shortcut-list .launcher-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.home-sidebar .vertical-shortcut-list strong {
  font-size: 0.69rem;
  line-height: 1.2;
  word-break: keep-all;
}

@media (max-width: 1180px) {
  .home-sidebar {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .home-top-layout {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  }

  .home-sidebar {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .home-top-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}

/* Stronger logout / danger button */
.btn-danger {
  background: linear-gradient(135deg, #cf3f3f, #a91f1f);
  color: #fff7f7;
  border-color: rgba(132, 19, 19, 0.72);
  box-shadow: 0 10px 20px rgba(169, 31, 31, 0.22);
  font-weight: 800;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #b92e2e, #8f1818);
  border-color: rgba(111, 16, 16, 0.82);
}

/* Smaller bonus coupon cards in cash center */
.compact-coupon-row {
  padding: 8px 10px;
  gap: 2px;
  border-radius: 10px;
}

.compact-coupon-row .detail-title {
  font-size: 0.92rem;
}

.compact-coupon-row .list-meta {
  font-size: 0.8rem;
  line-height: 1.35;
}
/* 紐⑤컮??硫붾돱 遺덊렪??媛쒖꽑 */
@media (max-width: 900px) {
  .site-header {
    position: static !important;
    top: auto !important;
  }

  .header-inner {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .primary-nav {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .primary-nav a {
    width: auto !important;
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 0.72rem 0.8rem !important;
  }

  .rank-table th {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .primary-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .primary-nav a {
    width: 100% !important;
  }
}


/* Official portal refresh */
:root {
  --bg-0: #f7efe5;
  --bg-1: #efe2d0;
  --surface: rgba(255, 251, 246, 0.92);
  --surface-soft: rgba(255, 245, 235, 0.82);
  --line: rgba(130, 97, 70, 0.14);
  --line-strong: rgba(205, 137, 77, 0.26);
  --text: #40281a;
  --muted: #7d6150;
  --accent: #c97434;
  --accent-2: #efbb5d;
  --danger: #b62a2a;
  --success: #2a9a66;
  --shadow: 0 22px 54px rgba(102, 69, 45, 0.14);
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.92), rgba(242, 230, 214, 0.94)),
    radial-gradient(circle at top, rgba(255, 198, 112, 0.16), transparent 24%),
    var(--site-background-image) center top / cover fixed no-repeat;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(240, 228, 211, 0.58)),
    radial-gradient(circle at 12% 16%, rgba(255, 170, 108, 0.18), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(255, 220, 148, 0.18), transparent 20%);
}

.topline {
  height: 5px;
  background: linear-gradient(90deg, #f4b35f, #df7d3f, #f5d58c, #c96f35);
  box-shadow: 0 0 18px rgba(201, 116, 52, 0.2);
}

.site-header {
  background: rgba(255, 250, 244, 0.9);
  border-bottom: 1px solid rgba(130, 97, 70, 0.12);
  box-shadow: 0 18px 36px rgba(114, 84, 58, 0.08);
}

.header-inner {
  grid-template-columns: 280px minmax(0, 1fr) 240px;
  gap: 20px;
}

.brand-copy,
.hero-copy,
.page-lead,
.notice-content,
.post-content,
.section-copy,
.list-meta,
.board-row-meta,
.inline-meta,
.footer-copy,
.official-mini-copy,
.market-preview-meta,
.service-feature-copy,
.service-feature-foot,
.official-account-note,
.official-coupon-footnote {
  color: var(--muted);
}

.brand-title,
.hero-title,
.page-title,
.panel-title,
.section-title,
.footer-title,
.stage-title {
  color: #332014;
}

.brand-mark {
  background: linear-gradient(135deg, #9e4e22, #f2bf72);
  color: #fffdf7;
  box-shadow: 0 16px 36px rgba(185, 110, 47, 0.24);
}

.brand-mark.has-image {
  background-size: cover;
  background-position: center;
}

.brand-eyebrow,
.hero-eyebrow,
.section-eyebrow {
  color: #cb7c43;
}

.primary-nav {
  justify-content: center;
  gap: 10px;
}

.primary-nav a {
  padding: 0.84rem 0.96rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(130, 97, 70, 0.12);
  color: #573827;
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.primary-nav a:hover,
.primary-nav a.active {
  background: linear-gradient(135deg, rgba(205, 116, 52, 0.92), rgba(239, 187, 93, 0.92));
  border-color: rgba(181, 110, 57, 0.36);
  color: #fffdf8;
}

.primary-nav a.accent {
  background: linear-gradient(135deg, rgba(205, 116, 52, 0.18), rgba(239, 187, 93, 0.24));
}

.header-utility {
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: end;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 244, 231, 0.94));
  border: 1px solid rgba(130, 97, 70, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header-utility-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #c57a44;
}

.header-utility-title {
  font-weight: 800;
  color: #42291b;
}

.header-utility-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.header-utility-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(246, 232, 214, 0.92);
  border: 1px solid rgba(130, 97, 70, 0.1);
}

.account-panel,
.panel,
.hero-card,
.board-card,
.metric-card,
.detail-card,
.table-card,
.feature-card,
.news-card,
.community-column-card,
.service-feature-card,
.official-stage-main,
.official-mini-panel,
.official-market-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 242, 0.94));
  border: 1px solid rgba(130, 97, 70, 0.12);
  box-shadow: var(--shadow);
  color: var(--text);
}

.news-card,
.community-column-card,
.service-feature-card,
.official-mini-panel,
.official-market-panel,
.official-stage-main {
  border-radius: 28px;
}

table th,
table td,
.board-table th,
.board-table td {
  border-bottom: 1px solid rgba(130, 97, 70, 0.1);
}

table th,
.board-table th {
  background: rgba(250, 240, 229, 0.82);
  color: #a06645;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  border: 1px solid rgba(130, 97, 70, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(201, 116, 52, 0.42);
  box-shadow: 0 0 0 3px rgba(201, 116, 52, 0.1);
}

.btn {
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, #c86f36, #efba5c);
  color: #fffdf8;
  box-shadow: 0 12px 24px rgba(201, 116, 52, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #58382a;
  border-color: rgba(130, 97, 70, 0.14);
}

.btn-success {
  background: linear-gradient(135deg, rgba(42, 154, 102, 0.14), rgba(42, 154, 102, 0.22));
  color: #1f7c52;
  border-color: rgba(42, 154, 102, 0.16);
}

.flash-success {
  background: rgba(42, 154, 102, 0.12);
  color: #216e4c;
}

.flash-error {
  background: rgba(182, 42, 42, 0.1);
  color: #942626;
}

.inline-error {
  color: #a32626;
  font-weight: 700;
}

.notice-mini-item,
.community-mini-item,
.market-preview-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(130, 97, 70, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.notice-mini-item:hover,
.community-mini-item:hover,
.market-preview-item:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 116, 52, 0.24);
  box-shadow: 0 16px 28px rgba(141, 97, 62, 0.12);
}

.notice-mini-date {
  color: #b37a58;
  font-weight: 700;
  font-size: 0.76rem;
}

.portal-home {
  padding-top: 30px;
  padding-bottom: 32px;
}

.official-home-top {
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.52fr);
  gap: 20px;
  align-items: start;
}

.official-home-sidebar {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-self: start;
}

.official-dock-panel {
  padding: 0;
  overflow: hidden;
}

.official-dock-panel .panel-head {
  display: none;
}

.official-dock-list {
  gap: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
}

.official-dock-list .launcher-tile-row {
  grid-template-columns: 1fr;
  grid-template-areas:
    "icon"
    "title";
  justify-items: center;
  min-height: 74px;
  padding: 9px 6px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.92);
}

.official-dock-list .launcher-tile-row + .launcher-tile-row {
  border-top: 1px solid rgba(130, 97, 70, 0.1);
}

.official-dock-list .launcher-tile-row span:last-child {
  display: none;
}

.official-dock-list .launcher-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 0.72rem;
  background: linear-gradient(135deg, #c97137, #efbc5d);
  color: #fffdf7;
}

.official-dock-list strong {
  font-size: 0.72rem;
  line-height: 1.15;
}

.official-login-panel {
  padding: 24px;
  border-radius: 28px;
}

.official-main-stack {
  gap: 20px;
}

.official-guest-copy {
  margin-bottom: 16px;
}

.official-account-note {
  margin-top: 10px;
  line-height: 1.6;
}

.official-side-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.official-metric-stack {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.status-metric-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(130, 97, 70, 0.1);
  border-radius: 18px;
}

.official-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.official-news-card {
  position: relative;
  overflow: hidden;
}

.official-news-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
}

.official-news-card-notice::before {
  background: linear-gradient(90deg, #d47f45, #efba5c);
}

.official-news-card-update::before {
  background: linear-gradient(90deg, #be7f4b, #f0c071);
}

.official-news-card-event::before {
  background: linear-gradient(90deg, #d76345, #f09c5d);
}

.official-stage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 340px;
  gap: 18px;
}

.official-stage-main {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 34px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.8), rgba(255, 246, 235, 0.92)),
    radial-gradient(circle at 78% 18%, rgba(255, 203, 120, 0.24), transparent 18%),
    radial-gradient(circle at 16% 18%, rgba(214, 122, 66, 0.18), transparent 20%),
    var(--site-background-image) center center / cover no-repeat;
}

.official-stage-main::after {
  content: "";
  position: absolute;
  inset: auto -90px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 189, 102, 0.26), rgba(242, 189, 102, 0));
}

.official-stage-main > * {
  position: relative;
  z-index: 1;
}

.official-stage-stats {
  margin-top: 28px;
}

.official-stage-stats .stage-stat-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(130, 97, 70, 0.12);
}

.official-stage-side {
  display: grid;
  gap: 18px;
}

.official-mini-panel {
  padding: 22px;
}

.official-coupon-form {
  margin-top: 14px;
  gap: 12px;
}

.official-coupon-footnote {
  margin-top: 12px;
  line-height: 1.6;
}

.prepared-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.prepared-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(130, 97, 70, 0.1);
}

.prepared-item strong {
  color: #472b1b;
}

.official-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.official-community-panel {
  margin-bottom: 0;
}

.official-community-card {
  background: rgba(255, 255, 255, 0.62);
}

.market-preview-list {
  display: grid;
  gap: 12px;
}

.market-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.service-feature-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 116, 52, 0.24);
  box-shadow: 0 22px 42px rgba(123, 86, 57, 0.14);
}

.service-feature-foot {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(245, 232, 214, 0.9);
  border: 1px solid rgba(130, 97, 70, 0.1);
  font-size: 0.78rem;
}

.site-footer {
  border-top: 1px solid rgba(130, 97, 70, 0.12);
  background: rgba(255, 249, 242, 0.84);
}

.footer-links a {
  color: #6b4b38;
}

@media (max-width: 1280px) {
  .header-inner {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .header-utility {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .header-utility-copy {
    justify-content: flex-start;
  }

  .official-stage-panel,
  .official-content-grid,
  .service-lineup-grid {
    grid-template-columns: 1fr 1fr;
  }

  .official-content-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .official-home-top {
    grid-template-columns: 1fr;
  }

  .official-news-grid,
  .service-lineup-grid,
  .official-stage-panel,
  .official-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .official-home-sidebar {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .official-side-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1380px);
  }

  .official-home-sidebar {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .official-stage-main,
  .official-login-panel,
  .service-feature-card,
  .official-mini-panel {
    padding: 20px;
  }

  .stage-title,
  .hero-title,
  .page-title {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .stage-actions,
  .stage-actions-compact,
  .header-utility-copy {
    display: grid;
  }
}

/* MixMaster-inspired homepage refinement */
.site-header {
  top: 14px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.78);
  border: 1px solid rgba(130, 97, 70, 0.12);
  box-shadow: 0 20px 38px rgba(112, 80, 55, 0.12);
}

.mixmaster-stage-panel {
  grid-template-columns: minmax(0, 1.6fr) 340px;
}

.mixmaster-stage-main {
  min-height: 450px;
  background:
    linear-gradient(125deg, rgba(255, 253, 249, 0.76), rgba(255, 242, 226, 0.9)),
    radial-gradient(circle at 82% 18%, rgba(255, 191, 104, 0.24), transparent 18%),
    radial-gradient(circle at 16% 18%, rgba(214, 122, 66, 0.16), transparent 20%),
    var(--site-background-image) center center / cover no-repeat;
}

.mixmaster-stage-main::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(201, 116, 52, 0.12), rgba(239, 187, 93, 0.22));
  transform: rotate(18deg);
}

.mixmaster-stage-main .stage-title {
  max-width: 760px;
}

.mix-support-panel {
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(255, 243, 231, 0.96));
}

.mix-support-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mix-support-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.mixmaster-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.mixmaster-menu-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 236, 0.96));
  border: 1px solid rgba(130, 97, 70, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.mixmaster-menu-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d47f45, #efba5c);
}

.mixmaster-menu-card .panel-title {
  margin-bottom: 0;
}

.mixmaster-menu-links {
  display: grid;
  gap: 10px;
}

.mixmaster-menu-links a,
.mixmaster-menu-links span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(130, 97, 70, 0.1);
  color: #573827;
  font-weight: 700;
}

.mixmaster-menu-links a:hover {
  border-color: rgba(201, 116, 52, 0.22);
  transform: translateY(-1px);
}

.mixmaster-menu-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(255, 238, 225, 0.98));
}

.mixmaster-menu-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(255, 248, 241, 0.96), rgba(255, 241, 225, 0.96));
}

.official-news-card,
.official-market-panel,
.official-community-card,
.mixmaster-menu-card,
.mix-support-panel,
.official-login-panel,
.official-coupon-panel,
.mixmaster-stage-main {
  backdrop-filter: blur(12px);
}

@media (max-width: 1280px) {
  .mixmaster-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .mixmaster-stage-panel,
  .mixmaster-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    border-radius: 28px;
  }

  .mixmaster-menu-card {
    padding: 20px;
  }
}

/* Enterprise readability refresh */
body {
  background:
    linear-gradient(180deg, rgba(250, 244, 236, 0.98), rgba(240, 229, 214, 0.98)),
    var(--site-background-image) center top / cover fixed no-repeat;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(236, 223, 206, 0.44)),
    radial-gradient(circle at 10% 12%, rgba(255, 192, 120, 0.12), transparent 18%),
    radial-gradient(circle at 86% 10%, rgba(255, 214, 158, 0.12), transparent 18%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 251, 246, 0.96);
  border-bottom: 1px solid rgba(122, 88, 61, 0.12);
  box-shadow: 0 12px 30px rgba(92, 64, 41, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 16px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header .brand-eyebrow,
.site-header .brand-copy,
.header-utility {
  display: none;
}

.brand-block {
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.brand-title {
  font-size: 1.38rem;
  letter-spacing: -0.02em;
}

.primary-nav {
  justify-content: flex-start;
  gap: 8px;
}

.primary-nav a {
  padding: 0.72rem 0.88rem;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: #38251a;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: none;
}

.primary-nav a:hover,
.primary-nav a.active {
  background: #2f2118;
  color: #fffaf6;
}

.primary-nav a.accent {
  background: rgba(201, 116, 52, 0.12);
  color: #8b4f28;
}

.primary-nav a.accent:hover,
.primary-nav a.accent.active {
  background: linear-gradient(135deg, #c97434, #e6a84f);
  color: #fffdf8;
}

.page-shell,
.portal-home {
  padding-top: 108px;
}

.page-hero {
  padding-top: 24px;
}

.hero-eyebrow,
.section-eyebrow {
  color: #a65f33;
}

.stage-title,
.hero-title,
.page-title {
  letter-spacing: -0.04em;
}

.stage-copy,
.guest-message,
.official-coupon-footnote,
.footer-copy,
.list-meta,
.inline-meta,
.notice-content,
.post-content {
  color: #5f4a3b;
}

.official-news-card,
.official-market-panel,
.official-login-panel,
.official-coupon-panel,
.mix-support-panel,
.mixmaster-menu-card,
.official-community-card,
.mixmaster-stage-main {
  background: rgba(255, 252, 248, 0.95);
  border-color: rgba(122, 88, 61, 0.12);
  box-shadow: 0 22px 42px rgba(101, 71, 46, 0.1);
}

.mixmaster-stage-main {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(251, 241, 227, 0.92)),
    var(--site-background-image) center center / cover no-repeat;
}

.mixmaster-stage-main::before {
  opacity: 0.55;
}

.notice-mini-item,
.community-mini-item,
.market-preview-item,
.mixmaster-menu-links a,
.mixmaster-menu-links span,
.status-metric-card {
  background: #fffdfa;
  border-color: rgba(122, 88, 61, 0.12);
}

.notice-mini-item strong,
.community-mini-item strong,
.market-preview-item strong,
.mixmaster-menu-links a,
.mixmaster-menu-links span,
.detail-title,
.panel-title,
.section-title {
  color: #2e1f16;
}

.status-chip,
.admin-chip {
  background: rgba(201, 116, 52, 0.14);
  color: #8a4f29;
}

.site-footer {
  background: rgba(255, 248, 241, 0.94);
  border-top: 1px solid rgba(122, 88, 61, 0.12);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .portal-home {
    padding-top: 96px;
  }

  .primary-nav a {
    white-space: nowrap;
  }
}

/* Global studio-site polish */
.page-hero {
  padding-top: 30px;
  padding-bottom: 22px;
}

.page-hero .hero-card:first-child,
.rank-hero-card,
.official-stage-main {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 240, 229, 0.96)),
    var(--site-background-image) center center / cover no-repeat;
  border: 1px solid rgba(125, 89, 61, 0.12);
  box-shadow: 0 26px 54px rgba(95, 66, 43, 0.12);
}

.page-hero .hero-card:last-child,
.panel,
.table-card,
.detail-card,
.community-column-card,
.official-market-panel,
.official-coupon-panel,
.mix-support-panel,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card {
  background: rgba(255, 252, 249, 0.96);
  border: 1px solid rgba(125, 89, 61, 0.12);
  box-shadow: 0 18px 38px rgba(95, 66, 43, 0.08);
}

.hero-title,
.page-title,
.rank-title,
.stage-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.panel-title,
.section-title,
.detail-title {
  letter-spacing: -0.02em;
}

.hero-copy,
.page-lead,
.section-copy,
.stage-copy,
.rank-copy {
  max-width: 64ch;
  line-height: 1.7;
}

.panel,
.table-card,
.detail-card,
.hero-card,
.rank-hero-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card {
  border-radius: 26px;
}

.two-column,
.admin-grid,
.board-list,
.metric-grid,
.community-split,
.official-content-grid,
.mixmaster-menu-grid {
  gap: 18px;
}

.panel-head,
.section-head,
.detail-head {
  margin-bottom: 18px;
}

.notice-mini-list,
.market-preview-list,
.mixmaster-menu-links,
.prepared-list,
.mix-support-links {
  gap: 12px;
}

.board-form,
.admin-form,
.login-form {
  display: grid;
  gap: 14px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  min-height: 48px;
  padding: 13px 15px;
  border-radius: 16px;
}

textarea {
  min-height: 180px;
}

.table-wrap {
  border-radius: 22px;
  border: 1px solid rgba(125, 89, 61, 0.1);
  background: rgba(255, 255, 255, 0.75);
}

table th,
.board-table th {
  background: rgba(248, 238, 226, 0.96);
  color: #8d5a39;
  font-size: 0.82rem;
}

table td,
.board-table td {
  color: #3a2a1f;
}

.rank-table-wrap {
  border-radius: 22px;
  border: 1px solid rgba(125, 89, 61, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.rank-table th {
  background: rgba(248, 238, 226, 0.98);
  color: #8d5a39;
}

.rank-table tbody tr:nth-child(even) {
  background: rgba(248, 240, 232, 0.62);
}

.rank-table tbody tr:hover {
  background: rgba(255, 236, 214, 0.88);
}

.btn {
  min-height: 46px;
  border-radius: 14px;
}

.btn-small {
  min-height: 38px;
  border-radius: 12px;
}

.post-gallery {
  gap: 14px;
}

.post-image-card,
.post-image-card img {
  border-radius: 18px;
}

.site-footer .footer-copy {
  display: none;
}

.footer-inner {
  min-height: 82px;
}

@media (max-width: 900px) {
  .hero-title,
  .page-title,
  .rank-title,
  .stage-title {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
  }
}

/* GSAP motion and premium portal pass */
body.motion-enabled {
  overflow-x: hidden;
}

.site-header {
  background: linear-gradient(180deg, rgba(12, 17, 28, 0.96), rgba(18, 24, 36, 0.92));
  border-bottom: 1px solid rgba(233, 193, 148, 0.18);
  box-shadow: 0 18px 44px rgba(6, 10, 18, 0.28);
}

.header-inner {
  min-height: 82px;
}

.brand-title {
  color: #fff5e7;
  letter-spacing: 0.08em;
}

.brand-mark {
  background: linear-gradient(135deg, #b55e32, #e5a869 58%, #f6d8a6);
  box-shadow: 0 18px 36px rgba(181, 94, 50, 0.26);
}

.primary-nav a {
  color: rgba(248, 239, 230, 0.78);
}

.primary-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 222, 183, 0.14);
  transform: translateY(-1px);
}

.primary-nav a.active {
  color: #21140a;
  background: linear-gradient(135deg, #f0c28d, #fff0d9);
  border-color: rgba(255, 226, 188, 0.42);
  box-shadow: 0 12px 28px rgba(226, 177, 117, 0.22);
}

.primary-nav a.accent {
  border-color: rgba(239, 194, 129, 0.22);
}

body[data-page="home"] .official-stage-panel {
  align-items: stretch;
  gap: 20px;
  perspective: 1600px;
}

body[data-page="home"] .official-stage-main {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(12, 18, 29, 0.94), rgba(57, 34, 22, 0.72)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--site-background-image) center center / cover no-repeat;
  border: 1px solid rgba(255, 221, 187, 0.18);
  box-shadow: 0 30px 70px rgba(8, 12, 20, 0.26);
}

body[data-page="home"] .official-stage-main::before {
  opacity: 0.88;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 219, 167, 0.34), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(255, 175, 113, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 66%);
}

body[data-page="home"] .official-stage-main::after {
  content: '';
  position: absolute;
  right: -14%;
  bottom: -28%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 222, 178, 0.18), transparent 68%);
  pointer-events: none;
}

body[data-page="home"] .official-stage-main > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .official-stage-main .stage-title {
  max-width: 8.8ch;
  color: #fff5e8;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

body[data-page="home"] .official-stage-main .stage-copy {
  color: rgba(246, 236, 225, 0.82);
  max-width: 46ch;
}

body[data-page="home"] .stage-ticker {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 225, 190, 0.16);
  color: #fff0dd;
  backdrop-filter: blur(12px);
}

body[data-page="home"] .stage-ticker strong {
  color: #ffd29d;
}

body[data-page="home"] .stage-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 225, 190, 0.14);
  box-shadow: none;
}

body[data-page="home"] .stage-stat-box span {
  color: rgba(255, 233, 210, 0.7);
}

body[data-page="home"] .stage-stat-box strong {
  color: #ffffff;
}

.page-hero .hero-card:first-child,
.rank-hero-card {
  background:
    linear-gradient(135deg, rgba(12, 18, 29, 0.92), rgba(64, 39, 25, 0.74)),
    var(--site-background-image) center center / cover no-repeat;
}

.page-hero .hero-card:first-child .page-title,
.rank-hero-card .rank-title,
.page-hero .hero-card:first-child .section-title {
  color: #fff5e8;
}

.page-hero .hero-card:first-child .page-lead,
.rank-hero-card .rank-copy,
.page-hero .hero-card:first-child .section-copy,
.page-hero .hero-card:first-child .list-meta {
  color: rgba(245, 237, 228, 0.82);
}

.official-news-card,
.mixmaster-menu-card,
.official-market-panel,
.community-column-card,
.official-mini-panel,
.panel,
.table-card,
.detail-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.page-hero .hero-card,
.rank-hero-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.official-news-card:hover,
.mixmaster-menu-card:hover,
.official-market-panel:hover,
.community-column-card:hover,
.official-mini-panel:hover,
.panel:hover,
.table-card:hover,
.detail-card:hover,
.rank-summary-card:hover,
.rank-table-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 136, 88, 0.24);
  box-shadow: 0 24px 48px rgba(33, 25, 18, 0.14);
}

.notice-mini-item,
.community-mini-item,
.market-preview-item,
.mixmaster-menu-links a,
.launcher-tile {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.notice-mini-item:hover,
.community-mini-item:hover,
.market-preview-item:hover,
.mixmaster-menu-links a:hover,
.launcher-tile:hover {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, #d18949, #f0bc7a);
  border-color: transparent;
  color: #2f1908;
  box-shadow: 0 14px 28px rgba(209, 137, 73, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(209, 137, 73, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(126, 88, 57, 0.16);
}

.btn-danger {
  background: linear-gradient(135deg, #c42e2e, #df4c4c);
  color: #ffffff;
}

.motion-ready .official-stage-main,
.motion-ready .official-news-card,
.motion-ready .official-mini-panel,
.motion-ready .mixmaster-menu-card,
.motion-ready .panel,
.motion-ready .table-card,
.motion-ready .detail-card,
.motion-ready .rank-summary-card,
.motion-ready .rank-table-panel,
.motion-ready .rank-alert-card,
.motion-ready .page-hero .hero-card,
.motion-ready .rank-hero-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@media (max-width: 960px) {
  body[data-page="home"] .official-stage-main {
    min-height: 360px;
    padding: 34px 28px;
  }

  body[data-page="home"] .official-stage-main .stage-title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .official-news-card,
  .mixmaster-menu-card,
  .official-market-panel,
  .community-column-card,
  .official-mini-panel,
  .panel,
  .table-card,
  .detail-card,
  .rank-summary-card,
  .rank-table-panel,
  .rank-alert-card,
  .page-hero .hero-card,
  .rank-hero-card,
  .notice-mini-item,
  .community-mini-item,
  .market-preview-item,
  .mixmaster-menu-links a,
  .launcher-tile,
  .btn-primary,
  .primary-nav a {
    transition: none;
  }
}

/* Classic MMORPG portal frame */
.site-header.classic-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.classic-site-header .site-header-utility {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.98));
  border-bottom: 1px solid rgba(145, 168, 222, 0.38);
}

.classic-site-header .site-header-utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.classic-site-header .site-header-utility-links {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
}

.classic-site-header .site-header-utility-links a,
.classic-site-header .header-account-tag {
  color: #5b6791;
  text-decoration: none;
}

.classic-site-header .site-header-brand-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 252, 255, 0.98));
  border-bottom: 3px solid #f05d4f;
}

.classic-site-header .site-header-brand-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.classic-site-header .brand-block {
  gap: 10px;
}

.classic-site-header .brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(56, 88, 167, 0.24);
}

.classic-site-header .brand-title {
  color: #28417c;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.classic-site-header .site-header-nav-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 255, 0.99));
  border-bottom: 1px solid rgba(126, 154, 221, 0.4);
  box-shadow: 0 12px 24px rgba(62, 79, 129, 0.08);
}

.classic-site-header .header-inner {
  display: block;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.classic-site-header .primary-nav {
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
}

.classic-site-header .primary-nav a {
  min-width: 96px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #20315d;
  font-size: 1rem;
  font-weight: 800;
}

.classic-site-header .primary-nav a:hover {
  color: #1b2c57;
  background: rgba(98, 149, 255, 0.1);
  border-color: rgba(94, 134, 221, 0.18);
  transform: translateY(-1px);
}

.classic-site-header .primary-nav a.active {
  color: #12367f;
  background: linear-gradient(180deg, #ecf4ff, #d9e8ff);
  border-color: rgba(105, 138, 216, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.classic-site-header .primary-nav a.accent {
  color: #a53c2c;
}

.page-shell,
.portal-home {
  padding-top: 182px;
}

body[data-page="home"] {
  background:
    linear-gradient(180deg, #d6ebff 0, #d6ebff 300px, #f8efd8 300px, #f4ead3 100%);
}

body[data-page="home"]::before {
  content: '';
  position: fixed;
  inset: 170px 0 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 248, 229, 0.25)),
    var(--site-background-image) center top / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

.classic-home-shell {
  max-width: 1120px;
}

.classic-home-stage {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 230px;
  gap: 14px;
  align-items: start;
}

.classic-home-left,
.classic-home-right {
  display: grid;
  gap: 14px;
}

.classic-home-center {
  display: grid;
  gap: 14px;
}

.classic-blue-panel {
  border-radius: 18px;
  border: 3px solid #6aa7ff;
  background: linear-gradient(180deg, #77b8ff, #4f8df0 36%, #5c94f2 100%);
  box-shadow: 0 18px 30px rgba(38, 67, 143, 0.16);
  padding: 12px;
}

.classic-panel-title {
  font-size: 1.02rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(25, 50, 112, 0.4);
}

.classic-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.classic-panel-head a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.classic-menu-stack {
  display: grid;
  gap: 10px;
}

.classic-menu-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 18px rgba(31, 53, 109, 0.18);
}

.classic-menu-item strong {
  display: block;
  font-size: 1rem;
}

.classic-menu-item span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.94;
}

.classic-menu-item.is-red { background: linear-gradient(180deg, #ff8f7f, #ff5e5e); }
.classic-menu-item.is-orange { background: linear-gradient(180deg, #ffbf6a, #ff8d3c); }
.classic-menu-item.is-violet { background: linear-gradient(180deg, #c58eff, #8b68ff); }
.classic-menu-item.is-blue { background: linear-gradient(180deg, #7bb5ff, #447eff); }
.classic-menu-item.is-gold { background: linear-gradient(180deg, #f0d96f, #dca628); }
.classic-menu-item.is-green { background: linear-gradient(180deg, #78d996, #2dbb7d); }
.classic-menu-item.is-sky { background: linear-gradient(180deg, #73dcff, #3da7ff); }
.classic-menu-item.is-pink { background: linear-gradient(180deg, #ff97c9, #ff5c98); }

.classic-menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.classic-member-panel {
  background: linear-gradient(180deg, #73b5ff, #5a92f1 44%, #4d84e1 100%);
}

.classic-member-name {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.classic-member-meta {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.classic-member-stats {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.classic-member-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #f7fbff;
}

.classic-member-stats strong {
  font-size: 1rem;
}

.classic-member-actions,
.classic-login-form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.classic-login-form input {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.classic-member-links {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.classic-member-links a {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.classic-visual-board {
  position: relative;
  min-height: 410px;
  padding: 26px 28px 24px 330px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid #78b4ff;
  background:
    linear-gradient(180deg, rgba(115, 171, 255, 0.2), rgba(33, 92, 182, 0.38)),
    var(--site-background-image) center center / cover no-repeat,
    linear-gradient(180deg, #cfe5ff, #8ab8ff 55%, #6d9cff);
  box-shadow: 0 24px 38px rgba(39, 72, 146, 0.22);
}

.classic-visual-board::after {
  content: '';
  position: absolute;
  inset: auto -80px -110px auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
}

.classic-visual-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.classic-visual-logo {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(180deg, #ffb25d, #f05c39);
  box-shadow: 0 18px 34px rgba(162, 76, 40, 0.24);
}

.classic-visual-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(31, 43, 86, 0.28);
}

.classic-visual-copy p {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
}

.classic-visual-actions,
.classic-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.classic-headline-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(28, 73, 153, 0.72);
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.classic-headline-bar strong {
  color: #ffe89c;
}

.classic-popup-card {
  position: absolute;
  top: 24px;
  left: 22px;
  width: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #6aa7ff;
  background: linear-gradient(180deg, #7db6ff, #5f95ee 18%, #f8cfe2 18%, #f6d8ea 100%);
  box-shadow: 0 20px 34px rgba(37, 62, 122, 0.24);
  z-index: 2;
}

.classic-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.classic-popup-body {
  min-height: 250px;
  padding: 22px 18px 18px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.classic-popup-title {
  font-size: 2rem;
  line-height: 1.04;
  font-weight: 900;
  color: #cb2b92;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}

.classic-popup-copy {
  color: #66406f;
  line-height: 1.7;
  font-size: 0.92rem;
}

.classic-tab-grid,
.classic-lower-grid {
  display: grid;
  gap: 14px;
}

.classic-tab-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.classic-lower-grid {
  grid-template-columns: 1.25fr 1fr;
}

.classic-board-panel {
  padding: 12px;
}

.classic-board-list {
  display: grid;
  gap: 8px;
}

.classic-board-list.compact {
  gap: 6px;
}

.classic-board-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  color: #233762;
}

.classic-board-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classic-board-row em {
  font-style: normal;
  color: #6c7aa2;
  font-size: 0.78rem;
}

.classic-board-row.simple {
  grid-template-columns: minmax(0, 1fr) auto;
}

.classic-board-empty {
  min-height: 42px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #4f618d;
}

.classic-chip {
  min-width: 54px;
  padding: 6px 8px;
  border-radius: 999px;
  text-align: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.classic-chip.is-red { background: #ff5a69; }
.classic-chip.is-blue { background: #4a82ff; }
.classic-chip.is-pink { background: #db57c4; }
.classic-chip.is-gold { background: #e1a72f; }

.classic-two-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.classic-subtitle {
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 900;
}

.classic-status-panel,
.classic-rank-panel {
  padding: 14px;
}

.classic-status-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}

.classic-status-bar {
  height: 18px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.classic-status-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, #d9c5ff, #7f62ff);
}

.classic-banner-stack {
  display: grid;
  gap: 12px;
}

.classic-banner-card {
  min-height: 104px;
  padding: 16px 18px;
  border-radius: 18px;
  display: grid;
  align-content: center;
  gap: 6px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(40, 66, 131, 0.18);
}

.classic-banner-card strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.classic-banner-card span {
  font-size: 0.85rem;
  opacity: 0.92;
}

.classic-banner-card.is-coupon { background: linear-gradient(135deg, #6ca8ff, #2f6ee5); }
.classic-banner-card.is-charge { background: linear-gradient(135deg, #7fcbff, #3b9cff); }
.classic-banner-card.is-market { background: linear-gradient(135deg, #8f8cff, #5f64ef); }

.classic-guide-list {
  display: grid;
  gap: 8px;
}

.classic-guide-list a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #21325a;
  text-decoration: none;
  font-weight: 800;
}

body[data-page="home"] .site-footer {
  background: linear-gradient(180deg, rgba(49, 79, 161, 0.94), rgba(38, 60, 124, 0.96));
}

body[data-page="home"] .footer-title,
body[data-page="home"] .footer-links a {
  color: #f5f9ff;
}

@media (max-width: 1180px) {
  .classic-home-stage {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .classic-home-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .page-shell,
  .portal-home {
    padding-top: 196px;
  }

  .classic-site-header .primary-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .classic-home-stage,
  .classic-home-right,
  .classic-tab-grid,
  .classic-lower-grid,
  .classic-two-list {
    grid-template-columns: 1fr;
  }

  .classic-visual-board {
    padding: 24px;
  }

  .classic-popup-card {
    position: static;
    width: auto;
    margin-bottom: 18px;
  }
}

/* Global classic portal theme */
body {
  background:
    linear-gradient(180deg, rgba(227, 239, 255, 0.92), rgba(248, 239, 216, 0.92)),
    var(--site-background-image) center top / cover fixed no-repeat;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 247, 228, 0.32));
  pointer-events: none;
  z-index: -1;
}

.page-shell {
  max-width: 1120px;
}

.page-hero,
.premium-content-grid,
.two-column,
.board-list,
.webshop-page,
.webshop-layout,
.webshop-hero-grid,
.hero-grid {
  position: relative;
  z-index: 1;
}

.page-hero .hero-card:first-child,
.rank-hero-card,
.webshop-hero-card,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel,
.panel,
.table-card,
.detail-card,
.community-column-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.portal-panel {
  border-radius: 20px;
  border: 3px solid #6aa7ff;
  background: linear-gradient(180deg, rgba(122, 181, 255, 0.96), rgba(81, 143, 240, 0.96));
  box-shadow: 0 18px 30px rgba(38, 67, 143, 0.16);
}

.page-hero .hero-card:last-child,
.summary-hero-card,
.panel,
.table-card,
.detail-card,
.community-column-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel {
  background: linear-gradient(180deg, rgba(117, 177, 255, 0.98), rgba(82, 137, 236, 0.98));
}

.page-hero .hero-card,
.rank-hero-card,
.webshop-hero-card,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel,
.panel,
.table-card,
.detail-card,
.community-column-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card {
  padding: 18px;
}

.hero-title,
.page-title,
.rank-title,
.section-title,
.panel-title,
.detail-title,
.classic-panel-title {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(25, 50, 112, 0.35);
}

.hero-eyebrow,
.section-eyebrow,
.metric-label,
.list-meta,
.inline-meta,
.hero-copy,
.page-lead,
.section-copy,
.rank-copy,
.feature-note-list,
.webshop-side-copy {
  color: rgba(255, 255, 255, 0.92);
}

.metric-card,
.status-metric-card,
.coupon-row,
.request-row,
.board-row,
.webshop-login-box,
.webshop-empty-box,
.table-wrap,
.rank-table-wrap {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: #26365e;
}

.metric-card .metric-label,
.metric-card .metric-value,
.status-metric-card span,
.status-metric-card strong,
.coupon-row .detail-title,
.coupon-row .list-meta,
.request-row .detail-title,
.request-row .list-meta,
.board-row-title,
.board-row-meta,
.webshop-login-box,
.webshop-empty-box {
  color: #26365e;
}

.table-wrap,
.rank-table-wrap {
  padding: 0;
}

table th,
.board-table th,
.rank-table th {
  background: linear-gradient(180deg, #edf4ff, #d9e8ff);
  color: #244180;
}

table td,
.board-table td,
.rank-table td,
.notice-content,
.post-content {
  color: #24345d;
}

.notice-mini-item,
.community-mini-item,
.market-preview-item,
.mixmaster-menu-links a,
.board-row,
.classic-board-row,
.webshop-chip,
.classic-guide-list a {
  background: rgba(255, 255, 255, 0.92);
  color: #25365f;
  border-color: rgba(107, 150, 235, 0.18);
}

.notice-mini-item strong,
.community-mini-item strong,
.market-preview-item strong,
.mixmaster-menu-links a,
.classic-guide-list a,
.webshop-item-name {
  color: #223761;
}

.btn-primary {
  background: linear-gradient(180deg, #ffd97a, #f3b73d);
  color: #2f2008;
  box-shadow: 0 12px 22px rgba(223, 167, 53, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(104, 141, 225, 0.22);
  color: #223761;
}

.rank-pager,
.tab-links a {
  background: rgba(255, 255, 255, 0.94);
  color: #223761;
  border-color: rgba(104, 141, 225, 0.22);
}

.rank-pager.is-active,
.tab-links a.active {
  background: linear-gradient(180deg, #eef5ff, #d8e8ff);
  color: #173987;
}

.webshop-item-card,
.webshop-category-block {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 22px rgba(36, 63, 132, 0.08);
}

.webshop-item-desc,
.webshop-pill,
.webshop-price span {
  color: #566688;
}

.webshop-price {
  border-color: rgba(236, 190, 92, 0.34);
  background: rgba(255, 232, 183, 0.76);
  color: #8a5611;
}

.webshop-category-title {
  color: #ffffff;
}

.input,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  border: 1px solid rgba(107, 150, 235, 0.26);
  background: rgba(255, 255, 255, 0.96);
  color: #233762;
}

.inline-error {
  background: rgba(255, 240, 240, 0.92);
  color: #a53d3d;
}

.notice-mini-date,
.market-preview-meta,
.board-row-meta,
.rank-copy,
.rank-summary-card .list-meta,
.rank-alert-card,
.status-chip {
  color: #4b5f8c;
}

.status-chip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(103, 144, 228, 0.26);
}

/* Remove decorative icons inside content boxes */
.classic-menu-icon,
.service-dock-code,
.launcher-icon {
  display: none !important;
}

.classic-menu-item,
.launcher-tile.launcher-tile-row,
.service-dock-link {
  grid-template-columns: 1fr !important;
  padding-left: 14px;
}

.webshop-item-thumb::before,
.webshop-item-thumb::after {
  display: none;
}

@media (max-width: 960px) {
  .page-shell,
  .portal-home {
    padding-top: 196px;
  }
}

/* Scroll recovery and extended home sections */
html,
body {
  height: auto !important;
  min-height: 100%;
  overflow-y: auto !important;
}

.site-wrap,
.portal-home,
.classic-home-shell {
  overflow: visible !important;
}

.classic-home-stage {
  margin-bottom: 14px;
}

.classic-home-extended {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-bottom: 28px;
}

.classic-wide-panel {
  padding: 14px;
}

.classic-extended-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.classic-extended-card {
  min-height: 170px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #26365e;
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.classic-extended-card p {
  margin: 0;
  color: #4f5f85;
  line-height: 1.7;
}

.classic-home-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 960px) {
  .classic-home-extended,
  .classic-home-bottom-grid,
  .classic-extended-grid {
    grid-template-columns: 1fr;
  }
}

/* Hard fix for home scroll and faded top nav */
html {
  overflow-y: scroll !important;
}

body,
body[data-page="home"] {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  position: relative !important;
}

.site-wrap,
.classic-home-shell,
.classic-home-stage,
.classic-home-center,
.classic-home-extended {
  height: auto !important;
  min-height: 0 !important;
}

.classic-home-shell {
  display: block;
  padding-bottom: 64px;
}

.classic-home-extended {
  margin-top: 18px;
  margin-bottom: 36px;
}

.classic-site-header .primary-nav {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.classic-site-header .primary-nav a {
  color: #20315d !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.classic-site-header .primary-nav a.active {
  color: #12367f !important;
}

/* Shrink oversized page hero sections into compact title bars */
.page-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 14px;
}

.page-hero .hero-grid,
.page-hero {
  display: grid;
  gap: 12px;
}

.page-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.page-hero .hero-card,
.rank-hero-card,
.webshop-hero-card,
.webshop-summary-card {
  min-height: 0 !important;
  padding: 14px 16px !important;
  border-radius: 18px;
}

.page-hero .hero-card:first-child,
.rank-hero-card,
.webshop-hero-card {
  background: linear-gradient(180deg, rgba(122, 181, 255, 0.98), rgba(81, 143, 240, 0.98)) !important;
}

.page-hero .hero-card:first-child::before,
.page-hero .hero-card:first-child::after,
.rank-hero-card::before,
.rank-hero-card::after,
.webshop-hero-card::before,
.webshop-hero-card::after {
  display: none !important;
}

.hero-eyebrow,
.section-eyebrow {
  margin-bottom: 4px;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
}

.hero-title,
.page-title,
.rank-title {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important;
  line-height: 1.05 !important;
  margin-bottom: 8px;
}

.hero-copy,
.page-lead,
.section-copy,
.rank-copy {
  max-width: none !important;
  font-size: 0.95rem;
  line-height: 1.65 !important;
}

.hero-note {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.hero-actions,
.action-cluster {
  margin-top: 10px !important;
  gap: 8px !important;
}

.hero-actions .btn,
.action-cluster .btn {
  min-height: 38px;
  padding: 0 16px;
}

.metric-grid {
  gap: 10px;
}

.metric-card {
  min-height: 78px;
  padding: 12px 14px;
}

.metric-value {
  font-size: 1.3rem;
}

.feature-note-list {
  gap: 6px;
  margin-top: 10px;
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .page-hero .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Replace oversized center hero with compact main board */
.classic-main-strip {
  padding: 14px;
}

.classic-main-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 12px;
}

.classic-strip-card {
  min-height: 168px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #273760;
  display: grid;
  align-content: start;
  gap: 10px;
}

.compact-guide-list {
  gap: 8px;
}

.compact-guide-list a {
  min-height: 40px;
}

.classic-brief-list,
.classic-inline-stats {
  display: grid;
  gap: 8px;
}

.classic-brief-row,
.classic-inline-stats div {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f8ff;
  color: #26365e;
  display: grid;
  gap: 4px;
}

.classic-brief-row strong,
.classic-inline-stats strong {
  color: #20315d;
}

.classic-brief-row span,
.classic-inline-stats span {
  color: #5b6a8f;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .classic-main-strip-grid {
    grid-template-columns: 1fr;
  }
}
/* Original fantasy portal overrides */
:root {
  --fantasy-cloud-band: url('../assets/fantasy_cloud_band.svg');
  --fantasy-panel-frame: url('../assets/fantasy_panel_frame.svg');
  --fantasy-brand-mark: url('../assets/fantasy_brand_mark.svg');
  --fantasy-button-sheen: url('../assets/fantasy_button_sheen.svg');
}

body {
  background:
    linear-gradient(180deg, rgba(218, 236, 255, 0.88), rgba(250, 242, 220, 0.90)),
    var(--site-background-image) center top / cover fixed no-repeat;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 247, 228, 0.30)),
    var(--fantasy-cloud-band) center top / 1600px auto repeat-x;
  opacity: 1;
}

body[data-page="home"]::before {
  inset: 154px 0 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 246, 223, 0.20)),
    var(--fantasy-cloud-band) center top / 1600px auto repeat-x,
    var(--site-background-image) center top / cover no-repeat;
  opacity: 0.58;
}

.site-header.classic-site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68));
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(57, 87, 153, 0.12);
}

.classic-site-header .site-header-utility {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.94));
}

.classic-site-header .site-header-brand-line {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.97));
  border-bottom: 2px solid #ff8e6a;
}

.classic-site-header .site-header-brand-line::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 181, 102, 0.85), transparent);
}

.classic-site-header .site-header-brand-inner {
  min-height: 88px;
}

.classic-site-header .brand-block {
  position: relative;
  gap: 12px;
}

.classic-site-header .brand-block::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  width: 128px;
  height: 128px;
  transform: translateY(-50%);
  background: var(--fantasy-brand-mark) center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.classic-site-header .brand-mark {
  background: linear-gradient(180deg, #fff9da, #ffca6c);
  border: 2px solid rgba(245, 174, 72, 0.65);
  box-shadow: 0 16px 24px rgba(255, 171, 66, 0.22), 0 10px 18px rgba(56, 88, 167, 0.18);
}

.classic-site-header .brand-mark.has-image {
  background-size: cover;
  border-color: rgba(255, 185, 82, 0.55);
}

.classic-site-header .brand-title {
  color: #2d4e95;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.classic-site-header .site-header-nav-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
}

.classic-site-header .primary-nav {
  gap: 10px;
  padding: 12px 0;
}

.classic-site-header .primary-nav a {
  min-width: 94px;
  min-height: 40px;
  border-radius: 999px;
  color: #365187;
  font-size: 0.97rem;
  font-weight: 900;
}

.classic-site-header .primary-nav a.active {
  background: linear-gradient(180deg, #fff8d8, #ffd98a);
  color: #7b4d10;
  border-color: rgba(217, 165, 66, 0.34);
  box-shadow: 0 12px 18px rgba(238, 190, 88, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-shell,
.portal-home {
  padding-top: 186px;
}

.classic-home-shell {
  max-width: 1180px;
}

.classic-home-stage {
  grid-template-columns: 220px minmax(0, 1fr) 240px;
  gap: 18px;
}

.classic-home-left,
.classic-home-center,
.classic-home-right {
  gap: 18px;
}

.classic-home-left .classic-member-panel {
  order: -1;
}

.classic-blue-panel,
.page-hero .hero-card,
.summary-hero-card,
.panel,
.table-card,
.detail-card,
.community-column-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.webshop-hero-card,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel,
.portal-panel {
  position: relative;
  border: 1px solid rgba(126, 178, 255, 0.75);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(126, 189, 255, 0.94), rgba(83, 144, 237, 0.96));
  box-shadow: 0 24px 38px rgba(52, 88, 171, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.classic-blue-panel::before,
.page-hero .hero-card::before,
.summary-hero-card::before,
.panel::before,
.table-card::before,
.detail-card::before,
.community-column-card::before,
.rank-summary-card::before,
.rank-table-panel::before,
.rank-alert-card::before,
.webshop-hero-card::before,
.webshop-summary-card::before,
.webshop-side-card::before,
.webshop-grid-panel::before,
.portal-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fantasy-panel-frame) center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.classic-blue-panel > *,
.page-hero .hero-card > *,
.summary-hero-card > *,
.panel > *,
.table-card > *,
.detail-card > *,
.community-column-card > *,
.rank-summary-card > *,
.rank-table-panel > *,
.rank-alert-card > *,
.webshop-hero-card > *,
.webshop-summary-card > *,
.webshop-side-card > *,
.webshop-grid-panel > *,
.portal-panel > * {
  position: relative;
  z-index: 1;
}

.classic-panel-title,
.page-title,
.hero-title,
.rank-title,
.section-title,
.panel-title,
.detail-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(33, 60, 122, 0.22);
}

.classic-menu-panel,
.classic-member-panel,
.classic-status-panel,
.classic-rank-panel {
  padding: 14px;
}

.classic-menu-stack {
  gap: 12px;
}

.classic-menu-item {
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 20px rgba(31, 53, 109, 0.16);
}

.classic-menu-item div {
  display: grid;
  gap: 4px;
}

.classic-menu-item strong {
  font-size: 1.08rem;
}

.classic-menu-item span {
  font-size: 0.78rem;
}

.classic-menu-icon,
.service-dock-code,
.launcher-icon {
  display: none !important;
}

.classic-member-panel {
  background: linear-gradient(180deg, rgba(120, 188, 255, 0.96), rgba(75, 142, 240, 0.98));
}

.classic-member-stats div,
.classic-inline-stats div,
.classic-rank-row,
.metric-card,
.status-metric-card,
.coupon-row,
.request-row,
.board-row,
.classic-board-row,
.webshop-login-box,
.webshop-empty-box,
.table-wrap,
.rank-table-wrap {
  border: 1px solid rgba(140, 178, 243, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.classic-member-stats div span,
.classic-member-stats div strong,
.classic-inline-stats div span,
.classic-inline-stats div strong,
.classic-board-row,
.classic-board-row strong,
.classic-board-row em,
.metric-card,
.status-metric-card,
.webshop-login-box,
.webshop-empty-box,
.table-wrap,
.rank-table-wrap,
.board-table td,
.board-table th,
.rank-table td,
.rank-table th,
.table-wrap td,
.table-wrap th,
.page-lead,
.hero-copy,
.section-copy,
.rank-copy,
.detail-copy,
.list-meta,
.inline-meta,
.webshop-item-name,
.webshop-item-desc {
  color: #24406d;
}

.classic-main-strip {
  min-height: 0;
  padding: 16px;
}

.classic-main-strip::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  background: var(--fantasy-cloud-band) center top / cover no-repeat;
  opacity: 0.26;
  pointer-events: none;
}

.classic-main-strip-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
}

.classic-strip-card,
.subpage-summary-box {
  min-height: 180px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.classic-strip-card .classic-subtitle,
.subpage-summary-box .metric-label {
  color: #4f6f9f;
  margin-bottom: 12px;
}

.classic-brief-list,
.classic-guide-list.compact-guide-list,
.classic-inline-stats {
  display: grid;
  gap: 10px;
}

.classic-inline-stats div {
  padding: 12px 14px;
  border-radius: 16px;
}

.classic-inline-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
  color: #2b4f91;
}

.classic-guide-list a,
.classic-brief-row {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
}

.classic-brief-row {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.classic-board-panel {
  padding: 14px;
}

.classic-board-row {
  min-height: 48px;
  border-radius: 16px;
}

.classic-status-panel {
  background: linear-gradient(180deg, rgba(120, 188, 255, 0.96), rgba(76, 145, 241, 0.98));
}

.classic-status-row {
  grid-template-columns: 42px minmax(0, 1fr) 44px;
}

.classic-status-bar {
  height: 20px;
  background: rgba(255, 255, 255, 0.22);
}

.classic-status-bar i {
  background: linear-gradient(90deg, #bfe1ff, #8e6bff);
}

.classic-banner-card {
  min-height: 112px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.classic-banner-card::before,
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fantasy-button-sheen) top center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.classic-banner-card strong,
.classic-banner-card span,
.btn-primary,
.btn-ghost,
.btn-danger {
  position: relative;
  z-index: 1;
}

.btn-primary,
.btn-ghost,
.btn-danger {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 900;
}

.btn-primary {
  background: linear-gradient(180deg, #ffe28e, #ffc653);
  color: #734612;
  border-color: rgba(228, 171, 57, 0.34);
}

.btn-ghost {
  background: linear-gradient(180deg, #ffffff, #eaf2ff);
  color: #294781;
}

.btn-danger {
  background: linear-gradient(180deg, #ff8d87, #ef4f54) !important;
  color: #ffffff !important;
  border-color: rgba(189, 58, 71, 0.4) !important;
}

.page-hero,
.subpage-classic-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 320px;
  gap: 18px;
  align-items: start;
}

.page-hero .hero-card,
.subpage-title-panel,
.subpage-summary-panel {
  padding: 16px;
}

.page-title,
.subpage-title-panel .page-title,
.hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.06;
}

.page-lead,
.hero-copy,
.subpage-title-panel .page-lead {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.subpage-summary-grid {
  display: grid;
  gap: 12px;
}

.subpage-summary-box strong,
.metric-value {
  color: #2b4f91;
}

@media (max-width: 1180px) {
  .classic-home-stage {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .classic-home-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .page-shell,
  .portal-home {
    padding-top: 202px;
  }

  .classic-home-stage,
  .classic-home-right,
  .classic-main-strip-grid,
  .classic-tab-grid,
  .classic-lower-grid,
  .classic-two-list,
  .page-hero,
  .subpage-classic-top {
    grid-template-columns: 1fr;
  }
}
/* Premium refinement overrides */
body,
body[data-page="home"] {
  background:
    linear-gradient(180deg, #dceeff 0, #eaf5ff 250px, #f8f1df 250px, #f6edd8 100%);
}

body::before,
body[data-page="home"]::before {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 248, 204, 0.92), transparent 26%),
    var(--fantasy-cloud-band) center top / 1680px auto no-repeat,
    var(--site-background-image) center top / cover no-repeat;
  opacity: 0.34;
}

.site-header.classic-site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  box-shadow: 0 16px 38px rgba(34, 56, 109, 0.10);
}

.classic-site-header .site-header-utility-links a,
.classic-site-header .header-account-tag {
  color: #5e77a8;
}

.classic-site-header .brand-title {
  font-family: 'Cinzel', 'Noto Sans KR', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #2a4e8f;
}

.classic-site-header .primary-nav a {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(151, 176, 223, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.classic-site-header .primary-nav a:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #274988;
}

.classic-site-header .primary-nav a.active {
  background: linear-gradient(180deg, #fff6d9, #ffd78b);
  color: #7b4e10;
  border-color: rgba(220, 171, 74, 0.46);
  box-shadow: 0 12px 22px rgba(237, 195, 94, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.classic-blue-panel,
.page-hero .hero-card,
.summary-hero-card,
.panel,
.table-card,
.detail-card,
.community-column-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.webshop-hero-card,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel,
.portal-panel {
  border: 1px solid rgba(145, 177, 231, 0.44);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow: 0 22px 50px rgba(47, 74, 139, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.classic-blue-panel::before,
.page-hero .hero-card::before,
.summary-hero-card::before,
.panel::before,
.table-card::before,
.detail-card::before,
.community-column-card::before,
.rank-summary-card::before,
.rank-table-panel::before,
.rank-alert-card::before,
.webshop-hero-card::before,
.webshop-summary-card::before,
.webshop-side-card::before,
.webshop-grid-panel::before,
.portal-panel::before {
  display: none;
}

.classic-blue-panel::after,
.page-hero .hero-card::after,
.summary-hero-card::after,
.panel::after,
.table-card::after,
.detail-card::after,
.community-column-card::after,
.rank-summary-card::after,
.rank-table-panel::after,
.rank-alert-card::after,
.webshop-hero-card::after,
.webshop-summary-card::after,
.webshop-side-card::after,
.webshop-grid-panel::after,
.portal-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(121, 179, 255, 0.18), rgba(121, 179, 255, 0.04) 96px, transparent 156px),
    radial-gradient(circle at right top, rgba(255, 230, 166, 0.18), transparent 26%);
  pointer-events: none;
}

.classic-panel-title,
.page-title,
.hero-title,
.rank-title,
.section-title,
.panel-title,
.detail-title,
.subpage-title-panel .page-title {
  color: #2e4f8f;
  text-shadow: none;
}

.classic-panel-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(167, 190, 231, 0.34);
}

.classic-panel-head a,
.classic-subtitle,
.subpage-summary-box .metric-label {
  color: #5e76a8;
}

.classic-menu-item {
  position: relative;
  min-height: 78px;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(155, 179, 224, 0.30);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  box-shadow: 0 12px 24px rgba(58, 86, 147, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.classic-menu-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 6px;
  border-radius: 999px;
  background: var(--menu-accent, #7bb5ff);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6);
}

.classic-menu-item strong {
  color: #314d87;
  font-size: 1.02rem;
}

.classic-menu-item span {
  color: #6c7fa6;
  font-size: 0.75rem;
}

.classic-menu-item.is-red { --menu-accent: #ff7f7f; }
.classic-menu-item.is-orange { --menu-accent: #ffb15c; }
.classic-menu-item.is-violet { --menu-accent: #9c7dff; }
.classic-menu-item.is-blue { --menu-accent: #68a9ff; }
.classic-menu-item.is-gold { --menu-accent: #d7b248; }
.classic-menu-item.is-green { --menu-accent: #4fc98b; }
.classic-menu-item.is-sky { --menu-accent: #4ebaf4; }
.classic-menu-item.is-pink { --menu-accent: #ff7fb6; }

.classic-member-panel,
.classic-status-panel,
.classic-rank-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.98));
}

.classic-member-name {
  color: #2f4e8b;
}

.classic-member-meta,
.classic-member-links a,
.classic-status-row,
.page-lead,
.hero-copy,
.section-copy,
.rank-copy,
.detail-copy,
.list-meta,
.inline-meta,
.webshop-item-desc {
  color: #6f80a4;
}

.classic-login-form input,
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  border: 1px solid rgba(166, 187, 226, 0.42);
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: #294679;
}

.classic-member-stats div,
.classic-inline-stats div,
.metric-card,
.status-metric-card,
.coupon-row,
.request-row,
.board-row,
.classic-board-row,
.webshop-login-box,
.webshop-empty-box,
.table-wrap,
.rank-table-wrap,
.classic-strip-card,
.subpage-summary-box {
  border: 1px solid rgba(163, 187, 231, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.classic-member-stats div span,
.classic-member-stats div strong,
.classic-inline-stats div span,
.classic-inline-stats div strong,
.classic-board-row,
.classic-board-row strong,
.classic-board-row em,
.metric-card,
.status-metric-card,
.webshop-login-box,
.webshop-empty-box,
.table-wrap,
.rank-table-wrap,
.board-table td,
.board-table th,
.rank-table td,
.rank-table th,
.table-wrap td,
.table-wrap th,
.webshop-item-name,
.classic-guide-list a,
.classic-brief-row {
  color: #28457b;
}

.classic-main-strip {
  padding: 18px;
}

.classic-main-strip::after {
  opacity: 0.14;
}

.classic-strip-card,
.subpage-summary-box {
  min-height: 0;
}

.classic-guide-list a,
.classic-brief-row,
.classic-board-row {
  border-radius: 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.classic-guide-list a:hover,
.classic-brief-row:hover,
.classic-board-row:hover,
.classic-menu-item:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 166, 226, 0.48);
  box-shadow: 0 16px 28px rgba(47, 74, 139, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.classic-brief-list:empty::before {
  content: '\D604\C7AC \C548\B0B4\D560 \C18C\C2DD\C774 \C5C6\C2B5\B2C8\B2E4.';
  display: block;
  padding: 16px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  color: #7082a6;
}

.classic-chip {
  min-width: 48px;
  padding: 5px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.classic-chip.is-red { background: linear-gradient(180deg, #ff958b, #f16a61); }
.classic-chip.is-blue { background: linear-gradient(180deg, #7faeff, #5c8df2); }
.classic-chip.is-pink { background: linear-gradient(180deg, #ea9be0, #cb69ba); }
.classic-chip.is-gold { background: linear-gradient(180deg, #eacb76, #cba245); }

.classic-status-row {
  color: #4e6799;
}

.classic-status-bar {
  background: linear-gradient(180deg, #e2ecff, #cbdcff);
}

.classic-status-bar i {
  background: linear-gradient(90deg, #6ab2ff, #8e79ff);
}

.classic-banner-card {
  border: 1px solid rgba(116, 149, 221, 0.26);
  box-shadow: 0 18px 32px rgba(47, 74, 139, 0.14);
}

.classic-banner-card.is-coupon { background: linear-gradient(135deg, #5f92ea, #3e69cc); }
.classic-banner-card.is-charge { background: linear-gradient(135deg, #67b4ef, #448fe1); }
.classic-banner-card.is-market { background: linear-gradient(135deg, #7c7ce3, #5b58ce); }

.btn-primary,
.btn-ghost,
.btn-danger {
  min-height: 44px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(180deg, #fff1b8, #ffce67);
  color: #71480f;
  box-shadow: 0 14px 24px rgba(237, 190, 82, 0.20), inset 0 1px 0 rgba(255,255,255,0.82);
}

.btn-ghost {
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  color: #2e4e8e;
}

.inline-error {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 236, 236, 0.95);
  color: #c54f5a;
}

/* Global demon background, logo, font, floating member dock */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--site-body-font);
}

.brand-title,
.page-title,
.hero-title,
.rank-title,
.section-title,
.panel-title,
.detail-title,
.classic-panel-title,
.webshop-category-title {
  font-family: var(--site-display-font);
}

body,
body[data-page],
body[data-page="home"] {
  background: #090505 !important;
  color: #f7efe7;
}

body::before,
body[data-page="home"]::before {
  inset: 0 !important;
  background:
    linear-gradient(180deg, rgba(8, 4, 4, 0.34), rgba(12, 5, 5, 0.74)),
    radial-gradient(circle at 50% 16%, rgba(255, 109, 52, 0.20), transparent 24%),
    var(--site-background-image) center center / cover fixed no-repeat !important;
  opacity: 1 !important;
}

.site-wrap::before {
  display: none !important;
}

.classic-site-header {
  background: linear-gradient(180deg, rgba(18, 9, 9, 0.82), rgba(11, 7, 7, 0.72)) !important;
  border-bottom: 1px solid rgba(255, 119, 56, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.classic-site-header .site-header-utility,
.classic-site-header .site-header-brand-line,
.classic-site-header .site-header-nav-line {
  background: transparent !important;
  border-bottom-color: rgba(255, 119, 56, 0.18) !important;
}

.classic-site-header .site-header-brand-line::after,
.classic-site-header .brand-block::before {
  display: none !important;
}

.classic-site-header .site-header-utility-links a,
.classic-site-header .header-account-tag {
  color: #f0b589 !important;
}

.classic-site-header .primary-nav a {
  background: rgba(24, 14, 14, 0.72) !important;
  border-color: rgba(255, 123, 63, 0.22) !important;
  color: #f6dec8 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 22px rgba(0, 0, 0, 0.18);
}

.classic-site-header .primary-nav a:hover {
  background: rgba(34, 18, 17, 0.88) !important;
  color: #ffe2c4 !important;
}

.classic-site-header .primary-nav a.active {
  background: linear-gradient(180deg, #ffbe7a, #f0863f) !important;
  color: #2d1309 !important;
  border-color: rgba(255, 167, 89, 0.42) !important;
}

.classic-site-header .brand-block.has-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-image {
  display: block;
  width: auto;
  max-width: min(420px, 48vw);
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(255, 85, 28, 0.24));
}

.floating-member-dock {
  position: fixed;
  top: 186px;
  left: 24px;
  width: 230px;
  z-index: 120;
}

.floating-member-card {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 122, 62, 0.22);
  background: linear-gradient(180deg, rgba(24, 14, 14, 0.92), rgba(12, 8, 8, 0.96));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.floating-member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.floating-member-head strong,
.floating-member-name {
  color: #ffe1cb;
  font-weight: 900;
}

.floating-member-name {
  font-size: 1.15rem;
}

.floating-member-meta,
.floating-member-links a {
  color: #e0b89b;
  font-size: 0.82rem;
}

.floating-member-stats {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.floating-member-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 128, 70, 0.12);
}

.floating-member-stats span {
  color: #d9b59a;
}

.floating-member-stats strong {
  color: #fff1e7;
}

.floating-member-actions,
.floating-login-form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.floating-login-form input {
  min-height: 42px;
}

.floating-member-links {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (min-width: 1280px) {
  body.has-floating-member-dock .site-header .container,
  body.has-floating-member-dock .site-footer .container {
    width: min(1380px, calc(100vw - 340px));
    max-width: none;
    margin-left: 280px;
    margin-right: 24px;
  }

  body.has-floating-member-dock .page-shell,
  body.has-floating-member-dock .portal-home {
    width: min(1180px, calc(100vw - 340px));
    max-width: none;
    margin-left: 280px;
    margin-right: 24px;
  }

  body.has-floating-member-dock[data-page="home"] .classic-home-left .classic-member-panel {
    display: none;
  }
}

@media (max-width: 1279px) {
  .floating-member-dock {
    display: none;
  }
}
/* Brighten global background and text contrast */
body::before,
body[data-page="home"]::before {
  background:
    linear-gradient(180deg, rgba(255, 244, 236, 0.44), rgba(255, 248, 240, 0.58)),
    radial-gradient(circle at 50% 16%, rgba(255, 169, 112, 0.18), transparent 24%),
    var(--site-background-image) center center / cover fixed no-repeat !important;
  opacity: 1 !important;
}

.classic-blue-panel,
.page-hero .hero-card,
.summary-hero-card,
.panel,
.table-card,
.detail-card,
.community-column-card,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.webshop-hero-card,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel,
.portal-panel,
.floating-member-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(247,250,255,0.95)) !important;
}

.classic-panel-title,
.page-title,
.hero-title,
.rank-title,
.section-title,
.panel-title,
.detail-title,
.subpage-title-panel .page-title,
.classic-panel-head a,
.classic-subtitle,
.subpage-summary-box .metric-label,
.page-lead,
.hero-copy,
.section-copy,
.rank-copy,
.detail-copy,
.list-meta,
.inline-meta,
.classic-member-meta,
.classic-member-links a,
.classic-status-row,
.webshop-side-copy,
.server-inline-meta,
.rank-inline-meta {
  color: #39588f !important;
}

.floating-member-head strong,
.floating-member-name,
.floating-member-meta,
.floating-member-links a,
.floating-member-stats span,
.floating-member-stats strong {
  color: #2d4778 !important;
}

.floating-member-stats div {
  background: rgba(82, 122, 198, 0.05) !important;
  border-color: rgba(131, 162, 223, 0.18) !important;
}

.classic-site-header .primary-nav a {
  background: rgba(49, 28, 22, 0.86) !important;
  color: #fff1e7 !important;
}
/* Sticky header and following login dock */
.site-header.classic-site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
}

.floating-member-dock {
  position: sticky !important;
  top: 198px !important;
  align-self: flex-start;
}

@media (min-width: 1280px) {
  body.has-floating-member-dock .site-wrap {
    display: block;
  }
}
/* Final layout stabilization */
:root {
  --site-body-font: var(--site-body-font, 'Noto Sans KR', sans-serif);
  --site-display-font: var(--site-display-font, 'Noto Sans KR', sans-serif);
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--site-body-font) !important;
}

body,
body[data-page],
body[data-page="home"] {
  background: #f4ede5 !important;
  color: #2d3f63 !important;
}

body::before,
body[data-page="home"]::before {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.62), rgba(251, 247, 242, 0.78)),
    var(--site-background-image) center top / cover fixed no-repeat !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.site-header.classic-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 800 !important;
  background: linear-gradient(180deg, rgba(34, 22, 20, 0.90), rgba(25, 16, 15, 0.82)) !important;
  border-bottom: 1px solid rgba(223, 121, 67, 0.20) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(10px);
}

.classic-site-header .site-header-utility,
.classic-site-header .site-header-brand-line,
.classic-site-header .site-header-nav-line {
  background: transparent !important;
  border-bottom-color: rgba(223, 121, 67, 0.18) !important;
}

.classic-site-header .site-header-brand-inner {
  min-height: 96px !important;
}

.classic-site-header .site-header-utility-links a,
.classic-site-header .header-account-tag {
  color: #f3c7a0 !important;
}

.classic-site-header .primary-nav {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 0 14px !important;
}

.classic-site-header .primary-nav a {
  min-width: 92px !important;
  min-height: 40px !important;
  border-radius: 999px !important;
  background: rgba(46, 28, 24, 0.78) !important;
  border: 1px solid rgba(223, 121, 67, 0.24) !important;
  color: #fff1e4 !important;
}

.classic-site-header .primary-nav a.active {
  background: linear-gradient(180deg, #ffbc74, #f38a46) !important;
  color: #2f160b !important;
  border-color: rgba(255, 174, 107, 0.44) !important;
}

.brand-logo-image {
  display: block !important;
  max-width: min(320px, 38vw) !important;
  max-height: 94px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.page-shell,
.portal-home {
  padding-top: 196px !important;
  padding-bottom: 32px !important;
}

body.has-floating-member-dock .page-shell,
body.has-floating-member-dock .portal-home,
body.has-floating-member-dock .site-header .container,
body.has-floating-member-dock .site-footer .container {
  width: min(1180px, calc(100vw - 340px)) !important;
  max-width: none !important;
  margin-left: 288px !important;
  margin-right: 24px !important;
}

.floating-member-dock {
  position: fixed !important;
  top: 206px !important;
  left: 24px !important;
  width: 232px !important;
  z-index: 700 !important;
}

.floating-member-card {
  padding: 16px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(128, 154, 212, 0.24) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,249,255,0.94)) !important;
  box-shadow: 0 20px 40px rgba(44, 64, 110, 0.12) !important;
  backdrop-filter: none !important;
}

.floating-member-head strong,
.floating-member-name,
.floating-member-meta,
.floating-member-links a,
.floating-member-stats span,
.floating-member-stats strong {
  color: #324f85 !important;
}

.floating-member-stats div {
  background: rgba(82, 122, 198, 0.06) !important;
  border: 1px solid rgba(131, 162, 223, 0.18) !important;
}

body.has-floating-member-dock[data-page="home"] .classic-home-left .classic-member-panel {
  display: none !important;
}

.classic-home-shell {
  max-width: none !important;
}

.classic-home-stage {
  grid-template-columns: 220px minmax(0, 1fr) 240px !important;
  gap: 18px !important;
  align-items: start !important;
}

.classic-home-left,
.classic-home-center,
.classic-home-right,
.premium-content-grid,
.premium-main-column,
.premium-side-column {
  align-items: start !important;
}

.classic-blue-panel,
.panel,
.table-card,
.detail-card,
.portal-panel,
.rank-summary-card,
.rank-table-panel,
.rank-alert-card,
.webshop-side-card,
.webshop-grid-panel,
.subpage-title-panel,
.subpage-summary-panel {
  border: 1px solid rgba(145, 177, 231, 0.34) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(246,249,255,0.95)) !important;
  box-shadow: 0 18px 34px rgba(44, 64, 110, 0.10) !important;
}

.classic-blue-panel::after,
.panel::after,
.table-card::after,
.detail-card::after,
.portal-panel::after,
.rank-summary-card::after,
.rank-table-panel::after,
.rank-alert-card::after,
.webshop-side-card::after,
.webshop-grid-panel::after,
.subpage-title-panel::after,
.subpage-summary-panel::after {
  background:
    linear-gradient(180deg, rgba(121, 179, 255, 0.10), rgba(121, 179, 255, 0.02) 92px, transparent 148px),
    radial-gradient(circle at right top, rgba(255, 230, 166, 0.08), transparent 22%) !important;
}

.classic-panel-title,
.subpage-title,
.subpage-title-eyebrow,
.subpage-title-copy,
.page-title,
.hero-title,
.rank-title,
.section-title,
.panel-title,
.detail-title,
.section-eyebrow,
.list-meta,
.inline-meta,
.page-lead,
.hero-copy,
.section-copy,
.rank-copy,
.detail-copy,
.classic-subtitle,
.classic-panel-head a,
.classic-status-row,
.server-inline-meta {
  color: #39588f !important;
  text-shadow: none !important;
}

.subpage-classic-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) 320px !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
  align-items: start !important;
}

.subpage-title-panel,
.subpage-summary-panel {
  min-height: 0 !important;
  padding: 16px !important;
}

.subpage-title {
  margin: 0 !important;
  font-size: 2rem !important;
  line-height: 1.12 !important;
}

.subpage-title-copy {
  margin-top: 10px !important;
  line-height: 1.7 !important;
}

.subpage-summary-grid {
  display: grid !important;
  gap: 12px !important;
}

.subpage-summary-box {
  min-height: 0 !important;
  padding: 14px !important;
  border-radius: 16px !important;
}

.classic-main-strip,
.classic-strip-card,
.classic-board-panel,
.classic-board-row,
.classic-board-empty {
  min-height: 0 !important;
}

@media (max-width: 1279px) {
  .floating-member-dock {
    display: none !important;
  }

  body.has-floating-member-dock .page-shell,
  body.has-floating-member-dock .portal-home,
  body.has-floating-member-dock .site-header .container,
  body.has-floating-member-dock .site-footer .container {
    width: min(100% - 24px, 1380px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .classic-home-stage,
  .subpage-classic-top {
    grid-template-columns: 1fr !important;
  }
}
/* Header only fixed */
.floating-member-dock {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  z-index: auto !important;
}

@media (min-width: 1280px) {
  body.has-floating-member-dock .site-header .container,
  body.has-floating-member-dock .site-footer .container,
  body.has-floating-member-dock .page-shell,
  body.has-floating-member-dock .portal-home {
    width: min(100% - 24px, 1380px) !important;
    max-width: 1380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.has-floating-member-dock[data-page="home"] .classic-home-left .classic-member-panel {
    display: block !important;
  }
}
/* Header no longer sticky/fixed */
.site-header.classic-site-header {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

.page-shell,
.portal-home {
  padding-top: 28px !important;
}

@media (max-width: 980px) {
  .page-shell,
  .portal-home {
    padding-top: 20px !important;
  }
}

/* Market/community writing flow */
.market-list-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-inline-search-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) 150px 150px auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
}

.market-inline-search {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) 150px 150px auto;
  gap: 12px;
  align-items: end;
}

.market-inline-actions {
  display: flex;
  gap: 8px;
}

.premium-main-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.premium-main-column > .table-card {
  order: 1 !important;
}

.premium-main-column > .detail-card {
  order: 2 !important;
}

body[data-page="market"] .page-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body[data-page="market"] .page-shell > .two-column.market-tools-section {
  order: 3;
  margin-top: 0 !important;
}

body[data-page="market"] .page-shell > .two-column:last-of-type {
  order: 1;
  margin-top: 0 !important;
}

body[data-page="market"] .page-shell > .two-column:not(.market-tools-section):not(:last-of-type) {
  order: 2;
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .market-inline-search-bar,
  .market-inline-search {
    grid-template-columns: 1fr;
  }

  .market-list-head-actions,
  .market-inline-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Final member center normalization */
body[data-page="home"] .floating-member-dock {
  display: none !important;
}

body[data-page="home"] .classic-home-left .classic-member-panel {
  display: block !important;
}

body:not([data-page="home"]) .floating-member-dock {
  position: fixed !important;
  top: 176px !important;
  left: 18px !important;
  width: 236px !important;
  z-index: 70 !important;
  display: block !important;
}

body:not([data-page="home"]).has-floating-member-dock .page-shell,
body:not([data-page="home"]).has-floating-member-dock .portal-home,
body:not([data-page="home"]).has-floating-member-dock .site-header .container,
body:not([data-page="home"]).has-floating-member-dock .site-footer .container {
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1279px) {
  body:not([data-page="home"]) .floating-member-dock {
    position: static !important;
    width: auto !important;
    margin-bottom: 18px !important;
  }
}

/* Final portal layout normalization */
html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--site-body-font, 'Noto Sans KR', sans-serif) !important;
  background:
    linear-gradient(rgba(255, 246, 236, 0.86), rgba(255, 250, 243, 0.92)),
    var(--site-background-image) center top / cover fixed no-repeat !important;
  color: #33261d !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 173, 92, 0.08), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: -1;
}

.site-wrap {
  min-height: 100vh;
}

.container,
.page-shell,
.portal-home,
.classic-home-shell {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-header.classic-site-header {
  position: static !important;
  top: auto !important;
  background: linear-gradient(180deg, rgba(38, 24, 20, 0.95), rgba(54, 37, 31, 0.9)) !important;
  border-bottom: 1px solid rgba(255, 151, 70, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(22, 11, 8, 0.18);
}

.site-header-utility {
  border-bottom: 1px solid rgba(255, 151, 70, 0.12);
}

.site-header-utility-links a,
.header-account-tag,
.site-header-utility-links {
  color: #f7d3a6 !important;
}

.site-header-brand-line {
  padding: 20px 0 14px;
}

.site-header-brand-inner {
  justify-content: center;
}

.brand-block.has-logo {
  justify-content: center;
}

.brand-logo-image {
  max-height: 92px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.36));
}

.site-header-nav-line {
  padding: 0 0 18px;
}

.header-inner {
  justify-content: center;
}

.grouped-primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nav-group {
  position: relative;
}

.nav-group-trigger,
.nav-utility-link {
  min-width: 132px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 143, 62, 0.26);
  background: linear-gradient(180deg, rgba(67, 42, 34, 0.96), rgba(51, 33, 28, 0.96));
  color: #fff0dd;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 18px rgba(24, 12, 9, 0.16);
  transition: .18s ease;
}

.nav-group.is-active .nav-group-trigger,
.nav-group-trigger:hover,
.nav-group-trigger:focus,
.nav-utility-link:hover,
.nav-utility-link.is-active {
  background: linear-gradient(180deg, #ffb56f, #ff9a43);
  color: #2b170d;
  border-color: rgba(255, 177, 95, 0.8);
  outline: none;
}

.nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 180px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 152, 67, 0.24);
  background: rgba(38, 22, 18, 0.96);
  box-shadow: 0 18px 40px rgba(20, 10, 7, 0.28);
  display: none;
  z-index: 40;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #ffe7c7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-submenu a:hover {
  background: rgba(255, 166, 82, 0.16);
  color: #fff8ef;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  display: block;
}

.floating-member-dock {
  position: fixed !important;
  left: 24px;
  top: 210px;
  width: 232px;
  z-index: 30;
}

.floating-member-card,
.classic-member-panel,
.portal-panel,
.clean-panel,
.table-card,
.detail-card,
.subpage-title-panel,
.subpage-summary-panel,
.webshop-summary-card,
.webshop-side-card,
.webshop-grid-panel,
.rank-table-panel {
  border-radius: 24px !important;
  border: 1px solid rgba(177, 197, 229, 0.72) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,255,0.94)) !important;
  box-shadow: 0 18px 42px rgba(103, 91, 69, 0.14) !important;
  color: #2b426c !important;
}

.classic-blue-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(243,247,255,0.93)) !important;
  border: 1px solid rgba(177, 197, 229, 0.72) !important;
  box-shadow: 0 18px 42px rgba(103, 91, 69, 0.14) !important;
}

.classic-menu-item {
  border-radius: 22px !important;
  box-shadow: none !important;
}

.floating-member-name,
.classic-member-name,
.panel-title,
.section-title,
.hero-title,
.subpage-title,
h1, h2, h3 {
  color: #294a7d !important;
}

.floating-member-meta,
.classic-member-meta,
.section-copy,
.hero-copy,
.list-meta,
.inline-meta,
.detail-meta-row,
.detail-note-box,
.footer-copy,
.notice-content,
.post-content {
  color: #596d92 !important;
}

.compact-member-stats,
.classic-member-stats {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.compact-member-stats div,
.classic-member-stats div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.9);
  border: 1px solid rgba(185, 203, 231, 0.7);
}

.compact-member-stats span,
.classic-member-stats span {
  color: #7185a9 !important;
  font-size: 13px;
  font-weight: 700;
}

.compact-member-stats strong,
.classic-member-stats strong {
  color: #2d4878 !important;
  font-weight: 800;
}

.representative-hero-form,
.classic-hero-picker,
.compact-form-row {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.representative-hero-form select,
.representative-hero-form input,
.rank-search-input,
.market-status-select,
.stack-form input,
.stack-form textarea,
.stack-form select,
.classic-login-form input,
.floating-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(179, 198, 227, 0.84);
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  color: #2f4a7b;
  font: inherit;
  box-sizing: border-box;
}

.stack-form textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.btn,
button,
input[type="submit"] {
  font-family: var(--site-body-font, 'Noto Sans KR', sans-serif);
}

.btn-primary,
.btn-ghost,
.btn-danger {
  min-height: 44px;
  border-radius: 999px !important;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(180deg, #ffcf80, #ffb45a) !important;
  color: #342012 !important;
  border: 1px solid rgba(255, 174, 80, 0.8) !important;
}

.btn-ghost {
  background: linear-gradient(180deg, #ffffff, #edf4ff) !important;
  color: #2b4676 !important;
  border: 1px solid rgba(178, 198, 228, 0.86) !important;
}

.btn-danger {
  background: linear-gradient(180deg, #ff7b7b, #ef4b4b) !important;
  color: #ffffff !important;
  border: 1px solid rgba(222, 70, 70, 0.9) !important;
}

.inline-error,
.rank-alert-error {
  border-radius: 16px;
  border: 1px solid rgba(241, 148, 148, 0.72);
  background: rgba(255, 240, 240, 0.94);
  color: #c54646 !important;
  padding: 14px 16px;
  font-weight: 700;
}

.inline-success {
  border-radius: 16px;
  border: 1px solid rgba(124, 199, 166, 0.72);
  background: rgba(236, 255, 246, 0.94);
  color: #21805d;
  padding: 14px 16px;
  font-weight: 700;
}

.forum-page-shell,
.market-page-shell,
.support-page-shell {
  display: grid;
  gap: 18px;
  padding: 28px 0 52px;
}

.subpage-top,
.forum-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.board-switch-row,
.pagination-row,
.form-actions,
.wrap-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.board-switch-chip,
.page-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(180, 199, 228, 0.86);
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  color: #365588;
  font-weight: 800;
}

.board-switch-chip.is-active,
.page-chip.is-active {
  background: linear-gradient(180deg, #ffcf80, #ffb45a);
  border-color: rgba(255, 174, 80, 0.8);
  color: #311d12;
}

.compact-panel-head,
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.table-wrap {
  overflow-x: auto;
}

.board-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.board-table th,
.board-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(190, 205, 229, 0.6);
  color: #304b7a;
  text-align: left;
}

.board-table th {
  color: #6980a6;
  font-size: 13px;
  font-weight: 800;
  background: rgba(241, 246, 255, 0.82);
}

.empty-row {
  padding: 24px !important;
  text-align: center !important;
  color: #7185a9 !important;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.detail-meta-grid > div {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(186, 204, 231, 0.7);
  background: rgba(247, 250, 255, 0.92);
  display: grid;
  gap: 6px;
}

.detail-meta-grid span {
  color: #7b8fb3;
  font-size: 13px;
  font-weight: 700;
}

.detail-meta-grid strong {
  color: #274671;
  font-size: 15px;
}

.detail-note-box,
.inline-info-line {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(245, 248, 255, 0.94);
  border: 1px solid rgba(187, 204, 229, 0.68);
  margin-top: 14px;
}

.comment-stack {
  display: grid;
  gap: 12px;
}

.comment-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.92);
  border: 1px solid rgba(188, 204, 230, 0.68);
}

.comment-meta {
  color: #7284a8;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-grid.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.stack-form label {
  display: grid;
  gap: 8px;
}

.stack-form label > span {
  color: #6780a7;
  font-size: 13px;
  font-weight: 800;
}

.end-actions {
  justify-content: flex-end;
}

.market-search-head {
  margin-bottom: 12px;
}

.market-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px auto;
  gap: 10px;
  align-items: center;
}

.market-status-select {
  padding-right: 36px;
}

.site-footer {
  margin-top: 24px;
  background: rgba(255, 248, 241, 0.9) !important;
  border-top: 1px solid rgba(218, 198, 173, 0.5);
}

.site-footer .footer-title,
.site-footer .footer-links a {
  color: #6a4a35 !important;
}

body[data-page="home"] .floating-member-dock {
  display: none !important;
}

body[data-page="home"] .classic-home-shell {
  padding-top: 24px;
}

body[data-page="home"] .classic-home-stage {
  align-items: start;
}

@media (max-width: 1360px) {
  .floating-member-dock {
    display: none !important;
  }

  body.has-floating-member-dock .page-shell,
  body.has-floating-member-dock .portal-home,
  body.has-floating-member-dock .site-header .container,
  body.has-floating-member-dock .site-footer .container {
    width: min(1180px, calc(100% - 32px));
  }
}

@media (max-width: 900px) {
  .grouped-primary-nav {
    gap: 8px;
  }

  .nav-group-trigger,
  .nav-utility-link {
    min-width: 112px;
    height: 44px;
    font-size: 14px;
  }

  .subpage-top,
  .forum-topbar,
  .panel-head,
  .compact-panel-head,
  .market-inline-search,
  .form-grid.two-columns,
  .detail-meta-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .subpage-top-actions,
  .end-actions {
    justify-content: flex-start;
  }
}

.panel-title small { font-size: 14px; color: #7a8fb3; font-weight: 700; }


/* Final header overlay + home dashboard layout */
.site-header.classic-site-header {
  position: relative !important;
  z-index: 3200 !important;
  overflow: visible !important;
}

.site-header.classic-site-header .container,
.site-header.classic-site-header .site-header-utility,
.site-header.classic-site-header .site-header-brand-line,
.site-header.classic-site-header .site-header-nav-line,
.site-header.classic-site-header .header-inner,
.grouped-primary-nav,
.nav-group {
  position: relative;
  overflow: visible !important;
  z-index: inherit;
}

.nav-submenu {
  z-index: 3300 !important;
}

.page-shell,
.portal-panel,
.clean-panel,
.detail-card,
.board-list,
.home-dashboard-shell,
.home-dashboard-grid,
.home-dashboard-main {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .home-dashboard-shell {
  padding-top: 28px;
}

body[data-page="home"] .home-dashboard-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

body[data-page="home"] .home-member-card {
  width: 100%;
  max-width: none;
  align-self: start;
}

body[data-page="home"] .home-dashboard-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

body[data-page="home"] .home-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 18px;
}

body[data-page="home"] .home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .home-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

body[data-page="home"] .home-quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(191, 206, 229, 0.8);
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  color: #304f7d;
  text-decoration: none;
  font-weight: 800;
}

body[data-page="home"] .compact-member-stats {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

body[data-page="home"] .compact-member-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(189, 205, 228, 0.7);
  background: rgba(248, 251, 255, 0.94);
}

body[data-page="home"] .compact-member-stats span {
  color: #6f83a9;
  font-weight: 700;
}

body[data-page="home"] .compact-member-stats strong {
  color: #2b4b78;
  font-size: 15px;
}

body[data-page="home"] .home-member-actions,
body[data-page="home"] .home-button-row {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

body[data-page="home"] .home-list-stack {
  display: grid;
  gap: 10px;
}

body[data-page="home"] .home-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(189, 205, 228, 0.64);
  background: rgba(247, 250, 255, 0.9);
  color: #2f4d7a;
  text-decoration: none;
}

body[data-page="home"] .home-list-row strong,
body[data-page="home"] .home-column-title,
body[data-page="home"] .floating-member-name {
  color: #28456d;
}

body[data-page="home"] .home-list-row span,
body[data-page="home"] .floating-member-meta,
body[data-page="home"] .list-meta {
  color: #7286aa;
}

body[data-page="home"] .home-dual-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="home"] .section-copy {
  color: #6d83aa;
}

@media (max-width: 1180px) {
  body[data-page="home"] .home-dashboard-grid,
  body[data-page="home"] .home-content-grid,
  body[data-page="home"] .home-board-grid,
  body[data-page="home"] .home-service-grid,
  body[data-page="home"] .home-dual-columns {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-quick-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body[data-page="home"] .home-quick-links {
    grid-template-columns: 1fr;
  }
}

/* Final mobile responsive pass */
.nav-group.is-open .nav-submenu {
  display: block;
}

@media (max-width: 1024px) {
  .container,
  .page-shell,
  .portal-home,
  .classic-home-shell {
    width: min(100%, calc(100% - 24px));
  }

  .site-header-brand-line {
    padding: 16px 0 10px;
  }

  .brand-logo-image {
    max-height: 72px;
  }

  .site-header-utility-inner,
  .site-header-utility-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .grouped-primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .nav-group,
  .nav-utility-link {
    width: 100%;
  }

  .nav-group-trigger,
  .nav-utility-link {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    font-size: 14px;
  }

  .nav-submenu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(20, 10, 7, 0.18);
  }

  .nav-submenu a {
    padding: 12px 14px;
    font-size: 13px;
  }

  body[data-page="home"] .home-dashboard-grid,
  body[data-page="home"] .home-board-grid,
  body[data-page="home"] .home-content-grid,
  body[data-page="home"] .home-service-grid,
  body[data-page="home"] .home-dual-columns {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-member-card,
  body[data-page="home"] .home-section-card,
  body[data-page="home"] .home-service-card,
  body[data-page="home"] .home-board-card {
    width: 100%;
  }

  body[data-page="home"] .home-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-page-shell,
  .market-page-shell,
  .support-page-shell,
  .page-shell {
    width: min(100%, calc(100% - 24px));
  }

  .floating-member-dock {
    display: none !important;
  }

  body.has-floating-member-dock .page-shell,
  body.has-floating-member-dock .portal-home,
  body.has-floating-member-dock .site-header .container,
  body.has-floating-member-dock .site-footer .container {
    width: min(100%, calc(100% - 24px)) !important;
  }

  .compact-panel-head,
  .panel-head,
  .subpage-top,
  .forum-topbar,
  .market-inline-search,
  .form-grid.two-columns,
  .detail-meta-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch;
  }

  .board-table,
  .market-list-table,
  .forum-list-table,
  .charge-table,
  .rank-table {
    min-width: 760px;
  }

  .table-wrap,
  .rank-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .post-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-inner {
    display: grid;
    gap: 16px;
    text-align: center;
  }

  .site-footer .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .grouped-primary-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header-utility {
    padding-top: 6px;
  }

  .site-header-brand-line {
    padding: 12px 0 8px;
  }

  .brand-logo-image {
    max-height: 58px;
  }

  .home-dashboard-shell,
  .page-shell {
    padding-top: 16px;
  }

  body[data-page="home"] .home-quick-links,
  .post-gallery {
    grid-template-columns: 1fr;
  }

  .panel-title {
    font-size: 24px;
  }

  .section-title,
  .home-column-title,
  .floating-member-name {
    font-size: 20px;
  }

  .home-list-row,
  .board-switch-chip,
  .page-chip,
  .btn,
  .nav-group-trigger,
  .nav-utility-link {
    min-height: 42px;
  }
}

/* Promo verification */
.promo-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 13px;
}

.promo-meta-line a {
  color: #4a6fa7;
  text-decoration: none;
  font-weight: 700;
}

.promo-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.promo-status-chip.is-approved {
  background: rgba(92, 195, 124, 0.15);
  color: #247043;
  border-color: rgba(92, 195, 124, 0.35);
}

.promo-status-chip.is-pending {
  background: rgba(255, 191, 87, 0.16);
  color: #8a5b13;
  border-color: rgba(255, 191, 87, 0.38);
}

.promo-status-chip.is-duplicate,
.promo-status-chip.is-rejected {
  background: rgba(239, 103, 103, 0.14);
  color: #9b2c2c;
  border-color: rgba(239, 103, 103, 0.36);
}

.promo-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.promo-review-actions {
  display: grid;
  gap: 12px;
}

.promo-verify-box {
  display: grid;
  gap: 8px;
}

.notice-filter-row {
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .promo-review-grid {
    grid-template-columns: 1fr;
  }
}


.admin-console-shell {
  display: grid;
  gap: 18px;
}

.admin-console-top {
  display: grid;
  gap: 18px;
}

.admin-console-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.admin-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-nav-grid .btn {
  width: 100%;
  justify-content: center;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-card {
  padding: 18px 20px;
  border: 1px solid rgba(115, 142, 194, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.admin-summary-label {
  display: block;
  font-size: 0.82rem;
  color: #7a5c43;
  margin-bottom: 10px;
}

.admin-summary-value {
  display: block;
  font-size: 1.65rem;
  color: #213c72;
}

.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-inline-form {
  display: inline-flex;
}

.admin-review-form {
  gap: 10px;
}

.admin-review-form input[type="text"] {
  min-width: 180px;
}

.admin-list-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-empty {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: #6d5743;
}

.admin-login-panel {
  max-width: 720px;
}

.promo-link-manager {
  display: grid;
  gap: 12px;
}

.promo-link-list {
  display: grid;
  gap: 12px;
}

.promo-link-item[hidden] {
  display: none !important;
}

.promo-link-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.promo-link-tools .btn {
  min-width: 48px;
}

@media (max-width: 1100px) {
  .admin-console-toolbar,
  .admin-section-grid {
    grid-template-columns: 1fr;
  }

  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-nav-grid,
  .admin-summary-grid {
    grid-template-columns: 1fr;
  }
}
