@font-face {
  font-family: "GamjaCutePinkOutline";
  src: url("/fonts/GamjaCutePinkOutline-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #fff8eb;
  --bg-2: #f7ead4;
  --panel: rgba(255, 253, 248, 0.72);
  --panel-strong: rgba(255, 250, 241, 0.9);
  --line: rgba(158, 116, 61, 0.18);
  --line-strong: rgba(158, 116, 61, 0.32);
  --text: #31291f;
  --muted: #8b7a63;
  --accent: #bd7b3a;
  --accent-2: #e3a85e;
  --gold: #b77a22;
  --ok: #2f8d62;
  --warn: #c16d50;
  --shadow: 0 24px 70px rgba(126, 84, 34, 0.14);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 18px;
  --section-gap: 18px;
  --grid-gap: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "GamjaCutePinkOutline", "Pretendard", "Segoe UI Variable Text", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 245, 224, 0.92), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(255, 236, 201, 0.72), transparent 30%),
    radial-gradient(circle at 50% 92%, rgba(255, 248, 232, 0.9), transparent 38%),
    linear-gradient(145deg, #fffdf8 0%, #fff6e5 48%, #fffaf1 100%);
  min-height: 100vh;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.7), transparent 18%),
    radial-gradient(circle at 78% 70%, rgba(255, 232, 190, 0.38), transparent 20%);
  opacity: 0.55;
  pointer-events: none;
}

.page-shell {
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 28px 0 40px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dashboard-main {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.hero,
.panel,
.stat-card {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  z-index: 30;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.74), transparent 42%),
    linear-gradient(135deg, rgba(255, 250, 239, 0.88), rgba(251, 232, 199, 0.68));
}

.hero-copy {
  grid-column: span 12;
  display: grid;
  align-content: center;
  gap: 0;
}

.hero-art {
  grid-column: span 5;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(245, 223, 188, 0.72), rgba(255, 250, 242, 0.86));
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  display: none;
}

