/* Rules: scoped layout, typography and controls for the site theme. */
.content-wrapper > #muonline-rules-root { width: auto !important; max-width: calc(100% - 64px) !important; padding: 0 !important; margin: 42px 32px 64px !important; box-sizing: border-box !important; font-family: Arial, 'Segoe UI', sans-serif !important; }
#muonline-rules-root::before, #muonline-rules-root::after { content: none !important; display: none !important; }
.content-wrapper #muonline-rules-root * { box-sizing: border-box; }
.content-wrapper #muonline-rules-root .rc-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; }
.content-wrapper #muonline-rules-root .rc-card { background: #0b141e !important; border: 1px solid #344a5b !important; border-radius: 4px !important; box-shadow: 0 8px 24px #0005 !important; overflow: hidden; }
.content-wrapper #muonline-rules-root .rc-corner,
.content-wrapper #muonline-rules-root .rc-title-icon,
.content-wrapper #muonline-rules-root .rc-header::after,
.content-wrapper #muonline-rules-root .rc-chapter-num::before,
.content-wrapper #muonline-rules-root .rc-chapter-num::after { display: none !important; }
.content-wrapper #muonline-rules-root .rc-header { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px !important; min-height: 0 !important; padding: 18px !important; background: linear-gradient(135deg, #172b3b, #0c1823) !important; border-bottom: 1px solid #344a5b !important; }
.content-wrapper #muonline-rules-root .rc-title-group { min-width: 0; }
.content-wrapper #muonline-rules-root .rc-title-text { display: flex; flex-direction: column; gap: 4px; }
.content-wrapper #muonline-rules-root .rc-title-label { color: #9cb2c2 !important; font: 600 10px/1.4 Arial, sans-serif !important; letter-spacing: 1.5px !important; }
.content-wrapper #muonline-rules-root .rc-title-main { color: #a2c6e1 !important; font: 700 19px/1.3 Georgia, serif !important; letter-spacing: .4px !important; }
.content-wrapper #muonline-rules-root .rc-btn-row { display: flex !important; flex-wrap: wrap; align-items: center; gap: 7px !important; }
.content-wrapper #muonline-rules-root .rc-btn,
.content-wrapper #muonline-rules-root .rc-lang-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 32px !important; padding: 7px 10px !important; color: #ecf2f6 !important; background: linear-gradient(180deg, #19354e, #0a1623) !important; border: 1px solid #637586 !important; border-radius: 4px !important; box-shadow: inset 0 1px 0 #ffffff14 !important; font: 700 10px/1.3 Georgia, serif !important; letter-spacing: .5px !important; cursor: pointer; }
.content-wrapper #muonline-rules-root .rc-btn:hover,
.content-wrapper #muonline-rules-root .rc-lang-btn:hover { color: #fff !important; background: linear-gradient(180deg, #274e6c, #11283b) !important; border-color: #9bb0bf !important; }
.content-wrapper #muonline-rules-root button:focus-visible { outline: 2px solid #a3c6df !important; outline-offset: 3px; }
.content-wrapper #muonline-rules-root button:disabled { opacity: .45 !important; }
.content-wrapper #muonline-rules-root .rc-lang { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #344a5b; border-radius: 4px; background: #08111a; }
.content-wrapper #muonline-rules-root .rc-lang-btn { min-width: 34px; border-color: transparent !important; background: transparent !important; }
.content-wrapper #muonline-rules-root .rc-lang-btn.is-active { background: #29455a !important; border-color: #6c8da5 !important; color: #fff !important; }
.content-wrapper #muonline-rules-root .rc-body { padding: 20px !important; min-height: 0 !important; background: #0b141e !important; }
.content-wrapper #muonline-rules-root .rc-rules-rendered { display: flex; flex-direction: column; gap: 0; overflow-wrap: anywhere; }
.content-wrapper #muonline-rules-root .rc-chapter { display: flex; align-items: center; gap: 10px !important; padding: 12px 0 !important; margin: 8px 0 5px !important; border-bottom: 1px solid #304352; }
.content-wrapper #muonline-rules-root .rc-chapter:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.content-wrapper #muonline-rules-root .rc-chapter-num { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; min-width: 28px !important; height: 28px !important; border: 1px solid #547085 !important; border-radius: 3px; background: #1b3040 !important; color: #d6e4ee !important; font: 700 13px/1 Arial, sans-serif !important; box-shadow: none !important; }
.content-wrapper #muonline-rules-root .rc-chapter-title { color: #a2c6e1 !important; font: 700 17px/1.4 Georgia, serif !important; letter-spacing: 0 !important; }
.content-wrapper #muonline-rules-root .rc-chapter-line { display: none; }
.content-wrapper #muonline-rules-root .rc-sub-header { display: flex; align-items: baseline; gap: 8px; padding: 0 !important; margin: 22px 0 9px !important; }
.content-wrapper #muonline-rules-root .rc-sub-num { color: #9fbdcf !important; font: 700 14px/1.5 Arial, sans-serif !important; }
.content-wrapper #muonline-rules-root .rc-sub-title { color: #edf2f6 !important; font: 700 14px/1.5 Arial, sans-serif !important; letter-spacing: 0 !important; }
.content-wrapper #muonline-rules-root .rc-rule-text { margin: 0 0 10px !important; padding: 0 !important; color: #c6d2dc !important; font: 400 14px/1.75 Arial, sans-serif !important; }
.content-wrapper #muonline-rules-root .rc-violation,
.content-wrapper #muonline-rules-root .rc-warning { display: flex; align-items: flex-start; gap: 9px !important; padding: 10px 12px !important; margin: 4px 0 8px !important; border: 0 !important; border-radius: 0 3px 3px 0; }
.content-wrapper #muonline-rules-root .rc-violation { background: #46242b66 !important; border-left: 3px solid #bf6c73 !important; }
.content-wrapper #muonline-rules-root .rc-warning { background: #253b4c88 !important; border-left: 3px solid #7da1bb !important; }
.content-wrapper #muonline-rules-root .rc-violation-text,
.content-wrapper #muonline-rules-root .rc-warning-text { color: #e2d5d7 !important; font: 400 13px/1.65 Arial, sans-serif !important; }
.content-wrapper #muonline-rules-root .rc-warning-text { color: #c9dce8 !important; }
.content-wrapper #muonline-rules-root .rc-sep-orn { margin: 18px 0 8px !important; }
.content-wrapper #muonline-rules-root .rc-edit-grid { display: grid;  gap: 18px; }
.content-wrapper #muonline-rules-root .rc-edit-col { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.content-wrapper #muonline-rules-root .rc-edit-col-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.content-wrapper #muonline-rules-root .rc-textarea-label { color: #bacddc !important; font: 600 12px/1.4 Arial, sans-serif !important; }
.content-wrapper #muonline-rules-root .rc-textarea { width: 100% !important; min-height: 320px !important; padding: 12px !important; resize: vertical; color: #d9e4ec !important; background: #070f17 !important; border: 1px solid #526b7e !important; border-radius: 3px; font: 400 13px/1.7 Arial, sans-serif !important; }
.content-wrapper #muonline-rules-root .rc-textarea-hint,
.content-wrapper #muonline-rules-root .rc-translate-state { color: #9aafbf !important; font: 400 12px/1.6 Arial, sans-serif !important; }
@media (max-width: 480px) {
 .content-wrapper > #muonline-rules-root { width: auto !important; max-width: calc(100% - 32px) !important; padding: 0 !important; margin: 32px 16px 52px !important; }
 .content-wrapper #muonline-rules-root .rc-header,
 .content-wrapper #muonline-rules-root .rc-body { padding: 14px !important; }
 .content-wrapper #muonline-rules-root .rc-btn-row { width: 100%; }
 .content-wrapper #muonline-rules-root .rc-sub-title { font-size: 13px !important; }
}
/* the theme's display rules must not override [hidden] (language versions, editor, Save/Cancel) */
.content-wrapper #muonline-rules-root [hidden] { display: none !important; }
.content-wrapper #muonline-rules-root .rc-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .content-wrapper #muonline-rules-root .rc-edit-grid { grid-template-columns: 1fr; } }
.content-wrapper #muonline-rules-root .rc-textarea { min-height: 460px; }
