
:root {
  color-scheme: dark;
  --bg: #090d0b;
  --bg-2: #101914;
  --panel: rgba(17, 26, 22, 0.92);
  --panel-solid: #141d18;
  --muted-panel: rgba(31, 45, 37, 0.82);
  --text: #f3f7ef;
  --muted: #a9b8a5;
  --line: rgba(161, 188, 138, 0.24);
  --accent: #6bd45e;
  --accent-strong: #b6f25d;
  --gold: #f3c657;
  --diamond: #6fd4ff;
  --dirt: #6b4a2e;
  --danger: #e2614d;
  --warn: #f3b44b;
  --ok: #6bd45e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --pixel-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 6px 0 rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(107,212,94,.18), transparent 32%),
    radial-gradient(circle at 84% 16%, rgba(111,212,255,.12), transparent 30%),
    linear-gradient(180deg, #07100c 0%, #0a0d0b 52%, #060706 100%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  color: var(--text);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(8, 12, 10, 0.88);
  border-bottom: 2px solid rgba(107, 212, 94, 0.22);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  color: var(--accent-strong);
  text-shadow: 0 2px 0 rgba(0,0,0,.55);
}
.brand-cube {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  background:
    linear-gradient(135deg, #83d753 0 45%, #4e9d35 45% 100%);
  box-shadow:
    0 0 0 2px #1b251d,
    0 7px 0 #5c3b24,
    0 9px 0 #2c1d13;
  transform: rotate(-4deg);
}
.nav, .userbar {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a {
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent-strong); border-bottom-color: var(--accent); }
.userbar { justify-content: flex-end; }
.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.hero {
  width: 100vw;
  margin: -28px 0 28px calc(50% - 50vw);
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid rgba(107, 212, 94, .24);
}
.hero-main {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 74px max(28px, calc((100vw - 1180px) / 2)) 54px;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, .96) 0%, rgba(5, 8, 7, .86) 34%, rgba(5, 8, 7, .44) 62%, rgba(5, 8, 7, .24) 100%),
    linear-gradient(180deg, rgba(6, 10, 8, 0) 0%, rgba(6, 10, 8, .62) 100%),
    url("/assets/mcres-hero.png");
  background-size: cover;
  background-position: center right;
  color: #fff;
}
.hero-main::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background:
    linear-gradient(90deg, #375f2c 0 8%, #27471f 8% 16%, #4d7b37 16% 24%, #2f4f27 24% 32%, #375f2c 32% 40%, #27471f 40% 48%, #4d7b37 48% 56%, #2f4f27 56% 64%, #375f2c 64% 72%, #27471f 72% 80%, #4d7b37 80% 88%, #2f4f27 88% 100%);
  background-size: 128px 24px;
  opacity: .62;
  image-rendering: pixelated;
  clip-path: polygon(0 58%, 100% 22%, 100% 100%, 0 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100vw - 44px));
  animation: heroEnter .7s ease-out both;
}
.hero-main h1 {
  margin: 0 0 10px;
  font-size: clamp(54px, 9vw, 124px);
  line-height: .88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(0,0,0,.42);
}
.hero-main p {
  max-width: 640px;
  margin: 18px 0 26px;
  color: rgba(242, 251, 233, 0.84);
  font-size: 20px;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
}
.hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}
.hero-stat {
  min-width: 116px;
  padding: 12px 14px;
  background: rgba(12, 20, 16, .72);
  border: 2px solid rgba(163, 205, 133, .32);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), var(--pixel-shadow);
}
.hero-stat strong { display:block; font-size: 30px; color: var(--accent-strong); }
.hero-stat span { color: var(--muted); font-weight: 800; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.panel h2, .section-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  color: #f5ffe9;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.kpi {
  padding: 12px;
  background: var(--muted-panel);
  border: 1px solid var(--line);
  border-radius: 0;
}
.kpi strong {
  display: block;
  font-size: 24px;
  color: var(--gold);
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 150px auto;
  gap: 10px;
  margin: 18px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 58px 18px 18px;
  background:
    linear-gradient(180deg, rgba(44, 60, 47, .96), rgba(17, 24, 20, .96));
  border: 2px solid rgba(161, 188, 138, .26);
  border-radius: 0;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), 0 14px 0 rgba(0,0,0,.22);
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease, filter .16s ease;
}
.resource-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 38px;
  background:
    linear-gradient(90deg, #78bd43 0 12.5%, #4f8d35 12.5% 25%, #86ca4c 25% 37.5%, #386f2b 37.5% 50%, #78bd43 50% 62.5%, #4f8d35 62.5% 75%, #86ca4c 75% 87.5%, #386f2b 87.5% 100%);
  background-size: 96px 38px;
  image-rendering: pixelated;
}
.resource-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #b7c6c9, #4b5559);
  box-shadow: 0 0 0 3px rgba(0,0,0,.35), inset -7px -7px 0 rgba(0,0,0,.24), inset 7px 7px 0 rgba(255,255,255,.18);
}
.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107,212,94,.72);
  filter: brightness(1.08);
}
.resource-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.resource-card-cover {
  height: 132px;
  margin: -18px -18px 14px;
  border-bottom: 2px solid rgba(161,188,138,.22);
  background: rgba(0,0,0,.22);
  overflow: hidden;
}
.resource-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}
.resource-card p { color: var(--muted); margin: 0 0 12px; }
.meta, .tag-row, .actions, .inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.meta { color: var(--muted); font-size: 13px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 0;
  background: rgba(107,212,94,.14);
  border: 1px solid rgba(107,212,94,.32);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
}
.status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 0;
  background: rgba(238,242,245,.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.status.ok { background: rgba(107,212,94,.16); color: var(--ok); }
.status.warn { background: rgba(243,180,75,.16); color: var(--warn); }
.status.bad { background: rgba(226,97,77,.16); color: var(--danger); }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 2px solid rgba(184, 242, 93, .74);
  border-radius: 0;
  background: linear-gradient(180deg, #4aa33f, #287332);
  color: #f7ffe9;
  cursor: pointer;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.18), 0 5px 0 rgba(0,0,0,.35);
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
  transition: transform .12s ease, filter .12s ease;
}
.button:hover, button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button.secondary, button.secondary {
  background: linear-gradient(180deg, #29372f, #16221b);
  color: var(--accent-strong);
}
.button.danger, button.danger {
  border-color: var(--danger);
  background: var(--danger);
}
.link-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
}
input, select, textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 2px solid rgba(161,188,138,.24);
  border-radius: 0;
  background: rgba(4, 8, 6, .54);
  color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(107,212,94,.5); }