.hero h1,
.panel h2,
.welcome-preview-card h3 {
  margin: 0;
  font-family: "GamjaCutePinkOutline", "Pretendard", "Segoe UI Variable Text", sans-serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.panel h2 {
  font-size: clamp(27px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-text,
.subtle,
.empty-state,
.ranking-table td,
.ranking-table th,
.command-card p,
.guild-card p,
.form-caption,
.command-settings-summary,
.welcome-help {
  color: var(--muted);
}

.hero-text {
  max-width: 52ch;
  margin: 16px 0 20px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.auth-card {
  position: relative;
  z-index: 50;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(158, 116, 61, 0.16);
}

.auth-card.is-locked {
  border-color: rgba(193, 109, 80, 0.28);
  background: rgba(255, 232, 215, 0.5);
}

.auth-label {
  display: none;
}

.auth-card strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.auth-actions {
  position: relative;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.auth-button {
  text-decoration: none;
  white-space: nowrap;
}

.global-guild-control {
  position: relative;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: min(380px, 100%);
  padding: 8px 12px 8px 10px;
  border-radius: 28px;
  border: 1px solid rgba(174, 125, 68, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 46%),
    linear-gradient(135deg, rgba(255, 252, 244, 0.82), rgba(246, 221, 184, 0.38));
  box-shadow:
    0 16px 34px rgba(104, 74, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.global-guild-control:hover,
.global-guild-control:focus-within,
.global-guild-control.is-open {
  border-color: rgba(189, 123, 58, 0.34);
  box-shadow:
    0 18px 38px rgba(104, 74, 39, 0.12),
    0 0 0 4px rgba(221, 151, 78, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.global-guild-control::after {
  display: none;
}

.global-guild-control[hidden] {
  display: none;
}

.global-guild-control span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(106, 74, 43, 0.78);
  font-size: 14px;
  letter-spacing: -0.02em;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(255, 239, 211, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.global-guild-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.global-guild-select:focus {
  outline: none;
}

.global-guild-button {
  position: relative;
  min-height: 46px;
  width: min(260px, 52vw);
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 226, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(174, 125, 68, 0.12);
  padding: 0 44px 0 18px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.global-guild-button::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(106, 74, 43, 0.68);
  border-bottom: 2px solid rgba(106, 74, 43, 0.68);
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.18s ease;
}

.global-guild-control.is-open .global-guild-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.global-guild-button:hover,
.global-guild-button:focus-visible {
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 1), rgba(255, 239, 211, 1));
  box-shadow:
    0 0 0 4px rgba(221, 151, 78, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.global-guild-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.global-guild-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 10px;
  z-index: 500;
  display: grid;
  gap: 6px;
  width: min(320px, calc(100vw - 48px));
  max-height: 240px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(174, 125, 68, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9), transparent 44%),
    linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(249, 230, 197, 0.98));
  box-shadow:
    0 22px 52px rgba(89, 62, 30, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.global-guild-menu[hidden] {
  display: none;
}

.global-guild-menu::-webkit-scrollbar {
  width: 10px;
}

.global-guild-menu::-webkit-scrollbar-track {
  background: rgba(158, 116, 61, 0.08);
  border-radius: 999px;
}

.global-guild-menu::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 250, 240, 0.88);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(221, 151, 78, 0.58), rgba(240, 188, 105, 0.46));
}

.global-guild-option {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  color: rgba(49, 37, 26, 0.88);
  background: transparent;
  cursor: pointer;
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.global-guild-option:hover,
.global-guild-option:focus-visible {
  outline: none;
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(174, 125, 68, 0.12);
}

.global-guild-option.is-selected {
  color: #fffaf0;
  background: linear-gradient(135deg, #c98242, #e6ae63);
  box-shadow:
    0 10px 22px rgba(189, 123, 58, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.ghost-button {
  border: 1px solid rgba(158, 116, 61, 0.18);
  background: rgba(255, 255, 255, 0.36);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ghost-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 250, 240, 0.68);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.status-pill.online {
  background: rgba(47, 141, 98, 0.13);
  color: var(--ok);
  border: 1px solid rgba(120, 244, 167, 0.3);
}

.status-pill.offline {
  background: rgba(193, 109, 80, 0.13);
  color: var(--warn);
  border: 1px solid rgba(255, 156, 156, 0.25);
}

.dashboard-sidebar {
  position: sticky;
  top: 28px;
  min-height: calc(100vh - 68px);
  padding: 18px 18px 18px 0;
  border-right: 1px solid rgba(158, 116, 61, 0.2);
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.sidebar-label {
  display: none;
}

[hidden] {
  display: none !important;
}

.dashboard-pages {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-top: var(--section-gap);
}

.page-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  flex: 1 1 auto;
  min-height: calc(100vh - 156px);
}

.tab-button {
  position: relative;
  width: 100%;
  border: 1px solid rgba(158, 116, 61, 0.16);
  background: rgba(255, 255, 255, 0.34);
  color: var(--muted);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.tab-button:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.tab-button.is-active {
  background: linear-gradient(135deg, rgba(221, 151, 78, 0.92), rgba(240, 188, 105, 0.86));
  color: white;
  border-color: rgba(189, 123, 58, 0.34);
}

.tab-button.is-active::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -19px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(221, 151, 78, 0.32);
}

.tab-button[data-tab="billing"] {
  margin-top: auto;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel[hidden] {
  display: none !important;
}

.stats-grid,
.content-grid,
.command-settings-stack,
.welcome-editor-grid,
.level-background-grid,
.billing-layout,
.xp-editor-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.stats-grid {
  margin-top: 0;
}

.stat-card {
  grid-column: span 3;
  min-height: 132px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 244, 224, 0.42));
  display: grid;
  align-content: space-between;
  gap: 10px;
}

.stat-card .label {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.stat-card strong {
  font-size: clamp(27px, 3.1vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.billing-mini-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 139, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(252, 230, 191, 0.46));
}

.billing-mini-card strong {
  font-size: clamp(23px, 2.3vw, 31px);
}

.compact-button {
  width: fit-content;
  padding: 9px 13px;
  font-size: 14px;
}

.content-grid {
  margin-top: var(--section-gap);
}

.panel {
  border-radius: var(--radius-xl);
  background: var(--panel);
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.spotlight-panel {
  grid-column: span 6;
}

.ranking-panel {
  grid-column: span 12;
}

.command-panel {
  grid-column: span 6;
}

.spotlight-panel,
.command-panel {
  min-height: 430px;
}

.ranking-panel {
  min-height: 430px;
}

.billing-panel {
  margin-top: 0;
}

.billing-plan-card,
.billing-action-card {
  grid-column: span 6;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(158, 116, 61, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 226, 176, 0.35), transparent 40%),
    rgba(255, 255, 255, 0.38);
}

.billing-guide-card {
  grid-column: span 12;
  padding: 22px;
  border: 1px solid rgba(158, 116, 61, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 238, 205, 0.45), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.26);
}

.billing-guide-card h3 {
  margin: 10px 0 16px;
  color: var(--text);
  font-size: clamp(25px, 2.9vw, 34px);
  letter-spacing: -0.04em;
}

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

.manual-guide-item {
  display: grid;
  gap: 9px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 13, 31, 0.42);
}

.manual-guide-item strong {
  color: var(--text);
  font-size: 18px;
}

.manual-guide-item code {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 213, 255, 0.18);
  background: rgba(143, 213, 255, 0.09);
  color: #cdefff;
  font-size: 14px;
  font-weight: 800;
}

.manual-guide-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.billing-plan-card strong,
.billing-action-card strong {
  display: block;
  margin: 12px 0;
  color: var(--text);
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.04em;
}

.billing-actions {
  margin-top: 22px;
  justify-content: flex-start;
}

.premium-duration-field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.premium-duration-field[hidden] {
  display: none;
}

.premium-duration-field span {
  color: var(--muted);
  font-weight: 800;
}

.premium-inline-duration-field {
  min-width: min(100%, 260px);
  margin-top: 0;
}

.premium-duration-picker {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(92px, 112px);
  gap: 8px;
  align-items: center;
}

.premium-custom-months-input[hidden] {
  display: none;
}

.premium-custom-months-input {
  min-height: 46px;
  text-align: center;
  font-weight: 900;
}

.billing-result-page {
  width: min(100% - 32px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.billing-result-card h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5.2vw, 54px);
}

.command-panel {
  grid-template-rows: auto minmax(0, 1fr);
  height: 430px;
  overflow: hidden;
}

.panel-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.top-user-card {
  min-height: 190px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(121, 133, 255, 0.2), rgba(76, 160, 255, 0.08)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: start;
}

.top-user-card.empty {
  place-items: center;
}

.top-user-rank {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.top-user-id {
  font-size: clamp(29px, 2.5vw, 36px);
  line-height: 1.15;
  word-break: break-all;
  letter-spacing: -0.03em;
}

.top-user-stats,
.guild-meta,
.command-list,

.top-user-stats {
  margin-top: 14px;
}

.command-list {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 213, 255, 0.42) rgba(255, 255, 255, 0.04);
  padding-right: 8px;
  align-content: start;
}

.command-list::-webkit-scrollbar {
  width: 10px;
}

.command-list::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 999px;
}

.command-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(143, 213, 255, 0.5), rgba(127, 140, 255, 0.32));
  border-radius: 999px;
  border: 2px solid rgba(8, 18, 42, 0.75);
}

.command-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(168, 228, 255, 0.72), rgba(139, 154, 255, 0.52));
}

.activity-panel {
  margin-top: 0;
}

.activity-person-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 14% 0%, rgba(143, 213, 255, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(7, 17, 38, 0.74);
  border: 1px solid rgba(143, 213, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.weekly-activity-header {
  margin-top: 18px;
}

.compact-select {
  max-width: 220px;
}

.activity-list {
  max-height: clamp(360px, 54vh, 520px);
  min-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  gap: 12px;
  padding: 14px 10px 14px 14px;
  border: 1px solid rgba(143, 213, 255, 0.14);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 14% 0%, rgba(143, 213, 255, 0.09), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(5, 13, 30, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -18px 34px rgba(3, 9, 22, 0.26);
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 213, 255, 0.42) rgba(255, 255, 255, 0.04);
}

.weekly-activity-list {
  max-height: clamp(320px, 48vh, 500px);
}

.activity-list::-webkit-scrollbar {
  width: 10px;
}

.activity-list::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 999px;
}

.activity-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(143, 213, 255, 0.5), rgba(127, 140, 255, 0.32));
  border-radius: 999px;
  border: 2px solid rgba(8, 18, 42, 0.75);
}

.activity-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(168, 228, 255, 0.72), rgba(139, 154, 255, 0.52));
}

