:root {
  --blue: #d8333f;
  --purple: #c92f3b;
  --danger: #cf2734;
  --orange: #d8333f;
}

.brand {
  background: #fff;
  color: #202734;
  border-bottom: 1px solid var(--line);
}

.brand-mark,
.login-logo span {
  background: #d8333f;
  color: #fff;
}

.topbar {
  background: #fff;
  color: #303846;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(35, 43, 55, .06);
}

.breadcrumb,
.breadcrumb strong,
.user-menu,
.topbar .link-button {
  color: #303846;
}

.topbar .link-button {
  background: #fff1f2;
  border: 1px solid #f3c9cd;
}

.drawer .link-button {
  color: #d8333f;
  background: #fff;
  border: 0;
}

.nav-item.active {
  background: #fff0f1;
  color: #d8333f;
}

.primary-button:hover {
  background: #bd2732;
}

.primary-button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

.back-button,
.table-action {
  color: #c92f3b;
}

.filter-bar {
  grid-template-columns: minmax(170px, 1.15fr) minmax(245px, 1.4fr) minmax(120px, .7fr) repeat(2, minmax(150px, .85fr)) auto;
  background: #fff7f7;
  border-color: #f3dfe1;
}

.event-type-filter {
  position: relative;
  min-width: 0;
}

.cascader {
  position: relative;
}

.cascader-trigger {
  width: 100%;
  height: 38px;
  border: 1px solid #d3dae4;
  border-radius: 5px;
  background: #fff;
  color: #263445;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.cascader-trigger:focus {
  border-color: #d8333f;
  box-shadow: 0 0 0 3px rgba(216, 51, 63, .1);
}

.cascader-menu {
  position: absolute;
  top: 44px;
  left: 0;
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(3, 180px);
  min-height: 220px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 7px;
  box-shadow: 0 14px 34px rgba(39, 45, 56, .18);
  overflow: hidden;
}

.cascader-column {
  padding: 7px;
  border-right: 1px solid #edf0f4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cascader-column:last-child {
  border-right: 0;
}

.cascader-column button {
  border: 0;
  background: transparent;
  color: #303846;
  padding: 10px 9px;
  border-radius: 4px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  cursor: pointer;
}

.cascader-column button:hover,
.cascader-column button.active {
  background: #fff0f1;
  color: #d8333f;
}

.cascader-placeholder {
  padding: 11px 9px;
  color: #a1aab6;
}

.datetime-display {
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d8333f' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M8 2v4M16 2v4M3 9h18'/%3E%3C/svg%3E") no-repeat right 10px center;
  padding-right: 36px;
}

.event-workspace-heading h1 {
  margin: 0;
  font-size: 22px;
}

.event-workspace-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.event-side-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  position: sticky;
  top: 158px;
}

.event-side-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #495768;
  border-radius: 5px;
  padding: 12px 10px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  cursor: pointer;
}

.event-side-item small {
  margin-left: auto;
  color: #a1aab6;
  font-size: 11px;
}

.event-side-item.active {
  background: #fff0f1;
  color: #d8333f;
  font-weight: 650;
}

.event-side-item.disabled {
  opacity: .55;
  cursor: not-allowed;
}

.event-workspace-content {
  min-width: 0;
  background: #fff8f8;
  border: 1px solid #f1e4e5;
  border-radius: 7px;
  padding: 14px;
}

.division-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #eadfe0;
  overflow: auto;
}

.division-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: #fff;
  color: #505d6c;
  padding: 12px 22px;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.division-tab.active {
  color: #d8333f;
  border-bottom-color: #d8333f;
  font-weight: 650;
  background: #fff7f7;
}

.team-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 4px;
}

.team-management-list {
  display: grid;
  gap: 14px;
}

.team-empty {
  background: #fff;
  border: 1px dashed #e2cfd1;
  border-radius: 7px;
}

.team-card {
  background: #fff;
  border: 1px solid #eccfd2;
  border-radius: 7px;
  overflow: hidden;
}

