:root {
  --bg: #07070c;
  --paper: rgba(14, 16, 24, 0.96);
  --paper-soft: rgba(20, 23, 32, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --gold: #f2c94c;
  --pink: #ff2aa1;
  --cyan: #19ead7;
  --text: #f4f0e8;
  --muted: #a7a4b6;
  --quiet: #6f7180;
  --danger: #ff4d6d;
  --font: "Microsoft YaHei UI", "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 82% 10%, rgba(255, 42, 161, 0.12), transparent 30%),
    radial-gradient(circle at 18% 85%, rgba(25, 234, 215, 0.08), transparent 28%),
    #05060a;
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

button,
input,
textarea {
  font: inherit;
}

button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(242, 201, 76, 0.36);
  background: rgba(242, 201, 76, 0.06);
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

button:hover {
  border-color: rgba(255, 42, 161, 0.7);
  background: rgba(255, 42, 161, 0.08);
  transform: translateY(-1px);
}

.import-doc-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(242, 201, 76, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(242, 201, 76, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.import-doc-button:hover {
  border-color: rgba(255, 42, 161, 0.7);
  background: rgba(255, 42, 161, 0.08);
  transform: translateY(-1px);
}

.import-doc-button input {
  display: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(4, 5, 9, 0.72);
  color: var(--text);
  outline: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
  line-height: 1.8;
}

input:focus,
textarea:focus {
  border-color: rgba(25, 234, 215, 0.64);
  box-shadow: 0 0 0 3px rgba(25, 234, 215, 0.06);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.document-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 80% 12%, rgba(255, 42, 161, 0.1), transparent 28%),
    #05060a;
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.document-shell {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 46px;
}

.document-header {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(25, 234, 215, 0.045), transparent 38%),
    linear-gradient(90deg, rgba(19, 21, 30, 0.96), rgba(9, 10, 16, 0.94)),
    var(--paper);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.document-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--gold), transparent);
}

.document-header::after {
  content: "MOD";
  position: absolute;
  right: 18px;
  top: -28px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 170px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.document-header > div:first-child::after {
  content: "";
  display: block;
  width: min(360px, 70vw);
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--pink), var(--gold), transparent);
}

.document-header p {
  color: var(--pink);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.document-header h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

.document-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.document-tools span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(242, 201, 76, 0.34);
  color: var(--gold);
  background: rgba(4, 5, 9, 0.36);
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(242, 201, 76, 0.05);
  border-radius: 999px;
}

.document-search {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 42, 161, 0.045), transparent 45%),
    rgba(9, 10, 16, 0.86);
  padding: 14px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.document-search input {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 3, 7, 0.72);
}

.document-search button {
  min-height: 44px;
  padding: 0;
  font-size: 24px;
}

.mod-doc {
  margin-top: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 140px),
    rgba(11, 12, 18, 0.92);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 10px;
}

.mod-doc-head,
.mod-doc-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(280px, 1.1fr) minmax(340px, 1.35fr);
}

.mod-doc-head {
  position: sticky;
  top: 10px;
  z-index: 5;
  background:
    linear-gradient(90deg, rgba(255, 42, 161, 0.18), rgba(242, 201, 76, 0.08), rgba(25, 234, 215, 0.055)),
    #10121a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
}

.mod-doc-head span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mod-doc-head span + span,
.mod-doc-row > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.mod-doc-row {
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.mod-doc-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.035);
}

.mod-doc-row + .mod-doc-row {
  margin-top: 10px;
}

.mod-doc-row:hover {
  border-color: rgba(242, 201, 76, 0.24);
  background:
    linear-gradient(135deg, rgba(242, 201, 76, 0.08), rgba(25, 234, 215, 0.035)),
    rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.mod-doc-row.has-images {
  cursor: pointer;
}

.mod-doc-row.has-images:focus {
  outline: 0;
  border-color: rgba(25, 234, 215, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(25, 234, 215, 0.06),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.mod-name-cell,
.mod-usage-cell,
.mod-summary-cell {
  padding: 18px;
}

.mod-name-cell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  position: relative;
}

.mod-number {
  width: 36px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 201, 76, 0.32);
  color: var(--gold);
  font-size: 13px;
  background: rgba(242, 201, 76, 0.055);
  border-radius: 999px;
  box-shadow: inset 0 0 14px rgba(242, 201, 76, 0.08);
}

.mod-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.mod-title-line strong {
  color: var(--text);
  font-size: 21px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.image-hint {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(25, 234, 215, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(25, 234, 215, 0.055);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.mod-usage-cell,
.mod-summary-cell {
  color: #efedf5;
  line-height: 1.86;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15.5px;
}

.mod-summary-cell {
  color: #dcd9ea;
}

.mod-image-panel {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(135deg, rgba(25, 234, 215, 0.04), rgba(255, 42, 161, 0.035)),
    rgba(0, 0, 0, 0.18);
}

.mod-doc-row.is-expanded .mod-image-panel {
  display: grid;
}

.mod-image-panel img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.document-empty {
  margin: 0;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.018);
  min-height: 96px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
}

.environment-header::after {
  content: "ENV";
}

.environment-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 140px),
    rgba(11, 12, 18, 0.92);
  box-shadow: var(--shadow);
  padding: 12px;
}

.environment-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  padding: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 34px rgba(0, 0, 0, 0.16);
}

.environment-item:hover {
  border-color: rgba(25, 234, 215, 0.3);
  background:
    linear-gradient(135deg, rgba(25, 234, 215, 0.08), rgba(242, 201, 76, 0.035)),
    rgba(255, 255, 255, 0.03);
}

.environment-item strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.viewer-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
}

.mod-rail {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 12, 18, 0.98), rgba(7, 8, 13, 0.98));
}