.activity-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.activity-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(7, 17, 38, 0.74);
  display: grid;
  gap: 12px;
}

.activity-card.message {
  border-color: rgba(143, 213, 255, 0.2);
}

.activity-card.voice {
  border-color: rgba(158, 240, 190, 0.2);
}

.activity-card-head,
.activity-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.activity-card-head {
  justify-content: space-between;
}

.activity-card-head time {
  color: var(--muted);
  font-size: 14px;
}

.activity-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(143, 213, 255, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.activity-card.voice .activity-badge {
  background: rgba(158, 240, 190, 0.11);
  color: var(--ok);
}

.activity-main strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.activity-main p {
  margin: 8px 0 0;
  color: var(--text);
  line-height: 1.7;
  word-break: break-word;
}

.activity-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.activity-link:hover {
  text-decoration: underline;
}

.activity-warning-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.warning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.warning-count-chip,
.warning-button {
  border-radius: 999px;
  font-weight: 800;
}

.warning-count-chip {
  padding: 8px 12px;
  border: 1px solid rgba(143, 213, 255, 0.16);
  background: rgba(143, 213, 255, 0.08);
  color: var(--accent);
  font-size: 14px;
}

.warning-count-chip.warn {
  border-color: rgba(255, 213, 133, 0.28);
  background: rgba(255, 213, 133, 0.1);
  color: #ffe1a8;
}

.warning-count-chip.danger {
  border-color: rgba(255, 176, 155, 0.45);
  background: rgba(255, 119, 119, 0.15);
  color: #ffd7cf;
}

.warning-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 18, 42, 0.78);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.warning-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.warning-plus {
  border-color: rgba(255, 176, 155, 0.34);
  color: #ffd7cf;
}

.warning-plus:hover:not(:disabled) {
  border-color: rgba(255, 176, 155, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 119, 119, 0.24), rgba(255, 176, 155, 0.14)),
    rgba(8, 18, 42, 0.82);
}

.warning-minus {
  border-color: rgba(143, 213, 255, 0.28);
  color: #cfeeff;
}

.warning-minus:hover:not(:disabled) {
  border-color: rgba(143, 213, 255, 0.56);
  background:
    linear-gradient(135deg, rgba(143, 213, 255, 0.18), rgba(127, 140, 255, 0.12)),
    rgba(8, 18, 42, 0.82);
}

.warning-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
}

.guild-card,
.command-card,
.form-field {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guild-card,
.command-card {
  display: grid;
  gap: 8px;
}

.guild-card h3,
.command-card h3,
.editor-section-title,
.form-label {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ranking-table-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 0;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: rgba(0, 0, 0, 0.12);
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-table th {
  position: sticky;
  top: 0;
  background: rgba(11, 22, 47, 0.96);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.ranking-table td {
  color: var(--text);
}

.ranking-table tr:last-child td {
  border-bottom: none;
}

.ranking-name {
  color: var(--text);
  font-weight: 700;
}

.empty-state {
  padding: 22px;
  text-align: center;
}

.command-settings-stack {
  margin-top: 0;
}

.welcome-editor-panel,
.nickname-panel-editor,
.level-background-panel,
.level-layout-panel,
.xp-editor-panel,
.daily-activity-settings-panel {
  grid-column: span 12;
}

.command-settings-summary {
  margin: -4px 0 0;
  line-height: 1.75;
}

.server-settings-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 320px) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(143, 213, 255, 0.08), rgba(101, 124, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(143, 213, 255, 0.14);
}

.server-select-field {
  display: grid;
  gap: 8px;
}

.premium-status-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 213, 126, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 213, 126, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 213, 126, 0.08), rgba(101, 124, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.premium-status-card[hidden] {
  display: none;
}

.premium-status-card strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.premium-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.premium-feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(143, 213, 255, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(9, 19, 42, 0.42);
  font-size: 14px;
  font-weight: 800;
}

.premium-status-card.is-free {
  border-color: rgba(255, 176, 155, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 176, 155, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.premium-status-card.is-developer {
  border-color: rgba(255, 213, 126, 0.28);
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.premium-contact-link {
  text-decoration: none;
}

.select-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(143, 213, 255, 0.22);
  border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(20, 34, 68, 0.98), rgba(11, 20, 42, 0.98));
  padding: 0 42px 0 16px;
  font: inherit;
  font-weight: 700;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.select-input:focus {
  border-color: rgba(143, 213, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(75, 203, 255, 0.12);
}

.select-input option {
  background: #0b142a;
  color: var(--text);
}

.controlled-guild-row,
.controlled-guild-select {
  display: none;
}

.choice-select {
  min-height: 132px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(5, 12, 26, 0.86), rgba(5, 12, 26, 0.72)),
    rgba(5, 12, 26, 0.75);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 213, 255, 0.42) rgba(255, 255, 255, 0.04);
  scroll-behavior: smooth;
}

.choice-select::-webkit-scrollbar {
  width: 10px;
}

.choice-select::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 999px;
}

.choice-select::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(143, 213, 255, 0.5), rgba(127, 140, 255, 0.32));
  border-radius: 999px;
  border: 2px solid rgba(8, 18, 42, 0.75);
}

