body.eo-mh {
  background: var(--page-bg, #fff);
  color: var(--t0, #111);
}
.mh-page {
  max-width: 1080px;
  margin: 18px auto 56px;
  padding: 0 16px;
  font-family: var(--font-ui);
}
.mh-page a { color: inherit; }
.mh-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--t2);
  margin: 0 0 6px;
}
.mh-page h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
}
.mh-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 22px;
  font-size: 13px;
}
.mh-nav a {
  border-bottom: 1px solid #111;
  text-decoration: none;
}
.mh-nav a.mh-chip {
  border-bottom: 1px solid #111;
  background: #fff;
  color: #111;
}
.mh-nav a.mh-chip:hover {
  background: #f4f4f4;
  border-color: #111;
  color: #111;
}
.mh-empty {
  border: 1px solid #111;
  padding: 28px 20px;
  font-size: 14px;
  color: var(--t2);
}

/* 门口大图 */
.door {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(240px, 1fr);
  gap: 22px 28px;
  align-items: start;
}
.mat {
  border: 1px solid #111;
  background: #fff;
  padding: 10px;
}
.mat-inner {
  border: 1px solid #111;
  background: #f3f3f3;
  display: grid;
  place-items: center;
  min-height: 200px;
}
.mat-inner img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.plate {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.plate strong { font-size: 15px; }
.plate em { font-style: normal; color: var(--t2); }
.side {
  border-top: 1px solid #111;
  padding-top: 12px;
}
.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.acts button,
.gift-strip button,
.gb-form button,
.mh-page .ghost {
  font: inherit;
  cursor: pointer;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 6px 12px;
  border-radius: 0;
}
.acts button.on {
  background: #111;
  color: #fff;
}
.acts button:hover,
.gift-strip button:hover,
.gb-form button:hover { background: #111; color: #fff; }
.counts {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--t2);
  margin-bottom: 14px;
}
.gift-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.gift-strip button {
  text-align: left;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gift-strip i {
  font-style: normal;
  font-size: 11px;
  color: var(--t2);
  font-weight: 400;
}
.gift-strip button:hover i { color: #ddd; }
.trail {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.7;
  min-height: 2em;
}
.gb h2 {
  font-size: 15px;
  margin: 0 0 10px;
  font-weight: 700;
}
.gb-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
}
.gb-form input {
  border: 1px solid #111;
  padding: 7px 10px;
  font: inherit;
  outline: none;
  background: #fff;
}
.notes { list-style: none; margin: 0; padding: 0; }
.notes li {
  border-bottom: 1px dashed rgba(0,0,0,.2);
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.55;
}
.notes b { margin-right: 8px; }
.notes time { float: right; color: var(--t2); font-size: 11px; }

/* 街道 */
.street-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid #111;
  padding-bottom: 10px;
}
.street-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.street-meta a.mh-chip {
  background: #fff;
  color: #111;
}
.street-meta a.mh-chip:hover {
  background: #f4f4f4;
  border-color: #111;
  color: #111;
}
.mh-page .mh-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px 0 6px;
  margin: 0;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.mh-page .mh-chip::before,
.mh-page .mh-chip::after {
  display: none !important;
  content: none !important;
}
.mh-page .mh-chip:hover { background: #333; border-color: #333; color: #fff; }
.mh-page .mh-chip .mh-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.mh-page .mh-bgm.off {
  background: #fff;
  color: #888;
  border-color: #bbb;
}
.mh-page .mh-bgm.off:hover {
  background: #f4f4f4;
  color: #111;
  border-color: #111;
}
.street {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 860px) {
  .street { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .street { grid-template-columns: 1fr; }
}
.pane {
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  padding: 8px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pane .win {
  border: 1px solid #111;
  background: #f3f3f3;
  aspect-ratio: 619 / 398;
  overflow: hidden;
}
.pane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f3f3f3;
}
.pane .tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  min-height: 22px;
}
.pane .tag b {
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.pane .tag .like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--t2, #666);
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.pane .tag .mh-ico {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.pane:hover { background: #fafafa; }
.pane:hover .win { background: #ececec; }

.pager-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  font-size: 13px;
}
.pager-row button[disabled] { opacity: .35; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  padding: 20px;
}
.lightbox.hidden { display: none !important; }
.lb-card {
  width: min(640px, 100%);
  border: 1px solid #111;
  background: #fff;
  padding: 12px;
}
.lb-card img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
  background: #f3f3f3;
  border: 1px solid #111;
}
.lb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.lightbox .mh-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px 0 6px;
  margin: 0;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.lightbox .mh-chip::before,
.lightbox .mh-chip::after {
  display: none !important;
  content: none !important;
}
.lightbox .mh-chip:hover {
  background: #f4f4f4;
  color: #111;
  border-color: #111;
}
.lightbox .mh-chip.on {
  background: #111;
  color: #fff;
}
.lightbox .mh-chip.on:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}
.lightbox .mh-chip .mh-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.shelf-mini {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px 12px;
  margin-top: 28px;
}
.room-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #111;
  background: #fff;
  padding: 8px;
  min-width: 0;
}
.room-card .frame {
  border: 1px solid #111;
  background: #f3f3f3;
  aspect-ratio: 619 / 398;
  overflow: hidden;
}
.room-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.room-card .cap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}
.room-card .cap-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 20px;
}
.room-card .cap-title b {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.room-card .ops {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}
.room-card .ops .mh-chip,
.room-card .ops a.mh-chip,
.room-card .ops button.mh-chip,
.room-card .ops span.mh-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  padding: 0 7px;
  margin: 0;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.room-card .ops span.mh-chip.mute {
  cursor: default;
  color: #888;
  border-color: #bbb;
  background: #f7f7f7;
}
.room-card .ops .mh-chip:hover,
.room-card .ops a.mh-chip:hover,
.room-card .ops button.mh-chip:hover {
  background: #f4f4f4;
  color: #111;
}
.room-card .ops .mh-chip.danger {
  color: #b42318;
  border-color: #b42318;
}
.room-card .ops .mh-chip.danger:hover {
  background: #b42318;
  color: #fff;
}
.room-card .ops .mh-chip::before,
.room-card .ops .mh-chip::after,
.room-card button::before,
.room-card button::after,
.room-card a::before,
.room-card a::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.room-card .mh-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.badge-on {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.2;
  border: 1px solid #111;
  padding: 1px 5px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .door { grid-template-columns: 1fr; }
  .mat-inner img { max-height: 320px; }
  .pane:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 560px) {
  .pane:nth-child(n) { grid-column: span 12; }
  .gb-form { grid-template-columns: 1fr; }
}
