/* ==========================================================
   1/2 的生活选择
   美学方向：Editorial / Magazine（杂志编辑风）
   纸感底色 + 宋体标题 + 非对称出血布局
   ========================================================== */

:root {
  --paper:      #F4F1EA;
  --paper-deep: #EAE5D9;
  --ink:        #1A1A18;
  --ink-soft:   #57534A;
  --ink-faint:  #918A7C;
  --rule:       #D8D2C4;
  --no:         #C8452F;
  --yes:        #2F5D50;

  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* 纸张纹理 */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

#app { height: 100%; position: relative; }

.view {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
}
.view.active { display: flex; }

/* ==================== 登录页 ==================== */
.login-wrap {
  flex: 1;
  padding: calc(var(--safe-top) + 52px) 30px calc(var(--safe-bottom) + 28px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.login-kicker {
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--ink-faint);
  line-height: 1.85;
  margin-bottom: 22px;
  padding-left: 3px;
  border-left: 2px solid var(--no);
  padding-left: 10px;
}

.login-title {
  font-family: var(--serif);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.frac {
  display: block;
  font-size: 82px;
  color: var(--ink);
}
.frac-sub {
  display: block;
  font-size: 27px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-top: 6px;
}

.login-desc {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 26px 0 0;
  max-width: 19em;
}
.login-desc em {
  font-style: normal;
  color: var(--ink);
  border-bottom: 1.5px solid var(--no);
  padding-bottom: 1px;
}

.login-form { margin-top: auto; padding-top: 40px; }

.field-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--ink-faint);
  margin-bottom: 9px;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 9px;
}
.field-prefix {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
#phone {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .06em;
  outline: none;
  min-width: 0;
}
#phone::placeholder {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink-faint);
  letter-spacing: .02em;
}

.field-hint {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 10px;
  line-height: 1.6;
}
.field-hint.err { color: var(--no); }

.btn-primary {
  width: 100%;
  margin-top: 22px;
  padding: 17px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .1em;
  cursor: pointer;
  transition: transform .12s, background .2s;
}
.btn-primary:active { transform: scale(.985); background: #000; }
.btn-primary:disabled { opacity: .35; }

.login-foot {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 26px;
  text-align: center;
}
.login-foot .muted { color: var(--ink-faint); font-size: 11px; }

/* ==================== 顶栏 ==================== */
.topbar {
  padding: calc(var(--safe-top) + 14px) 22px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--rule);
}
.topbar-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.topbar-left {
  background: none; border: 0; cursor: pointer;
  display: flex; align-items: baseline; gap: 4px;
  padding: 0;
}
.tb-count {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.tb-label { font-size: 12px; color: var(--ink-faint); }
.topbar-right {
  background: none; border: 0;
  font-size: 13px;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 4px 0 4px 10px;
}
.topbar-alt { border-bottom: 1px solid var(--rule); }
.topbar-left-text {
  background: none; border: 0;
  font-size: 13px; color: var(--ink-faint);
  cursor: pointer; padding: 4px 10px 4px 0;
}
.topbar-right-space { width: 60px; }

/* ==================== 卡片堆 ==================== */
.deck-wrap {
  flex: 1;
  position: relative;
  padding: 26px 26px 0 22px;
  min-height: 0;
}

.deck { position: absolute; inset: 26px 26px 0 22px; }

/* ---- 卡片本体：左侧贴边出血，右侧留白 ---- */
.card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #FBF9F4;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  padding: 30px 26px 26px 24px;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform-origin: 50% 120%;
  cursor: grab;
  box-shadow: 4px 5px 0 rgba(26,26,24,.055);
  user-select: none;
}
.card.dragging { cursor: grabbing; transition: none; }
.card.settling { transition: transform .42s cubic-bezier(.18,.9,.24,1), opacity .42s; }

/* 卡片堆叠：只做小幅位移，保证旋转后仍在容器内 */
.card[data-depth="0"] { z-index: 5; }
.card[data-depth="1"] { z-index: 4; transform: rotate(1.8deg) translate(3px, 7px); opacity: .97; }
.card[data-depth="2"] { z-index: 3; transform: rotate(-2.2deg) translate(5px, 13px); opacity: .92; }
.card[data-depth="3"] { z-index: 2; transform: rotate(1.2deg) translate(-2px, 18px); opacity: .86; }
.card[data-depth="4+"] { z-index: 1; transform: rotate(-1.4deg) translate(4px, 22px); opacity: .78; }