.choice-select::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(168, 228, 255, 0.72), rgba(139, 154, 255, 0.52));
}

.choice-select option {
  padding: 9px 11px;
  border-radius: 10px;
}

.choice-select option:checked {
  background: linear-gradient(135deg, rgba(143, 213, 255, 0.32), rgba(127, 140, 255, 0.26));
  color: var(--text);
}

.welcome-editor-copy {
  grid-column: span 7;
}

.welcome-preview-card {
  grid-column: span 5;
  border-radius: var(--radius-lg);
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(121, 133, 255, 0.18), rgba(76, 160, 255, 0.08)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: start;
  gap: 12px;
}

.nickname-panel-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.nickname-panel-form {
  grid-column: span 7;
  display: grid;
  gap: 14px;
}

.nickname-panel-preview-card {
  grid-column: span 5;
  border-radius: var(--radius-lg);
  padding: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(143, 213, 255, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(35, 55, 104, 0.82), rgba(8, 18, 40, 0.94));
  border: 1px solid rgba(143, 213, 255, 0.16);
  display: grid;
  align-content: start;
  gap: 12px;
}

.nickname-preview-pill {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(143, 213, 255, 0.14);
}

.nickname-preview-pill span {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.nickname-preview-pill strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.discord-preview-button {
  justify-self: start;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #47b7f2);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(71, 183, 242, 0.24);
}

.nickname-panel-editor {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.56), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.82), rgba(250, 232, 200, 0.42));
}

.nickname-panel-preview-card {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.62), transparent 36%),
    linear-gradient(145deg, rgba(255, 252, 244, 0.76), rgba(251, 231, 194, 0.42));
  border-color: rgba(174, 125, 68, 0.18);
}

.nickname-preview-pill {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(255, 241, 216, 0.46));
  border-color: rgba(174, 125, 68, 0.16);
}

.nickname-preview-pill span {
  color: rgba(158, 98, 42, 0.82);
}

.discord-preview-button {
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(189, 123, 58, 0.94), rgba(230, 174, 99, 0.92));
  box-shadow:
    0 14px 30px rgba(189, 123, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.discord-preview-button:disabled {
  opacity: 0.92;
}

.nickname-panel-recent {
  color: rgba(91, 72, 50, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 243, 222, 0.38));
  border-color: rgba(174, 125, 68, 0.14);
}

.nickname-panel-recent div + div {
  border-top-color: rgba(174, 125, 68, 0.12);
}

.nickname-panel-recent a {
  color: #a6672f;
}

.nickname-panel-recent {
  min-height: 52px;
  padding: 12px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(5, 12, 26, 0.42);
  border: 1px solid rgba(143, 213, 255, 0.10);
  font-size: 14px;
  line-height: 1.6;
}

.nickname-panel-recent div + div {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(143, 213, 255, 0.10);
}

.nickname-panel-recent strong {
  display: block;
  color: var(--text);
}

.nickname-panel-recent a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.danger-text {
  color: #ff9fa9;
}

.text-input {
  font-family: inherit;
}

.compact-textarea {
  min-height: 118px;
}

.activity-server-row {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 320px) minmax(150px, 180px) auto;
}

.level-background-grid {
  align-items: stretch;
}

.level-background-copy {
  grid-column: span 7;
  display: grid;
  align-content: start;
}

.level-background-preview-card {
  grid-column: span 5;
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 213, 255, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(33, 56, 108, 0.72), rgba(9, 18, 37, 0.88));
  border: 1px solid rgba(143, 213, 255, 0.16);
  display: grid;
  gap: 12px;
  align-content: start;
}

