:root {
  --bg: #eef2f7;
  --bg-accent: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --line: #d8e1ec;
  --line-strong: #c5d2e3;
  --text: #1f2a37;
  --text-soft: #607083;
  --blue: #1f78e5;
  --blue-strong: #0f5ec0;
  --blue-soft: #dce9fb;
  --success: #14996c;
  --warning: #e1a800;
  --danger: #de5252;
  --shadow-sm: 0 2px 8px rgba(31, 42, 55, 0.06);
  --shadow-md: 0 8px 28px rgba(31, 42, 55, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  min-height: 100vh;
  background: var(--bg);
}

.container {
  width: min(1240px, 94vw);
  margin: 24px auto 36px;
}

.page-spaced {
  margin-top: 34px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.small {
  font-size: 13px;
  color: var(--text-soft);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  margin-bottom: 14px;
}

.top-nav a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  color: #2a3442;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  min-width: 120px;
  padding: 10px 16px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.top-nav a:hover {
  background: #edf3fb;
}

.top-nav a.active {
  background: #dbe7f8;
  border-color: #c2d4ef;
  color: #1a4f97;
}

.nav-compact {
  margin-bottom: 18px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.panel-muted {
  border-top: 0;
  background: #f0f4fa;
}

.panel-gap {
  margin-bottom: 18px;
}

.search-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.search-row label {
  font-size: 16px;
  font-weight: 600;
}

input[type='text'],
input[type='password'],
input[type='date'],
input[type='number'],
input[type='file'],
select {
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type='file'] {
  padding-top: 7px;
  padding-bottom: 7px;
}

input[type='text']:focus,
input[type='password']:focus,
input[type='date']:focus,
input[type='number']:focus,
input[type='file']:focus,
select:focus {
  border-color: #87b5f4;
  box-shadow: 0 0 0 3px rgba(31, 120, 229, 0.12);
}

select {
  min-width: 130px;
}

.keyword-input {
  width: min(440px, 100%);
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  color: #273240;
  background: #eef3fa;
  text-align: center;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-strong);
}

.btn-warning {
  background: var(--warning);
  color: #fff;
}

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: var(--line-strong);
}

.filters {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.filters .filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-right: 2px;
}

.filter-link {
  text-decoration: none;
  color: #304057;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 15px;
}

.filter-link:hover {
  background: #edf3fb;
}

.filter-link.active {
  background: var(--blue);
  color: #fff;
}

.table-wrap {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #e9eef6;
  padding: 11px 10px;
  font-size: 14px;
  text-align: left;
}

.table-col-center {
  text-align: center;
}

th {
  background: #edf2fa;
  color: #2a3850;
  font-weight: 700;
}

tbody tr:nth-child(even) {
  background: #fbfdff;
}

tbody tr:hover {
  background: #f2f7ff;
}

.doc-link {
  color: #1e4f95;
  text-decoration: none;
  font-weight: 500;
}

.doc-link:hover {
  color: #113a76;
  text-decoration: underline;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.sort-link:hover {
  color: #1a4f97;
  text-decoration: underline;
}

.status-current {
  color: #212d3b;
  font-weight: 600;
}

.status-upcoming {
  color: #2368c4;
  font-weight: 600;
}

.status-abolished {
  color: var(--danger);
  font-weight: 600;
}

.auth-box {
  width: min(460px, 92vw);
  margin: 86px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.auth-box h1 {
  margin: 0 0 18px;
  font-size: 26px;
  color: #1f314a;
}

.form-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
}

.category-picker {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #bfd2ea;
  border-radius: 12px;
  background: #f7fbff;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-picker input {
  display: none;
}

.category-picker label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #31445f;
  cursor: pointer;
  border-right: 1px solid #d8e4f2;
  user-select: none;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.category-picker label:last-child {
  border-right: 0;
}

.category-picker input:checked + label {
  background: #2f7dd6;
  color: #fff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18);
}

.category-picker label:hover {
  background: #edf4fd;
}

.category-picker input:checked + label:hover {
  background: #2f7dd6;
}

.error {
  color: var(--danger);
  margin-bottom: 10px;
  font-size: 13px;
}

.notice-success {
  color: #0f8a5f;
  margin-bottom: 10px;
  font-size: 13px;
}

.login-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.detail-hero {
  background: linear-gradient(135deg, #284b77 0%, #1f3f66 100%);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  padding: 16px 18px;
  margin-top: 6px;
}

.detail-card {
  margin: -10px auto 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: min(95%, 1040px);
  padding: 18px 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 100px 1fr 84px 160px;
  row-gap: 12px;
  column-gap: 12px;
  align-items: center;
  font-size: 16px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
}

.actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.admin-title {
  margin: 0;
  font-size: 24px;
  color: #20344f;
}

.admin-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.admin-header-actions {
  display: flex;
  gap: 8px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.admin-tab {
  display: inline-block;
  text-decoration: none;
  color: #31445e;
  background: #eef3fa;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.admin-tab.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.admin-alert {
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid transparent;
}

.admin-alert-success {
  color: #0f8a5f;
  background: #e9f9f3;
  border-color: #bce8d6;
}

.admin-alert-error {
  color: #ba3e3e;
  background: #fff1f1;
  border-color: #f1c8c8;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 320px;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

.admin-card-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: #253a57;
}

.admin-side {
  position: sticky;
  top: 14px;
}

.admin-guide {
  margin: 0;
  padding-left: 18px;
  color: #4c5f77;
  font-size: 13px;
  line-height: 1.7;
}

.admin-filter-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.admin-edit-box {
  margin-bottom: 12px;
  border: 1px dashed #cad8ea;
  border-radius: 10px;
  background: #f8fbff;
  padding: 12px;
}

.admin-edit-box h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #2b4566;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: 130px 160px 1fr 150px 120px auto;
  gap: 8px;
  align-items: center;
}

.admin-edit-actions {
  display: flex;
  gap: 8px;
}

.admin-table-card {
  padding: 14px;
}

.table-scroll {
  overflow-x: auto;
}

.table-scroll table {
  min-width: 820px;
}

.btn-mini {
  padding: 4px 10px;
  font-size: 12px;
}

.btn-danger-outline {
  color: #c23f3f;
  border-color: #e9bcbc;
  background: #fff7f7;
}

.users-grid {
  grid-template-columns: minmax(320px, 420px) minmax(500px, 1fr);
}

.role-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid transparent;
}

.role-admin {
  color: #1f5fb4;
  background: #eaf2ff;
  border-color: #cfe0fb;
}

.role-user {
  color: #386147;
  background: #eaf8ef;
  border-color: #cce9d6;
}

.inline-reset-form {
  display: flex;
  gap: 6px;
  align-items: center;
}

.inline-reset-form input {
  width: 110px;
  height: 30px;
  font-size: 12px;
}

.admin-settings-card {
  max-width: 980px;
  padding: 0;
}

.doc-edit-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 330px;
  gap: 14px;
}

.doc-edit-card .form-row {
  grid-template-columns: 96px 1fr;
}

.doc-edit-side {
  align-self: start;
}

.doc-edit-meta {
  display: grid;
  gap: 10px;
}

.doc-edit-meta div {
  border: 1px solid #dce6f3;
  border-radius: 9px;
  background: #f8fbff;
  padding: 9px 10px;
  display: grid;
  gap: 4px;
}

.doc-edit-meta span {
  font-size: 12px;
  color: #68809f;
}

.doc-edit-meta strong {
  font-size: 13px;
  color: #273e5c;
  word-break: break-all;
}

.doc-edit-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.settings-head {
  padding: 16px 18px 10px;
  border-bottom: 1px solid #e3ebf6;
  background: linear-gradient(180deg, #f8fbff, #f3f8ff);
}

.settings-desc {
  margin: 4px 0 0;
  color: #5d718d;
  font-size: 13px;
}

.settings-form {
  padding: 16px 18px 18px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 14px;
}

.settings-panel {
  border: 1px solid #dce7f5;
  border-radius: 10px;
  padding: 12px;
  background: #fbfdff;
}

.settings-panel h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #2c4668;
}

.settings-row {
  grid-template-columns: 104px 1fr;
  margin-bottom: 8px;
}

.settings-row input[type='number'] {
  max-width: 220px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.settings-row input[type='number']::-webkit-outer-spin-button,
.settings-row input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.settings-note {
  margin: 0 0 10px 114px;
  color: #7287a2;
  font-size: 12px;
  line-height: 1.5;
}

.settings-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d7e2f0;
}

.preview-page {
  margin: 0;
  background: linear-gradient(180deg, #eef4fb 0%, #e9eff8 100%);
  min-height: 100vh;
}

.preview-shell {
  width: min(1200px, 94vw);
  margin: 20px auto;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}

.preview-meta h1 {
  margin: 0;
  font-size: 22px;
  color: #1f3756;
}

.preview-meta p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #647a95;
}

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

.preview-frame-wrap {
  margin-top: 12px;
  border: 1px solid #d4e0f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: min(78vh, 920px);
  box-shadow: var(--shadow-md);
}

.preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.preview-hint {
  margin-top: 12px;
  background: #f5f9ff;
  border: 1px solid #d6e4f6;
  color: #3e5f84;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
}

.preview-text-wrap {
  margin-top: 10px;
  background: #fff;
  border: 1px solid #d6e3f3;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  min-height: 60vh;
}

.preview-text-wrap pre {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 14px;
  color: #2a3a4f;
}

.preview-empty {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #d7e2f3;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
}

.preview-empty h3 {
  margin: 0 0 8px;
  color: #27486f;
  font-size: 18px;
}

.preview-empty p {
  margin: 0;
  color: #647a95;
  font-size: 13px;
}

.detail-figure-page {
  margin-top: 20px;
}

.detail-figure-panel {
  background: linear-gradient(180deg, #f5f8fc 0%, #edf2f8 100%);
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  padding: 14px;
}

.detail-figure-banner {
  background: linear-gradient(135deg, #344f78 0%, #233b5f 100%);
  color: #fff;
  text-align: center;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.detail-figure-card {
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(20, 38, 61, 0.09);
  margin: -10px auto 0;
  width: min(92%, 1180px);
  padding: 18px 22px 16px;
}

.detail-figure-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.detail-figure-row-center {
  justify-content: center;
  margin-bottom: 14px;
  text-align: center;
}

.detail-figure-row strong {
  font-size: 18px;
  color: #1f2f45;
  white-space: nowrap;
}

.detail-figure-row span {
  font-size: 28px;
  color: #233850;
  line-height: 1.4;
}

.detail-figure-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 4px 12px;
  background: #2f84da;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
}

.detail-figure-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d6e0ed;
}

.detail-figure-actions-center {
  justify-content: center;
}

.detail-figure-actions .btn {
  font-size: 15px;
  padding: 9px 18px;
  min-width: 92px;
  text-align: center;
}

.detail-v2-page {
  margin-top: 14px;
}

.detail-v2-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-v2-nav a {
  text-decoration: none;
  color: #30425d;
  border: 1px solid #d6e2f3;
  background: #f3f7fd;
  border-radius: 9px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.detail-v2-nav a.active {
  background: #dbe8fb;
  color: #1e4f99;
  border-color: #c4d7f1;
}

.detail-v2-card {
  background: #fff;
  border: 1px solid #d7e2f2;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

.detail-v2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #e5edf8;
  padding-bottom: 12px;
}

.detail-v2-kicker {
  margin: 0;
  font-size: 12px;
  color: #7288a4;
}

.detail-v2-head h1 {
  margin: 4px 0;
  font-size: 25px;
  color: #223a58;
  line-height: 1.35;
}

.detail-v2-sub {
  margin: 0;
  font-size: 13px;
  color: #5f738f;
}

.detail-v2-head-actions {
  display: flex;
  gap: 8px;
}

.detail-v2-main {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 280px;
  gap: 12px;
}

.detail-v2-info,
.detail-v2-side {
  border: 1px solid #e0e9f6;
  border-radius: 12px;
  background: #fbfdff;
  padding: 12px;
}

.detail-v2-info h2 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #2b4567;
}

.detail-v2-info-grid {
  display: grid;
  gap: 10px;
}

.detail-v2-info-grid div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
}

.detail-v2-info-grid span {
  color: #5f738f;
  font-size: 13px;
}

.detail-v2-info-grid strong {
  color: #26374f;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-all;
}

.detail-v2-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.detail-v2-stat {
  background: #fff;
  border: 1px solid #e4ecf8;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.detail-v2-stat span {
  color: #66809f;
  font-size: 12px;
}

.detail-v2-stat strong {
  color: #223a58;
  font-size: 16px;
}

.detail-v2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.detail-v2-badge-current {
  color: #0b5f41;
  background: #e8f8f0;
  border: 1px solid #c8ead8;
}

.detail-v2-badge-upcoming {
  color: #1e4f99;
  background: #eaf2ff;
  border: 1px solid #cadbfb;
}

.detail-v2-badge-abolished {
  color: #a93f3f;
  background: #ffefef;
  border: 1px solid #f2cccc;
}

@media (max-width: 1024px) {
  .container {
    width: 96vw;
    margin-top: 16px;
  }

  .toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .top-nav a {
    min-width: 0;
    font-size: 14px;
    padding: 10px 6px;
  }

  .search-row label,
  .filters .filter-title,
  .filter-link,
  th,
  td,
  .detail-grid,
  .btn,
  input,
  select,
  .form-row label {
    font-size: 13px;
  }

  .detail-hero {
    font-size: 20px;
  }

  .detail-grid {
    grid-template-columns: 84px 1fr;
  }

  .admin-header {
    flex-direction: column;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .users-grid {
    grid-template-columns: 1fr;
  }

  .doc-edit-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-row {
    grid-template-columns: 90px 1fr;
  }

  .settings-note {
    margin-left: 0;
    margin-bottom: 12px;
  }

  .admin-side {
    position: static;
  }

  .admin-edit-grid {
    grid-template-columns: 1fr;
  }

  .inline-reset-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .inline-reset-form input {
    width: 100%;
  }

  .preview-top {
    flex-direction: column;
  }

  .preview-meta h1 {
    font-size: 18px;
  }

  .preview-frame-wrap {
    height: 70vh;
  }

  .detail-figure-banner {
    font-size: 19px;
    padding: 12px;
  }

  .detail-figure-card {
    width: 96%;
    padding: 12px 10px;
  }

  .detail-figure-row,
  .detail-figure-row.right {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  .detail-figure-row strong {
    font-size: 14px;
  }

  .detail-figure-row span {
    font-size: 14px;
  }

  .detail-figure-row em {
    font-size: 12px;
    min-width: 72px;
    padding: 4px 10px;
  }

  .detail-figure-actions .btn {
    font-size: 13px;
    padding: 7px 12px;
    text-align: center;
  }

  .detail-v2-head {
    flex-direction: column;
  }

  .detail-v2-head h1 {
    font-size: 20px;
  }

  .detail-v2-main {
    grid-template-columns: 1fr;
  }

  .detail-v2-info-grid div {
    grid-template-columns: 88px 1fr;
  }
}