.team-card-head {
  padding: 14px 16px;
  background: #f7dfe1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.team-card-head strong {
  font-size: 16px;
  margin-right: 24px;
}

.team-card-head span {
  color: #556171;
}

.team-card-head p {
  margin: 7px 0 0;
  color: #687484;
}

.icon-edit-button {
  width: 32px;
  height: 32px;
  border: 1px solid #e3b6ba;
  border-radius: 5px;
  background: #fff;
  color: #bd2732;
  font-size: 18px;
  cursor: pointer;
}

.team-member-table {
  padding: 0 6px;
}

.team-member-table .event-table {
  min-width: 1040px;
}

.team-member-table .event-table td {
  padding: 13px 10px;
}

.team-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  background: #fff7f7;
}

.team-card-foot .pagination {
  min-height: 36px;
}

.team-card-foot .pagination > span {
  font-size: 12px;
}

.table-empty-cell {
  text-align: center;
  color: #9aa4b1;
  height: 78px;
}

.drawer-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.drawer-double label {
  min-width: 0;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(20, 26, 36, .4);
  display: grid;
  place-items: center;
  padding: 20px;
}

.confirm-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.confirm-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.confirm-card p {
  margin: 0;
  color: #647184;
  line-height: 1.7;
  white-space: pre-line;
}

.datetime-picker {
  display: grid;
  gap: 20px;
}

.datetime-picker > label,
.time-select-row label {
  display: grid;
  gap: 7px;
  color: #455366;
  font-weight: 600;
}

.time-select-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
}

.time-select-row b {
  padding-bottom: 9px;
  font-size: 20px;
}

.datetime-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.datetime-shortcuts button {
  border: 1px solid #efc7ca;
  background: #fff5f5;
  color: #c52c38;
  border-radius: 5px;
  padding: 8px 10px;
  cursor: pointer;
}

.step.active {
  border-color: #d8333f;
  background: linear-gradient(90deg, #df414c, #bd2732);
}

.division-card-number {
  background: #d8333f;
}

.tag {
  background: #fff0f1;
  color: #c92f3b;
}

.draft-id {
  background: #fff0f1;
  color: #b42430;
}

.event-level {
  display: inline-block;
  margin-top: 5px;
  color: #8a6570;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.event-center-table {
  min-width: 1240px;
}

.sidebar-toggle {
  width: 26px;
  height: 26px;
  margin-left: auto;
  border: 1px solid #e5c4c8;
  border-radius: 5px;
  background: #fff7f7;
  color: #c72c38;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
}

.platform-sidebar-collapsed .sidebar {
  width: 72px;
  padding-left: 10px;
  padding-right: 10px;
}

.platform-sidebar-collapsed .main {
  margin-left: 72px;
  width: calc(100% - 72px);
}

.platform-sidebar-collapsed .brand {
  margin-left: -10px;
  margin-right: -10px;
  padding: 0 10px;
  justify-content: center;
}

.platform-sidebar-collapsed .brand-name,
.platform-sidebar-collapsed .nav-label,
.platform-sidebar-collapsed .nav-text,
.platform-sidebar-collapsed .nav-item small,
.platform-sidebar-collapsed .sidebar-bottom {
  display: none;
}

.platform-sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 12px 0;
}

.platform-sidebar-collapsed .nav-icon {
  font-size: 18px;
}

.platform-sidebar-collapsed .sidebar-toggle {
  position: absolute;
  right: -13px;
  top: 22px;
  z-index: 17;
  background: #fff;
}

.workspace-panel-heading {
  margin: 2px 4px 16px;
}

.workspace-panel-heading h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.workspace-panel-heading p {
  margin: 0;
  color: var(--muted);
}

#event-info-host > #create-page {
  padding: 0;
}

#event-info-host .sticky-page-heading {
  top: 64px;
  margin-top: 0;
}

#event-info-host .create-heading {
  background: #fff8f8;
}