.level-card-preview-canvas > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.level-card-preview-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 16% 0%, rgba(143, 213, 255, 0.14), transparent 34%),
    rgba(5, 12, 26, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.level-card-preview-canvas {
  position: relative;
  overflow: hidden;
  aspect-ratio: 25 / 14;
  line-height: 0;
}

.level-layout-preview {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.layout-preview-avatar,
.layout-preview-name,
.layout-preview-level,
.layout-preview-bar,
.layout-preview-exp {
  position: absolute;
  box-sizing: border-box;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transition: box-shadow 0.16s ease, filter 0.16s ease, outline-color 0.16s ease;
}

.layout-preview-avatar:hover,
.layout-preview-name:hover,
.layout-preview-level:hover,
.layout-preview-bar:hover,
.layout-preview-exp:hover,
.layout-preview-avatar.is-dragging,
.layout-preview-name.is-dragging,
.layout-preview-level.is-dragging,
.layout-preview-bar.is-dragging,
.layout-preview-exp.is-dragging {
  filter: drop-shadow(0 10px 20px rgba(56, 189, 248, 0.28));
  outline: 2px solid rgba(78, 168, 255, 0.72);
  outline-offset: 5px;
}

.layout-preview-avatar.is-dragging,
.layout-preview-name.is-dragging,
.layout-preview-level.is-dragging,
.layout-preview-bar.is-dragging,
.layout-preview-exp.is-dragging {
  cursor: grabbing;
  z-index: 5;
}

.layout-preview-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.94), rgba(255, 249, 238, 0.74) 62%, rgba(236, 214, 184, 0.54));
  border: 2px dashed rgba(117, 78, 38, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.56);
}

.layout-preview-avatar::before {
  content: "프로필\a사진";
  white-space: pre;
  color: rgba(74, 52, 31, 0.78);
  font-size: clamp(10px, 1.1vw, 17px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.layout-preview-name,
.layout-preview-level,
.layout-preview-exp {
  color: rgba(7, 10, 18, 0.92);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.layout-preview-name,
.layout-preview-exp {
  transform: translateX(-50%);
}

.layout-preview-bar {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(7, 10, 18, 0.92);
}

.layout-preview-bar span {
  display: block;
  width: 46%;
  height: 100%;
  background: rgba(7, 10, 18, 0.92);
}

.level-layout-quick-controls {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 8% 0%, rgba(143, 213, 255, 0.14), transparent 34%),
    rgba(5, 12, 26, 0.34);
  border: 1px solid rgba(143, 213, 255, 0.14);
}

.level-layout-inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(92, 141, 255, 0.12), rgba(73, 193, 231, 0.08)),
    rgba(5, 12, 26, 0.42);
  border: 1px solid rgba(143, 213, 255, 0.16);
}

.level-layout-save-cta {
  flex: 0 0 auto;
  min-width: 148px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.level-layout-inline-actions .subtle {
  flex: 1 1 auto;
  line-height: 1.55;
}

.level-layout-save-cta.is-dirty {
  border-color: rgba(255, 217, 139, 0.74);
  background:
    linear-gradient(135deg, #ffd98b, #54c7ff);
  color: #061026;
  box-shadow: 0 0 0 1px rgba(255, 217, 139, 0.16), 0 18px 34px rgba(84, 199, 255, 0.2);
}

.quick-controls-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 2px;
}

.quick-controls-head strong {
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.quick-controls-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-range-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.quick-range-field output {
  justify-self: end;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.quick-range-field input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  background:
    linear-gradient(90deg, rgba(92, 141, 255, 0.92), rgba(73, 193, 231, 0.9)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(143, 213, 255, 0.16);
  cursor: pointer;
}

.quick-range-field input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(145deg, #eef7ff, #6dc7ff);
  border: 2px solid rgba(7, 14, 30, 0.72);
  box-shadow: 0 8px 18px rgba(46, 163, 255, 0.36);
}

.quick-range-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(145deg, #eef7ff, #6dc7ff);
  border: 2px solid rgba(7, 14, 30, 0.72);
  box-shadow: 0 8px 18px rgba(46, 163, 255, 0.36);
}

.level-layout-panel {
  min-height: auto;
}

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

.layout-fieldset {
  grid-column: span 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(143, 213, 255, 0.14);
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 213, 255, 0.12), transparent 34%),
    rgba(5, 12, 26, 0.44);
}

.layout-fieldset legend {
  padding: 0 8px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.layout-fieldset .form-field {
  grid-column: span 1;
}

.file-drop-zone {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(143, 213, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(75, 203, 255, 0.08), rgba(101, 124, 255, 0.06)),
    rgba(5, 12, 26, 0.68);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.file-drop-zone:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 213, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(75, 203, 255, 0.12), rgba(101, 124, 255, 0.09)),
    rgba(5, 12, 26, 0.78);
}

.file-drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-drop-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(143, 213, 255, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.file-drop-zone strong {
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.level-background-size-grid,
.level-background-crop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.level-background-crop-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hidden-crop-fields {
  display: none;
}

.level-background-crop-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(143, 213, 255, 0.14);
  background:
    radial-gradient(circle at 10% 0%, rgba(143, 213, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.028);
}

.preview-crop-box {
  margin-top: 0;
  padding: 14px;
  border: 0;
  border-top: 1px solid rgba(143, 213, 255, 0.14);
  border-radius: 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(78, 168, 255, 0.13), transparent 34%),
    rgba(5, 12, 26, 0.24);
}

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

.crop-box-head h4 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.small-button {
  min-height: 40px;
  padding: 10px 14px;
  white-space: nowrap;
}

.level-background-crop-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 220px;
  max-height: 420px;
  margin-top: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(143, 213, 255, 0.16);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%),
    rgba(5, 12, 26, 0.72);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  touch-action: none;
  user-select: none;
}

.level-background-crop-stage[hidden],
.level-background-crop-selection[hidden] {
  display: none;
}

.level-background-preview-card .level-background-crop-stage {
  min-height: 132px;
  max-height: 230px;
}

.level-background-crop-stage img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  pointer-events: none;
}

.level-background-preview-card .level-background-crop-stage img {
  max-height: 230px;
}

