/* 份地全景 — 密集地籍册围观 */

body.allo-page:has(.wedding-ribbon),
.allo-page {
  --allo-bg: #ebe6dc;
  --allo-paper: #f3efe7;
  --allo-ink: #29312d;
  --allo-muted: #7b837d;
  --allo-line: rgba(41, 49, 45, .11);
  --allo-green: #637a66;
  --allo-green-soft: #d8dfd4;
  --allo-orch: #a18a5e;
  --allo-orch-soft: #e3d9c2;
  --allo-glass: #718b87;
  --allo-glass-soft: #d4dfdc;
  color: var(--allo-ink);
  background:
    radial-gradient(circle at 9% -4%, rgba(99, 122, 102, .12), transparent 24%),
    radial-gradient(circle at 95% 5%, rgba(161, 138, 94, .08), transparent 20%),
    linear-gradient(180deg, #f1ede5 0%, var(--allo-bg) 100%);
  min-height: 100vh;
}

.allo-shell {
  width: min(1320px, calc(100% - 24px));
  margin: auto;
  padding: 22px 0 42px;
}

.allo-kicker {
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--allo-green);
}

.allo-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--allo-line);
}

.allo-top h1 {
  margin: 3px 0 4px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 45px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.045em;
}

.allo-top p {
  margin: 0;
  color: var(--allo-muted);
  font-size: 10px;
  max-width: 42em;
  line-height: 1.6;
}

.allo-head-stats {
  display: flex;
  gap: 22px;
  align-items: flex-end;
}

.allo-head-stat small {
  display: block;
  font-size: 7px;
  color: #939a95;
  margin-bottom: 2px;
}

.allo-head-stat strong {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--allo-green);
}

.allo-board {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 315px;
  min-height: 700px;
  margin-top: 14px;
  border-top: 2px solid var(--allo-green);
  border-bottom: 1px solid var(--allo-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)),
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(41, 49, 45, .025) 38px 39px);
}

/* LEFT */
.allo-left {
  border-right: 1px solid var(--allo-line);
  padding: 13px 13px 16px 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.allo-left-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 8px;
}

.allo-left-title h2 {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  margin: 3px 0 0;
}

.allo-left-title span {
  font-size: 8px;
  color: var(--allo-muted);
}

.allo-people {
  display: flex;
  flex-direction: column;
  max-height: 560px;
  overflow: auto;
  min-height: 0;
  flex: 1;
}

.allo-person {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 7px;
  align-items: center;
  min-height: 47px;
  padding: 6px 4px 6px 0;
  border-top: 1px solid rgba(41, 49, 45, .07);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.allo-person:first-child { border-top: 0; }

.allo-person:hover,
.allo-person.is-active {
  background: linear-gradient(90deg, rgba(255, 255, 255, .35), transparent);
}

.allo-person .no {
  font: 8px ui-monospace, Consolas, monospace;
  color: #9aa19c;
}

.allo-person b {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 13px;
  font-weight: 500;
}

.allo-person small {
  display: block;
  font-size: 7px;
  color: var(--allo-muted);
  margin-top: 1px;
}

.allo-person .sum {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 15px;
  color: #556159;
}

.allo-online-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--allo-green);
  margin-left: 5px;
  vertical-align: middle;
}

.allo-left-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--allo-line);
}

.allo-left-foot-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 8px;
  color: var(--allo-muted);
}

.allo-left-foot-row b {
  font-weight: 500;
  color: #5e6962;
}

/* CENTER */
.allo-center {
  padding: 14px 20px 16px;
  min-width: 0;
}

.allo-owner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--allo-line);
}

.allo-owner h2 {
  margin: 3px 0 2px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 29px;
  font-weight: 500;
}

.allo-owner p {
  margin: 0;
  color: var(--allo-muted);
  font-size: 8px;
}

.allo-owner-total { text-align: right; }

.allo-owner-total small {
  display: block;
  font-size: 7px;
  color: #929a94;
}

.allo-owner-total strong {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 48px;
  line-height: .9;
  font-weight: 500;
  color: #3d4842;
}

.allo-owner-total span {
  font-size: 8px;
  color: var(--allo-muted);
}

.allo-triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--allo-line);
}

.allo-land {
  min-height: 145px;
  padding: 13px 13px 12px 0;
  border-right: 1px solid var(--allo-line);
}

.allo-land:nth-child(2),
.allo-land:nth-child(3) { padding-left: 13px; }

.allo-land:nth-child(3) { border-right: 0; }

.allo-land-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.allo-land-head small {
  display: block;
  font-size: 7px;
  color: #969d98;
  margin-bottom: 2px;
}

.allo-land-head h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
}

.allo-land-head strong {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 30px;
  line-height: .9;
  font-weight: 500;
}

.allo-land.veg .allo-land-head strong { color: var(--allo-green); }
.allo-land.orch .allo-land-head strong { color: var(--allo-orch); }
.allo-land.glass .allo-land-head strong { color: var(--allo-glass); }

.allo-plot-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.allo-plot {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font: 7px ui-monospace, Consolas, monospace;
  border: 1px solid rgba(41, 49, 45, .09);
  color: #6a746d;
  background: rgba(255, 255, 255, .13);
}

.allo-land.veg .allo-plot.on { background: var(--allo-green-soft); }
.allo-land.orch .allo-plot.on { background: var(--allo-orch-soft); }
.allo-land.glass .allo-plot.on { background: var(--allo-glass-soft); }

