/* Phone/tablet owner experience. No desktop selector is overridden. */
@media all {
  .mp-mobile-active { --mm-gutter:24px; --mm-dock:104px; background:var(--ws-paper,var(--hm-paper)); }
  .mm-screen { min-height:100dvh; color:var(--mp-ink,var(--hm-ink)); background:var(--mp-bg,var(--hm-paper)); }
  .mm-header { position:sticky; top:0; z-index:20; display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; min-height:44px; padding:calc(2px + env(safe-area-inset-top,0px)) 12px 2px; gap:8px; font-family:var(--ws-ui,-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif); background:var(--mp-bg,var(--hm-paper)); border:1px solid transparent; transition:background-color .2s,filter .2s; }
  .mm-header-title { min-width:0; font-size:15px; font-weight:500; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0; transition:opacity .2s; }
  .mm-header[data-collapsed] .mm-header-title { opacity:1; }
  .mm-header .mm-context { font-size:15px; text-align:center; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .mm-screen .mm-back { display:flex; align-items:center; justify-content:center; width:44px; height:44px; color:inherit; padding:0; border:0; border-radius:0; background:transparent; text-decoration:none; }
  .mm-back svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
  .mm-screen .mm-text-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 0; border:0; border-radius:0; background:transparent; color:inherit; font-family:var(--ws-ui,-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif); font-size:15px; line-height:1.6; text-decoration:none; cursor:pointer; }
  .mm-header .mm-text-button { min-width:52px; font-size:16px; }
  .mm-header .mm-head-actions { display:inline-flex; align-items:center; gap:16px; }
  .mm-screen :is(button,a,input,textarea,summary):focus-visible { outline:2px solid currentColor; outline-offset:4px; }
  .mm-screen button:disabled { opacity:.55; cursor:wait; }
  .mm-screen .mm-main { max-width:680px; margin:0 auto; padding:6px var(--mm-gutter) calc(var(--mm-dock) + 38px + env(safe-area-inset-bottom,0px)); }
  .mm-museum-title { margin:0 0 16px; }
  .mm-museum .mm-museum-title h1 { font-family:var(--museum-font); font-size:26px; line-height:1.35; font-weight:500; letter-spacing:0; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
  .mm-museum .mm-museum-title p { color:var(--mp-muted); font-size:14px; line-height:1.75; margin:6px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
  .mm-entries { display:flex; flex-direction:column; gap:64px; }
  .mm-museum .mm-entry { margin:0; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; min-width:0; }
  .mm-museum .mm-entry .mp-post-copy h2 { font-size:24px; line-height:1.65; font-weight:500; margin:0 0 16px; }
  .mm-museum .mm-entry .mp-post-body { font-size:16px; line-height:1.95; }
  .mm-museum .mm-entry .mp-tile .mp-post-copy h2 { font-size:17px; font-weight:600; line-height:1.5; margin:0 0 6px; }
  .mm-museum .mm-entry .mp-tile .mp-post-body { font-size:15px; line-height:1.7; }
  .mm-museum .mm-entry { --mp-tile-bleed:var(--mm-gutter); }
  .mm-entries:has(.mp-tile) { gap:0; }
  .mm-museum .mm-entry:has(> .mp-tile) { padding-bottom:0; border-bottom:0; }
  .mm-museum .mm-entry .mp-tile .mp-post-links { margin-top:12px; }
  .mm-museum .mm-entry .mp-post-media { margin-block:0 18px; }
  .mm-entries { gap:32px; }
  .mm-museum .mm-entry { padding-bottom:32px; border-bottom:1px solid var(--mp-border,var(--hm-line-soft)); }
  .mm-museum .mm-entry:last-child { border-bottom:0; }
  .mm-museum .mm-entry .mp-post-links { margin-top:22px; }
  .mm-museum .mm-entry .mp-post-links>a { border:0; border-radius:0; background:transparent; padding:0; min-height:44px; }
  .mm-museum .mm-entry .mp-post-links strong { text-decoration:underline; text-underline-offset:4px; font-size:15px; }
  .mm-museum .mm-entry .mp-post-links small { font-size:12px; }
  .mm-add-dock { position:fixed; z-index:25; inset:auto 0 0; display:flex; justify-content:center; padding:16px 0 calc(18px + env(safe-area-inset-bottom,0px)); background:none; pointer-events:none; }  /* no band behind 「+」: only the button floats */
  .mm-screen .mm-add { display:grid; place-items:center; width:64px; height:64px; padding:0; border:0; border-radius:50%; background:var(--mp-ink,var(--hm-ink)); color:var(--mp-bg,var(--hm-paper)); cursor:pointer; pointer-events:auto; }
  .mm-screen .mm-add:focus-visible { outline-color:var(--mp-ink,var(--hm-ink)); }
  .mm-add svg { width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
  .mm-screen .mm-add:active,.mm-screen .mm-submit:active { opacity:.78; }
  .mm-empty,.mm-loading { color:var(--mp-muted,var(--hm-ink-muted)); font-size:16px; line-height:1.9; margin:40px 0; }
  .mm-feedback { color:var(--ws-danger,var(--hm-danger)); font-size:15px; line-height:1.8; }
  .mm-more { margin:34px 0 0; }
  .mm-profile-editor { margin-bottom:12px; }
  .mm-profile-editor summary { min-height:44px; padding:10px 0; font-size:15px; cursor:pointer; }
  .mm-profile-editor .mp-field { color:var(--mp-muted); font-size:14px; }
  .mm-profile-editor form { display:grid; gap:16px; padding:16px 0; }
  .mm-profile-editor :is(input,textarea) { display:block; width:100%; background:transparent; color:var(--mp-ink); border:0; border-bottom:1px solid var(--mp-border); padding:10px 0; font:inherit; font-size:16px; border-radius:0; }
  .mm-entry-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; font-family:var(--ws-ui); }
  .mm-entry-tools>span { color:var(--mp-muted); font-size:13px; line-height:1.7; }
  .mm-entry-tools .mm-text-button { min-width:44px; text-decoration:underline; text-underline-offset:5px; }
  .mm-series { display:flex; align-items:baseline; gap:14px; margin:0 0 10px; font-family:var(--ws-ui); }
  .mm-series h2 { flex:none; font-size:12px; letter-spacing:.12em; color:var(--mp-muted); font-weight:400; margin:0; }
  .mm-series ul { display:flex; gap:18px; min-width:0; list-style:none; margin:0; padding:0; overflow-x:auto; scrollbar-width:none; }
  .mm-series ul::-webkit-scrollbar { display:none; }
  .mm-series li { flex:none; }
  .mm-screen .mm-series-link { display:inline-flex; align-items:baseline; gap:6px; min-height:36px; padding:6px 0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; text-decoration:none; white-space:nowrap; cursor:pointer; }
  .mm-series-link strong { font-size:15px; font-weight:500; }
  .mm-series-link span { flex:none; color:var(--mp-muted); font-size:12px; }
  .mm-kicker { font-family:var(--ws-ui); font-size:13px; letter-spacing:.12em; color:var(--mp-muted); margin:0 0 8px!important; }
  .mm-screen .mm-select { min-width:64px; min-height:40px; padding:6px 14px; border:1px solid var(--mp-ink,var(--hm-ink)); border-radius:20px; background:transparent; color:inherit; font:inherit; font-size:14px; cursor:pointer; }
  .mm-screen .mm-select[aria-pressed="true"] { background:var(--mp-ink,var(--hm-ink)); color:var(--mp-bg,var(--hm-paper)); }
  .mm-selecting .mm-entry { opacity:.62; }
  .mm-selecting .mm-entry.mm-picked { opacity:1; }
  .mm-select-bar { position:fixed; z-index:25; inset:auto 0 0; display:flex; align-items:center; gap:18px; padding:12px var(--mm-gutter) calc(12px + env(safe-area-inset-bottom,0px)); background:var(--mp-bg,var(--hm-paper)); border-top:1px solid var(--mp-border,var(--hm-line-strong)); font-family:var(--ws-ui); }
  .mm-select-bar .mm-text-button:disabled { opacity:.38; cursor:default; }
  .mm-select-bar>span { margin-right:auto; color:var(--mp-muted); font-size:14px; }
  .mm-select-bar .mm-text-button { font-size:15px; }
  .mm-compose-main { max-width:680px; padding:22px var(--mm-gutter) calc(28px + env(safe-area-inset-bottom,0px)); margin:auto; }
  .mm-composer { background:var(--ws-paper); color:var(--ws-ink); }
  .mm-composer .mp-editor-paper { background:none; border:0; padding:0; box-shadow:none; }
  .mm-composer .mp-compose-title { border:0; font-size:27px; line-height:1.55; font-weight:450; padding:0; margin-bottom:20px; }
  .mm-composer .mp-compose-title::placeholder { color:var(--hm-ink-faint); font-weight:400; }
  /* Starts about four lines tall and grows with the text (chrome.mjs fitTextarea). */
  .mm-composer .mp-compose-body { font-size:17px; line-height:1.9; min-height:7.6em; max-height:none; overflow:hidden; resize:none; margin:0; }
  .mm-composer .mp-compose-body::placeholder { color:var(--hm-ink-muted); }
  .mm-composer .mp-writing-tools { margin-top:8px; }
  .mm-composer .mp-writing-tools small { font-size:13px; }
  .mp-mobile-active:not([data-organizer-available="true"]) .mm-composer .mp-ai-button { display:none; }
  .mm-composer .mp-photo-heading { display:none; }
  .mm-composer .mp-materials-column { padding-top:14px; }
  .mm-composer .mp-photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .mm-composer .mp-photo-grid:has(>.mp-add-photo:only-child) { display:block; }
  .mm-composer .mp-add-photo { min-width:0; width:100%; min-height:90px; border:1px solid var(--ws-line); border-radius:4px; background:transparent; color:var(--ws-ink); }
  .mm-composer .mp-add-photo:only-child { width:auto; min-height:44px; border:0; display:inline-flex; align-items:center; gap:10px; padding:0; font-size:16px; aspect-ratio:auto; }
  .mm-composer .mp-add-photo svg { width:24px; height:24px; }
  .mm-composer .mp-link-editor { margin-top:6px; }
  .mm-compose-footer { margin:28px 0 0; display:flex; flex-direction:column; align-items:stretch; gap:10px; padding:0; }
  .mm-screen .mm-submit { width:100%; min-height:58px; border:0; border-radius:8px; font-family:var(--ws-ui); font-size:17px; font-weight:500; color:var(--ws-paper); background:var(--ws-ink); cursor:pointer; }
  .mm-operation-note,.mm-save-state { font-size:14px; line-height:1.7; color:var(--ws-secondary); margin:0; }
  .mm-save-state:empty { display:none; }
  .mp-mobile-active .mp-toast { bottom:calc(108px + env(safe-area-inset-bottom,0px)); max-width:calc(100% - 40px); }
  .mp-mobile-active .mp-dialog { max-height:calc(100dvh - 30px); }
  @media(max-width:360px) {
    .mp-mobile-active { --mm-gutter:20px; }
    .mm-museum .mm-museum-title h1 { font-size:28px; }
  }
  @media(prefers-reduced-motion:reduce) {
    .mm-screen *, .mm-header, .mm-header-title { scroll-behavior:auto!important; transition:none!important; }
  }
  .mm-museum-title .mm-visits { margin-top:4px; font-size:13px; color:var(--ws-muted,var(--hm-ink-muted)); letter-spacing:.02em; }
  .mm-open-own { margin:56px 0 12px; padding-top:20px; border-top:1px solid var(--ws-line,var(--hm-line)); font-family:var(--ws-ui); font-size:14px; color:var(--ws-muted,var(--hm-ink-muted)); }
  .mm-open-own a { color:inherit; text-decoration:none; }
  .mm-museum .mm-entry .mp-post-links>a.mp-link-card { padding:2px 0 2px 14px; border-left:2px solid currentColor; }
  .mm-museum .mm-entry .mp-link-card strong { text-decoration:none; font-size:16px; }
  .mm-museum .mm-entry .mp-link-card .mp-link-summary { font-size:13px; }
  /* Owner timeline: 分享 / 擦拭 sit at the right end of each exhibit's date row; visitors never get them. */
  .mm-museum .mm-entry:has(> .mm-owner-icons) { position:relative; }
  .mm-owner-icons { position:absolute; z-index:2; top:calc(var(--mp-tl-space,22px) - 4px); right:0; display:flex; align-items:center; gap:2px; font-family:var(--ws-ui); }
  .mm-arriving { min-height:36px; color:var(--mp-muted,var(--hm-ink-muted)); font-size:12px; font-variant-numeric:tabular-nums; }
  .mm-icon-button { display:inline-flex; align-items:center; gap:3px; min-height:28px; padding:0 6px; border:0; background:transparent; color:var(--mp-muted,var(--hm-ink-muted)); font:inherit; font-size:12px; line-height:1; cursor:pointer; }
  .mm-icon-button svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
  .mm-icon-button:active { color:var(--mp-ink); }
  .mm-header .mm-more-button { min-width:36px; min-height:36px; justify-content:center; padding:0; color:var(--mp-ink); }
  .mm-header .mm-more-button svg { width:22px; height:22px; fill:none; stroke:currentColor; }
  .mm-museum .mm-entry:has(> .mm-owner-icons) .mp-tl-head { flex-wrap:wrap; padding-right:118px; }
  .mm-owner-note { position:relative; margin:0; padding:6px 0 0 var(--mp-tl-gutter,40px); color:var(--mp-muted,var(--hm-ink-muted)); font-family:var(--ws-ui); font-size:12px; line-height:1.6; }
  .mm-owner-note::before { content:""; position:absolute; left:calc(var(--mp-tl-gutter,40px) / 2); top:0; bottom:0; width:1px; background:var(--mp-tl-line); }
  .mm-owner-menu { display:grid; gap:0; }
  .mm-menu-row { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:48px; padding:0; border:0; border-bottom:1px solid var(--mp-border,var(--hm-line-soft)); background:transparent; color:var(--mp-ink); font:inherit; font-size:15px; text-align:left; cursor:pointer; }
  .mm-menu-row span { color:var(--mp-muted,var(--hm-ink-muted)); font-size:13px; }
  .mm-owner-menu .mm-profile-editor { margin:4px 0 0; }
  .mm-compose-footer .mm-withdraw { color:var(--mp-muted,var(--hm-ink-muted)); }
  .mm-gone .mm-main { padding:48px var(--mm-gutter) 0; }
  .mm-gone-title { margin:0 0 20px; font-size:17px; line-height:1.7; color:var(--mp-ink,var(--hm-ink)); }
  .mm-gone-link { font-size:15px; color:var(--mp-muted,var(--hm-ink-muted)); text-decoration:underline; text-underline-offset:5px; }
}

/* Museum switcher: the title is the way to other museums (owner: switch / open one; visitor: same person's other public museums). */
.mm-title-switch { display:inline-flex; align-items:center; gap:4px; max-width:100%; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.mm-header .mm-title-switch { justify-content:center; min-width:0; }
.mm-chevron { width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; opacity:.5; }
.mm-switcher { display:flex; flex-direction:column; }
.mm-switch-row { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:12px 0; border:0; border-bottom:1px solid var(--mp-border,var(--hm-line-soft)); background:none; color:var(--mp-ink); font:inherit; text-align:left; text-decoration:none; cursor:pointer; }
.mm-switch-row strong { font-weight:500; font-size:16px; }
.mm-switch-row em { font-style:normal; font-size:12px; color:var(--mp-muted,var(--hm-ink-muted)); margin-left:8px; }
.mm-switch-row span { font-size:13px; color:var(--mp-muted,var(--hm-ink-muted)); }
.mm-switch-new { display:grid; grid-template-columns:1fr auto; align-items:end; gap:8px; padding-top:16px; }
.mm-switch-new label { display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--mp-muted,var(--hm-ink-muted)); }
.mm-switch-new input { font:inherit; font-size:16px; padding:10px 0; border:0; border-bottom:1px solid var(--mp-border,var(--hm-line-soft)); background:none; color:var(--mp-ink); }
.mm-switch-new .mp-error { grid-column:1/-1; margin:0; }
.mm-switch-note { font-size:13px; color:var(--mp-muted,var(--hm-ink-muted)); margin:16px 0 0; }

/* Floating title (2026-12-01): once the large title scrolls away, the bar itself disappears and
   splits into a round back button and a dark title strip. The strip is square top and bottom and
   only feathers out to the left and right (no glow up or down); a light blur, not "liquid glass". */
@media all {
  .mm-header { --mm-float:var(--hm-float); --mm-float-ink:var(--hm-float-ink); }
  /* One layout at the top of the page and scrolled: nothing in the bar moves or resizes, only colours fade.
     (Two layouts made every button hop about 10px at the moment of switching.) */
  .mm-header[data-collapsible] { grid-template-columns:38px minmax(0,1fr) auto; min-height:calc(50px + env(safe-area-inset-top,0px)); padding:calc(9px + env(safe-area-inset-top,0px)) 15px 1px; }
  .mm-header[data-collapsible] :is(.mm-back,.mm-more-button) { position:relative; width:38px; height:38px; min-width:38px; min-height:38px; border-radius:50%; }
  .mm-header[data-collapsible] :is(.mm-back,.mm-more-button)::after { content:""; position:absolute; inset:-3px; }   /* 44px to the finger */
  .mm-header[data-collapsible] .mm-head-actions { gap:6px; }
  .mm-header[data-collapsible] .mm-head-actions .mm-text-button { min-height:38px; padding:0 14px; border-radius:19px; font-size:15px; }
  .mm-header[data-collapsible] :is(.mm-back,.mm-more-button,.mm-text-button) { transition:background-color .2s,color .2s; }
  .mm-header[data-collapsible] .mm-header-title { justify-self:center; max-width:100%; font-size:14px; line-height:20px; color:var(--mm-float-ink); background:var(--mm-float); }
  .mm-header[data-collapsed] { background:transparent; }
  .mm-header[data-collapsed] :is(.mm-back,.mm-more-button,.mm-text-button) { color:var(--mm-float-ink); background:var(--mm-float); }
  .mm-header[data-collapsed] .mm-title-switch svg { stroke:currentColor; }
}

/* Series (2026-12-01): cards on the museum page; a series itself reads as full screens. */
@media all {
  .mm-series { display:block; margin:0 calc(-1 * var(--mm-gutter)) 8px; }
  .mm-series h2 { padding:0 var(--mm-gutter); margin:0 0 10px; }
  .mm-series .mm-series-rail { gap:3px; padding:0 var(--mm-gutter) 4px; scroll-snap-type:x mandatory; scroll-padding:0 var(--mm-gutter); overscroll-behavior-x:contain; }
  .mm-series .mm-series-rail li { scroll-snap-align:start; width:min(40vw,160px); }
  .mm-screen .mm-series-rail .mm-series-link { display:flex; flex-direction:column; align-items:stretch; gap:4px; width:100%; padding:0; white-space:normal; }
  .mm-series-cover { display:block; aspect-ratio:16/9; overflow:hidden; border-radius:0; background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 7%,transparent); margin-bottom:6px; }
  .mm-series-cover img { width:100%; height:100%; object-fit:cover; display:block; }
  .mm-series-cover i { display:flex; align-items:center; justify-content:center; height:100%; font-style:normal; font-size:26px; color:var(--mp-muted); }
  .mm-series-rail .mm-series-link strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }


  /* The writing page no longer slides up from the bottom (too fast, and the fixed bar jumped): only its
     content fades in with a slight rise; the header and the 放进博物馆 bar are in place from the start. */
  @keyframes mm-rise { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
  /* The rise moves only the writing area: a transform on an ancestor of the fixed 放进博物馆 bar would pin the bar
     to that ancestor for the length of the animation (it showed mid-screen, then snapped to the bottom). */
  /* While moving, the page is the containing block for fixed children: keep the off-screen skip labels hidden. */
  @media (prefers-reduced-motion: reduce) { .mm-composer.mm-enter, .mm-composer.mm-enter .mm-compose-main { animation:none; } }
  /* Series titles sit under square covers set 3px apart; a little inner space keeps the words apart. */
  .mm-series-rail .mm-series-link :is(strong,span:not(.mm-series-cover)) { padding-right:8px; }
  /* The timeline sits further left: the rail moves into the page margin, freeing width for photos and text. */
  .mm-museum:not(.mm-series-screen) .mm-entry { --mp-tl-gutter:28px; margin-left:calc(10px - var(--mm-gutter)); }
  /* Photos carry no frame: square corners while writing, the same as in the museum. */
  .mm-composer .mp-photo-grid .mp-attachment { border-radius:0; }
  /* 分享 / 擦拭 as icons only, a little larger, sitting at the right edge. */
  .mm-owner-icons { right:-8px; gap:0; }
  .mm-owner-icons .mm-icon-button { min-width:40px; min-height:36px; justify-content:center; padding:0; }
  .mm-owner-icons .mm-icon-button svg { width:20px; height:20px; }
  .mm-museum .mm-entry:has(> .mm-owner-icons) .mp-tl-head { padding-right:84px; }
  .mm-museum .mm-entry:has(.mp-tile[data-year]) > .mm-owner-icons { top:calc(var(--mp-tl-space,22px) + 26px); }
}

/* The floating title is a strip of tape (2026-12-01): flat top and bottom, torn zigzag left and right, a faint shadow. */
@media all {
  .mm-header[data-collapsible] .mm-header-title { padding:7px 24px;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='6'%3E%3Cpath d='M5 0L0 3l5 3z'/%3E%3C/svg%3E") left top/5px 6px repeat-y,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='6'%3E%3Cpath d='M0 0l5 3-5 3z'/%3E%3C/svg%3E") right top/5px 6px repeat-y,
      linear-gradient(#000,#000) center/calc(100% - 10px) 100% no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='6'%3E%3Cpath d='M5 0L0 3l5 3z'/%3E%3C/svg%3E") left top/5px 6px repeat-y,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='6'%3E%3Cpath d='M0 0l5 3-5 3z'/%3E%3C/svg%3E") right top/5px 6px repeat-y,
      linear-gradient(#000,#000) center/calc(100% - 10px) 100% no-repeat; }
  .mm-header[data-collapsed] { filter:drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
}
/* Opening (2026-12-01): only a spinner until the museum is ready; the page shell's brand bar is not shown on phones. */
@media all {
  #museum-platform[aria-busy="true"] > .mp-topbar { display:none; }
  #museum-platform[aria-busy="true"] > .mp-loading p, .mm-opening .mp-loading p { font-size:13px; color:var(--mp-muted,var(--hm-ink-muted)); }
  .mm-opening .mp-loading, #museum-platform[aria-busy="true"] > .mp-loading { min-height:100dvh; }
}
/* 放进博物馆 / 擦拭完成 (2026-12-01): one straight cut across the bottom of the screen, square corners, always within reach. */
@media all {
  .mm-composer .mm-compose-main { padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)); }
  .mm-screen.mm-composer .mm-submit { position:fixed; z-index:30; left:0; right:0; bottom:0; width:100%; min-height:calc(56px + env(safe-area-inset-bottom,0px)); padding:0 0 env(safe-area-inset-bottom,0px); border-radius:0; box-shadow:0 -1px 0 color-mix(in srgb,var(--ws-ink,var(--hm-ink)) 12%,transparent); }
}
/* 时间 (2026-12-01): one quiet line above the bottom bar; a tap opens three wheels (year, month, day). */
@media all {
  .mm-meta-row { display:flex; gap:18px; margin:18px 0 0; padding-top:12px; border-top:1px solid var(--ws-line,var(--hm-line)); font-family:var(--ws-ui); }
  .mm-screen .mm-meta-item { display:inline-flex; align-items:baseline; gap:8px; min-height:40px; padding:0; border:0; background:none; color:var(--mp-ink); font:inherit; font-size:15px; cursor:pointer; }
  .mm-meta-item span { color:var(--mp-muted,var(--hm-ink-muted)); font-size:13px; }
  .mm-meta-item b { font-weight:500; text-decoration:underline; text-decoration-color:color-mix(in srgb,currentColor 35%,transparent); text-underline-offset:5px; }
  .mm-time-wheels { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:10px; }
  .mm-time-wheels label { display:flex; flex-direction:column; gap:6px; font-size:12px; color:var(--mp-muted,var(--hm-ink-muted)); }
  .mm-time-wheels select { min-height:48px; padding:0 8px; border:1px solid var(--mp-border,var(--hm-line-soft)); border-radius:0; background:var(--mp-surface,var(--hm-surface)); color:var(--mp-ink); font:inherit; font-size:17px; }
  .mm-time-wheels select:disabled { opacity:.45; }
  .mm-time-picker .mp-help { margin:12px 0 0; }
  .mm-time-actions { display:flex; justify-content:space-between; align-items:center; margin-top:16px; }
  .mm-time-actions .mp-button { min-width:96px; border-radius:0; }
}
@media all {
  .mm-meta-row { flex-wrap:wrap; column-gap:22px; row-gap:0; }
  .mm-meta-item b { max-width:52vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mm-series-choices { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
  .mm-screen .mm-choice, .mm-choice { min-height:40px; padding:0 14px; border:1px solid var(--mp-border,var(--hm-line-strong)); border-radius:0; background:transparent; color:var(--mp-ink); font:inherit; font-size:15px; cursor:pointer; }
  .mm-choice[aria-pressed="true"] { background:var(--mp-ink,var(--hm-ink)); color:var(--mp-bg,var(--hm-paper)); border-color:var(--mp-ink,var(--hm-ink)); }
}
.mp-series-pick .mp-button { white-space:normal; text-align:left; justify-content:flex-start; }
/* 「+」 opens blank; the last unfinished draft waits on one quiet line at the top. */
@media all {
  .mm-screen .mm-resume { display:flex; align-items:baseline; gap:10px; width:100%; min-height:40px; margin:0 0 10px; padding:0 0 10px; border:0; border-bottom:1px solid var(--ws-line,var(--hm-line)); background:none; color:var(--mp-ink); font:inherit; font-size:14px; text-align:left; cursor:pointer; }
  .mm-resume span { color:var(--mp-muted,var(--hm-ink-muted)); font-size:13px; flex-shrink:0; }
  .mm-resume b { font-weight:500; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mm-resume b::after { content:" ›"; color:var(--mp-muted,var(--hm-ink-muted)); }
}
/* Sheets (2026-12-02): on phones every dialog rises from the bottom edge as a sheet of the same paper,
   square-cut like the 放进博物馆 bar — no floating rounded card, no blur, no rules between header and body. */
@media all {
  .mp-mobile-active .mp-modal-backdrop { align-items:flex-end; padding:0; background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 22%,transparent); backdrop-filter:none; }
  .mp-mobile-active .mp-dialog, .mp-mobile-active .mp-dialog.small { width:100%; max-width:none; max-height:88dvh; border-radius:0; background:var(--mp-bg,var(--hm-paper)); box-shadow:0 -1px 0 color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 12%,transparent); animation:mm-sheet-up .22s cubic-bezier(.2,.7,.2,1) both; padding-bottom:env(safe-area-inset-bottom,0px); }
  .mp-mobile-active .mp-dialog-header { border-bottom:0; padding:20px 20px 4px; align-items:flex-start; }
  .mp-mobile-active .mp-dialog-header h2 { font-size:17px; font-weight:500; letter-spacing:0; }
  .mp-mobile-active .mp-dialog-header p { font-size:13px; line-height:1.7; }
  .mp-mobile-active .mp-dialog-content { padding:10px 20px 16px; }
  .mp-mobile-active .mp-dialog-footer { border-top:0; background:transparent; padding:8px 20px 16px; }
  .mp-mobile-active .mp-dialog .mp-button { border-radius:0; box-shadow:none; }
  .mp-mobile-active .mp-dialog .mp-field input, .mp-mobile-active .mp-dialog .mp-field textarea { border-radius:0; }
  .mp-mobile-active .mp-series-items li > span { flex:1; min-width:0; }
  .mp-mobile-active .mp-series-items button { flex-shrink:0; white-space:nowrap; border:0; border-radius:0; min-width:36px; padding:0 4px; color:var(--mp-muted,var(--hm-ink-muted)); }
  /* Fields are lines on the paper, not white boxes. */
  .mp-mobile-active .mp-dialog .mp-field input, .mp-mobile-active .mp-dialog .mp-field textarea { border:0; border-bottom:1px solid var(--ws-line,var(--hm-line)); background:transparent; padding:10px 0; min-height:0; font-size:16px; }
  .mp-mobile-active .mp-dialog .mp-field textarea { resize:none; }
  /* Footer: secondary actions as quiet words in one wrapping row; the primary one is the full-width bar. */
  .mp-mobile-active .mp-dialog-footer > div { flex-wrap:wrap; justify-content:flex-start; gap:2px 18px; width:100%; }
  .mp-mobile-active .mp-dialog-footer .mp-button:not(.mp-primary) { border:0; background:none; padding:0; min-height:40px; color:var(--mp-muted,var(--hm-ink-muted)); }
  .mp-mobile-active .mp-dialog-footer .mp-button.mp-primary { order:9; flex:1 0 100%; min-height:52px; margin:8px -20px -16px; width:calc(100% + 40px); background:var(--mp-ink,var(--hm-ink)); border-color:var(--mp-ink,var(--hm-ink)); letter-spacing:.08em; }
  /* The series list: rows with a tick, not chips. */
  .mm-series-choices { display:block; margin:0; }
  .mm-screen .mm-choice, .mm-choice { display:flex; align-items:baseline; gap:10px; width:100%; min-height:48px; padding:12px 0; border:0; border-bottom:1px solid var(--ws-line,var(--hm-line)); background:none; color:var(--mp-ink); font-size:16px; text-align:left; }
  .mm-choice > span { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mm-choice small { color:var(--mp-muted,var(--hm-ink-muted)); font-size:12px; }
  .mm-choice::after { content:""; width:16px; text-align:right; flex-shrink:0; }
  .mm-choice[aria-pressed="true"] { background:none; color:var(--mp-ink); border-color:var(--ws-line,var(--hm-line)); }
  .mm-choice[aria-pressed="true"]::after { content:"✓"; }
  .mm-choice-new { cursor:text; }
  .mm-choice-new > span { flex:0 0 auto; color:var(--mp-muted,var(--hm-ink-muted)); }
  .mm-choice-new input { flex:1; min-width:0; border:0; padding:0; background:none; font:inherit; color:var(--mp-ink); outline:none; }
  .mm-choice-new::after { content:none; }
  .mm-sheet-done { display:block; width:100%; min-height:56px; border:0; border-radius:0; background:var(--mp-ink,var(--hm-ink)); color:var(--mp-bg,var(--hm-paper)); font:inherit; font-size:16px; letter-spacing:.08em; cursor:pointer; }
}
@keyframes mm-sheet-up { from { transform:translateY(24px); opacity:0; } to { transform:none; opacity:1; } }
@media (prefers-reduced-motion:reduce) { .mp-mobile-active .mp-dialog { animation:none; } }
/* 分享: three layers (exhibit, series, museum) as ticked rows, each saying what the other person sees. */
@media all {
  .mm-choice.mp-share-layer > span { display:flex; flex-direction:column; gap:3px; white-space:normal; }
  .mp-share-layer b { font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mp-share-layer small { font-size:12px; line-height:1.6; color:var(--mp-muted,var(--hm-ink-muted)); }
  .mp-mobile-active .mp-share-sheet .mp-field { margin-top:14px; }
  .mp-mobile-active .mp-share-sheet .mp-field input { font-size:13px; color:var(--mp-muted,var(--hm-ink-muted)); }
}
@media all {
  .mp-mobile-active .mp-share-choices .mp-share-layer { display:flex; flex-direction:row; align-items:center; gap:12px; text-align:left; padding:14px 0; border:0; border-bottom:1px solid var(--ws-line,var(--hm-line)); border-radius:0; background:none; box-shadow:none; color:var(--mp-ink); }
  .mp-mobile-active .mp-share-choices .mp-share-layer[aria-pressed="true"] { border-color:var(--ws-line,var(--hm-line)); background:none; }
  .mp-mobile-active .mp-share-choices .mp-share-layer > span { flex:1; min-width:0; }
  .mp-mobile-active .mp-share-choices .mp-share-layer b { color:var(--mp-ink); font-size:16px; }
}
/* Easier tapping (2026-12-02): small controls keep their look but get a finger-sized hit area (≥ 44px). */
@media all {
  .mm-screen .mm-icon-button { position:relative; }
  .mm-screen .mm-icon-button::after { content:""; position:absolute; inset:-4px; }
  .mm-screen .mp-tile-more::after { content:""; position:absolute; inset:-16px -8px 0; }  /* grows upward only: never past the tile edge */
  .mm-screen .mm-meta-item { min-height:44px; }
  /* Every tap answers at once: a brief dim while pressed (no grey flash box from the browser). */
  .mm-screen :is(button,a), .mp-mobile-active .mp-dialog :is(button,a) { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  .mm-screen :is(button,a):not(:disabled):active, .mp-mobile-active .mp-dialog :is(button,a):not(:disabled):active { opacity:.6; transition:none; }
}
/* The exhibit being put into the museum waits at the top of the timeline until the server has it. */
@media all {
  .mm-pending { display:flex; gap:12px; align-items:center; margin:8px 0 18px; padding:12px 0; border-bottom:1px solid var(--ws-line,#e4e1d8); animation:mm-rise .24s cubic-bezier(.2,.7,.2,1) backwards; }
  .mm-pending-media { display:flex; gap:3px; flex-shrink:0; }
  .mm-pending-media img { width:52px; height:52px; object-fit:cover; display:block; opacity:.85; }
  .mm-pending-copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
  .mm-pending-copy b { font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mm-pending-copy span { font-size:13px; color:var(--mp-muted,#77736a); font-variant-numeric:tabular-nums; }
  .mm-pending-failed .mm-pending-copy span { color:var(--ws-danger,#9a3b2e); }
  .mm-pending-copy .mm-text-button { align-self:flex-start; min-height:36px; text-decoration:underline; text-underline-offset:4px; }
}
@media all {
  .mm-handle-input { display:flex; align-items:baseline; gap:4px; border-bottom:1px solid var(--ws-line,var(--hm-line)); }
  .mm-handle-input > span { color:var(--mp-muted,var(--hm-ink-muted)); font-size:16px; }
  .mp-mobile-active .mp-dialog .mm-handle-input input { border:0; padding:10px 0; flex:1; min-width:0; }
}
/* Opening: the museum's outline in the paper's own tint (no spinner, no shimmer sweep — a slow, quiet breath). */
@media all {
  .mm-skeleton main { padding:26px var(--mm-gutter,20px) 0; }
  .mm-sk { display:block; background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 7%,transparent); border-radius:2px; animation:mm-breathe 1.6s ease-in-out infinite; }
  .mm-sk-title { width:55%; height:30px; margin-bottom:12px; }
  .mm-sk-line { width:80%; height:14px; margin:8px 0; }
  .mm-sk-row { display:flex; gap:3px; margin:24px 0 28px; }
  .mm-sk-card { width:min(40vw,160px); height:88px; }
  .mm-sk-entry { margin:0 0 30px 28px; }
  .mm-sk-date { width:44px; height:16px; margin-bottom:10px; }
  .mm-sk-head { width:60%; height:20px; margin-bottom:6px; }
  .mm-sk-strip { width:70%; height:var(--mp-strip-height,100px); margin-top:12px; }
  @keyframes mm-breathe { 50% { opacity:.55; } }
  @media (prefers-reduced-motion:reduce) { .mm-sk { animation:none; } }
}
/* The page shell (before any script runs) shows the same outline on phones; desktop keeps its loader. */
.mm-shell-sk { display:none; }
@media all {
  .mp-loading:has(.mm-shell-sk) { display:block; min-height:100dvh; padding:calc(76px + env(safe-area-inset-top,0px)) 20px 0; }
  .mp-loading:has(.mm-shell-sk) > .mp-loader, .mp-loading:has(.mm-shell-sk) > p { display:none; }
  .mm-shell-sk { display:block; }
}
/* Scrolled: the floating bar gets a soft paper fade behind it so titles and text never collide with it. */
@media all {
  /* On the page, not on the bar: the bar is shifted and casts a shadow, which left a gap at the very top and a grey smudge. */
  .mm-screen:has(> .mm-header[data-collapsible])::before { content:""; position:fixed; z-index:19; left:0; right:0; top:0; height:calc(72px + env(safe-area-inset-top,0px)); background:linear-gradient(var(--mp-bg,var(--hm-paper)) 45%,color-mix(in srgb,var(--mp-bg,var(--hm-paper)) 0%,transparent)); pointer-events:none; opacity:0; transition:opacity .2s; }
  .mm-screen:has(> .mm-header[data-collapsed])::before { opacity:1; }
  body.mp-body { background:var(--hm-paper); }   /* the shell's paper matches the museum's from the first frame */
  .mp-dialog-header h2, .mp-dialog-header p { -webkit-user-select:none; user-select:none; }
}

/* Just published: the new exhibit glows once where it landed. */
@media all {
  @keyframes mm-landed { 0% { background:color-mix(in srgb,var(--mp-accent,var(--hm-ink)) 12%,transparent); } 100% { background:transparent; } }
  .mm-entry.mm-landed { animation:mm-landed 1.6s ease-out 1; }
  @media (prefers-reduced-motion:reduce) { .mm-entry.mm-landed { animation:none; } }
}
@media all { a.mm-context { color:inherit; text-decoration:underline; text-decoration-color:color-mix(in srgb,currentColor 30%,transparent); text-underline-offset:4px; } }
/* 时段: four quiet choices under the date (上午 / 中午 / 下午 / 晚上); tapping the chosen one again clears it. */
@media all {
  .mm-time-parts { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:14px 0 4px; }
  .mm-screen .mm-time-part, .mm-time-part { min-height:44px; border:1px solid var(--ws-line,var(--hm-line)); background:none; color:var(--mp-ink,var(--hm-ink)); font:inherit; font-size:15px; border-radius:0; cursor:pointer; }
  .mm-time-part[aria-pressed="true"] { background:var(--mp-ink,var(--hm-ink)); color:var(--mp-bg,var(--hm-paper)); border-color:var(--mp-ink,var(--hm-ink)); }
}
@media all {
  .mm-auto-time { display:inline-flex; align-items:baseline; gap:8px; font-size:12px; color:var(--mp-muted,var(--hm-ink-muted)); }
  .mm-auto-time[hidden] { display:none; }
  .mm-screen .mm-auto-time .mm-text-button { min-height:40px; padding:0; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
}

/* Settling the 馆主名 before the first short link: a quiet note inside the share sheet. */
.mp-share-handle{margin:0 0 12px;padding:12px 0;border-top:1px solid var(--mm-line,currentColor);border-bottom:1px solid var(--mm-line,currentColor)}
.mp-share-handle p{margin:0 0 10px;font-size:14px;line-height:1.6}
.mp-share-handle div{display:flex;gap:8px;flex-wrap:wrap}
div.mm-menu-row[data-handle-row]{cursor:default}

/* Inside WeChat: point at its own ··· menu, the only way a page can be sent to a friend there. */
.mp-wechat-guide{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.72);color:#fff;text-align:right;padding:calc(8px + env(safe-area-inset-top,0px)) 20px 0 0;animation:mm-fade .18s ease-out}
.mp-wechat-guide svg{width:72px;height:72px;margin-right:4px}
.mp-wechat-guide p{margin:6px 0 0;font-size:17px;line-height:1.7}
.mp-wechat-guide small{display:block;margin-top:24px;font-size:13px;opacity:.7}
@keyframes mm-fade{from{opacity:0}to{opacity:1}}

/* 设置: a tall sheet (4/5 of the screen) of grouped rows; pages slide in from the right inside it. */
.mp-dialog.ms-sheet{display:flex;flex-direction:column;height:min(80dvh,760px);max-height:80dvh;padding:0;overflow:hidden;will-change:transform}
.mp-mobile-active .mp-dialog.ms-sheet{height:80dvh;max-height:80dvh}
.ms-grabber{flex:none;width:36px;height:4px;border-radius:2px;margin:8px auto 0;background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 22%,transparent)}
.ms-head{flex:none;display:grid;grid-template-columns:72px 1fr 72px;align-items:center;min-height:48px;padding:0 8px;touch-action:none}
.ms-head h2{grid-column:2;margin:0;text-align:center;font-size:17px;font-weight:500;letter-spacing:0}
.ms-back,.ms-close{display:inline-flex;align-items:center;gap:2px;min-height:44px;min-width:44px;padding:0 8px;border:0;background:none;color:inherit;font:inherit;font-size:15px;cursor:pointer}
.ms-back{grid-column:1;justify-self:start}
.ms-close{grid-column:3;justify-self:end;color:var(--mp-muted,var(--hm-ink-muted))}
.ms-back svg,.ms-close svg{width:22px;height:22px}
.ms-body{position:relative;flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:4px 16px calc(24px + env(safe-area-inset-bottom,0px))}
.ms-body{background:var(--mp-bg,var(--hm-paper))}
.ms-slide-forward{z-index:1;animation:ms-in .28s cubic-bezier(.32,.72,0,1) both}
.ms-slide-back{animation:ms-return .28s cubic-bezier(.32,.72,0,1) both}
@keyframes ms-return{from{transform:translateX(-25%)}to{transform:none}}
.ms-leaving-forward,.ms-leaving-back{position:absolute;left:0;right:0;bottom:0;pointer-events:none}
.ms-leaving-forward{animation:ms-aside .28s cubic-bezier(.32,.72,0,1) both}
.ms-leaving-back{z-index:1;animation:ms-out .28s cubic-bezier(.32,.72,0,1) both}
@keyframes ms-in{from{transform:translateX(100%)}to{transform:none}}
@keyframes ms-out{from{transform:none}to{transform:translateX(100%)}}
@keyframes ms-aside{from{transform:none}to{transform:translateX(-25%)}}
@media (prefers-reduced-motion:reduce){.ms-slide-forward,.ms-slide-back{animation:none}}
.ms-group{margin:18px 0 0}
.ms-group h3{margin:0 4px 8px;font-size:13px;font-weight:400;color:var(--mp-muted,var(--hm-ink-muted));letter-spacing:.02em}
.ms-rows{border-radius:12px;background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 4%,transparent);overflow:hidden}
.ms-row{display:flex;align-items:center;gap:8px;width:100%;min-height:50px;padding:0 14px;border:0;background:none;color:inherit;font:inherit;font-size:16px;text-align:left;cursor:pointer}
.ms-row + .ms-row{box-shadow:inset 0 1px 0 color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 9%,transparent)}
.ms-row > span:first-child{flex:none}
.ms-value{flex:1;min-width:0;text-align:right;color:var(--mp-muted,var(--hm-ink-muted));font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-static{cursor:default}
.ms-row[aria-disabled=true]{opacity:.55}
.ms-chevron{flex:none;width:16px;height:16px;color:var(--mp-muted,var(--hm-ink-muted));opacity:.7}
.ms-center{justify-content:center;color:#b3261e}
.ms-row:active:not(.ms-static){background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 7%,transparent)}
.ms-form{padding-top:12px}
.ms-form .mp-field{margin-bottom:14px}
.ms-form .ms-submit,.ms-form [data-action=save-profile]{width:100%;min-height:50px;margin-top:8px}
.ms-form [data-action=save-profile]{border:0;background:var(--mp-ink,var(--hm-ink));color:var(--mp-bg,var(--hm-paper));font-size:16px}
.ms-qa{border-bottom:1px solid color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 9%,transparent)}
.ms-qa summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;font-size:16px;cursor:pointer;list-style:none}
.ms-qa summary::-webkit-details-marker{display:none}
.ms-qa summary .ms-chevron{transition:transform .2s}
.ms-qa[open] summary .ms-chevron{transform:rotate(90deg)}
.ms-qa ol{margin:0 0 16px;padding-left:1.3em;font-size:15px;line-height:1.75;color:var(--mp-muted,var(--hm-ink-muted))}
.ms-qa li + li{margin-top:6px}
.ms-contact{margin:28px 0 8px;text-align:center}
.ms-contact p{margin:0 0 10px;font-size:14px;color:var(--mp-muted,var(--hm-ink-muted))}
.ms-wechat{display:inline-flex;align-items:baseline;gap:8px;min-height:48px;padding:12px 18px;border:1px solid color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 16%,transparent);border-radius:24px;background:none;color:inherit;font:inherit;cursor:pointer}
.ms-wechat span{font-size:14px;color:var(--mp-muted,var(--hm-ink-muted))}
.ms-wechat b{font-size:16px;font-weight:500;letter-spacing:.02em}
.ms-wechat small{font-size:12px;color:var(--mp-muted,var(--hm-ink-muted))}
.ms-doc{padding:8px 4px 0;font-size:15px;line-height:1.8}
.ms-doc-date{margin:0 0 8px;font-size:13px;color:var(--mp-muted,var(--hm-ink-muted))}
.ms-doc h3{margin:22px 0 6px;font-size:16px;font-weight:500}
.ms-doc p{margin:0 0 8px}
.mp-mobile-active .mp-dialog.ms-sheet{border-radius:14px 14px 0 0;padding-bottom:0;animation:ms-up .3s cubic-bezier(.2,.8,.2,1) both}
@keyframes ms-up{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.mp-mobile-active .mp-dialog.ms-sheet{animation:none}}

/* Press and hold an exhibit to start choosing several: keep the system's own callout out of the way. */
.mm-entry[data-post-id]{-webkit-touch-callout:none}

/* Registration: agreeing to the user agreement and privacy policy (never pre-ticked). */
.mp-consent{display:flex;align-items:flex-start;gap:8px;margin:4px 0 2px;font-size:13px;line-height:1.7;color:var(--mp-muted,var(--hm-ink-muted,#666))}
.mp-consent input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--mp-ink,var(--hm-ink,#222))}
.mp-consent .mp-link{border:0;background:none;padding:0;font:inherit;color:var(--mp-ink,var(--hm-ink,#222));text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.mp-consent-ask{animation:mp-nudge .3s}
@keyframes mp-nudge{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.ms-legal-layer{position:fixed;inset:0;z-index:1100;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.32)}
.ms-legal{display:flex;flex-direction:column;width:100%;max-width:640px;height:88dvh;border-radius:14px 14px 0 0;background:var(--mp-bg,var(--hm-paper,#fff));color:var(--mp-ink,var(--hm-ink,#222));animation:ms-up .28s cubic-bezier(.2,.8,.2,1) both}
.ms-legal .ms-head{grid-template-columns:72px 1fr 72px}
.ms-legal .ms-submit{width:100%;min-height:50px;margin:16px 0 8px}

/* 润色: what changed, read in place. New words sit on a soft highlight; removed ones are struck through and faint. */

/* 时间 wheels (2026-12-03): five rows tall, the middle one is the choice; rows snap like a clock's alarm wheels. */
.mm-wheels{position:relative;display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:4px;margin:4px 0 8px}
.mm-wheel-col{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.mm-wheel-label{font-size:12px;text-align:center;color:var(--mp-muted,var(--hm-ink-muted,#888));margin-bottom:4px}
.mm-wheel{height:200px;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;padding:80px 0;box-sizing:border-box;-webkit-mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);outline:none}
.mm-wheel::-webkit-scrollbar{display:none}
.mm-wheel-item{height:40px;line-height:40px;text-align:center;scroll-snap-align:center;font-size:18px;color:var(--mp-muted,var(--hm-ink-muted,#888));font-variant-numeric:tabular-nums;cursor:pointer;transition:color .12s,font-weight .12s;-webkit-user-select:none;user-select:none}
.mm-wheel-item[aria-selected=true]{color:var(--mp-ink,var(--hm-ink,#222));font-weight:500}
.mm-wheel-band{position:absolute;left:0;right:0;top:calc(18px + 80px);height:40px;border-radius:10px;background:color-mix(in srgb,var(--mp-ink,var(--hm-ink,#222)) 6%,transparent);pointer-events:none}
.mm-time-actions{display:flex;align-items:center;gap:16px}
.mm-time-actions .mp-primary{margin-left:auto}
.mm-leave-choices{display:grid;gap:8px}
.mm-leave-choices .mp-button{width:100%;min-height:48px;justify-content:center}
/* 放进博物馆 at the top right of the writing page. */
.mm-screen.mm-composer .mm-head-submit,.mm-screen .mm-head-submit{position:static;width:auto;min-height:36px;padding:0 14px;border-radius:18px;font-size:15px;box-shadow:none;white-space:nowrap}
.mm-composer .mm-compose-main{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}

/* A small grip at the top of every bottom sheet says it can be pulled down. */
@media all{.mp-mobile-active .mp-dialog:not(.ms-sheet):not(.mp-photo-dialog)::before{content:"";display:block;width:36px;height:4px;border-radius:2px;margin:8px auto -4px;background:color-mix(in srgb,var(--mp-ink,var(--hm-ink)) 18%,transparent)}}

/* 单页杂志版式 (2026-12-03): one exhibit laid out like a magazine page, picked from what it holds (magazine.mjs).
   Photos keep their own shape; the first one runs edge to edge; text sits in a narrow, generous column. */
/* The entry starts 14px to the left (for the timeline); the same on the right keeps full-width photos centred. */
.mm-entry .mg-page{--mg-side:10px;margin-right:-14px;padding:0 0 32px;color:var(--mp-ink,var(--hm-ink))}
.mg-page .mg-bleed,.mg-page .mg-grid,.mg-page .mg-gallery{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:0}
.mg-body::after{content:"";display:block;clear:both}
.mg-page .mp-photo-open,.mg-page .mp-video-open{display:block;position:relative;width:100%;height:auto;aspect-ratio:var(--mp-wide,var(--mp-ratio,1.333));padding:0;border:0;border-radius:0;overflow:hidden;background:var(--mp-soft,rgba(0,0,0,.04));cursor:zoom-in}
.mg-page .mp-photo-open img,.mg-page .mp-video-open img{display:block;width:100%;height:100%;object-fit:cover}
.mg-page .mp-slide-caption{display:none}
.mg-fig{margin:0}
.mg-bleed{margin:0 0 28px}
.mg-bleed .mp-photo-open,.mg-bleed .mp-video-open{max-height:78svh}
.mg-inset{margin:12px var(--mg-side) 28px}
.mg-inset .mp-photo-open{max-height:82svh;aspect-ratio:var(--mp-wide,var(--mp-ratio,.75))}
.mg-offset{width:72%;margin:8px var(--mg-side) 28px auto}
.mg-head{padding:0 var(--mg-side)}
.mg-date{margin:0 0 10px;font-size:13px;letter-spacing:.06em;color:var(--mp-muted,var(--hm-ink-muted))}
.mm-entry .mg-page h1.mg-title{margin:0 0 22px;font-family:var(--museum-font,inherit);font-size:28px;line-height:1.35;font-weight:500;letter-spacing:.01em}
.mg-body{padding:0 var(--mg-side);font-size:17px;line-height:1.95}
.mg-body p{margin:0 0 1.1em}
.mg-body .mg-first[data-cap]::first-letter{float:left;font-family:var(--museum-font,inherit);font-size:3.1em;line-height:.95;margin:.06em .12em 0 0;font-weight:500}
.mg-cont{margin-top:4px}
.mg-open{margin:0 var(--mg-side) 26px;font-family:var(--museum-font,inherit);font-size:23px;line-height:1.6;font-weight:500}
.mg-page[data-layout=text] .mg-head{padding-top:28px}
.mm-entry .mg-page[data-layout=text] h1.mg-title{font-size:32px;margin-bottom:28px}
.mg-grid,.mg-gallery{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:12px 0 28px;grid-auto-flow:dense}
.mg-grid[data-count="1"]{grid-template-columns:1fr}
.mg-grid[data-count="3"] .mg-cell:first-child{grid-column:1 / -1}
.mg-cell .mp-photo-open,.mg-cell .mp-video-open{aspect-ratio:1}
.mg-grid[data-count="1"] .mg-cell .mp-photo-open,.mg-grid[data-count="3"] .mg-cell:first-child .mp-photo-open{aspect-ratio:var(--mp-wide,var(--mp-ratio,1.5))}
.mg-gallery .mg-cell[data-facing=wide]{grid-column:span 2}
.mg-gallery .mg-cell[data-facing=wide] .mp-photo-open{aspect-ratio:var(--mp-wide,var(--mp-ratio,1.5))}
.mg-gallery .mg-cell[data-facing=tall] .mp-photo-open{aspect-ratio:.75}
.mg-page .mp-post-links{padding:0 var(--mg-side)}

/* 看大图 (2026-12-03): the bar floats over the photo, half transparent; on touch screens there is no 关闭 —
   pulling down closes. */
.mp-viewer .mp-viewer-bar{position:absolute;z-index:2;top:0;left:0;right:0;background:linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,0));padding-bottom:22px;pointer-events:none}
.mp-viewer .mp-viewer-bar > *{pointer-events:auto}
.mp-viewer-count{font-size:13px;letter-spacing:.04em;opacity:.9}
.mp-viewer-hint{font-size:12px;opacity:.7;margin-left:auto;margin-right:auto}
@media (pointer:coarse){.mp-viewer .mp-viewer-close{position:absolute;width:1px;height:1px;min-width:0;min-height:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* Each change can be taken back with a tap: the writer's own words return, the suggestion goes. */

.mm-note-photos{display:flex;gap:8px;align-items:center;margin:8px 0}
.mm-note-photos button{width:64px;height:64px;padding:0;border:0;background:none}.mm-note-photos [data-busy]{opacity:.4}
.mm-note-photos img{width:100%;height:100%;object-fit:cover;border-radius:2px}
.ms-row[data-action=choose-card] > span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-row[data-action=choose-card] .ms-value{flex:none}

/* 追记 sheet: controls on top, the text right above the keyboard, nothing below. */
.mm-note-head{display:flex;align-items:center;gap:4px;padding:6px 12px 0}
.mm-note-head h2{flex:1;margin:0;font-size:16px;font-weight:500;text-align:center}
.mm-note-head :is(button,label){min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.mm-note-head label svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
.mm-note-head .mm-note-save{font-weight:600}
.mm-note-sheet{padding:0 20px 12px}
.mm-note-sheet textarea:is(:focus,:focus-visible){outline:0!important;box-shadow:none!important}
.mm-note-sheet textarea{width:100%;border:0;outline:0;background:none;resize:none;padding:8px 0;font-size:17px;line-height:1.7;color:inherit;field-sizing:content;min-height:5.1em;max-height:38dvh}
.mm-note-sheet .mp-error:empty,.mm-note-photos:empty{display:none}

.mm-note-links:empty{display:none}.mm-note-links{display:flex;flex-wrap:wrap;gap:4px 12px}
.mm-note-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:15px}.mm-note-link img{width:18px;height:18px;border-radius:4px}
.mm-note-link button{width:32px;height:44px;border:0;background:none;color:inherit;padding:8px}.mm-note-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}

/* Nothing may scroll the layer a sheet stands on; every sheet rises from the edge the same way. */
@media all{.mp-mobile-active .mp-modal-backdrop{overflow:clip}.mp-mobile-active .mp-dialog:not(.mp-photo-dialog){animation:ms-up .3s cubic-bezier(.32,.72,0,1) both}.mp-sheet-gone{pointer-events:none}.mp-sheet-gone *{animation:none!important}}
@media (prefers-reduced-motion:reduce){.mp-mobile-active .mp-dialog:not(.mp-photo-dialog){animation:none}}

.mp-page-gone{position:fixed;inset:0;overflow:hidden;background:var(--hm-paper);pointer-events:none}
.mp-page-rising{position:relative;z-index:50;min-height:100dvh;background:var(--hm-paper);box-shadow:0 -8px 30px rgba(0,0,0,.12)}
.mp-page-rising .mp-skip:not(:focus),.mp-page-gone .mp-skip{visibility:hidden}

/* The writing page's details sit two by two, so no one of them drops to a line of its own. */
@media all{
  .mm-meta-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px}
  .mm-screen .mm-meta-item{min-width:0;justify-content:flex-start}
  .mm-meta-item span{flex:none}
  .mm-meta-item b{min-width:0;max-width:none}
  .mm-auto-time{grid-column:1/-1}
}
/* Pickers (time, series, museum): tap beside them or pull them down to go back; the × stays for screen readers only. */
@media all{
  .mp-mobile-active .mp-dialog.mm-pick{display:flex;flex-direction:column}
  .mm-pick .mp-dialog-content{flex:1}
  .mm-pick:has(.mm-series-choices){min-height:58dvh}
  .mm-pick .mp-dialog-header [data-action="close-modal"]{position:absolute;width:1px;height:1px;min-width:0;min-height:0;padding:0;overflow:hidden;clip-path:inset(50%)}
}

/* Details of an exhibit open in place (2026-12-04): nothing covers the writing page. */
.mm-meta-panel{padding:12px 0 4px}
.mm-meta-panel[hidden]{display:none}
.mm-meta-panel .mm-series-choices{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.mm-screen .mm-meta-panel .mm-choice{display:inline-flex;align-items:center;width:auto;max-width:100%;min-height:44px;padding:0 14px;border:1px solid var(--ws-line,var(--hm-line));color:var(--mp-ink,var(--hm-ink))}
.mm-screen .mm-meta-panel .mm-choice::after{content:none}
.mm-screen .mm-meta-panel .mm-choice[aria-pressed=true]{background:var(--mp-ink,var(--hm-ink));color:var(--mp-bg,var(--hm-paper));border-color:transparent}
.mm-meta-panel .mm-choice-new input{width:6em;font-size:16px}
.mm-meta-item[aria-expanded=true] span{color:var(--mp-ink,var(--hm-ink))}
.mm-lock{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.mm-shackle{transform-origin:16px 11px;transition:transform .22s cubic-bezier(.3,.7,.3,1)}
.mm-meta-item[data-audience=public] .mm-shackle{transform:translateY(-2px) rotate(24deg)}
.mm-screen .mm-meta-item[data-audience]{min-width:44px;align-items:center}
.mm-owner-note[data-private] .mm-lock{width:15px;height:15px}
[data-dot]{position:relative}
[data-dot]::before{content:"";position:absolute;top:9px;right:8px;width:7px;height:7px;border-radius:50%;background:#d8432f}
.ms-value[data-dot]{padding-right:14px}.ms-value[data-dot]::before{top:calc(50% - 3px);right:0}
.mm-offer{position:fixed;z-index:30;left:50%;bottom:calc(98px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:6px;max-width:calc(100vw - 32px);padding:4px 6px 4px 18px;border-radius:26px;background:var(--mp-ink,var(--hm-ink,#222));color:var(--mp-bg,var(--hm-paper,#fff));font:15px/1.5 var(--ws-ui,system-ui);white-space:nowrap;animation:mm-offer .28s cubic-bezier(.2,.8,.2,1)}
.mm-offer button{min-height:44px;padding:0 14px;border:0;background:none;color:inherit;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;touch-action:manipulation}
@keyframes mm-offer{from{opacity:0;transform:translate(-50%,12px)}}
@media (prefers-reduced-motion:reduce){.mm-offer{animation:none}.mm-shackle{transition:none}}
.mm-screen .mm-meta-row .mm-meta-item{align-items:center}

/* The ticket stands first in the share sheet, at its own shape from the start, so nothing moves when it is drawn. */
.mp-share-sheet .mp-poster{display:flex;flex-direction:column;align-items:center;gap:12px;margin:0 0 8px}
.mp-share-sheet .mp-poster::before{content:"";display:block;width:min(62%,250px);aspect-ratio:2/3;background:color-mix(in srgb,var(--mp-ink,var(--hm-ink,#222)) 6%,transparent)}
.mp-share-sheet .mp-poster:has(img)::before{content:none}
.mp-share-sheet .mp-poster img{width:min(62%,250px);max-width:none;margin:0;border:0;animation:mp-named .4s ease-out}
/* 润色 works in place: a curved arrow swaps the two versions; changed words are marked for a moment. */
.mp-ai-undo{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:inherit;touch-action:manipulation;animation:mp-named .3s ease-out}
.mp-ai-undo:disabled{opacity:.28}.mp-ai-undo+.mp-ai-undo{margin-left:-10px}
.mp-ai-undo svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mp-writing-column{position:relative}
.mp-changed{position:absolute;pointer-events:none;color:transparent;white-space:pre-wrap;overflow-wrap:break-word;border-style:solid;border-color:transparent;overflow:hidden;animation:mp-changed 3.2s ease-in forwards}
.mp-changed mark{color:transparent;background:color-mix(in srgb,#e8b93a 32%,transparent);border-radius:3px}
.mp-changed .mp-cut{box-shadow:0 0 0 1px color-mix(in srgb,#e8b93a 80%,transparent);padding:.1em 0}
@keyframes mp-changed{0%,60%{opacity:1}100%{opacity:0}}

/* Wider screens: the same page in one readable column, with its header lined up to it and sheets as centred cards. */
@media (min-width:720px){
  .mm-screen .mm-header{padding-inline:max(var(--mm-gutter),calc((100vw - 680px)/2))}
  .mp-mobile-active .mp-modal-backdrop{align-items:center;justify-content:center}
  .mp-mobile-active .mp-dialog:not(.mp-photo-dialog):not(.ms-sheet),.mp-mobile-active .mp-dialog.ms-sheet{width:min(560px,calc(100vw - 64px));margin:auto;border-radius:16px;max-height:calc(100dvh - 80px)}
  .mp-mobile-active .mp-dialog:not(.ms-sheet):not(.mp-photo-dialog)::before,.ms-grabber{display:none!important}
}
@media (max-width:900px){.ms-wide{display:none}}
a.ms-row{text-decoration:none}
.mm-screen{overflow-wrap:anywhere}
button.mm-series-link{display:block;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left}
/* 放在: the museum, then its series, on one line of its own */
.mm-screen .mm-meta-place{grid-column:1/-1}
.mm-place-step{margin:14px 0 8px;font-size:13px;color:var(--mp-muted,var(--hm-ink-muted))}
.mm-place-step:first-child{margin-top:0}
.mm-place-step small{margin-left:8px;font-size:12px;opacity:.8}

/* Small movements (2026-12-04). Each says one thing: this answered your finger, this was chosen, this just arrived. Short, and never in the way. */
@media (prefers-reduced-motion:no-preference){
  .mm-screen .mm-add{transition:transform .22s cubic-bezier(.2,.8,.2,1)}
  .mm-screen .mm-add:active{transform:scale(.9)}
  .mm-screen .mm-meta-panel .mm-choice{transition:background-color .16s,color .16s,border-color .16s}
  .mm-owner-icons svg,.mm-head-actions svg{transition:transform .22s cubic-bezier(.2,.8,.2,1)}
  .mm-owner-icons button:active svg,.mm-head-actions :is(a,button):active svg{transform:scale(.82)}
  .mp-mobile-active .mp-toast:not([hidden]){animation:mm-arrive .22s cubic-bezier(.2,.8,.2,1)}
  .mm-composer .mp-attachment:last-of-type,.mm-note-link,[data-note-photos]>button{animation:mm-arrive .22s cubic-bezier(.2,.8,.2,1)}
}
@keyframes mm-arrive{from{opacity:0;scale:.94}}

/* 布置 (2026-12-04): the panel sits under the real page; its own colours stay plain so they never compete with the choice. */
.ma-panel{position:fixed;z-index:60;inset:auto 0 0;max-width:760px;margin:0 auto;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;color:#17191a;border-top:1px solid #dfe1e1;font-family:-apple-system,"PingFang SC","Noto Sans CJK SC",sans-serif}
.ma-row{display:flex;align-items:center;overflow-x:auto;scrollbar-width:none;padding:0 10px}
.ma-row::-webkit-scrollbar{display:none}
.ma-row button{flex:none;min-height:44px;padding:0 9px;border:0;background:none;color:#6d7274;font:inherit;font-size:15px;white-space:nowrap;cursor:pointer}
.ma-row button[aria-pressed=true]{color:#17191a;font-weight:600}
.ma-options{min-height:86px;gap:4px}
.ma-options button{display:grid;justify-items:center;gap:6px;padding:10px 6px 8px;font-size:13px}
.ma-options i{display:grid;place-items:center;width:52px;height:38px;font-style:normal;font-size:19px;font-weight:400;border:1px solid #dfe1e1;background-position:center}
.ma-options button[aria-pressed=true] i{outline:2px solid #17191a;outline-offset:2px}
.ma-topics{border-top:1px solid #dfe1e1}
.ma-topics button[aria-pressed=true]{box-shadow:inset 0 2px 0 #17191a}
.ma-ends{justify-content:space-between;border-top:1px solid #dfe1e1}
.ma-ends .ma-done{color:#17191a;font-weight:600}
.ma-note:empty{display:none}.ma-note{margin:0;padding:0 19px 12px;font-size:13px;color:#9a3b2e}
.ma-on .mm-add-dock{display:none}
.ma-on .mm-museum{padding-bottom:210px}
@media (prefers-reduced-motion:no-preference){.ma-panel{animation:ms-up .3s cubic-bezier(.32,.72,0,1)}}

/* The empty frame: one place for photos, videos and files. */
.mm-composer .mp-photo-grid .mp-add-photo{color:var(--ws-muted,var(--hm-ink-muted));border:0;background:none;min-height:0;display:grid;place-items:center}
.mm-composer .mp-photo-grid .mp-add-photo svg{width:52px;height:52px}
.mm-composer .mp-photo-grid .mp-add-photo:only-child{min-height:64px;width:64px;margin-left:-7px}
.mp-pick-kind{display:flex;gap:8px;padding:10px 0 4px}.mp-pick-kind[hidden]{display:none}
.mp-pick-kind button{min-height:44px;padding:0 14px;border:1px solid var(--ws-line,var(--hm-line));background:none;color:inherit;font:inherit;font-size:15px}
.mm-composer .mp-error.mp-neutral.mp-neutral{color:var(--mp-muted,var(--hm-ink-muted))}
.mm-kept-files{margin:12px 0 0;font-size:13px;color:var(--mp-muted,var(--hm-ink-muted))}.mm-kept-files a{display:flex;align-items:center;min-height:44px;font-size:15px;color:var(--mp-ink,var(--hm-ink));text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}

/* 举报 */
.mm-site-foot{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px;margin:0 0 24px;font-family:var(--ws-ui);font-size:13px;color:var(--mp-muted,var(--hm-ink-muted))}.mm-site-foot span{flex-basis:100%}.mm-site-foot a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none}.mm-screen .mm-site-foot .mm-text-button{font-size:13px;color:inherit}
.mm-report-reason{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid var(--mp-border,var(--hm-line-soft));font-size:16px}.mm-report-reason input{width:20px;height:20px;accent-color:currentColor}
.ms-report{padding:16px 0;border-bottom:1px solid var(--mp-border,var(--hm-line-soft))}.ms-report p{margin:6px 0;overflow-wrap:anywhere}.ms-report a{display:inline-flex;min-height:44px;align-items:center;color:inherit}.ms-report div{display:flex;gap:10px;margin-top:10px}
/* Someone else's article is this exhibit's source: our own small card, never their pictures. */
.mm-museum .mm-entry .mp-post-links>a.mp-link-card{padding:12px 14px;border:1px solid var(--mp-border,var(--hm-line));background:color-mix(in srgb,var(--mp-ink,#222) 3%,transparent)}
.mm-museum .mm-entry .mp-link-card strong{font-size:15px;font-weight:500}
#mm-report{padding:0 20px 20px}.mp-mobile-active #mm-report .mp-primary{background:var(--mp-ink,#222);color:var(--mp-bg,#fff);border-color:transparent}

/* The wish beside 润色, and the one question it may lead to */
.mm-composer .mp-wish{flex:1 1 8em;min-width:0;min-height:44px;padding:0;border:0;background:none;color:inherit;font:inherit;font-size:16px;outline-offset:4px}
.mm-composer .mp-wish::placeholder{color:var(--ws-muted,var(--hm-ink-muted))}
.mp-asking{margin:4px 0 14px;padding:14px 0 0;border-top:1px solid var(--ws-line,var(--hm-line))}
.mp-asking p{margin:0 0 10px;font-size:16px}
.mp-asking>div{display:flex;flex-wrap:wrap;gap:8px}
.mm-screen .mp-asking .mm-choice{display:inline-flex;align-items:center;width:auto;min-height:44px;padding:0 14px;border:1px solid var(--ws-line,var(--hm-line));font-size:15px}.mp-asking .mm-choice::after{content:none}
.mp-asking .mp-asking-own{flex-wrap:nowrap;align-items:center;margin-top:8px}
.mp-asking-own input{flex:1;min-width:0;min-height:44px;padding:0;border:0;border-bottom:1px solid var(--ws-line,var(--hm-line));background:none;color:inherit;font:inherit;font-size:16px}
@media (prefers-reduced-motion:no-preference){.mp-asking{animation:mm-arrive .22s cubic-bezier(.2,.8,.2,1)}}
.mm-private-note{margin:8px 0 0;font-size:13px;color:var(--ws-muted,var(--hm-ink-muted))}.mm-private-note:empty{display:none}
.mm-switch-row strong{max-width:100%;overflow-wrap:anywhere;text-align:left}
