.play-rules-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.play-rules-sections > section { min-width: 0; padding: 18px; border: 1px solid rgba(119, 166, 184, .16); background: rgba(7, 18, 25, .4); border-radius: 6px; }
.play-rules-sections h3 { margin: 0 0 15px; color: var(--cyan); font-size: 17px; }
.play-rules-text { line-height: 1.85; overflow-wrap: anywhere; }
.play-rules-image-preview { display: flex; max-width: 160px; margin-bottom: 10px; }
.play-rules-image-preview .reward-thumbnail { width: 150px; }
.backup-filters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); align-items: start; }
#play-rules-error:empty { display: none; }
.play-rules-edit-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.play-rules-edit-heading p { flex:1 1 240px; margin:0; }
.rule-rich-editor { min-height:150px; max-height:360px; overflow:auto; padding:12px; border:1px solid rgba(140,179,195,.28); border-radius:6px; background:rgba(5,16,22,.75); color:var(--text); line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; outline:none; }
.rule-rich-editor:focus { border-color:var(--cyan); box-shadow:0 0 0 2px rgba(27,206,215,.1); }
.rule-rich-editor [data-rule-uploading] { display:inline-block; padding:6px 10px; color:var(--cyan); font-size:12px; }
.rule-editor-hint { display:block; margin-top:7px; color:var(--muted); font-size:11px; }
.rule-inline-image { display:block; max-width:100%; max-height:320px; width:auto; height:auto; object-fit:contain; margin:10px 0; border-radius:4px; cursor:zoom-in; }
.rule-rich-editor .rule-inline-image { max-height:200px; cursor:default; }
.rule-image-viewer img { display:block; max-width:100%; max-height:75vh; margin:auto; object-fit:contain; }
.play-rules-text { white-space:pre-wrap; }
.race-home .race-home-news-card { min-height:0; }
.race-home .race-home-news-card .race-notice-excerpt { min-height:0; }
@media (max-width: 700px) { .play-rules-sections { grid-template-columns: minmax(0, 1fr); gap: 14px; } .play-rules-sections > section { padding: 14px; } }