.competition-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.competition-empty {
  min-height: 280px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  border: 1px dashed #e2b9bd;
  border-radius: 10px;
  background: #fffafa;
  color: #7c5d62;
}

.competition-empty strong {
  color: #302326;
  font-size: 18px;
}

.competition-empty p {
  margin: 8px 0 18px;
}

/* 赛程编排：赛事内比赛场地是排程资源，不等同于建赛时选择的举办地点。 */
.schedule-venue-summary {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(220px, 1fr) auto minmax(180px, 1fr) minmax(220px, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 16px 18px;
  margin: 0 4px 16px;
  border: 1px solid #ecd9db;
  border-radius: 10px;
  background: #fff;
  color: #7d696d;
  font-size: 13px;
}
.schedule-venue-summary strong { color: #382b2d; font-size: 14px; }
.schedule-venue-summary small { color: #9b868a; }
.schedule-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 4px 16px; }
.schedule-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e5e8ed; border-radius: 10px; background: #fff; color: #9aa2ad; }
.schedule-step b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #eef0f3; color: #89919b; }
.schedule-step span { display: grid; gap: 3px; }
.schedule-step small { font-size: 12px; }
.schedule-step.active { border-color: #edc6ca; background: #fff7f7; color: #6d474c; }
.schedule-step.active b { background: #d8333f; color: #fff; }
.schedule-step.ready { border-color: #cce4d8; background: #f7fcf9; color: #3e7259; }
.schedule-step.ready b { background: #2a9a67; color: #fff; }
.schedule-court-table { margin: 0 4px; }
.schedule-court-status { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.schedule-court-status.enabled { color: #18744e; background: #e4f5ec; }
.schedule-court-status.disabled { color: #707985; background: #edf0f3; }
.schedule-court-empty { min-height: 220px; margin: 0 4px; }
.schedule-next-step { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; margin: 16px 4px 0; border: 1px dashed #e0c9cc; border-radius: 10px; background: #fffafa; color: #7a6064; }
.schedule-next-step strong { color: #382b2d; }
.schedule-next-step p { margin: 5px 0 0; font-size: 13px; }
.schedule-next-step.ready { border-color: #c7dfd3; background: #f8fcf9; color: #527564; }
.schedule-next-step button { display: grid; gap: 2px; text-align: center; white-space: nowrap; }
.schedule-next-step button small { font-size: 10px; font-weight: 400; }

.section-publication-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 4px 18px;
  padding: 18px 20px;
  border: 1px solid #e6d7d9;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #fff8f8);
}
.section-publication-copy { display: grid; gap: 5px; min-width: 0; }
.section-publication-title { display: flex; align-items: center; gap: 9px; color: #382b2d; font-size: 16px; }
.section-publication-copy p { margin: 0; color: #7e6e71; font-size: 13px; }
.section-publication-note { color: #9a8589; font-size: 12px; }
.section-publication-note.warning { color: #b05f24; }
.section-publication-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.publication-state { padding: 5px 9px; border-radius: 999px; color: #7a6e71; background: #f0edef; font-size: 12px; font-weight: 650; }
.publication-state.ready { color: #287052; background: #e7f5ed; }
.publication-toggle { display: inline-flex; align-items: center; gap: 8px; color: #4f4547; font-weight: 600; cursor: pointer; white-space: nowrap; }
.publication-toggle input { width: 44px; height: 24px; margin: 0; accent-color: #d8333f; cursor: pointer; }
.publication-toggle input:disabled { cursor: not-allowed; }

.rule-overview,
.competition-step {
  border: 1px solid #ecd9db;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}

.rule-state-row,
.competition-workflow-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7e6a6d;
  margin-bottom: 16px;
}

.rule-state {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff0f1;
  color: #bd2732;
  font-size: 12px;
  font-weight: 700;
}

.rule-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rule-summary-grid > div {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid #f0dfe1;
  border-radius: 8px;
  background: #fffafa;
}

.rule-summary-grid span,
.rule-summary-grid small {
  color: #8b777b;
}

.rule-summary-grid strong {
  color: #2e2527;
  font-size: 16px;
}

.rule-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid #d8333f;
  background: #fff6f6;
}

.rule-note p {
  margin: 4px 0 0;
  color: #80696d;
}

.rule-count-preview {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 7px;
  background: #fff5f5;
  color: #725d61;
}

.rule-count-preview strong {
  color: #bf2935;
}

.rule-count-preview em {
  color: #d13c47;
  font-style: normal;
}

.grouping-mode-field {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #eadadd;
  border-radius: 7px;
}

.grouping-mode-field legend {
  padding: 0 5px;
  color: #455366;
  font-weight: 600;
}

.grouping-mode-field legend em {
  color: #d13c47;
  font-style: normal;
}

.grouping-mode-field label {
  flex-direction: row !important;
  align-items: center;
  gap: 7px !important;
  cursor: pointer;
}

.grouping-mode-field input {
  width: auto;
  accent-color: #d8333f;
}

#regular-group-config > label {
  display: grid;
  gap: 7px;
}

.special-group-config {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #eadadd;
  border-radius: 7px;
  background: #fffafa;
}

.special-group-config > p {
  margin: 0;
  color: #8b777b;
  font-size: 12px;
}

.special-group-plan-list {
  display: grid;
  gap: 9px;
}

.special-group-plan-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.special-group-plan-row label {
  display: grid;
  gap: 5px;
}

.special-group-plan-row label span {
  color: #725d61;
  font-size: 12px;
}

.special-group-plan-row > span {
  padding-top: 22px;
  color: #8b777b;
}

.remove-special-plan {
  align-self: end;
  height: 38px;
  border: 0;
  background: transparent;
  color: #d13c47;
  cursor: pointer;
}

.add-special-group-plan {
  justify-self: start;
}

.apply-rule-options {
  display: grid;
  gap: 10px;
}

.apply-rule-option {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 13px;
  border: 1px solid #eadadd;
  border-radius: 7px;
  cursor: pointer;
}

.apply-rule-option input {
  margin-top: 3px;
}

.apply-rule-option span {
  display: grid;
  gap: 3px;
}

.apply-rule-option small {
  color: #947e82;
  font-weight: 400;
}

.competition-workflow-status {
  min-height: 52px;
  padding: 0 4px;
}

.competition-workflow-status strong {
  color: #312628;
  margin-left: auto;
}

.competition-step {
  margin-bottom: 18px;
}

.competition-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.competition-step-head > b {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d8333f;
  color: #fff;
}

.competition-step-head > div:not(.actions) {
  flex: 1;
}

.competition-step-head strong {
  font-size: 16px;
}

.competition-step-head p {
  margin: 3px 0 0;
  color: #8a777b;
}

.competition-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.competition-group,
.unassigned-group {
  min-height: 150px;
  padding: 13px;
  border: 1px solid #eadadd;
  border-radius: 8px;
  background: #fffafa;
  transition: border-color .15s, background .15s;
}

.unassigned-group {
  min-height: auto;
  background: #fff;
}

.competition-dropzone.drag-over {
  border-color: #d8333f;
  background: #fff0f1;
}

.competition-group h4,
.unassigned-group h4 {
  display: flex;
  justify-content: space-between;
  margin: 0 0 10px;
  color: #4a383b;
}

.competition-group h4 span,
.unassigned-group h4 span {
  color: #b25b63;
  font-weight: 500;
}

.competition-team-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
}

.competition-team-pool.static .competition-team-chip {
  cursor: default;
}

.competition-team-chip,
.pairing-source-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, #e35a64, #bd2732);
  color: #fff;
  box-shadow: 0 5px 14px rgba(190, 39, 50, .16);
  cursor: grab;
  user-select: none;
}

.competition-placeholder {
  color: #a99397;
  padding: 9px;
}

.first-round-editor {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.first-round-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 12px;
  border: 1px solid #eadadd;
  border-radius: 8px;
  background: #fffafa;
}

.first-round-match > span {
  grid-column: 1 / -1;
  color: #967f83;
  font-size: 12px;
}

.pairing-source-chip {
  min-width: 0;
  padding: 7px 9px;
  border-radius: 7px;
  text-align: center;
  font-size: 12px;
}

.pairing-source-chip.drag-over {
  outline: 3px solid rgba(216, 51, 63, .2);
}

.pairing-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px;
}

.pairing-round {
  min-width: 220px;
  flex: 1 0 220px;
}

.pairing-round h4 {
  margin: 0 0 9px;
  color: #5b464a;
}

.pairing-card {
  display: grid;
  gap: 5px;
  padding: 11px;
  margin-bottom: 9px;
  border: 1px solid #eadadd;
  border-radius: 7px;
  background: #fff;
}

.pairing-card > span,
.pairing-card > small {
  color: #9a8387;
  font-size: 11px;
}

.pairing-card > b {
  color: #c94a54;
  font-size: 11px;
}

@media (max-width: 1280px) {
  .filter-bar {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .cascader-menu {
    grid-template-columns: repeat(3, 155px);
  }

  .event-workspace-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .rule-summary-grid,
  .competition-groups,
  .first-round-editor {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }
}

@media (max-width: 900px) {
  .platform-sidebar-collapsed .sidebar {
    width: 58px;
  }

  .platform-sidebar-collapsed .main {
    margin-left: 58px;
    width: calc(100% - 58px);
  }

  .event-workspace-shell {
    grid-template-columns: 1fr;
  }

  .event-side-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .cascader-menu {
    grid-template-columns: repeat(3, 145px);
    max-width: calc(100vw - 220px);
    overflow: auto;
  }

  .team-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .confirm-card {
    width: 100%;
  }

  .competition-heading,
  .competition-step-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rule-summary-grid,
  .competition-groups,
  .first-round-editor {
    grid-template-columns: 1fr;
  }

  .schedule-venue-summary,
  .schedule-steps {
    grid-template-columns: 1fr;
  }

  .schedule-next-step {
    align-items: flex-start;
    flex-direction: column;
  }
}

.reward-setting-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reward-setting-line input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #d63b47;
}

.reward-setting-line input[type="number"] {
  width: 140px;
}

.reward-setting-line small {
  color: #8c777b;
  font-weight: 400;
}


.reservation-statistics {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.reservation-statistics article {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid #eadadd;
  border-radius: 9px;
  background: linear-gradient(150deg, #fff, #fff8f8);
}

.reservation-statistics span {
  color: #8f7b7e;
  font-size: 12px;
}

.reservation-statistics strong {
  color: #a92230;
  font-size: 25px;
}

.reservation-section {
  margin-top: 22px;
}

.reservation-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.reservation-section-heading h3,
.reservation-section-heading p {
  margin: 0;
}

.reservation-section-heading p {
  margin-top: 4px;
  color: #8f7b7e;
  font-size: 12px;
}

.reservation-section-heading input {
  width: 240px;
}

@media (max-width: 1100px) {
  .reservation-statistics { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
}

@media (max-width: 700px) {
  .reservation-statistics { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .reservation-section-heading { align-items: stretch; flex-direction: column; }
  .reservation-section-heading input { width: 100%; }
}

.miniapp-path-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #8f7b7e; font-size: 11px; }
.miniapp-path-line code { padding: 5px 8px; border: 1px solid #eadadd; border-radius: 6px; background: #fff8f8; color: #7e2b34; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.miniapp-path-line button { padding: 5px 9px; border: 1px solid #d9c2c5; border-radius: 6px; background: #fff; color: #9d2734; cursor: pointer; font-size: 11px; }

@media (max-width: 900px) {
  .section-publication-card { align-items: stretch; flex-direction: column; }
  .section-publication-actions { justify-content: space-between; flex-wrap: wrap; }
}
