/* Forum-only presentation: do not recolor site-wide dialogs or shop/library controls. */
@media(max-width:720px){.sf-page .sf-directory-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}.sf-page .sf-directory-card{padding:19px}.sf-page .sf-directory-card h3{font-size:22px}.sf-page .sf-directory-card p{font-size:13px;line-height:1.75}.sf-page .sf-directory-card-bottom{flex-direction:row;align-items:center}.sf-page .sf-directory-card-bottom small,.sf-page .sf-directory-card-bottom a{font-size:11px}}
.sf-community-rail{display:flex;gap:9px;align-items:flex-start;overflow-x:auto;scrollbar-width:thin;padding:15px 10px;border-top:1px solid #63456f;margin:0 0 16px;max-width:100%;background:linear-gradient(110deg,#33213f,#23172f);border-radius:12px}.sf-community-rail a,.sf-community-rail button{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 auto;min-width:45px;padding:0;background:transparent;border:0;cursor:pointer;color:#eadcf3;font:11px/1.3 system-ui;text-align:center}.sf-community-rail a>span,.sf-community-rail button>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid #b08bc5;border-radius:50%;font-size:19px;line-height:1;color:#eed9fc;background:radial-gradient(circle at 25% 15%,#79568e,#33213f);box-shadow:0 0 15px #b78ac52a}.sf-community-rail [aria-pressed=true]>span{border-color:#edce8e;color:#f6dca3;background:#665044}.sf-community-rail small{font-size:9px;white-space:nowrap}.sf-community-rail :is(a,button):focus-visible{outline:2px solid #eed09b;outline-offset:3px}.sf-directory-card>.sf-community-rail{margin:15px -5px -5px;flex-shrink:0}.sf-card>.sf-community-rail{margin:0;border-radius:0;justify-content:space-around}.sf-directory-card>.sf-community-rail a,.sf-directory-card>.sf-community-rail button{min-width:39px}.sf-directory-card>.sf-community-rail a>span,.sf-directory-card>.sf-community-rail button>span{width:32px;height:32px}.sf-page>.sf-community-rail{margin-top:15px}
/* Summernote link dialog may be inside its editor or Bootstrap's body-level modal. */
.sf-page .note-modal-content,.sf-page .note-modal-header,.sf-page .note-modal-body,.sf-page .note-modal-footer,.sf-page .note-editor .modal-content,.sf-page .note-editor .modal-header,.sf-page .note-editor .modal-body,.sf-page .note-editor .modal-footer,.sf-page .note-modal .modal-content,.note-modal.sf-forum-editor-dialog .modal-content{background:#24172f!important;color:#fff5ff!important;border-color:#8f6a9f!important}.sf-page .note-modal-content label,.sf-page .note-modal label,.sf-page .note-editor .modal label,.sf-page .note-editor .modal h4,.sf-page .note-modal-title,.note-modal.sf-forum-editor-dialog label{color:#fff5ff!important}.sf-page .note-modal-content input[type=text],.sf-page .note-modal input.form-control,.sf-page .note-editor .modal input.form-control,.note-modal.sf-forum-editor-dialog input.form-control{background:#160f1e!important;color:#fff5ff!important;border:1px solid #aa86ba!important;caret-color:white}.sf-page .note-modal input::placeholder,.sf-page .note-editor .modal input::placeholder{color:#d5bfdc!important;opacity:1}.sf-page .note-modal .close,.sf-page .note-editor .modal .close{color:#fff!important;opacity:1}.sf-page .note-modal .note-btn-primary,.sf-page .note-editor .modal .btn-primary{background:#e3c184!important;color:#281b28!important;border-color:#e3c184!important}
.sf-forum-editor-dialog .modal-content,.sf-forum-editor-dialog .modal-header,.sf-forum-editor-dialog .modal-body,.sf-forum-editor-dialog .modal-footer,.sf-forum-editor-dialog.note-modal-content{background:#24172f!important;color:#fff5ff!important;border-color:#8f6a9f!important}.sf-forum-editor-dialog :is(label,h4,h5,p,.note-modal-title){color:#fff5ff!important}.sf-forum-editor-dialog input:not([type=checkbox]){background:#160f1e!important;color:#fff5ff!important;border:1px solid #aa86ba!important;caret-color:#fff}.sf-forum-editor-dialog input::placeholder{color:#d5bfdc!important;opacity:1}.sf-forum-editor-dialog .close{color:#fff!important;opacity:1}.sf-forum-editor-dialog :is(.btn-primary,.note-btn-primary){background:#e3c184!important;color:#281b28!important;border-color:#e3c184!important}
.sf-more-discussions{margin-top:32px}.sf-more-discussions>h2{font:27px Georgia,serif;color:#fff;margin:8px 0 18px}.sf-more-discussions>.sf-panel h2{font:23px/1.3 Georgia,serif;color:#f6eafd;margin:10px 0}.sf-more-discussions>.sf-panel p{font-size:13px;line-height:1.8}