.rail-header {
  padding: 30px 24px 22px;
  border-bottom: 1px solid var(--line);
}

.rail-header p,
.editor-hero p,
.chapter-kicker {
  color: var(--pink);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rail-header h1 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.15;
}

.rail-header span {
  display: inline-flex;
  margin-top: 16px;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(242, 201, 76, 0.34);
  color: var(--gold);
  font-size: 13px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.search-row button {
  padding: 0;
  font-size: 22px;
}

.rail-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 8px;
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.mod-list,
.editor-list {
  overflow: auto;
}

.mod-list {
  padding: 4px 0 24px;
}

.mod-item {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: transparent;
  color: #d8d5df;
  text-align: left;
  padding: 0 18px 0 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mod-item:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.mod-item.is-active,
.mod-item:hover {
  color: var(--text);
  border-left-color: var(--pink);
  background: linear-gradient(90deg, rgba(255, 42, 161, 0.16), rgba(242, 201, 76, 0.04));
}

.detail-stage {
  min-width: 0;
  padding: 34px;
}

.detail-card {
  min-height: calc(100vh - 68px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(19, 21, 30, 0.95), rgba(10, 11, 18, 0.93)),
    var(--paper);
  padding: clamp(28px, 4vw, 56px);
}

.detail-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--gold), transparent);
}

.detail-watermark {
  position: absolute;
  right: -26px;
  top: -12px;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(130px, 18vw, 280px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.status-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.status-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(242, 201, 76, 0.34);
  background: rgba(242, 201, 76, 0.06);
  font-weight: 700;
}

.chapter-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.chapter-kicker::after {
  content: "";
  display: block;
  width: 190px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.detail-card h2 {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.effect-copy {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin-top: 24px;
  color: #c9c7d7;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.85;
  white-space: pre-wrap;
}

.info-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
  margin-top: 38px;
}

.info-box {
  min-height: 190px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.018);
  padding: 22px;
}

.usage-box {
  border-top-color: rgba(25, 234, 215, 0.52);
}

.function-box {
  border-top-color: rgba(255, 42, 161, 0.52);
}

.box-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.box-title span {
  min-width: 38px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 201, 76, 0.32);
  color: var(--gold);
  font-size: 13px;
}

.info-box h3 {
  color: var(--cyan);
  font-size: 18px;
}

.function-box h3 {
  color: var(--pink);
}

.info-box p {
  color: #fff;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.78;
  font-weight: 700;
  white-space: pre-wrap;
}

.editor-shell {
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
}

.editor-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.editor-hero h1 {
  font-size: clamp(30px, 3vw, 44px);
  margin: 8px 0 12px;
}

#save-status,
.count-line {
  color: var(--muted);
}

.import-help {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.7;
}

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

.primary {
  color: #171100;
  background: var(--gold);
  font-weight: 800;
}

.danger {
  border-color: rgba(255, 77, 109, 0.5);
  background: rgba(255, 77, 109, 0.12);
}

.editor-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
}

.editor-list-panel,
.editor-form-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.editor-list {
  max-height: 65vh;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.editor-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.editor-item.active,
.editor-item:hover {
  border-color: rgba(255, 42, 161, 0.64);
  background: rgba(255, 42, 161, 0.08);
}

.editor-item.is-dragging {
  opacity: 0.45;
}

.editor-item.is-drop-target {
  border-color: rgba(25, 234, 215, 0.65);
  background: rgba(25, 234, 215, 0.08);
}

.editor-item strong {
  display: block;
  margin-bottom: 6px;
}

.editor-item p {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drag-tip {
  display: inline-flex;
  margin-top: 8px;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(242, 201, 76, 0.22);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(242, 201, 76, 0.04);
  font-size: 12px;
}

#mod-form {
  display: grid;
  gap: 18px;
}

#mod-form label {
  display: grid;
  gap: 8px;
}

#mod-form span {
  color: var(--cyan);
  font-weight: 700;
}

.image-field {
  display: grid;
  gap: 10px;
}

.image-field > span {
  color: var(--cyan);
  font-weight: 700;
}

.image-preview {
  min-height: 220px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(25, 234, 215, 0.04), rgba(255, 42, 161, 0.035)),
    rgba(255, 255, 255, 0.018);
}

.image-preview img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
}

.preview-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(242, 201, 76, 0.32);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.image-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.image-actions input {
  flex: 1 1 280px;
}

.editor-danger-row {
  margin-top: 18px;
}

.empty-state {
  margin: 12px;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 16px;
}

@media (max-width: 1050px) {
  .viewer-shell,
  .editor-layout,
  .info-grid,
  .mod-doc-head,
  .mod-doc-row {
    grid-template-columns: 1fr;
  }

  .document-shell {
    width: min(100% - 24px, 100%);
    padding-top: 14px;
  }

  .document-header {
    display: grid;
    min-height: 0;
    padding: 24px;
  }

  .document-header::after {
    font-size: 110px;
  }

  .mod-doc-head {
    display: none;
  }

  .mod-doc-row > * + * {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mod-name-cell,
  .mod-usage-cell,
  .mod-summary-cell {
    padding: 16px;
  }

  .mod-usage-cell::before,
  .mod-summary-cell::before {
    display: block;
    margin-bottom: 8px;
    color: var(--cyan);
    font-weight: 800;
  }

  .mod-usage-cell::before {
    content: "使用方法";
  }

  .mod-summary-cell::before {
    content: "MOD 功能";
    color: var(--pink);
  }

  .mod-rail {
    position: relative;
    height: auto;
    max-height: 52vh;
  }

  .detail-stage {
    padding: 14px;
  }

  .detail-card {
    min-height: auto;
    padding: 24px;
  }

  .editor-hero {
    display: grid;
  }

  .editor-actions {
    justify-content: flex-start;
  }
}