.level-background-crop-empty {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 128px;
  margin-top: 12px;
  padding: 18px;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(143, 213, 255, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 190, 255, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(33, 56, 108, 0.54), rgba(5, 12, 26, 0.76));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.level-background-crop-empty::before,
.level-background-crop-empty::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.level-background-crop-empty::before {
  inset: 16px;
  border-radius: calc(var(--radius-md) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.level-background-crop-empty::after {
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76, 201, 255, 0.18), transparent 68%);
}

.level-background-crop-empty:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 213, 255, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 190, 255, 0.3), transparent 38%),
    linear-gradient(145deg, rgba(39, 68, 132, 0.62), rgba(5, 12, 26, 0.82));
}

.crop-empty-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(88, 166, 255, 0.95), rgba(65, 210, 235, 0.86));
  box-shadow:
    0 18px 38px rgba(42, 157, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.crop-empty-orb span {
  width: 19px;
  height: 19px;
  border-radius: 7px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 14px 10px 0 -7px rgba(255, 255, 255, 0.72);
}

.level-background-crop-empty strong {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.level-background-crop-empty small {
  max-width: 320px;
  color: var(--muted);
  line-height: 1.5;
}

.level-background-crop-stage:not([hidden]) + .level-background-crop-empty {
  display: none;
}

.level-background-crop-selection {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid rgba(143, 213, 255, 0.95);
  border-radius: 12px;
  box-shadow:
    0 0 0 9999px rgba(1, 6, 16, 0.5),
    0 0 24px rgba(72, 206, 255, 0.34);
  cursor: move;
  touch-action: none;
}

.level-background-crop-selection::before,
.level-background-crop-selection::after {
  content: "";
  position: absolute;
  inset: 33.333% 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.level-background-crop-selection::after {
  inset: 0 33.333%;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.crop-handle {
  position: absolute;
  display: block;
  touch-action: none;
}

.crop-handle-n,
.crop-handle-s {
  left: 18px;
  right: 18px;
  height: 18px;
  cursor: ns-resize;
}

.crop-handle-n {
  top: -9px;
}

.crop-handle-s {
  bottom: -9px;
}

.crop-handle-e,
.crop-handle-w {
  top: 18px;
  bottom: 18px;
  width: 18px;
  cursor: ew-resize;
}

.crop-handle-e {
  right: -9px;
}

.crop-handle-w {
  left: -9px;
}

.crop-handle-nw,
.crop-handle-ne,
.crop-handle-se,
.crop-handle-sw {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(167, 229, 255, 0.98), rgba(106, 124, 255, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.crop-handle-nw {
  left: -11px;
  top: -11px;
  cursor: nwse-resize;
}

.crop-handle-ne {
  right: -11px;
  top: -11px;
  cursor: nesw-resize;
}

.crop-handle-se {
  right: -11px;
  bottom: -11px;
  cursor: nwse-resize;
}

.crop-handle-sw {
  left: -11px;
  bottom: -11px;
  cursor: nesw-resize;
}

.compact-field {
  grid-column: auto;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(143, 213, 255, 0.12);
}

.welcome-preview-card h3 {
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.welcome-help {
  margin: 0 0 14px;
  line-height: 1.7;
}

.welcome-help code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-family: "Consolas", "D2Coding", monospace;
}

.welcome-textarea,
.number-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(5, 12, 26, 0.75);
  color: var(--text);
  padding: 16px 18px;
  font: inherit;
  line-height: 1.6;
  outline: none;
}

.welcome-textarea {
  min-height: 180px;
  resize: vertical;
}

.number-input {
  min-height: 56px;
}

.welcome-textarea:focus,
.number-input:focus {
  border-color: rgba(143, 213, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 140, 255, 0.12);
}

.welcome-editor-actions,
.level-background-actions,
.xp-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.welcome-preview-body {
  min-height: 160px;
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  line-height: 1.75;
}

.xp-editor-grid {
  gap: 16px;
}

.daily-activity-settings-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.daily-activity-settings-grid .form-field {
  grid-column: span 6;
}

.daily-activity-settings-grid .wide-field {
  grid-column: span 4;
}

.textlike-input {
  font-family: "Consolas", "D2Coding", monospace;
  letter-spacing: 0.01em;
}

.activity-card.daily.complete .activity-badge {
  background: rgba(158, 240, 190, 0.12);
  color: var(--ok);
}

.activity-card.daily.pending .activity-badge {
  background: rgba(255, 176, 155, 0.11);
  color: var(--warn);
}

.activity-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-progress span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(143, 213, 255, 0.25);
}

.activity-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-role-chip {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(189, 123, 58, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 238, 205, 0.58);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.form-field {
  grid-column: span 6;
  display: grid;
  gap: 10px;
}

.form-caption {
  line-height: 1.6;
  font-size: 14px;
}

.primary-button {
  border: 1px solid rgba(143, 213, 255, 0.25);
  background: linear-gradient(135deg, rgba(101, 124, 255, 0.9), rgba(75, 203, 255, 0.85));
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(75, 203, 255, 0.18);
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.danger-button {
  border: 1px solid rgba(255, 176, 155, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 119, 119, 0.26), rgba(255, 176, 155, 0.14)),
    rgba(255, 255, 255, 0.035);
  color: #8f2f22;
  border-radius: 999px;
  padding: 10px 15px;
  font: inherit;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.danger-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 176, 155, 0.6);
  background:
    linear-gradient(135deg, rgba(255, 119, 119, 0.34), rgba(255, 176, 155, 0.2)),
    rgba(255, 255, 255, 0.05);
  color: #742416;
}

.danger-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

/* Warm theme finish: cover legacy dark panels that live deep in feature sections. */
.activity-person-header,
.server-settings-row,
.activity-list,
.activity-card,
.top-user-card,
.welcome-preview-card,
.nickname-panel-preview-card,
.level-background-preview-card,
.level-layout-quick-controls,
.level-layout-inline-actions,
.layout-fieldset,
.level-background-crop-box,
.preview-crop-box,
.premium-status-card,
.guild-card,
.command-card,
.form-field,
.ranking-table-wrap {
  border-color: rgba(158, 116, 61, 0.15);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 241, 216, 0.38));
  box-shadow: 0 18px 52px rgba(126, 84, 34, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.activity-list,
.command-list,
.choice-select {
  scrollbar-color: rgba(189, 123, 58, 0.38) rgba(158, 116, 61, 0.08);
}

.activity-list::-webkit-scrollbar-track,
.command-list::-webkit-scrollbar-track,
.choice-select::-webkit-scrollbar-track {
  background: rgba(158, 116, 61, 0.08);
}

.activity-list::-webkit-scrollbar-thumb,
.command-list::-webkit-scrollbar-thumb,
.choice-select::-webkit-scrollbar-thumb {
  border-color: rgba(255, 250, 240, 0.78);
  background: linear-gradient(180deg, rgba(221, 151, 78, 0.58), rgba(240, 188, 105, 0.46));
}

.activity-list::-webkit-scrollbar-thumb:hover,
.command-list::-webkit-scrollbar-thumb:hover,
.choice-select::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(221, 151, 78, 0.74), rgba(240, 188, 105, 0.62));
}

.activity-list {
  box-shadow: inset 0 -18px 34px rgba(126, 84, 34, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.activity-card {
  box-shadow: none;
}

.activity-card.message,
.activity-card.voice {
  border-color: rgba(158, 116, 61, 0.16);
}

.activity-server-row {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.56), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(255, 241, 216, 0.38));
}

.activity-server-row .form-label {
  color: var(--text);
}

.activity-badge,
.premium-feature-list span,
.warning-count-chip {
  border-color: rgba(189, 123, 58, 0.16);
  background: rgba(255, 238, 205, 0.52);
  color: var(--accent);
}

.activity-card.voice .activity-badge,
.activity-card.daily.complete .activity-badge {
  background: rgba(47, 141, 98, 0.11);
  color: var(--ok);
}

.activity-card.daily.pending .activity-badge,
.warning-count-chip.warn {
  border-color: rgba(193, 109, 80, 0.24);
  background: rgba(255, 232, 215, 0.58);
  color: var(--warn);
}

.warning-count-chip.danger {
  border-color: rgba(193, 109, 80, 0.36);
  background: rgba(255, 218, 204, 0.62);
  color: #9d402d;
}

.warning-button {
  border-color: rgba(158, 116, 61, 0.18);
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
}

.warning-plus {
  border-color: rgba(193, 109, 80, 0.28);
  color: #9d402d;
}

.warning-minus {
  border-color: rgba(189, 123, 58, 0.26);
  color: var(--accent);
}

.warning-plus:hover:not(:disabled),
.warning-minus:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 238, 205, 0.72), rgba(255, 255, 255, 0.56));
}