.allo-land.veg .allo-plot.ready,
.allo-land.orch .allo-plot.ready,
.allo-land.glass .allo-plot.ready {
  box-shadow: inset 0 0 0 1px rgba(41, 49, 45, .18);
  font-weight: 600;
}

.allo-land-foot {
  margin-top: 8px;
  font-size: 7px;
  color: var(--allo-muted);
  display: flex;
  justify-content: space-between;
}

.allo-mid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border-bottom: 1px solid var(--allo-line);
}

.allo-mid-sec {
  min-height: 190px;
  padding: 14px 14px 12px 0;
}

.allo-mid-sec + .allo-mid-sec {
  padding-left: 14px;
  border-left: 1px solid var(--allo-line);
}

.allo-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 7px;
}

.allo-sec-head h3 {
  margin: 3px 0 0;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
}

.allo-sec-head span {
  font-size: 7px;
  color: var(--allo-muted);
}

.allo-status-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.allo-status-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 7px;
  padding: 7px 0;
  border-top: 1px solid rgba(41, 49, 45, .065);
  font-size: 8px;
}

.allo-status-row:nth-child(-n+2) { border-top: 0; }
.allo-status-row code {
  font: 8px ui-monospace, Consolas, monospace;
  color: #66716a;
}
.allo-status-row span { color: #5a655e; }
.allo-status-row b { font-weight: 500; }

.allo-activity-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(41, 49, 45, .065);
  font-size: 8px;
}

.allo-activity-item:first-child { border-top: 0; }
.allo-activity-item time { color: #999f9b; }
.allo-activity-item b {
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}
.allo-activity-item span { color: var(--allo-muted); }

.allo-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 105px;
}

.allo-small {
  padding: 12px 12px 0 0;
  border-right: 1px solid var(--allo-line);
}

.allo-small + .allo-small { padding-left: 12px; }
.allo-small:last-child { border-right: 0; }

.allo-small h4 {
  margin: 3px 0 7px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 14px;
  font-weight: 500;
}

.allo-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid rgba(41, 49, 45, .06);
  font-size: 8px;
}

.allo-metric:first-of-type { border-top: 0; }
.allo-metric span { color: var(--allo-muted); }
.allo-metric b { font-weight: 500; }

/* RIGHT */
.allo-right {
  border-left: 1px solid var(--allo-line);
  padding: 13px 0 16px 16px;
}

.allo-right h2 {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  margin: 3px 0 10px;
}

.allo-right-block {
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--allo-line);
}

.allo-right-label {
  font-size: 7px;
  letter-spacing: .16em;
  color: #939b95;
  margin-bottom: 5px;
}

.allo-mini-land {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(41, 49, 45, .065);
  font-size: 8px;
}

.allo-mini-land:first-child { border-top: 0; }
.allo-mini-land code {
  font: 8px ui-monospace, Consolas, monospace;
  color: #68736c;
}
.allo-mini-land span { color: #59645d; }
.allo-mini-land b { font-weight: 500; }

.allo-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--allo-line);
  border: 1px solid var(--allo-line);
}

.allo-break-cell {
  background: rgba(243, 239, 231, .86);
  padding: 9px 7px;
}

.allo-break-cell small {
  display: block;
  font-size: 7px;
  color: #949b96;
  margin-bottom: 2px;
}

.allo-break-cell strong {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.allo-break-cell:nth-child(1) strong { color: var(--allo-green); }
.allo-break-cell:nth-child(2) strong { color: var(--allo-orch); }
.allo-break-cell:nth-child(3) strong { color: var(--allo-glass); }

.allo-note {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 11px;
  line-height: 1.7;
  color: #46524b;
}

.allo-legend-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 7px;
  color: var(--allo-muted);
}

.allo-legend-row span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  vertical-align: -1px;
}

.allo-legend-row .l1:before { background: var(--allo-green-soft); }
.allo-legend-row .l2:before { background: var(--allo-orch-soft); }
.allo-legend-row .l3:before { background: var(--allo-glass-soft); }

.allo-cta {
  margin: 0;
  font-size: 10px;
}

.allo-cta a {
  color: var(--allo-green);
  border-bottom: 1px solid rgba(99, 122, 102, .28);
  text-decoration: none;
}

.allo-empty {
  color: var(--allo-muted);
  font-size: 11px;
  padding: 10px 0;
}

@media (max-width: 1000px) {
  .allo-board { grid-template-columns: 180px minmax(0, 1fr); }
  .allo-right {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--allo-line);
    padding: 14px 0;
  }
}

@media (max-width: 720px) {
  .allo-shell {
    width: calc(100% - 18px);
    padding-top: 16px;
  }

  .allo-top { grid-template-columns: 1fr; }
  .allo-top h1 { font-size: 38px; }

  .allo-head-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
  }

  .allo-board { display: block; }

  .allo-left {
    border-right: 0;
    border-bottom: 1px solid var(--allo-line);
    padding-right: 0;
  }

  .allo-people {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 8px;
    max-height: none;
  }

  .allo-person { grid-template-columns: 20px 1fr; }
  .allo-person .sum { display: none; }

  .allo-center { padding: 14px 0; }

  .allo-triple { grid-template-columns: 1fr; }

  .allo-land,
  .allo-land:nth-child(2),
  .allo-land:nth-child(3) {
    min-height: 0;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--allo-line);
  }

  .allo-mid { grid-template-columns: 1fr; }

  .allo-mid-sec,
  .allo-mid-sec + .allo-mid-sec {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--allo-line);
  }

  .allo-bottom { grid-template-columns: 1fr; }

  .allo-small,
  .allo-small + .allo-small {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--allo-line);
  }

  .allo-right { padding-left: 0; }
}
