/* moderator-forma.css (fix-moderator-forma): the Moderator's Forma sheet on the RNMW page. Same dark glass as the
   corner menu; full height on a phone, a right-hand panel on a desk. */
.mf[hidden] { display: none; }
.mf { position: fixed; inset: 0; z-index: 70; }
.mf-veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.mf-sheet { position: absolute; top: max(10px, env(safe-area-inset-top, 0px)); bottom: max(10px, env(safe-area-inset-bottom, 0px));
  right: max(10px, env(safe-area-inset-right, 0px)); width: min(520px, calc(100vw - 20px)); display: flex; flex-direction: column;
  background: rgba(18, 18, 20, .94); color: #f1f1f1; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 18px 60px rgba(0, 0, 0, .5);
  font: 15px/1.45 inherit; overscroll-behavior: contain; }
.mf-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mf-head h2 { flex: 1; margin: 0; font-size: 16px; font-weight: 600; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mf-head button { min-width: 44px; min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; font-size: 22px; cursor: pointer; touch-action: manipulation; }
.mf-head button:hover { background: rgba(255, 255, 255, .08); }
.mf-head button:focus-visible, .mf-list button:focus-visible, .mf-note button:focus-visible, .mf-note textarea:focus-visible { outline: 2px solid #b388ff; outline-offset: 2px; }
.mf-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 16px 16px; overscroll-behavior: contain; }
.mf-body:focus { outline: none; }
.mf-lead { color: #c9c9c9; margin: 4px 0 14px; }
.mf-lead a { color: #d0b8ff; }
.mf-example { margin: 0 0 12px; padding: 8px 10px; border-radius: 10px; background: rgba(179, 136, 255, .14); color: #e3d6ff; font-size: 13px; }
.mf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mf-list button { width: 100%; text-align: left; padding: 12px 14px; min-height: 56px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04); color: inherit; cursor: pointer; display: grid; gap: 2px; touch-action: manipulation; }
.mf-list button:hover { background: rgba(255, 255, 255, .08); }
.mf-list b { font-weight: 600; }
.mf-list span { color: #a9a9a9; font-size: 13px; }
.mf-card { margin: 0 0 18px; }
.mf-card img, .mf-ph { display: block; width: 100%; height: auto; border-radius: 10px; background: #222; }
.mf-ph { aspect-ratio: 4 / 5; display: grid; place-items: center; color: #666; font-size: 40px; }
.mf-card figcaption { margin: 6px 0 4px; color: #bdbdbd; font-size: 13px; font-variant-numeric: tabular-nums; }
.mf-copy h3 { font-size: 14px; margin: 4px 0 6px; }
.mf-copy h3 span { color: #8f8f8f; font-weight: 400; font-size: 12px; margin-left: 6px; }
.mf-copy p { margin: 0 0 8px; color: #dcdcdc; white-space: pre-wrap; }
.mf-note { margin: 8px 0 4px; display: grid; gap: 6px; }
.mf-note label { font-size: 12px; color: #a9a9a9; }
.mf-note textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 64px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .35); color: inherit; font: 16px/1.4 inherit; }
.mf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mf-count { color: #8f8f8f; font-size: 12px; font-variant-numeric: tabular-nums; }
.mf-note button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: #f1f1f1; color: #111; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.mf-note button:disabled { opacity: .55; cursor: default; }
.mf-fine { margin: 0; color: #8f8f8f; font-size: 12px; }
.mf-mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mf-mine li { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); white-space: pre-wrap; overflow-wrap: anywhere; }
.mf-st { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 9px; font-size: 11px; line-height: 18px; background: #333; color: #ddd; }
.mf-working { background: #3a2f66; color: #e3d6ff; }
.mf-ready { background: #1d4d33; color: #c9f2d8; }
.mf-held { background: #4d3a1d; color: #f5e1c0; }
.mf-live { min-height: 0; margin: 0; padding: 0 16px 12px; color: #d0b8ff; font-size: 13px; }
.mf-live:empty { padding: 0; }
body.mf-open { overflow: hidden; }
@media (max-width: 560px) { .mf-sheet { left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); width: auto; } }
@media (prefers-reduced-motion: no-preference) { .mf-sheet { animation: mf-in .18s ease-out; } @keyframes mf-in { from { opacity: 0; transform: translateY(8px); } } }