.ranking-table {
  background: rgba(255, 255, 255, 0.26);
}

.ranking-table th {
  background: rgba(255, 247, 232, 0.96);
  color: var(--accent);
}

.ranking-table th,
.ranking-table td {
  border-bottom-color: rgba(158, 116, 61, 0.1);
}

.select-input,
.choice-select,
.welcome-textarea,
.number-input {
  border-color: rgba(158, 116, 61, 0.18);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 246, 229, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.select-input:focus,
.welcome-textarea:focus,
.number-input:focus {
  border-color: rgba(189, 123, 58, 0.45);
  box-shadow: 0 0 0 4px rgba(221, 151, 78, 0.13);
}

.select-input option,
.choice-select option {
  background: #fff8eb;
  color: var(--text);
}

.choice-select option:checked {
  background: linear-gradient(135deg, rgba(221, 151, 78, 0.24), rgba(240, 188, 105, 0.18));
  color: var(--text);
}

.welcome-help code,
.chip {
  border-color: rgba(158, 116, 61, 0.14);
  background: rgba(255, 238, 205, 0.5);
}

.welcome-preview-body,
.nickname-preview-pill,
.nickname-panel-recent,
.level-card-preview-frame,
.level-background-crop-stage,
.file-drop-zone {
  border-color: rgba(158, 116, 61, 0.15);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 244, 224, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.primary-button {
  border-color: rgba(189, 123, 58, 0.28);
  background: linear-gradient(135deg, rgba(221, 151, 78, 0.92), rgba(240, 188, 105, 0.86));
}

.primary-button:hover {
  box-shadow: 0 12px 28px rgba(221, 151, 78, 0.18);
}

/* Nickname panel warm polish */
.nickname-panel-editor,
.nickname-panel-preview-card {
  border-color: rgba(174, 125, 68, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.58), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.78), rgba(250, 232, 200, 0.44));
}

.nickname-preview-pill,
.nickname-panel-recent {
  border-color: rgba(174, 125, 68, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 243, 222, 0.42));
}

.nickname-preview-pill span {
  color: rgba(158, 98, 42, 0.82);
}

