.rules-banner{background:linear-gradient(130deg,#12244a,#111820);border:1px solid #315a9d;border-radius:16px;padding:24px;margin:20px 0}.rules-banner h2{font-size:30px;margin:12px 0}.rules-banner p{line-height:1.6;max-width:850px}.rules-badge{display:inline-block;background:#efd073;color:#19160e;font-size:12px;font-weight:800;letter-spacing:.1em;padding:7px 10px;border-radius:5px}.rules-section{border:1px solid #344052;border-radius:10px;background:#101720;margin:12px 0;padding:16px}.rules-section summary{font-weight:700;cursor:pointer;font-size:18px}.rules-text{white-space:pre-wrap;line-height:1.7;margin-top:18px;overflow-wrap:anywhere}.rules-owner{display:inline-block;margin:24px 0;color:#9fc5ff}#portal-rules-view input,.rules-editor input,.rules-editor textarea,.rules-editor select{box-sizing:border-box;width:100%;background:#0a1019;color:#f3f6fc;border:1px solid #4b5c74;border-radius:7px;padding:12px;font:inherit}.rules-editor{max-width:980px;margin:0 auto;padding:20px;color:#f3f6fc}.rules-editor label{display:block;margin-top:16px}.rules-editor textarea{margin-top:8px;line-height:1.6;resize:vertical}.rules-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.rules-editor button{padding:12px 18px;margin:5px;border-radius:8px;border:1px solid #58799d;background:#17355d;color:white;cursor:pointer}.rules-editor button:disabled{opacity:.5}.rules-editor a{color:#a9cfff}#rules-status{min-height:2em;padding:14px;background:#1b2d43;border-radius:8px}.rules-editor input:focus,.rules-editor textarea:focus,.rules-editor select:focus{outline:2px solid #75afff}#portal-rules-view h3{margin-top:28px}

.rules-intro-text{white-space:pre-line;overflow-wrap:anywhere}