/* 场景文字压在上沿，跨越边界 */
.card-scene {
  position: absolute;
  top: -9px; left: 22px;
  background: var(--paper);
  padding: 0 8px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  white-space: nowrap;
  max-width: calc(100% - 50px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-source {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--ink-faint);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  opacity: .8;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 22px;
  min-height: 0;
}

.card-axis {
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.card-q {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.44;
  letter-spacing: -.01em;
  color: var(--ink);
  padding-right: 8px;
}

.card-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--ink);
  flex-shrink: 0;
}
.opt {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.opt:last-child { border-bottom: 0; padding-bottom: 2px; }
.opt-mark {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  line-height: 16px;
  text-align: center;
  border: 1px solid currentColor;
  margin-top: 4px;
}
.opt-body { flex: 1; min-width: 0; }
.opt-label {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.opt-sub {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 4px;
  line-height: 1.5;
}
.opt.is-left .opt-mark { color: var(--no); }
.opt.is-right .opt-mark { color: var(--yes); }

/* 拖拽时浮现的判决章 */
.stamp {
  position: absolute;
  top: 46px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 5px 16px;
  border: 3px solid;
  opacity: 0;
  pointer-events: none;
  transition: opacity .1s;
}
.stamp-l { left: 24px; color: var(--no); border-color: var(--no); transform: rotate(-9deg); }
.stamp-r { right: 24px; color: var(--yes); border-color: var(--yes); transform: rotate(9deg); }

/* 边缘光晕反馈 */
.card.lean-l { border-left-color: var(--no); }
.card.lean-r { border-left-color: var(--yes); }

/* ==================== 提示 ==================== */
.hints {
  display: flex;
  justify-content: space-between;
  padding: 0 26px 0 22px;
  flex-shrink: 0;
  height: 30px;
  align-items: center;
  opacity: .55;
}
.hint {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  letter-spacing: .1em;
}
.hint svg { width: 15px; height: 15px; }
.hint-left { color: var(--no); }
.hint-right { color: var(--yes); }

/* ==================== 进度 ==================== */
.swipe-progress {
  padding: 14px 26px calc(var(--safe-bottom) + 22px);
  flex-shrink: 0;
}
.sp-bar {
  height: 2px;
  background: var(--rule);
  overflow: hidden;
}
.sp-fill {
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width .5s cubic-bezier(.2,.8,.3,1);
}
.sp-text {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 10px;
  letter-spacing: .04em;
}
.sp-text.ready { color: var(--yes); font-weight: 500; }

/* ==================== 空态 ==================== */
.deck-empty {
  position: absolute;
  inset: 26px 26px 0 22px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px dashed var(--rule);
  padding: 0 26px;
}
.deck-empty.show { display: flex; }
.empty-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ==================== 档案页 ==================== */
.profile-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 30px 26px 0;
}

.profile-head { margin-bottom: 22px; }
.ph-kicker {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-faint);
  margin-bottom: 7px;
}
.ph-kicker span { color: var(--no); font-weight: 600; }
.ph-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

/* 画像段落：杂志正文排版 */
.portrait-card {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0 26px;
  margin-bottom: 32px;
  position: relative;
}
.portrait-card::before {
  content: "“";
  position: absolute;
  top: 12px; left: -4px;
  font-family: var(--serif);
  font-size: 62px;
  color: var(--rule);
  line-height: 1;
  z-index: 0;
}
.portrait-text {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2.05;
  color: var(--ink);
  letter-spacing: .012em;
  text-indent: 2em;
}
.portrait-text.pending {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-faint);
  text-indent: 0;
  line-height: 1.9;
}
.portrait-pending {
  margin-top: 16px;
  height: 2px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.portrait-pending::after {
  content: "";
  position: absolute; inset: 0;
  width: var(--p, 0%);
  background: var(--ink);
  transition: width .6s ease;
}

.section { margin-bottom: 34px; }
.section-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.section-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* 倾向列表：非对称，序号悬挂在左侧 */
.hl-list { list-style: none; }
.hl-item {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.hl-item:last-child { border-bottom: 0; }
.hl-idx {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink-faint);
  padding-top: 5px;
  flex-shrink: 0;
  width: 20px;
}
.hl-body { flex: 1; min-width: 0; }
.hl-text {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
}
.hl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}
.hl-tag {
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-faint);
  border: 1px solid var(--rule);
  padding: 1px 6px;
}
.hl-tag.dir-high { color: var(--yes); border-color: rgba(47,93,80,.3); }
.hl-tag.dir-low  { color: var(--no);  border-color: rgba(200,69,47,.3); }
.hl-strength {
  flex: 1;
  height: 2px;
  background: var(--rule);
  max-width: 90px;
  position: relative;
  overflow: hidden;
}
.hl-strength::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--s, 0%);
  background: var(--ink);
}