.discord-preview-button {
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(189, 123, 58, 0.94), rgba(230, 174, 99, 0.92));
  box-shadow:
    0 14px 30px rgba(189, 123, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nickname-panel-recent {
  color: rgba(91, 72, 50, 0.76);
}

.nickname-panel-recent div + div {
  border-top-color: rgba(174, 125, 68, 0.12);
}

.nickname-panel-recent a {
  color: #a6672f;
}

/* Level card editor warm polish */
.level-background-crop-empty {
  border-color: rgba(189, 123, 58, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 235, 195, 0.72), transparent 38%),
    linear-gradient(145deg, rgba(255, 252, 244, 0.74), rgba(244, 216, 174, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 42px rgba(126, 84, 34, 0.1);
}

.level-background-crop-empty::before {
  border-color: rgba(174, 125, 68, 0.16);
}

.level-background-crop-empty::after {
  background: radial-gradient(circle, rgba(221, 151, 78, 0.18), transparent 68%);
}

.level-background-crop-empty:hover {
  border-color: rgba(189, 123, 58, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 229, 181, 0.82), transparent 40%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.82), rgba(240, 203, 151, 0.5));
}

.crop-empty-orb {
  background: linear-gradient(145deg, rgba(247, 198, 123, 0.98), rgba(221, 151, 78, 0.94));
  box-shadow:
    0 18px 38px rgba(189, 123, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.level-background-crop-empty strong {
  color: #4b3320;
}

.level-background-crop-empty small {
  color: rgba(109, 82, 54, 0.78);
}

.quick-range-field input[type="range"] {
  background:
    linear-gradient(90deg, rgba(221, 151, 78, 0.9), rgba(240, 188, 105, 0.86)),
    rgba(158, 116, 61, 0.1);
  box-shadow: inset 0 0 0 1px rgba(174, 125, 68, 0.18);
}

.quick-range-field input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(145deg, #fff9ed, #e9a95f);
  border-color: rgba(117, 78, 38, 0.62);
  box-shadow: 0 8px 18px rgba(189, 123, 58, 0.28);
}

.quick-range-field input[type="range"]::-moz-range-thumb {
  background: linear-gradient(145deg, #fff9ed, #e9a95f);
  border-color: rgba(117, 78, 38, 0.62);
  box-shadow: 0 8px 18px rgba(189, 123, 58, 0.28);
}

.level-background-crop-selection {
  border-color: rgba(221, 151, 78, 0.94);
  box-shadow:
    0 0 0 9999px rgba(62, 39, 17, 0.38),
    0 0 24px rgba(221, 151, 78, 0.32);
}

.crop-handle-nw,
.crop-handle-ne,
.crop-handle-se,
.crop-handle-sw {
  background: linear-gradient(135deg, rgba(255, 246, 230, 0.98), rgba(221, 151, 78, 0.94));
  border-color: rgba(255, 252, 244, 0.94);
}

.level-layout-save-cta.is-dirty {
  border-color: rgba(189, 123, 58, 0.48);
  background: linear-gradient(135deg, #e09b4e, #f4bf76);
  color: #3c2616;
  box-shadow: 0 0 0 1px rgba(221, 151, 78, 0.16), 0 18px 34px rgba(189, 123, 58, 0.18);
}

@media (max-width: 1180px) {
  .hero-copy,
  .spotlight-panel,
  .ranking-panel,
  .command-panel,
  .welcome-editor-copy,
  .welcome-preview-card,
  .nickname-panel-form,
  .nickname-panel-preview-card,
  .level-background-copy,
  .level-background-preview-card,
  .billing-plan-card,
  .billing-action-card,
  .billing-guide-card,
  .layout-fieldset,
  .daily-activity-settings-grid .wide-field {
    grid-column: span 12;
  }

  .hero-art,
  .form-field {
    grid-column: span 12;
  }

  .server-settings-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .command-panel {
    height: auto;
  }

  .manual-guide-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .stat-card {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1360px);
    padding-top: 16px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-sidebar {
    position: static;
    min-height: 0;
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(143, 213, 255, 0.22);
  }

  .page-tabs {
    flex-flow: row nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    flex: 0 0 auto;
    min-height: 0;
  }

  .tab-button {
    width: auto;
    min-width: 112px;
    text-align: center;
  }

  .tab-button.is-active::before {
    top: auto;
    bottom: -8px;
    left: 18px;
    right: 18px;
    width: auto;
    height: 3px;
  }

  .hero,
  .panel {
    border-radius: 22px;
    padding: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    grid-column: span 2;
    min-height: 120px;
  }

  .panel h2 {
    font-size: 27px;
  }

  .welcome-preview-card h3 {
    font-size: 27px;
  }

}

@media (max-width: 540px) {
  .stats-grid,
  .content-grid,
  .command-settings-stack,
  .welcome-editor-grid,
  .nickname-panel-grid,
  .level-background-grid,
  .level-background-size-grid,
  .xp-editor-grid,
  .billing-layout,
  .level-layout-grid,
  .daily-activity-settings-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .spotlight-panel,
  .ranking-panel,
  .command-panel,
  .welcome-editor-panel,
  .nickname-panel-editor,
  .level-background-panel,
  .level-layout-panel,
  .billing-panel,
  .xp-editor-panel,
  .daily-activity-settings-panel,
  .welcome-editor-copy,
  .welcome-preview-card,
  .nickname-panel-form,
  .nickname-panel-preview-card,
  .level-background-copy,
  .level-background-preview-card,
  .billing-plan-card,
  .billing-action-card,
  .layout-fieldset,
  .daily-activity-settings-grid .form-field,
  .form-field {
    grid-column: auto;
  }
}









