/* Reporting, blocking and the teacher's controls (App Store guideline 1.2). See safety.js. */

/* the "more" button on another player's row, and its menu */
.sf-more { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: inherit; opacity: .85; }
.sf-more:hover { background: rgba(255,255,255,.1); opacity: 1; }
.sf-more:focus-visible, .sf-pill:focus-visible, .sf-item:focus-visible, .sf-reason:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.sf-menu { gap: 8px; }
.sf-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; text-align: left; font-size: 17px; background: rgba(255,255,255,.08); border: 1px solid var(--glass-line); }
.sf-item.danger { color: var(--stamp); }

/* the report sheet: the send button stays pinned at the foot */
.sf-report { align-content: start; }
.sf-ask { margin: 0; font-size: 21px; }
.sf-reasons { padding: 0; overflow: hidden; }
.sf-reason { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; cursor: pointer; }
.sf-reason + .sf-reason { border-top: 1px solid rgba(243,235,216,.12); }
.sf-reason span { flex: 1; font-size: 16px; }
.sf-reason i { display: grid; opacity: .5; }
.sf-reason.on i { color: var(--accent); opacity: 1; }
.sf-reason input { position: absolute; opacity: 0; pointer-events: none; }
.sf-note { width: 100%; min-height: 84px; resize: vertical; font: inherit; }
.sf-error { color: var(--stamp); font-size: 13px; }
.sf-done { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; }
.sf-foot { position: sticky; bottom: 0; padding: 12px 0 4px; background: linear-gradient(to bottom, transparent, var(--deep) 30%); }

/* the Reports and Removed players cards */
.sf-card { display: grid; gap: 12px; }
.sf-report-row { display: grid; gap: 6px; }
.sf-report-row + .sf-report-row, .sf-banned + .sf-banned { padding-top: 12px; border-top: 1px solid rgba(243,235,216,.12); }
.sf-report-row small { font-size: 12px; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-banned { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-pill { min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--accent); background: rgba(242,165,65,.14); border: 1px solid rgba(242,165,65,.6); }
.sf-pill.danger { color: var(--stamp); background: rgba(232,85,62,.14); border-color: rgba(232,85,62,.6); }
.sf-pill.quiet { color: var(--ink); background: rgba(243,235,216,.1); border-color: rgba(243,235,216,.4); }
