.game-page .panel + .panel { margin-top: 24px; }
.game-basic-info { display: grid; grid-template-columns: 1fr 2fr; gap: 18px 24px; }
/* Bootstrap's clearfix pseudo-elements must not occupy grid cells. */
.game-basic-info::before, .game-basic-info::after { content: none; }
.game-basic-info p { margin: 0; }
.game-basic-info .tag-head { margin-bottom: 7px; }
.game-wide { grid-column: 1 / -1; }
.game-page .panel, .game-page .panel-body, .game-page .form-fields { min-width: 0; }
.game-multiline { white-space: pre-line; overflow-wrap: anywhere; }
.game-page .tag-content, .game-list td, .game-character-table td { overflow-wrap: anywhere; }
.game-list th, .game-character-table th { white-space: nowrap; }
.game-list th:first-child { width: 55%; }
.game-list td { vertical-align: middle; }
.game-character-table { min-width: 600px; }
.game-voice-credit + .game-voice-credit { margin-top: 10px; }
.game-voice-note { display: block; margin-top: 3px; color: var(--text-muted); font-size: 13px; }
.game-page-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 32px; }
.game-page-actions .btn { min-width: 100px; }
.game-editor-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.game-editor-heading h2 { margin: 0; color: var(--text); font-weight: 600; }
.game-editor-heading h2 { font-size: 20px; }
.game-editor-table-wrap { position: relative; overflow-x: auto; margin-top: 12px; }
.game-editor-table { width: 100%; min-width: 1020px; table-layout: fixed; margin-bottom: 0; }
.game-editor-table th { padding: 10px 6px; vertical-align: middle; }
.game-editor-table td { padding: 10px 6px; vertical-align: top; }
.game-editor-table th:first-child { width: 86px; }
.game-editor-table th:nth-child(2) { width: 23%; }
.game-editor-table th:nth-child(3) { width: 40%; }
.game-editor-table th:nth-child(4) { width: 62px; text-align: center; }
.game-editor-table th:last-child { width: 42px; }
.game-editor-table .form-control { width: 100%; min-width: 0; padding-left: 8px; padding-right: 8px; }
.game-editor-table textarea.form-control { height: 42px; resize: vertical; }
.game-editor-table .game-leading-choice { padding-top: 20px; text-align: center; }
.game-editor-table .game-leading-choice input { margin-right: 0; }
.game-voices-editor { display: flex; align-items: flex-start; gap: 6px; }
.game-voices-editor [data-voice-rows] { flex: 1; min-width: 0; }
.game-voice-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 28px; gap: 6px; }
.game-voice-row + .game-voice-row { margin-top: 8px; }
.game-voice-actor, .game-voice-description { min-width: 0; }
.game-voice-row .select2-container { width: 100% !important; max-width: 100%; }
.game-editor-table .game-row-button { flex: 0 0 28px; min-width: 28px; min-height: 42px; padding: 8px 4px; font-size: 16px; text-align: center; }
.game-page .panel-heading.game-editor-heading { padding: 18px 24px; }
.appearance-type { margin-right: 7px; padding: 2px 6px; border-radius: 5px; background: var(--surface-subtle); color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.home-page .home-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .home-page .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .game-basic-info { grid-template-columns: 1fr; }
    .game-page .panel-heading.game-editor-heading { padding: 16px; }
    .home-page .home-feature-grid { grid-template-columns: 1fr; }
}
