/* Moderation panel. */
.mod-search { margin: 8px 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mod-search .field { max-width: 100%; }
.mod-panel { overflow-x: auto; }
.mod-table { border-collapse: collapse; width: 100%; }
.mod-table th { text-align: left; color: #ffffff; font-size: 10px; letter-spacing: 1px; padding: 4px 10px 4px 0; border-bottom: 1px solid #1a2236; white-space: nowrap; }
.mod-table td { padding: 5px 10px 5px 0; border-bottom: 1px solid #141b2b; vertical-align: top; }
.mod-table tr:last-child td { border-bottom: 0; }
.mod-facts th { width: 130px; border-bottom: 1px solid #141b2b; vertical-align: top; }
.mod-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 12px; }
.mod-actions form { margin-top: 8px; }
.mod-actions .field { max-width: 100%; margin: 4px 0; }
.mod-actions p { margin: 6px 0 0 0; line-height: 1.5; }
.mod-message { margin: 0 0 10px 0; }
.mod-ok { border-color: #2d6a45; color: #cfeedd; }
.mod-error { border-color: #7a3328; color: #f1c9c2; }
.mod-nowrap { white-space: nowrap; }
.mod-code { font-family: "Courier New", monospace; font-size: 13px; color: #ccd9e6; letter-spacing: 1px; user-select: all; }
.mod-spent { color: #556677; text-decoration: line-through; }
.mod-fresh td { background-color: #0d1a24; }
.mod-inline { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; }
.mod-inline .field { max-width: 100%; }
.mod-count { width: 56px; }
.mod-generate .field { max-width: 100%; margin: 4px 0; }
.mod-generate p { margin: 6px 0 0 0; line-height: 1.5; }
.mod-codes { width: 220px; max-width: 100%; font-family: "Courier New", monospace; font-size: 13px; margin-top: 6px; resize: vertical; }
.mod-copy { padding: 1px 6px; }
/* the player count chart (moderation_players.html) */
.mod-chart { display: block; width: 100%; height: auto; }
.mod-chart .mod-grid { stroke: #1a2236; stroke-width: 1; }
.mod-chart .mod-axis { fill: #8899aa; font-size: 11px; font-family: Verdana, sans-serif; }
.mod-chart .mod-avg { fill: #2c5d8a; fill-opacity: 0.75; stroke: none; }
.mod-chart .mod-peak { fill: none; stroke: #9fd0ff; stroke-width: 1.5; }
.mod-chart .mod-cap { stroke: #b0473a; stroke-width: 1.5; stroke-dasharray: 6 4; }
.mod-chart .mod-cursor { stroke: #ccd9e6; stroke-width: 1; stroke-opacity: 0.6; }
.mod-chart .mod-tip { fill: #ffffff; font-size: 12px; font-family: Verdana, sans-serif; paint-order: stroke; stroke: #05080f; stroke-width: 3px; }
.mod-range-on { color: #ffffff; border-color: #9fd0ff; }
.mod-chart-key { margin: 6px 0 0 0; }
.mod-key { display: inline-block; width: 14px; height: 8px; margin: 0 4px 0 10px; vertical-align: middle; }
.mod-key-avg { background: #2c5d8a; }
.mod-key-peak { border-top: 2px solid #9fd0ff; height: 0; }
.mod-key-cap { border-top: 2px dashed #b0473a; height: 0; }
/* on a phone, each row of these tables becomes a small block instead of making the page wider than the screen */
@media (max-width: 780px) {
	.mod-stack, .mod-stack tbody, .mod-stack tr, .mod-stack td { display: block; }
	.mod-stack th { display: none; }
	.mod-stack tr { padding: 6px 0; border-bottom: 1px solid #1a2236; }
	.mod-stack tr:last-child { border-bottom: 0; }
	.mod-stack td { border: 0; padding: 3px 0; white-space: normal; }
	.mod-stack td:empty { display: none; }
	.mod-inline .field { flex: 1 1 140px; min-width: 0; width: 100%; box-sizing: border-box; }
	.mod-generate input[type=text] { width: 100%; box-sizing: border-box; }
	.mod-generate .field, .mod-inline .field, .mod-generate .btn, .mod-inline .btn { font-size: 16px; }
}