textarea { min-height: 130px; resize: vertical; }
label {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  color: var(--muted);
  font-weight: 700;
}
.drop-zone {
  min-height: 148px;
  place-items: center;
  text-align: center;
  border: 2px dashed rgba(182, 242, 93, .52);
  background: rgba(107, 212, 94, .08);
  cursor: pointer;
}
.drop-zone input {
  max-width: 360px;
}
.drop-zone.drag-over,
.drop-zone.has-file {
  border-color: var(--accent-strong);
  background: rgba(107, 212, 94, .16);
}
.drop-title {
  color: var(--text);
  font-size: 18px;
}
.drop-meta {
  color: var(--muted);
  font-size: 13px;
}
.panel {
  padding: 22px;
  margin-bottom: 18px;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}
.table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 15, 12, .64);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.table th, .table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th {
  background: rgba(107,212,94,.13);
  color: var(--accent-strong);
}
.table tr:last-child td { border-bottom: 0; }
.notice {
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #d8c495;
  border-radius: 8px;
  background: #fff9ea;
  color: #75500f;
}
.error {
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #e0afa7;
  border-radius: 8px;
  background: #fff0ed;
  color: var(--danger);
}
.empty {
  padding: 30px;
  border: 2px dashed rgba(161,188,138,.32);
  border-radius: 0;
  color: var(--muted);
  text-align: center;
  background: rgba(0,0,0,.2);
}
.resource-body {
  color: #dfe9d8;
}
.resource-body img { max-width: 100%; border-radius: 8px; }
.resource-cover {
  margin: -22px -22px 18px;
  border-bottom: 2px solid rgba(161,188,138,.24);
  background: rgba(0,0,0,.28);
  max-height: 460px;
  overflow: hidden;
}
.resource-cover img {
  width: 100%;
  max-height: 460px;
  display: block;
  object-fit: cover;
}
.resource-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.resource-gallery a {
  display: block;
  aspect-ratio: 16 / 10;
  border: 2px solid rgba(161,188,138,.22);
  background: rgba(0,0,0,.26);
  overflow: hidden;
}
.resource-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .16s ease, filter .16s ease;
}
.resource-gallery a:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}
.badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
}
.vip-page {
  display: grid;
  gap: 18px;
}
.vip-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  min-height: 330px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(6, 10, 8, .97) 0%, rgba(9, 16, 12, .88) 52%, rgba(9, 16, 12, .52) 100%),
    url("/assets/mcres-hero.png");
  background-size: cover;
  background-position: center right;
  box-shadow: var(--shadow);
}
.vip-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42px;
  background:
    linear-gradient(90deg, #6a4a2d 0 12.5%, #4a321f 12.5% 25%, #7a5636 25% 37.5%, #352517 37.5% 50%, #6a4a2d 50% 62.5%, #4a321f 62.5% 75%, #7a5636 75% 87.5%, #352517 87.5% 100%);
  background-size: 104px 42px;
  image-rendering: pixelated;
  opacity: .72;
}
.vip-intro-copy,
.vip-intro-stats {
  position: relative;
  z-index: 1;
}
.vip-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(46px, 8vw, 90px);
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 6px 0 rgba(0,0,0,.38);
}
.vip-intro p {
  max-width: 650px;
  margin: 0 0 22px;
  color: rgba(242, 251, 233, .86);
  font-size: 18px;
}
.vip-intro-stats {
  align-self: end;
  display: grid;
  gap: 10px;
}
.vip-intro-stats div {
  padding: 14px;
  border: 2px solid rgba(163, 205, 133, .3);
  background: rgba(8, 14, 10, .72);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), var(--pixel-shadow);
}
.vip-intro-stats span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.vip-intro-stats strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1.1;
}
.vip-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vip-benefits div {
  padding: 16px 0 4px;
  border-top: 2px solid rgba(107,212,94,.34);
}
.vip-benefits strong,
.vip-benefits span {
  display: block;
}
.vip-benefits strong {
  margin-bottom: 6px;
  color: #f5ffe9;
  font-size: 18px;
}
.vip-benefits span {
  color: var(--muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-heading h2 {
  margin-bottom: 6px;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
}
.vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.vip-plan-card {
  display: grid;
  min-height: 230px;
  padding: 18px;
  border: 2px solid rgba(161, 188, 138, .26);
  background:
    linear-gradient(180deg, rgba(39, 55, 43, .96), rgba(15, 22, 18, .96));
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.28), 0 12px 0 rgba(0,0,0,.2);
}
.vip-plan-card-free {
  background:
    linear-gradient(180deg, rgba(49, 47, 41, .96), rgba(18, 18, 16, .96));
}
.vip-plan-card h3 {
  margin: 14px 0 8px;
  font-size: 24px;
  line-height: 1.18;
}
.vip-plan-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}
.vip-plan-card p {
  margin: 0;
  color: var(--muted);
}
.vip-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
  counter-reset: vipStep;
}
.vip-flow li {
  counter-increment: vipStep;
  position: relative;
  padding-top: 48px;
  color: var(--muted);
}
.vip-flow li::before {
  content: counter(vipStep);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(184, 242, 93, .68);
  background: linear-gradient(180deg, #4aa33f, #287332);
  color: #f7ffe9;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(0,0,0,.34);
}
.vip-flow strong,
.vip-flow span {
  display: block;
}
.vip-flow strong {
  margin-bottom: 5px;
  color: #f5ffe9;
}
.vip-redeem-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.vip-redeem-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.vip-faq {
  display: grid;
  gap: 14px;
}
.vip-faq div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.vip-faq div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.vip-faq strong,
.vip-faq span {
  display: block;
}
.vip-faq strong {
  margin-bottom: 5px;
  color: #f5ffe9;
}
.vip-faq span {
  color: var(--muted);
}
.admin-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: end;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.admin-page-head h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.page-intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}
.admin-summary {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid rgba(107,212,94,.44);
  color: var(--muted);
}
.admin-summary strong {
  color: var(--gold);
  font-size: 38px;
  line-height: 1;
}
.vip-help-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.vip-help-list div {
  padding-top: 12px;
  border-top: 2px solid rgba(107,212,94,.28);
}
.vip-help-list strong,
.vip-help-list span {
  display: block;
}
.vip-help-list strong {
  margin-bottom: 6px;
  color: #f5ffe9;
}
.vip-help-list span {
  color: var(--muted);
  font-size: 13px;
}
.admin-note {
  margin: 18px 0 24px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(243, 198, 87, .08);
  color: #eadfbd;
}
.admin-note strong {
  color: var(--gold);
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.vip-plan-table {
  min-width: 980px;
}
.vip-plan-name strong {
  display: block;
  margin-bottom: 5px;
  color: #f5ffe9;
}
.field-help {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.cdk-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
}
.cdk-help-grid > div,
.form-block {
  border: 1px solid var(--line);
  background: rgba(12, 21, 16, .68);
  padding: 14px;
}
.cdk-help-grid strong,
.cdk-help-grid span {
  display: block;
}
.cdk-help-grid strong {
  color: var(--accent-strong);
  margin-bottom: 4px;
}
.cdk-help-grid span {
  color: var(--muted);
  font-size: 13px;
}
.admin-cdk-form {
  display: grid;
  gap: 14px;
}
.admin-cdk-form h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.cdk-field-muted {
  opacity: .48;
}
.cdk-field-muted input,
.cdk-field-muted select {
  cursor: not-allowed;
}
.admin-user-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.admin-user-card {
  border: 1px solid var(--line);
  background: rgba(10, 16, 13, .68);
  padding: 18px;
}
.admin-user-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.admin-user-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
.admin-user-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.admin-user-summary > div {
  border: 1px solid rgba(161,188,138,.18);
  background: rgba(20, 31, 24, .72);
  padding: 12px;
}
.admin-user-summary span,
.admin-user-summary em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}
.admin-user-summary strong {
  display: block;
  margin: 4px 0;
  color: var(--gold);
  font-size: 20px;
}
.admin-user-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.admin-fieldset {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 21, 16, .58);
}
.admin-fieldset legend {
  padding: 0 6px;
  color: var(--accent-strong);
  font-weight: 900;
}
.readonly-metrics {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
}
.quota-number {
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}
.vip-plan-edit,
.vip-create-grid {
  display: grid;
  gap: 10px;
  align-items: end;
}
.vip-plan-edit {
  grid-template-columns: minmax(170px, 1fr) 150px 100px 128px auto;
}
.vip-create-grid {
  grid-template-columns: minmax(260px, 1fr) 190px 170px auto;
  margin-top: 10px;
}
.vip-plan-edit label,
.vip-create-grid label {
  min-width: 0;
  margin: 0;
}
.vip-plan-edit select:disabled {
  opacity: .72;
  cursor: not-allowed;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
}
@media (max-width: 1100px) {
  .vip-intro { grid-template-columns: 1fr; }
  .vip-intro-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vip-benefits,
  .vip-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vip-redeem-layout { grid-template-columns: 1fr; }
  .vip-help-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-plan-edit { grid-template-columns: minmax(180px, 1fr) 150px; }
  .vip-create-grid { grid-template-columns: 1fr 1fr; }
  .cdk-help-grid { grid-template-columns: 1fr; }
  .admin-user-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .topbar { grid-template-columns: 1fr; gap: 10px; padding: 14px 18px; }
  .nav, .userbar { justify-content: flex-start; }
  .hero, .columns { grid-template-columns: 1fr; }
  .grid, .kpis { grid-template-columns: 1fr; }
  .resource-gallery { grid-template-columns: 1fr 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .vip-intro {
    min-height: auto;
    padding: 28px 20px 68px;
  }
  .vip-intro-stats,
  .vip-benefits,
  .vip-plan-grid,
  .vip-flow {
    grid-template-columns: 1fr;
  }
  .vip-intro h1 {
    font-size: clamp(42px, 15vw, 70px);
  }
  .vip-intro p {
    font-size: 16px;
  }
  .admin-page-head,
  .vip-help-list,
  .vip-plan-edit,
  .vip-create-grid,
  .cdk-help-grid,
  .admin-user-summary,
  .admin-user-form {
    grid-template-columns: 1fr;
  }
  .admin-user-head { display: grid; }
  .admin-summary {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 2px solid rgba(107,212,94,.44);
  }
  .page-shell { width: min(100% - 22px, 1180px); padding-top: 18px; }
  .hero { min-height: auto; margin-top: -18px; }
  .hero-main { min-height: 620px; align-items: flex-end; padding-top: 80px; }
  .hero-main h1 { font-size: clamp(46px, 18vw, 86px); }
  .hero-main {
    background:
      linear-gradient(90deg, rgba(5, 8, 7, .96) 0%, rgba(5, 8, 7, .86) 100%),
      linear-gradient(180deg, rgba(6, 10, 8, .1) 0%, rgba(6, 10, 8, .7) 100%),
      url("/assets/mcres-hero.png");
    background-size: cover;
    background-position: center right;
  }
}
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