.stat-row {
  display: flex;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-item {
  flex: 1;
  padding: 18px 0 16px;
  border-right: 1px solid var(--rule);
}
.stat-item:last-child { border-right: 0; padding-left: 16px; }
.stat-item:not(:first-child) { padding-left: 16px; }
.stat-num {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-lbl {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 8px;
  line-height: 1.4;
}
.stat-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 14px;
}

.btn-ghost {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  cursor: pointer;
}
.btn-ghost:active { background: var(--ink); color: var(--paper); }

.profile-bottom-space { height: calc(var(--safe-bottom) + 48px); }

/* ==================== Toast ==================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 78px);
  transform: translate(-50%, 14px);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  padding: 11px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 9998;
  max-width: 80vw;
  text-align: center;
  line-height: 1.5;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==================== AI 设置面板 ==================== */
.sheet-mask {
  position: fixed; inset: 0;
  background: rgba(26, 26, 24, .42);
  opacity: 0; pointer-events: none;
  transition: opacity .28s;
  z-index: 9990;
}
.sheet-mask.show { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  transform: translateY(102%);
  transition: transform .32s cubic-bezier(.22,.8,.3,1);
  z-index: 9991;
  /* 列布局：内容区滚动，"好"按钮永远钉在底部，小屏也不会被裁 */
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}
.sheet.show { transform: translateY(0); }
@media (min-width: 560px) {
  .sheet { max-width: 430px; margin: 0 auto; left: 0; right: 0; }
}

.sheet-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 22px 0;
  min-height: 0;
}
.sheet-foot {
  padding: 16px 22px calc(var(--safe-bottom) + 20px);
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

/* 小屏压缩间距，尽量让内容一屏装下 */
@media (max-height: 720px) {
  .sheet-scroll { padding-top: 6px; }
  .sheet-grip { margin-bottom: 10px; }
  .sheet-section { margin-top: 15px; }
  .seg-item { padding: 10px 8px; }
  .flag-item { padding: 11px 0; }
  .sheet-note { margin-top: 10px; }
  .sheet-foot { padding: 12px 22px calc(var(--safe-bottom) + 14px); }
}

.sheet-grip {
  width: 34px; height: 3px;
  background: var(--rule);
  margin: 0 auto 16px;
}
.sheet-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
}
.sheet-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
}
.sheet-close {
  background: none; border: 0;
  font-size: 22px; line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 0 2px;
}
.sheet-section { margin-top: 22px; }
.sheet-label {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.sheet-note {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.75;
  margin-top: 14px;
}
.sheet .btn-primary { margin-top: 24px; }

/* ---- 模型分段选择 ---- */
.seg {
  display: flex;
  border: 1px solid var(--ink);
}
.seg-item {
  flex: 1;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ink);
  padding: 13px 8px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  align-items: center;
  transition: background .18s, color .18s;
}
.seg-item:last-child { border-right: 0; }
.seg-label {
  font-family: var(--serif);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.seg-hint { font-size: 10.5px; color: var(--ink-faint); }
.seg-item.on { background: var(--ink); }
.seg-item.on .seg-label { color: var(--paper); }
.seg-item.on .seg-hint { color: rgba(244, 241, 234, .6); }

/* ---- 开关列表 ---- */
.flag-list { list-style: none; }
.flag-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  gap: 16px;
}
.flag-item:first-child { border-top: 1px solid var(--rule); }
.flag-off { opacity: .48; }
.flag-body { min-width: 0; }
.flag-name {
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; gap: 7px;
}
.flag-soon {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink-faint);
  border: 1px solid var(--rule);
  padding: 1px 5px;
  font-weight: 400;
}
.flag-desc {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 5px;
  line-height: 1.5;
}

.switch {
  flex-shrink: 0;
  width: 44px; height: 25px;
  border-radius: 13px;
  background: var(--rule);
  border: 0;
  position: relative;
  cursor: pointer;
  transition: background .22s;
  padding: 0;
}
.switch:disabled { cursor: not-allowed; }
.switch .knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform .22s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.switch.on { background: var(--yes); }
.switch.on .knob { transform: translateX(19px); }

/* ---- 档案页里的 AI 状态条 ---- */
.ai-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  gap: 14px;
}
.ai-status-left { display: flex; align-items: center; gap: 11px; }
.ai-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
}
.ai-dot.on { background: var(--yes); box-shadow: 0 0 0 3px rgba(47, 93, 80, .16); }
.ai-status-title { font-size: 13.5px; font-weight: 500; }
.ai-status-sub { font-size: 11px; color: var(--ink-faint); margin-top: 3px; }
.btn-mini {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  padding: 6px 13px;
  cursor: pointer;
  font-family: var(--serif);
}
.btn-mini:active { background: var(--ink); color: var(--paper); }

.portrait-by {
  display: none;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.btn-ghost-quiet {
  margin-top: 10px;
  border-color: var(--rule);
  color: var(--ink-faint);
  font-weight: 400;
}
.btn-ghost-quiet:active { background: var(--ink-faint); color: var(--paper); border-color: var(--ink-faint); }

/* ==================== 小屏适配 ==================== */
@media (max-height: 680px) {
  .frac { font-size: 62px; }
  .frac-sub { font-size: 22px; }
  .card-q { font-size: 22px; }
  .login-desc { font-size: 13.5px; line-height: 1.85; }
  .ph-title { font-size: 28px; }
  .portrait-text { font-size: 16.5px; line-height: 1.95; }
}

@media (min-width: 560px) {
  /* 桌面端：把手机布局居中成实体，留出编辑感边框 */
  #app {
    max-width: 430px;
    margin: 0 auto;
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
}
