/* Reporting and blocking (#1215, report.js): the flag on a comment, cheer or photo, its sheet, and «…» menus. */

/* «…» on another runner's workout (#839) and profile (#1215): moved here from run.css so both pages draw it. */
.more-menu { position: relative; flex: none; }
.more-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 22px/1 var(--body); color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
.more-menu summary::-webkit-details-marker { display: none; }
.more-items { position: absolute; right: 0; top: 46px; z-index: 20; min-width: 190px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.more-items > * { background: none; border: 0; color: var(--ink); text-align: left; padding: 12px 16px; font: 500 15px var(--body); cursor: pointer; text-decoration: none; }
.more-items > :not([hidden]) ~ :not([hidden]) { border-top: 1px solid var(--line); }
.more-items .danger { color: var(--danger); }
.more-items > :hover { background: rgba(255,255,255,.04); }
.more-items svg { display: none; }

/* The flag: quiet, beside a comment or cheer. */
.rp-flag { flex: none; margin-left: 6px; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--mute); background: transparent; border: 1px solid transparent; border-radius: 999px; cursor: pointer; vertical-align: middle; }
.rp-flag:hover, .rp-flag:focus-visible { color: var(--ink); border-color: var(--line); }
.social .comments .rp-flag { float: right; }
.tl-c .rp-flag { margin-left: auto; }
.tl-c .like + .rp-flag { margin-left: 2px; }
.msgs li .rp-flag { align-self: center; }
/* In the photo viewer, top left. */
.tl-viewer button.rp-vflag { top: 16px; left: 16px; width: auto; border-radius: 23px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--body); }

/* A comment the screen held back, told to its writer only. */
.rp-held { display: block; margin-top: 4px; color: var(--mute); font-size: 13px; font-style: italic; }

/* The sheet. */
.rp-sheet { width: min(420px, calc(100vw - 32px)); max-width: none; box-sizing: border-box; border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 14px; background: var(--panel); color: var(--ink); }
.rp-sheet::backdrop { background: rgba(4,5,7,.62); }
.rp-sheet h2 { margin: 0; font: 700 19px/1.25 var(--body); }
.rp-sheet .fine { margin: 6px 0 0; }
.rp-list { display: grid; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rp-list[hidden] { display: none; }
.rp-list button { background: none; border: 0; color: var(--ink); text-align: left; padding: 13px 16px; font: 500 15px var(--body); cursor: pointer; }
.rp-list button + button { border-top: 1px solid var(--line); }
.rp-list button:hover, .rp-list button:focus-visible { background: rgba(255,255,255,.04); }
.rp-list button:disabled { opacity: .6; cursor: default; }
.rp-said { margin: 14px 0 0; font-size: 15px; }
.rp-danger { display: block; width: 100%; margin: 14px 0 0; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--danger); font: 600 15px var(--body); cursor: pointer; text-align: left; }
.rp-danger:disabled { color: var(--mute); cursor: default; }
.rp-sheet .rp-fine { font-size: 13px; }
.rp-sheet .err:empty { display: none; }
.rp-cancel { display: block; width: 100%; margin: 14px 0 0; padding: 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 15px var(--body); cursor: pointer; }

/* Settings → Blocked runners. */
.blocked-card .fn-list:empty { display: none; }
