.game-modes-section{scroll-margin-top:0}
.game-modes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.game-mode-card{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid #303641;border-radius:18px;background:linear-gradient(145deg,#1b2224,#171923);overflow-wrap:anywhere}
.game-mode-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;min-height:28px}
.game-mode-number{color:#9acb24;font-size:17px;font-weight:700;letter-spacing:.12em}
.game-mode-status{padding:5px 10px;border:1px solid #616b3b;border-radius:100px;background:#2b3320;color:#cfdf9f;font-size:12px;font-weight:600}
.game-mode-card h3{margin:0 0 12px;font-size:23px;line-height:1.25;color:#f4f5ee}
.game-mode-description{margin:0 0 24px;color:#bfc3c9;line-height:1.65;white-space:pre-line}
.game-mode-scoring{margin:auto 0 0;padding-top:17px;border-top:1px solid #373c40;color:#d4e8ac;font-size:13px;line-height:1.6;white-space:pre-line}
.game-modes-fields{min-width:0;margin:0;padding:0;border:0}
.game-modes-editor .game-mode-edit{margin:12px 0;background:rgba(255,255,255,.025)}
.game-mode-edit .club-field{margin-top:14px}
.game-mode-edit .check-line{margin-top:16px}
.game-mode-edit input:not([type=checkbox]),.game-mode-edit textarea,.game-mode-edit select{width:100%;min-width:0;border:1px solid #47504c;border-radius:8px;padding:11px 12px;background:#101b17;color:#f1f5ed;font:inherit}
.game-mode-edit textarea{resize:vertical}
.game-mode-edit input:focus-visible,.game-mode-edit textarea:focus-visible,.game-mode-edit select:focus-visible{outline:2px solid #99ca24;outline-offset:2px}
.game-mode-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.game-mode-actions .button{min-height:44px}
@media(max-width:1000px){.game-modes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.game-modes-grid{grid-template-columns:minmax(0,1fr);gap:16px}.game-mode-card{padding:23px}.game-modes-section{scroll-margin-top:0}.game-mode-actions .button{flex:1 1 auto}.game-mode-edit summary{overflow-wrap:anywhere}}
