.pref{--pf-accent:#ee123c;--pf-bg:#050b10;--pf-panel:#0a161d;--pf-text:#edf2f6;--pf-radius:5px;--pf-font:Cairo;box-sizing:border-box;direction:rtl;color:var(--pf-text);font-family:var(--pf-font),Tahoma,Arial,sans-serif;font-size:14px;line-height:1.8;background:radial-gradient(ellipse at 8% 4%,#8d00252b,transparent 42%),var(--pf-bg);max-width:1680px;width:100%;margin:0 auto;padding:14px;isolation:isolate;text-align:right}
.pref *{box-sizing:border-box}.pref a{color:inherit;text-decoration:none}.pref a:hover{color:#ff6a82}.pref h1,.pref h2,.pref h3,.pref p{margin:0}.pref h1,.pref h2,.pref h3{font-family:inherit;color:var(--pf-text);line-height:1.7}.pref h2{font-size:18px}.pref h3{font-size:15px}.pref p{margin-block:8px}.pref small,.pref-muted{color:#adbec8;font-size:12px}.pref svg{width:25px;height:25px;flex-shrink:0;vertical-align:middle}.pref-layout{display:grid;grid-template-columns:175px minmax(0,1fr) 245px;gap:14px;align-items:start}.pref-main,.pref-left,.pref-right{min-width:0}.pref-layout.no-right{grid-template-columns:minmax(0,1fr) 245px}.pref-layout.no-left{grid-template-columns:175px minmax(0,1fr)}.pref-layout.no-left.no-right{grid-template-columns:minmax(0,1fr)}.pref-panel,.pref-navigation,.pref-poster{background:linear-gradient(135deg,#15252e80,transparent 60%),var(--pf-panel);border:1px solid #29404d;border-top-color:#52606b;border-radius:var(--pf-radius);box-shadow:inset 0 0 28px #0006,0 5px 18px #0005;min-width:0}.pref-panel{margin-bottom:14px;padding:15px}.pref-panel>h2{display:flex;align-items:center;gap:10px;border-bottom:1px solid #2c434d;padding-bottom:10px;margin-bottom:12px}.pref-panel>h2 svg{color:var(--pf-accent)}
.pref-hero{background:linear-gradient(270deg,rgba(3,8,13,var(--pf-overlay,.65)) 10%,#04070c25 92%),var(--pf-hero,url('forum-scene.png')) center top/cover;min-height:225px;padding:28px 24px 18px;border:1px solid #3c1c2b;border-bottom:3px solid var(--pf-accent);border-radius:var(--pf-radius);display:flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:var(--pf-align,right);position:relative;overflow:hidden}.pref-hero small{color:#ff6580;letter-spacing:2px;font-weight:700}.pref-hero h1{font-size:clamp(23px,2.5vw,36px);font-weight:800;text-shadow:0 2px 12px #000;max-width:85%;align-self:flex-start}.pref-hero p{max-width:70%;text-shadow:0 2px 8px #000}.pref-hero-bottom{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}.pref-hero-bottom>span{display:flex;gap:6px;align-items:center;background:#050c10b8;padding:5px 9px;border:1px solid #29404d;border-radius:4px}.pref-button,.pref button{font:700 13px var(--pf-font,Cairo),Tahoma,sans-serif;line-height:1.7;background:linear-gradient(110deg,#ae0025,var(--pf-accent));border:1px solid #ff486b;color:#fff;border-radius:4px;padding:9px 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;white-space:normal;text-align:center;text-decoration:none}.pref button:hover,.pref-button:hover{filter:brightness(1.12);color:white}.pref button:disabled{opacity:.5;cursor:wait}.pref a:focus-visible,.pref button:focus-visible,.pref input:focus-visible,.pref textarea:focus-visible,.pref select:focus-visible,.pref summary:focus-visible{outline:3px solid #8cdbff;outline-offset:3px}.pref-skip{position:absolute;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}.pref-skip:focus{position:relative;clip-path:none;width:auto;height:auto;display:block;padding:10px;background:#162b39}
.pref-navigation{padding:14px}.pref-navigation>summary{display:none}.pref-navigation nav a{display:flex;align-items:center;gap:10px;padding:12px 7px;border-bottom:1px solid #23303a;line-height:1.9}.pref-navigation nav a:first-child{background:linear-gradient(90deg,#9f0026,var(--pf-accent));border-radius:5px}.pref-navigation svg{width:22px}.pref-poster{margin-top:14px;min-height:240px;background:linear-gradient(#04080b44,#100209b8),url('forum-scene.png') 70% center/cover;display:flex;flex-direction:column;justify-content:end;align-items:center;padding:20px 8px;text-shadow:0 2px 7px black}.pref-poster strong{font:800 24px Arial,sans-serif;letter-spacing:2px;transform:rotate(-5deg);text-align:center;color:#d6d6d6}.pref-poster span{font-size:11px;margin-top:25px}.pref-filters{display:flex;flex-wrap:wrap;justify-content:space-around;gap:5px;margin-block:12px;padding:8px}.pref-filters a{padding:8px 14px;border:1px solid transparent;border-radius:4px}.pref-filters a[aria-current]{border-color:#613043;background:#172c36;box-shadow:inset 0 -2px var(--pf-accent)}.pref-search{padding:0 4px 12px}.pref-search>label{font-size:12px;color:#b4c8d6}.pref-search>div{display:flex;gap:8px}.pref input:not([type=checkbox]):not([type=radio]),.pref select,.pref textarea{font:inherit;font-size:14px;line-height:1.8;color:var(--pf-text);background:#091923;border:1px solid #39515e;border-radius:4px;padding:8px 10px;max-width:100%;width:100%;min-width:0;min-height:42px;height:auto;box-shadow:none;box-sizing:border-box;color-scheme:dark}.pref select option{background:#10232c;color:#f0f4f8}.pref textarea{resize:vertical;min-height:110px}.pref label{display:block;margin:12px 0}.pref input[type=checkbox]{accent-color:var(--pf-accent);vertical-align:middle}.pref-center{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:start}.pref-order-topics-first .pref-sections{grid-column:2;grid-row:1}.pref-order-topics-first .pref-latest{grid-column:1;grid-row:1}.pref-sections,.pref-latest{padding:8px}.pref-sections>h2,.pref-latest>h2{font-size:16px;padding:5px 7px 10px;margin:0}
.pref-section{display:flex;align-items:center;gap:8px;padding:12px 7px;min-height:90px;position:relative;isolation:isolate;border:1px solid #18303b;margin-block:7px;border-radius:4px;overflow:hidden;background:#050e14}.pref-section-art{position:absolute;z-index:-1;inset:0 60% 0 0;background:linear-gradient(270deg,#050e14,transparent),url('forum-scene.png') 0 30%/cover;opacity:.48;pointer-events:none}.pref-section:nth-of-type(3n) .pref-section-art{background-position:55% 30%}.pref-section:nth-of-type(3n + 1) .pref-section-art{background-position:80% 40%}.pref-section-icon{color:var(--pf-section,var(--pf-accent))}.pref-section-icon svg{width:31px;height:31px}.pref-section-label{min-width:0;flex:1}.pref-section-label h3{font-size:14px;font-weight:800}.pref-section-label p{font-size:10px;line-height:1.8;color:#b9c8d1;margin:2px 0}.pref-section-count{width:40px;text-align:center}.pref-section-count b{font:500 13px Arial,sans-serif}.pref-section-count small{display:block;font-size:9px}.pref-section-activity{position:absolute;bottom:1px;inset-inline-end:7px;font-size:8px;opacity:.8}.pref-child{display:inline-block;font-size:11px;color:#c6d7e1!important;margin-inline-end:9px;padding-block:2px}.pref-topic-row{display:flex;align-items:center;gap:8px;position:relative;isolation:isolate;overflow:hidden;padding:12px 8px;border:1px solid #233b46;border-radius:4px;background:#071219;min-height:92px;margin-block:7px}.pref-topic-row>div:not(.pref-topic-art){min-width:0;flex:1}.pref-topic-art{position:absolute;z-index:-1;inset:0 60% 0 0;opacity:.4;background:linear-gradient(270deg,#071219,transparent),url('forum-scene.png') 15% 30%/cover;pointer-events:none}.pref-topic-row h3{font-size:14px;overflow-wrap:anywhere}.pref-topic-row small{font-size:10px;display:block}.pref-tag{display:inline-block;background:var(--pf-accent);color:white;border-radius:3px;padding:0 7px;font-size:9px;margin-block:4px}.pref-topic-count{text-align:center;flex:0 0 27px;font-size:12px}.pref-topic-count svg{display:block;width:20px;height:20px}.pref-topic-count small{display:block;font-size:9px}.pref-empty{text-align:center;padding:35px 12px;min-height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#b6c7d2;background:radial-gradient(ellipse,#13283355,transparent 70%)}.pref-empty svg{color:#b32745;width:44px;height:44px;margin-bottom:15px}.pref-empty h3{font-size:16px}.pref-empty p{font-size:12px}.pref-member{text-align:center}.pref-member h2{justify-content:center;font-size:18px}.pref-avatar{width:65px;height:65px;border:2px solid var(--pf-accent);border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:radial-gradient(#34424a,#05090c)}.pref-avatar svg{width:35px;height:35px}.pref-member>a:not(.pref-button){display:block;border-bottom:1px solid #1e333d;padding:8px;text-align:right}.pref-pill{display:inline-block;border:1px solid #455e6a;border-radius:20px;font-size:11px;padding:2px 10px;margin:4px}.pref-leader{display:flex;gap:8px;align-items:center;border-bottom:1px solid #253c48;padding:9px 1px}.pref-leader>b{color:var(--pf-accent)}.pref-leader a{flex:1;min-width:0;overflow-wrap:anywhere}.pref-leader strong{font:500 13px Arial}.pref-left>.pref-panel>small{font-size:10px}.pref-event{background:linear-gradient(100deg,#380919c9,#060d13dc),url('forum-scene.png') center/cover}.pref-event p{font-size:12px}.pref-notice{padding:14px;border-inline-start:3px solid var(--pf-accent);background:#3e1023;color:#fff;margin-block:15px!important}.pref-inline{display:inline-block;margin:4px}.pref-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pref-entry{padding:18px 0;border-bottom:1px solid #2a424d}.pref-entry header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.pref-entry time{font-size:11px;color:#a6bac8}.pref-prose{padding-block:15px;font-size:15px;overflow-wrap:anywhere}.pref-prose a{text-decoration:underline;color:#90d4ff}.pref-prose details{background:#172b37;border:1px solid #395365;padding:12px}.pref-prose summary{cursor:pointer;color:#ffd6df}.pref-entry blockquote{margin:15px 0;padding:12px;background:#162a35;border-inline-start:3px solid var(--pf-accent);font-size:13px}.pref details summary{cursor:pointer;padding:10px 0;font-weight:700}.pref-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 5px;font-size:12px}.pref-editor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px;margin-block:8px;border:1px solid #344c5a;border-radius:5px;background:#08141d}.pref-editor-tools button{background:#182f3d;padding:6px 9px;min-height:38px;font-size:12px}.pref-editor-tools [data-pref-tool=bold]{font-weight:800}.pref-editor-tools [data-pref-tool=italic]{font-style:italic}.pref-admin{max-width:1500px;margin:20px 0}.pref-admin h1{font-size:26px;margin-bottom:18px}.pref-admin-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:20px}.pref-admin .pref-filters{justify-content:flex-start}.pref-admin fieldset{border:1px solid #304956;margin-block:18px;padding:12px}.pref-field strong{display:block}.pref-field small,.pref-admin label>small{display:block;color:#b1c3cf}.pref-admin input[type=checkbox]{width:20px;height:20px;margin:5px 10px}.pref-admin form>details{border:1px solid #304754;padding:12px;margin:14px 0}.pref-preview{padding:20px;margin-top:20px;background:var(--pf-panel);border:1px solid var(--pf-accent);color:var(--pf-text)}.pref-stats{display:flex;gap:30px;flex-wrap:wrap}.pref-stats b{font-size:30px;color:#ff5473}.pref-density-compact .pref-section,.pref-density-compact .pref-topic-row{min-height:72px;padding-block:7px}
@media(min-width:901px){.pref-navigation>nav{display:block}.pref-navigation:not([open])>nav{display:block}}
@media(max-width:1200px) and (min-width:901px){.pref-layout{grid-template-columns:145px minmax(0,1fr) 200px;gap:10px}.pref-hero{padding:20px 18px}.pref-center{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pref-section-count{width:28px}.pref-section-icon svg{width:24px}.pref h3{font-size:12px}.pref-hero-bottom{gap:7px}.pref-hero-bottom>span{font-size:11px}}
@media(max-width:900px){.pref{padding:10px}.pref-layout,.pref-layout.no-right,.pref-layout.no-left,.pref-layout.no-left.no-right{grid-template-columns:minmax(0,1fr)}.pref-right{grid-row:1}.pref-main{grid-row:2}.pref-left{grid-row:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pref-navigation>summary{display:list-item;padding:6px 10px;color:#fff}.pref-navigation>nav{padding-top:10px}.pref-navigation:not([open])>nav{display:none}.pref-poster{display:none}.pref-center{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pref-hero{min-height:240px}.pref-admin-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.pref{padding:8px;font-size:13px}.pref-hero{padding:22px 15px;background-position:38% center;min-height:300px;justify-content:end}.pref-hero h1{max-width:100%;font-size:24px}.pref-hero p{max-width:100%;font-size:12px}.pref-hero-bottom{gap:8px;margin-top:16px}.pref-hero-bottom .pref-button{width:100%}.pref-hero-bottom>span{font-size:11px;padding:5px}.pref-hero-bottom svg{width:20px}.pref-center,.pref-left{display:flex;flex-direction:column;gap:0}.pref-order-topics-first .pref-sections{order:0}.pref-order-topics-first .pref-latest{order:1}.pref-center>*,.pref-left>*{width:100%}.pref-section{gap:6px;min-height:108px;padding-inline:8px;padding-bottom:18px}.pref-section-label h3{font-size:14px}.pref-section-icon svg{width:27px}.pref-section-count{width:32px}.pref-section-label p{font-size:10px}.pref-panel{padding:12px}.pref-sections,.pref-latest{padding:7px}.pref-filters{gap:4px;padding:6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pref-filters a{padding:6px;text-align:center;font-size:12px}.pref-topic-row h3{font-size:14px}.pref-admin .pref-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.pref-hero small{font-size:10px}.pref-stats{gap:15px}.pref-editor-tools{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.pref *{scroll-behavior:auto;transition:none;animation:none}}

.pref-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.pref-rank-progress progress{display:block;width:100%;height:9px;accent-color:var(--pf-accent);margin:12px 0 4px}.pref-rank-progress small{display:block;font-size:11px}

/* Forum canvas only. Keep the theme's native header, footer and their containers. */
body.pref-forum-page :is(#tie-container,#tie-wrapper):has(#pref-forum){width:100%;max-width:none;margin-inline:auto}
body.pref-forum-page :is(#content.site-content,#main-content-row,.main-content,.container):has(#pref-forum){width:100%;max-width:none;margin:0;padding:0;float:none;background:transparent;border:0;box-shadow:none}

/* Approved RTL composition: navigation / sections / topics / member rail. */
#pref-forum{padding:10px;background:radial-gradient(ellipse at 6% 1%,#81052238,transparent 38%),var(--pf-bg)}
#pref-forum .pref-layout{grid-template-columns:180px minmax(0,1fr) 260px;gap:10px}
#pref-forum .pref-layout.no-right{grid-template-columns:minmax(0,1fr) 260px}
#pref-forum .pref-layout.no-left{grid-template-columns:180px minmax(0,1fr)}
#pref-forum .pref-layout.no-left.no-right{grid-template-columns:minmax(0,1fr)}
#pref-forum :is(.pref-panel,.pref-navigation,.pref-poster){background-color:var(--pf-panel);border-color:#30404a;border-top-color:#52606b;box-shadow:inset 0 0 24px #0007,0 4px 15px #0005}
#pref-forum .pref-panel{margin-bottom:10px}
#pref-forum .pref-hero{min-height:216px;padding:23px 22px 15px;border-color:#4f2432;border-bottom-color:var(--pf-accent);box-shadow:inset 0 -28px 40px #02070b80,0 0 18px #a9002318}
#pref-forum .pref-hero h1{align-self:stretch;max-width:none;font-size:clamp(24px,2.3vw,35px);line-height:1.6}
#pref-forum .pref-hero p{align-self:stretch;max-width:none;font-size:14px}
#pref-forum .pref-hero-bottom{gap:9px;margin-top:20px}
#pref-forum .pref-hero-bottom>span{background:#030b11c9;border-color:#33414a;padding:4px 8px;font-size:11px}
#pref-forum .pref-hero-bottom>span b{font-size:15px;color:#fff}
#pref-forum .pref-navigation{padding:10px}
#pref-forum .pref-navigation nav a{padding:12px 9px;font-size:13px;gap:11px}
#pref-forum .pref-navigation nav a:first-child{box-shadow:inset 0 0 14px #ff435a40,0 0 14px #ed143b18}
#pref-forum .pref-navigation nav a:nth-child(4){margin-top:13px;border-top:1px solid var(--pf-accent)}
#pref-forum .pref-poster{min-height:295px;margin-top:10px;background-position:94% 25%;padding:20px 10px;justify-content:end}
#pref-forum .pref-poster strong{font-size:23px;line-height:1.2;letter-spacing:1px}
#pref-forum .pref-poster span{font-size:12px;color:#e2dbe1}
#pref-forum .pref-toolbar{display:flex;align-items:center;gap:12px;padding:7px;margin-block:9px}
#pref-forum .pref-toolbar .pref-filters{flex:1;min-width:0;margin:0;padding:0;gap:2px;justify-content:space-between}
#pref-forum .pref-filters a{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 7px;font-size:12px;flex:1;white-space:normal}
#pref-forum .pref-filters svg{width:19px;height:19px;color:var(--pf-accent)}
#pref-forum .pref-filters a[aria-current]{background:linear-gradient(#192d3655,#09131c);border-color:#2b414d;box-shadow:inset 0 -2px var(--pf-accent)}
#pref-forum .pref-search{flex:0 1 210px;min-width:0;padding:0}
#pref-forum .pref-search>label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;margin:0}
#pref-forum .pref-search>div{gap:5px}
#pref-forum .pref-search input{min-height:38px;font-size:12px;padding:6px 8px}
#pref-forum .pref-search button{font-size:12px;padding:5px 9px}
#pref-forum .pref-center{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:9px}
#pref-forum :is(.pref-sections,.pref-latest){padding:6px}
#pref-forum :is(.pref-sections,.pref-latest)>h2{padding:4px 6px 8px;font-size:16px;gap:7px}
#pref-forum .pref-section{min-height:76px;margin-block:5px;padding:9px 8px 17px;gap:8px;background:#050d12;border-color:#253842;box-shadow:inset 0 1px #71869312}
#pref-forum .pref-section-icon{filter:drop-shadow(0 0 6px #ec123b33)}
#pref-forum .pref-section-icon svg{width:29px;height:29px}
#pref-forum .pref-section-label h3{font-size:14px;line-height:1.7}
#pref-forum .pref-section-label p{font-size:10px;line-height:1.7;color:#c4cdd3}
#pref-forum .pref-section-art{inset:0 49% 0 0;opacity:.67;background-image:url('forum-scene.png');background-size:auto 340%;background-position:17% 6%;mask-image:linear-gradient(90deg,#000 10%,#0009 50%,transparent)}
#pref-forum .pref-section:nth-of-type(3n) .pref-section-art{background-position:37% 8%}
#pref-forum .pref-section:nth-of-type(3n + 1) .pref-section-art{background-position:59% 32%}
#pref-forum .pref-section-count{width:32px;flex-shrink:0;text-shadow:0 1px 4px #000}
#pref-forum .pref-section-count b{font-size:13px;color:#fff}
#pref-forum .pref-section-count small{color:#d0d9df;font-size:9px}
#pref-forum .pref-section-activity{font-size:8px;bottom:2px}
#pref-forum .pref-topic-row{min-height:80px;margin-block:5px;padding:9px 7px;background:#050d12;border-color:#253842}
#pref-forum .pref-topic-art{inset:0 48% 0 0;background-image:url('forum-scene.png');background-size:auto 340%;background-position:20% 7%;opacity:.57;mask-image:linear-gradient(90deg,#000,#0009 40%,transparent)}
#pref-forum .pref-topic-row:nth-of-type(3n) .pref-topic-art{background-position:40% 10%}
#pref-forum .pref-topic-row:nth-of-type(3n + 1) .pref-topic-art{background-position:58% 38%}
#pref-forum .pref-topic-row h3{font-size:13px;line-height:1.8;text-shadow:0 1px 4px #000}
#pref-forum .pref-topic-row small{color:#c4cdd3;font-size:10px}
#pref-forum .pref-topic-count{font-size:12px;color:#fff;text-shadow:0 1px 3px #000}
#pref-forum .pref-left>.pref-panel{padding:12px}
#pref-forum .pref-member{border-top:2px solid var(--pf-accent);background:linear-gradient(150deg,#85142b22,transparent 60%),var(--pf-panel)}
#pref-forum .pref-member h2{font-size:17px}
#pref-forum .pref-member>a:not(.pref-button){padding-block:7px;font-size:12px}
#pref-forum .pref-avatar{width:76px;height:76px;box-shadow:0 0 0 4px #ad153820,0 0 20px #c5103540}
#pref-forum .pref-leader{padding-block:10px;font-size:12px;gap:9px}
#pref-forum .pref-leader>b{font:700 16px Arial,sans-serif}
#pref-forum .pref-event{border-color:#6c2535;background:linear-gradient(100deg,#57091eb8,#080a11d9),url('forum-scene.png') 95% 15%/cover}
#pref-forum.pref-density-compact :is(.pref-section,.pref-topic-row){min-height:64px;padding-block:6px}
@media(min-width:901px) and (max-width:1200px){
 #pref-forum .pref-layout{grid-template-columns:145px minmax(0,1fr) 200px;gap:9px}
 #pref-forum .pref-layout.no-right{grid-template-columns:minmax(0,1fr) 200px}
 #pref-forum .pref-layout.no-left{grid-template-columns:145px minmax(0,1fr)}
 #pref-forum .pref-toolbar{flex-wrap:wrap}#pref-forum .pref-search{flex-basis:100%}
 #pref-forum .pref-section-count{width:25px}#pref-forum .pref-section-icon svg{width:24px}
 #pref-forum .pref-section-label h3{font-size:12px}
}
@media(max-width:900px){
 #pref-forum .pref-layout,#pref-forum .pref-layout.no-right,#pref-forum .pref-layout.no-left,#pref-forum .pref-layout.no-left.no-right{grid-template-columns:minmax(0,1fr)}
 #pref-forum .pref-toolbar{flex-wrap:wrap}#pref-forum .pref-search{flex-basis:100%}
 #pref-forum .pref-navigation>summary{font-size:14px;padding:6px 9px}
 #pref-forum .pref-center{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 #pref-forum{padding:8px}#pref-forum .pref-hero{min-height:310px;padding:20px 14px 16px;background-position:24% top;justify-content:end}
 #pref-forum .pref-hero h1{font-size:24px;line-height:1.7;text-shadow:0 2px 10px #000,0 0 20px #000}
 #pref-forum .pref-hero p{font-size:12px;line-height:1.9;background:#030b115c;border-radius:3px;padding:3px}
 #pref-forum .pref-hero-bottom{gap:6px;margin-top:13px}#pref-forum .pref-hero-bottom>span{flex:1;justify-content:center;gap:4px;padding:5px 3px;font-size:10px}
 #pref-forum .pref-hero-bottom>span svg{width:16px;height:16px}#pref-forum .pref-hero-bottom>span b{font-size:13px}
 #pref-forum .pref-toolbar{padding:6px;gap:8px}#pref-forum .pref-toolbar .pref-filters{flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 #pref-forum .pref-filters a{padding:8px 4px}#pref-forum .pref-search input{font-size:13px}
 #pref-forum .pref-section{min-height:94px;padding-inline:7px;gap:6px}#pref-forum .pref-section-count{width:28px}
 #pref-forum .pref-section-icon svg{width:25px;height:25px}#pref-forum .pref-section-label h3{font-size:13px}
 #pref-forum .pref-topic-row{min-height:89px}#pref-forum .pref-topic-row h3{font-size:13px}
 #pref-forum .pref-center{display:flex}#pref-forum .pref-leader{font-size:13px}
}

/* Community home and feed share the same rails, real posts and saved palette. */
#pref-forum .pref-hero{min-height:232px;background-position:center 19%;border-bottom-width:2px}
#pref-forum .pref-hero h1{font-weight:800;letter-spacing:0}
#pref-forum .pref-navigation nav a{min-height:48px}
#pref-forum .pref-member>a:not(.pref-button){display:flex;align-items:center;gap:9px}
#pref-forum .pref-member>a svg{width:19px;height:19px;color:#b7c7d1}
#pref-forum .pref-rank-progress{padding:6px 10px 10px;border:1px solid #2c3c48;border-radius:4px;background:#02080d88;margin-block:8px}
#pref-forum .pref-member .pref-pill{border-color:#813248;background:#4d17292b}
#pref-forum .pref-community-tabs{display:block;padding:7px;background:linear-gradient(105deg,#10242e80,transparent),var(--pf-panel)}
#pref-forum .pref-community-tabs .pref-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
#pref-forum .pref-community-tabs .pref-filters a{padding:10px 3px;min-height:46px;font-size:12px;line-height:1.8}
#pref-forum .pref-community-tabs .pref-filters svg{width:17px;height:17px}
#pref-forum .pref-community-tabs .pref-search{padding-top:7px;border-top:1px solid #2b3f49;margin-top:6px}
#pref-forum .pref-community-tabs .pref-search>div{max-width:440px;margin-inline-start:auto}
#pref-forum .pref-section{min-height:85px}
#pref-forum .pref-topic-row{min-height:100px}
#pref-forum .pref-topic-row .pref-pill{font-size:9px;padding:0 6px;margin:1px 3px}
#pref-forum .pref-topic-row h3{font-size:14px}
#pref-forum .pref-topic-row .pref-topic-author{display:flex;align-items:center;gap:5px;margin-top:3px;line-height:1.7}
#pref-forum .pref-author-avatar{width:29px;height:29px;flex:0 0 29px;border:1px solid #52616b;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 20%,#35444f,#0b161f);overflow:hidden}
#pref-forum .pref-author-avatar>svg{width:17px;height:17px;color:#e1e9ed}
#pref-forum .pref-author-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#pref-forum .pref-topic-author .pref-author-avatar{width:22px;height:22px;flex-basis:22px}
#pref-forum .pref-topic-author .pref-author-avatar svg{width:14px;height:14px}
#pref-forum .pref-topic-count small:last-child{font-size:9px;color:#c9d4da;margin-top:4px}
#pref-forum .pref-spoiler-tag{color:#ffc6d2;border-color:#ba3554;background:#57203366}
#pref-forum .pref-quick-post{padding:10px 12px;background:linear-gradient(110deg,#12263288,transparent),var(--pf-panel);border-top-color:#6c3445}
#pref-forum .pref-quick-post summary{display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:10px;list-style:none;padding:2px 0;font-weight:500}
#pref-forum .pref-quick-post summary::-webkit-details-marker{display:none}
#pref-forum .pref-quick-post summary>span:nth-child(2){min-width:0;padding:8px 11px;border:1px solid #354c59;background:#06131b;border-radius:5px;color:#bdccd5}
#pref-forum .pref-quick-label{padding:9px 13px;border:1px solid #f65b78;border-radius:4px;background:linear-gradient(110deg,#a20b2b,var(--pf-accent));color:#fff;font-weight:700;font-size:12px;white-space:nowrap}
#pref-forum .pref-quick-form{border-top:1px solid #35454f;margin-top:9px;padding-top:2px}
#pref-forum .pref-quick-form textarea{height:130px;min-height:110px}
#pref-forum .pref-quick-form label{font-size:13px;margin-block:8px}
#pref-forum .pref-quick-controls{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-top:10px}
#pref-forum .pref-quick-controls a{font-size:12px;text-decoration:underline}
#pref-forum .pref-quick-guest{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#pref-forum .pref-quick-guest>span{flex:1;min-width:130px;color:#c8d5dd;font-size:13px}
#pref-forum .pref-feed{min-width:0}
#pref-forum .pref-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;padding:8px 12px}
#pref-forum .pref-feed-heading h2{border:0;margin:0;padding:0;font-size:16px;display:flex;gap:6px;align-items:center}
#pref-forum .pref-feed-heading nav{display:flex;gap:4px;flex-wrap:wrap}
#pref-forum .pref-feed-heading nav a{padding:5px 9px;border-bottom:2px solid transparent;border-radius:3px;font-size:12px;line-height:1.7}
#pref-forum .pref-feed-heading nav a[aria-current]{border-color:var(--pf-accent);background:#68203928;color:#fff}
#pref-forum .pref-feed-heading p{flex-basis:100%;margin:0;font-size:11px;color:#b1c1ca;line-height:1.7}
#pref-forum .pref-feed-card{display:grid;gap:7px;padding:14px 16px;background:linear-gradient(120deg,#14263244,transparent 65%),var(--pf-panel);border-top-color:#4a5a66;border-inline-start-color:#743045;box-shadow:inset 0 1px #82929b12,0 5px 18px #0004}
#pref-forum .pref-feed-author{display:grid;grid-template-columns:34px minmax(0,1fr) fit-content(38%);align-items:center;gap:8px;min-width:0}
#pref-forum .pref-feed-author>div{min-width:0;line-height:1.5}
#pref-forum .pref-feed-author .pref-author-avatar{width:34px;height:34px}
#pref-forum .pref-feed-author b{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
#pref-forum .pref-feed-author time{display:block;margin-top:2px;color:#acbdc8;font-size:10px;line-height:1.5}
#pref-forum .pref-feed-author .pref-tag{margin:0;font-size:10px;max-width:100%;padding:3px 8px;line-height:1.6;overflow-wrap:anywhere;background:#641b30;color:#ffe4eb;border:1px solid #8e3850}
#pref-forum .pref-feed-card>h2{font-size:18px;font-weight:700;line-height:1.6;margin:0;padding:0;border:0;display:block;overflow-wrap:anywhere}
#pref-forum .pref-feed-flags{display:flex;gap:5px;flex-wrap:wrap}
#pref-forum .pref-feed-flags:empty{display:none}
#pref-forum .pref-feed-flags .pref-pill{font-size:10px;line-height:1.7;padding:0 7px;margin:0}
#pref-forum .pref-feed-excerpt{font-size:14px;line-height:1.85;color:#ced9df;overflow-wrap:anywhere;margin:0}
#pref-forum .pref-feed-media{display:block;margin:0;overflow:hidden;border:1px solid #344a56;border-radius:4px;background:#030910}
#pref-forum .pref-feed-media img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain}
#pref-forum .pref-feed-spoiler{padding:0;margin:0;background:linear-gradient(100deg,#5b1d3026,#08141c);border:1px solid #713548;border-radius:4px}
#pref-forum .pref-feed-spoiler summary{padding:8px 11px;font-size:12px;line-height:1.7;color:#ffd0dc}
#pref-forum .pref-feed-spoiler[open]>summary{border-bottom:1px solid #713548}
#pref-forum .pref-feed-spoiler .pref-feed-excerpt{margin:9px 11px}
#pref-forum .pref-feed-spoiler .pref-feed-media{margin:0 11px 11px}
#pref-forum .pref-encyclopedia{padding:12px;margin-top:11px;border-color:#453342;background:linear-gradient(100deg,#641f3020,transparent),var(--pf-panel)}
#pref-forum .pref-encyclopedia>h2{font-size:16px;margin-bottom:5px;padding-bottom:8px}
#pref-forum .pref-encyclopedia>.pref-muted{font-size:11px;line-height:1.9;margin-bottom:12px}
#pref-forum .pref-encyclopedia-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#pref-forum .pref-encyclopedia-grid>article{min-width:0;border:1px solid #30434f;border-radius:4px;background:#06121a;padding:7px;overflow:hidden;display:flex;flex-direction:column;gap:4px}
#pref-forum .pref-encyclopedia-grid>article>img{width:100%;height:90px;object-fit:cover;border-radius:2px}
#pref-forum .pref-encyclopedia-grid h3{font-size:12px;line-height:1.9;overflow-wrap:anywhere}
#pref-forum .pref-encyclopedia-grid small{font-size:10px;color:#c4a8b3}
#pref-forum .pref-encyclopedia-grid article>div:last-child{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto;padding-top:5px}
#pref-forum .pref-encyclopedia-grid a{font-size:10px;border:1px solid #324d5d;padding:3px 5px;border-radius:3px;flex:1;text-align:center;white-space:normal}
#pref-forum .pref-record-placeholder{height:80px;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 5%,#2e3a45,#0b151e 70%);color:#bfcbd3;border-bottom:1px solid #34414b}
#pref-forum .pref-record-placeholder svg{width:31px;height:31px}
#pref-forum .pref-encyclopedia-empty{padding:20px 12px;text-align:center;border:1px dashed #3f4b59;background:#08151d;border-radius:4px;color:#b8c7d2}
@media(min-width:901px) and (max-width:1200px){
 #pref-forum .pref-community-tabs .pref-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 #pref-forum .pref-encyclopedia-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 #pref-forum .pref-community-tabs .pref-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 #pref-forum .pref-hero{min-height:310px;background-position:24% top}
 #pref-forum .pref-community-tabs .pref-filters a{min-height:58px;font-size:12px;gap:4px}
 #pref-forum .pref-community-tabs .pref-filters svg{width:16px;height:16px}
 #pref-forum .pref-community-tabs .pref-search>div{max-width:none}
 #pref-forum .pref-quick-post{padding:9px}
 #pref-forum .pref-quick-post summary{gap:7px}
 #pref-forum .pref-quick-post summary>span:nth-child(2){padding:8px;font-size:12px}
 #pref-forum .pref-quick-label{font-size:11px;padding:7px 8px;white-space:normal}
 #pref-forum .pref-feed-heading{padding:9px}
 #pref-forum .pref-feed-heading nav{gap:3px}
 #pref-forum .pref-feed-heading nav a{font-size:11px;padding:5px}
 #pref-forum .pref-feed-card{padding:11px;gap:7px}
 #pref-forum .pref-feed-card>h2{font-size:17px;line-height:1.65}
 #pref-forum .pref-feed-author .pref-tag{font-size:9px}
 #pref-forum .pref-encyclopedia-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 #pref-forum .pref-community-tabs .pref-filters a{flex-direction:column;gap:2px}
 #pref-forum .pref-quick-guest .pref-button{width:100%}
 #pref-forum .pref-encyclopedia-grid{grid-template-columns:minmax(0,1fr)}
 #pref-forum .pref-interactions .pref-action svg{display:none}
}

/* Shared editor: native controls, no external assets or upload surface. */
.pref-editor-box{min-width:0;margin-block:16px}
.pref-editor-box>small{display:block;color:#b9cad5;line-height:1.8;margin-block:7px}
.pref-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pref-editor-actions button{font-size:13px;min-height:42px}
.pref-editor-actions [data-pref-guide]{background:#182f3d}
.pref-emoji{position:relative;font-size:12px}
.pref .pref-emoji>summary{padding:5px 8px;min-height:38px;box-sizing:border-box}
.pref-emoji>div{position:absolute;inset-inline-end:0;top:100%;z-index:4;display:flex;flex-wrap:wrap;gap:4px;padding:8px;background:#10232c;border:1px solid #476271;border-radius:5px;width:190px;box-shadow:0 8px 20px #0008}
.pref .pref-emoji button{font-size:20px;padding:5px;min-width:40px}
.pref-editor-status{font-size:12px;color:#c4d6e0;line-height:1.8}
.pref-body-preview{border:1px solid #536774;border-inline-start:3px solid var(--pf-accent);border-radius:5px;padding:14px;margin-block:12px;background:#091923;min-width:0}
.pref-body-preview[hidden]{display:none}
.pref-body-preview>h3{font-size:16px;margin-bottom:6px}
.pref-body-preview>.pref-muted{font-size:11px}
.pref-prose h2,.pref-prose h3{margin-block:16px 8px;line-height:1.7}.pref-prose h2{font-size:22px}.pref-prose h3{font-size:19px}
.pref-prose ul,.pref-prose ol{padding-inline-start:24px;list-style-position:outside;margin-block:10px}.pref-prose ul{list-style-type:disc}.pref-prose ol{list-style-type:decimal}.pref-prose li{margin-block:4px}
.pref-prose blockquote{margin:12px 0;padding:10px 14px;border-inline-start:3px solid var(--pf-accent);background:#162a35}
.pref-prose details{margin-block:10px;padding:6px 12px;border-radius:5px}.pref-prose details>summary{font-size:13px}
.pref-external{display:block;padding:10px;margin-block:10px;border:1px solid #39515e;border-radius:5px;background:#10212c;max-width:100%;overflow-wrap:anywhere}
.pref-external>a{font-size:13px}.pref-external>button{font-size:12px;padding:7px 10px;margin:5px;min-height:40px;background:#203b4d}
.pref-media-slot{display:block;max-width:100%;font-size:12px}.pref-media-slot img{display:block;max-width:100%;height:auto;margin:10px auto}.pref-media-slot iframe{display:block;width:100%;aspect-ratio:16/9;border:0;margin-block:10px;background:#050b10}
.pref .pref-media-dialog{background:#0c1c27;color:#edf4f8;border:1px solid #875061;border-top:3px solid var(--pf-accent);border-radius:8px;width:620px;max-width:calc(100vw - 24px);max-height:85dvh;overflow:auto;padding:20px;font:inherit;line-height:1.9;box-sizing:border-box;box-shadow:0 20px 60px #000a}
.pref-media-dialog::backdrop{background:#02080de6}.pref-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pref-dialog-heading h3{font-size:20px;margin:0}.pref .pref-dialog-heading button{padding:5px 12px;min-height:40px;background:#243744}
.pref-media-dialog p,.pref-media-dialog small,.pref-media-dialog ol{font-size:12px;line-height:1.9}.pref-media-dialog label{font-size:13px}.pref-media-dialog a{color:#a4d9ff;text-decoration:underline}.pref-sharing-services{display:grid;gap:6px;margin-block:12px}.pref-sharing-services>details{padding:0 10px;border:1px solid #334f60;border-radius:5px}.pref-media-dialog.pref-link-only [data-pref-guide-copy],.pref-media-dialog.pref-link-only .pref-sharing-services{display:none}.pref-link-error{color:#ffb7c6}

.pref-media-dialog>ol{padding-inline-start:24px;list-style:decimal}.pref-media-dialog>ol li{margin-block:3px}

/* WordPress TinyMCE is scoped to the single active Forum form. */
.pref-visual-ready>.pref-editor-tools{display:none}
.pref-editor-box .mce-tinymce{box-sizing:border-box;width:100%;max-width:100%;border:1px solid #3b5362;border-radius:5px;overflow:hidden}
.pref-editor-box .mce-panel,.pref-editor-box .mce-toolbar-grp{background:#10232f;border-color:#3b5362}
.pref-editor-box .mce-toolbar .mce-flow-layout{white-space:normal}
.pref-editor-box .mce-toolbar .mce-btn-group{padding:3px;display:inline-block;max-width:100%;border:0}
.pref-editor-box .mce-toolbar .mce-btn{background:#183342;border:1px solid transparent;border-radius:3px;margin:2px;min-height:34px}
.pref-editor-box .mce-toolbar .mce-btn button{font:600 12px Cairo,Tahoma,sans-serif;color:#edf4f8;background:transparent;padding:5px 7px;min-height:34px;border:0;box-shadow:none}
.pref-editor-box .mce-toolbar .mce-ico,.pref-editor-box .mce-toolbar .mce-btn .mce-txt{color:#edf4f8;text-shadow:none}
.pref-editor-box .mce-toolbar .mce-btn:hover,.pref-editor-box .mce-toolbar .mce-btn:focus,.pref-editor-box .mce-toolbar .mce-btn.mce-active{background:#603044;border-color:#e95277;box-shadow:none}
.pref-editor-box .mce-toolbar .mce-caret{border-top-color:#edf4f8}
.pref-editor-box .mce-edit-area{border-color:#3b5362}.pref-editor-box .mce-edit-area iframe{display:block;width:100%;max-width:100%}
.pref-editor-box [data-pref-simple]{background:#223440;font-size:11px}
.pref-forum-page .mce-menu,.pref-forum-page .mce-menu .mce-menu-item{background:#10232f;border-color:#3b5362}
.pref-forum-page .mce-menu .mce-menu-item .mce-text,.pref-forum-page .mce-menu .mce-menu-item .mce-ico{color:#edf4f8;font-family:Cairo,Tahoma,sans-serif}
.pref-forum-page .mce-menu .mce-menu-item:hover,.pref-forum-page .mce-menu .mce-menu-item.mce-selected{background:#603044}

.pref-editor-box :is([data-pref-simple],[data-pref-advanced])[hidden]{display:none}
.pref-forum-page .mce-menu .mce-menu-item .mce-text[data-pref-emoji]::before{content:attr(data-pref-emoji);margin-inline-end:8px}

.pref-editor-box:not(.pref-visual-ready) .mce-tinymce{visibility:hidden}
#pref-forum .mce-listbox{background:#183342;border-color:#3b5362}

/* One RTL interaction strip for topics, replies and feed cards. */
#pref-forum .pref-interactions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:5px;border-top:1px solid #30424d;padding-top:8px;margin-top:3px;min-width:0;font-size:12px}
#pref-forum .pref-action,#pref-forum .pref-more>summary{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:38px;min-height:38px;padding:5px 9px;border:1px solid transparent;border-radius:999px;background:#14252f;color:#dce6ec;font:600 12px/1.6 Cairo,Tahoma,sans-serif;text-decoration:none;box-shadow:none}
#pref-forum .pref-action:hover,#pref-forum .pref-more>summary:hover{background:#293b47;border-color:#526373}
#pref-forum .pref-interactions svg{width:17px;height:17px}
#pref-forum .pref-interactions .pref-more{position:relative}
#pref-forum .pref-more>summary{list-style:none;min-width:38px;font:700 19px/1.2 Arial,sans-serif;letter-spacing:1px}
.pref-more>summary::-webkit-details-marker{display:none}
.pref-more>.pref-menu-panel{position:absolute;inset-inline-end:0;z-index:6;width:270px;max-width:80vw;padding:10px;background:#0d1b25;border:1px solid #684052;border-radius:8px;box-shadow:0 10px 35px #0009}
#pref-forum .pref-social-dialog{box-sizing:border-box;background:linear-gradient(130deg,#34132155,transparent 65%),#0c1923;color:#edf2f6;border:1px solid #815064;border-top:2px solid var(--pf-accent);border-radius:10px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px;font:400 13px/1.9 Cairo,Tahoma,sans-serif;box-shadow:0 18px 65px #000b;overflow:auto;overflow-wrap:anywhere}
.pref-social-dialog:not([open]){display:none}.pref-social-dialog::backdrop{background:#02060bc4}
#pref-forum .pref-anchored{position:fixed;inset:auto;margin:0;width:320px}
#pref-forum .pref-social-dialog .pref-dialog-heading{margin-bottom:10px;gap:8px}
#pref-forum .pref-social-dialog h3{font-size:17px;margin:0}
#pref-forum .pref-menu-panel{display:grid;gap:4px;min-width:0}
#pref-forum .pref-menu-panel form{width:100%;margin:0}
#pref-forum .pref-menu-panel :is(a,button,summary),#pref-forum .pref-share-links :is(a,button){box-sizing:border-box;display:flex;align-items:center;width:100%;padding:7px 10px;min-height:38px;text-align:start;border:1px solid transparent;border-radius:5px;font:600 12px/1.8 Cairo,Tahoma,sans-serif;background:#152832;color:#edf2f6;box-shadow:none}
#pref-forum .pref-menu-panel :is(a,button,summary):hover,#pref-forum .pref-share-links :is(a,button):hover{background:#34414e;border-color:#7b5162}
#pref-forum .pref-menu-panel button[aria-pressed=true]{background:#472134;color:#ffd7e3}
#pref-forum .pref-menu-panel textarea{min-height:86px;margin-block:5px}
#pref-forum .pref-confirm{display:flex;align-items:start;gap:8px;font-size:12px;line-height:1.8;margin-block:10px}
#pref-forum .pref-confirm input{width:18px;min-height:18px;height:18px;flex:0 0 18px;margin:2px 0;padding:0;accent-color:var(--pf-accent)}
#pref-forum .pref-social-dialog label{font-size:12px}
#pref-forum [data-pref-share-url]{min-width:0;width:100%;font:12px/1.8 Tahoma,sans-serif;padding:9px;margin-block:5px;height:auto}
#pref-forum .pref-copy-status{font-size:12px;color:#b9e8d2;margin:5px 0;min-width:0}.pref-copy-status:empty{display:none}
#pref-forum .pref-share-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:12px}
#pref-forum .pref-share-links a{justify-content:center;padding-inline:5px}
#pref-forum .pref-share-links button{grid-column:1/-1;justify-content:center}
#pref-forum .pref-social-dialog [hidden]{display:none}
#pref-forum .pref-membership{position:fixed;inset:0;margin:auto;width:420px;text-align:center;padding:28px 24px}
#pref-forum .pref-modal-close{position:absolute;inset-inline-end:8px;top:8px;width:36px;min-height:36px;padding:3px;background:#25333e}
.pref-membership-logo{display:block;object-fit:contain;margin:0 auto 10px}
#pref-forum .pref-membership h2{display:block;border:0;font-size:23px;line-height:1.6;margin:8px 0}
#pref-forum .pref-membership p{font-size:14px;line-height:1.9;color:#c8d5df;margin-bottom:16px}
#pref-forum .pref-membership .pref-button{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;font-size:14px}
#pref-forum .pref-membership .pref-secondary{background:#192e3c;border:1px solid #6c5360}
.pref-membership small{display:block;font-size:11px;line-height:1.8;color:#aebfcb;margin-top:12px}
#pref-forum :is(.pref-action,.pref-more>summary,.pref-social-dialog button,.pref-social-dialog a):focus-visible{outline:2px solid #eab1c1;outline-offset:2px}
.pref-votes{display:flex;align-items:center;position:relative;min-width:0}
.pref-votes form,.pref-vote-strip{display:inline-flex;align-items:center;gap:4px;direction:rtl;margin:0;border:1px solid #425662;border-radius:999px;background:#132530}
#pref-forum .pref-votes button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:38px;padding:3px 7px;border:0;background:transparent;color:#c7d3dd;font:700 23px/1.2 Cairo,Tahoma,sans-serif;box-shadow:none;border-radius:4px}
#pref-forum .pref-votes button:hover{background:#263d4b}
#pref-forum .pref-votes button[data-vote-kind="up"]{color:#FF6728}
#pref-forum .pref-votes button[data-vote-kind="down"]{color:#9B7CF8}
#pref-forum .pref-votes button[data-vote-kind="up"][aria-pressed="true"]{background:#30251f;box-shadow:inset 0 0 0 1px currentColor}
#pref-forum .pref-votes button[data-vote-kind="down"][aria-pressed="true"]{background:#29243d;box-shadow:inset 0 0 0 1px currentColor}
#pref-forum .pref-votes button:focus-visible{outline:2px solid #d9e6ef;outline-offset:2px}
#pref-forum .pref-votes button:disabled{cursor:wait;opacity:.65}
.pref-votes output{min-width:28px;padding-inline:4px;color:var(--pf-text);font:700 14px/1.5 Cairo,Tahoma,sans-serif;text-align:center;font-variant-numeric:tabular-nums}
.pref-vote-status{position:absolute;inset-block-start:100%;inset-inline-start:0;z-index:3;min-width:180px;max-width:260px;padding:4px 7px;background:#14252f;border:1px solid #526473;border-radius:4px;font-size:11px;color:#dbe5ed}.pref-vote-status:empty{display:none}

/* Native branch disclosure; indentation stops growing after a few visible levels. */
.pref-thread-node{min-width:0}.pref-thread-node>.pref-reply-children{padding-inline-start:var(--pf-child-space);border-inline-start:var(--pf-child-line) solid #69515e;margin-block:3px 7px}
.pref .pref-reply-children>summary{padding:5px 0;color:#b8c8d3;font-size:12px;list-style:none}.pref-reply-children>summary::-webkit-details-marker{display:none}
.pref-reply-children[open]>summary .pref-branch-closed,.pref-reply-children:not([open])>summary .pref-branch-open{display:none}
.pref-reply-children>summary:focus-visible{outline:2px solid #e7869c;outline-offset:2px}
.pref-entry:target{outline:1px solid #e34d72;outline-offset:5px;scroll-margin-block:100px}.pref-entry-author{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.pref-entry-author .pref-author-avatar{width:30px;height:30px;flex-shrink:0}
.pref-reply-context{padding:10px;background:#14212a;color:#b3c0ca;border-inline-start:2px solid #6b4554;font-size:12px}.pref-reply-context a{text-decoration:underline}
.pref-reply-slot:empty{display:none}#pref-reply-composer{margin-block:14px;min-width:0}#pref-reply-composer h2{font-size:17px;overflow-wrap:anywhere}
.pref-thread-node .pref-entry{padding-block:10px}.pref-thread-node .pref-prose{padding-block:8px}.pref-thread-node .pref-entry header{gap:4px 10px}
@media(max-width:600px){.pref-thread-node>.pref-reply-children{padding-inline-start:var(--pf-child-space-mobile);border-inline-start-width:var(--pf-child-line)}.pref-entry-author{font-size:12px}.pref-thread-node .pref-prose{font-size:14px}}

/* Scoped moderation workspace; existing community layout and editor stay unchanged. */
.pref .pref-mod-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-block:14px}
.pref .pref-mod-tabs a{padding:7px 12px;border:1px solid #53606b;border-radius:5px}
.pref .pref-mod-tabs a[aria-current=page]{border-color:var(--pf-accent);background:#641a28;color:#fff}
.pref .pref-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pref .pref-role-card{min-width:0;border:1px solid #59616b;border-top:3px solid var(--pf-accent);border-radius:6px;padding:18px;background:linear-gradient(145deg,#18232b,#0a1117)}
.pref .pref-role-title{display:flex;align-items:center;gap:10px;color:#fff}
.pref .pref-role-title svg{width:32px;height:32px;flex:none;color:#ff8a8a}
.pref .pref-role-card h3,.pref .pref-role-card h4{margin-block:10px}
.pref .pref-role-card p,.pref .pref-role-card li{font-size:14px;line-height:1.9}
.pref .pref-role-card ul{padding-inline-start:20px;margin-block:8px}
.pref .pref-mod-warning{padding:10px;border-inline-start:3px solid #ffb44c;background:#35271c;color:#ffe2b7}
.pref .pref-mod-row{padding-block:18px;border-bottom:1px solid #46525b;overflow-wrap:anywhere}
.pref .pref-mod-row h3{font-size:17px}.pref .pref-mod-row pre{max-width:100%;overflow:auto;white-space:pre-wrap;direction:rtl;font-size:13px}
.pref .pref-assignment-preview{padding:16px;border:1px solid #db6177;background:#21171f;border-radius:6px}
.pref .pref-mod-filter{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.pref .pref-mod-filter label{flex:1 1 180px}
.pref .pref-staff-badge{display:inline-block;font-size:11px;line-height:1.7;padding:1px 7px;margin-inline-start:7px;border:1px solid #829d8b;color:#c6f7d6;border-radius:4px;vertical-align:middle}
.pref .pref-official-badge{display:flex;align-items:center;gap:7px;font-size:13px;color:#b6f4ca;border-inline-start:3px solid #68c38a;padding-inline-start:10px}
.pref .pref-official-badge svg{width:17px;height:17px;flex:none}
.pref .pref-mod-intro~.pref-panel,.pref .pref-mod-assignment{min-width:0}
@media(max-width:700px){.pref .pref-role-grid{grid-template-columns:minmax(0,1fr)}.pref .pref-role-card{padding:13px}.pref .pref-mod-tabs a{padding:6px 9px;font-size:13px}}

/* Public typography only; the admin forms and TinyMCE toolbar/iframe keep their own styles. */
#pref-forum { font-size:16px; }
#pref-forum :is(.pref-section-label h3,.pref-topic-row h3,.pref-feed-card>h2) { font-size:18px; line-height:1.7; }
#pref-forum :is(.pref-sections,.pref-latest)>h2 { font-size:20px; }
#pref-forum :is(.pref-hero p,.pref-section-label p,.pref-feed-excerpt,.pref-empty p,.pref-event p,.pref-member>a,.pref-leader a) { font-size:15px; line-height:1.9; }
#pref-forum :is(.pref-prose,.pref-thread-node .pref-prose) { font-size:16px; line-height:1.95; }
#pref-forum :is(.pref-prose blockquote,.pref-prose details>summary,.pref-entry-author,.pref-feed-author b) { font-size:15px; }
#pref-forum :is(.pref-entry time,.pref-feed-author time,.pref-topic-row small,.pref-section-count small,.pref-section-count b,.pref-topic-count,.pref-topic-count small,.pref-child,.pref-rank-progress small,.pref-left>.pref-panel>small,.pref-hero-bottom>span,.pref-pagination) { font-size:13px; line-height:1.7; }
#pref-forum .pref-section-activity { font-size:12px; opacity:1; }
#pref-forum .pref-section { padding-block-end:27px; }
#pref-forum :is(.pref-tag,.pref-feed-author .pref-tag,.pref-feed-flags .pref-pill,.pref-staff-badge,.pref-pill) { font-size:12px; }
#pref-forum .pref-navigation nav a,
#pref-forum :is(.pref-filters a,.pref-search input,.pref-search button,.pref-button) { font-size:15px; }
#pref-forum :is(.pref-interactions,.pref-reply-children>summary,.pref-reply-context,.pref-copy-status,.pref-confirm) { font-size:14px; }
#pref-forum :is(.pref-topic-count,.pref-section-count) { flex-basis:48px; width:48px; }
#pref-forum .pref-topic-row small { overflow-wrap:anywhere; }
#pref-forum .pref-community-tabs .pref-filters a { font-size:14px; }
#pref-forum :is(.pref-action,.pref-more>summary,.pref-social-dialog label,.pref-reply-context,.pref-muted) { font-size:14px; }
#pref-forum .pref-hero small { font-size:12px; }
#pref-forum :is(form>label,form>input,form>textarea,form>select) { font-size:16px; }
@media(max-width:600px) {
 #pref-forum .pref-topic-row h3 { font-size:17px; }
 #pref-forum .pref-section { padding-block-end:28px; }
 #pref-forum .pref-filters a { font-size:14px; }
}

/* Focused community refinements: preserve the existing identity and data contracts. */
#pref-forum .pref-section{display:grid;grid-template-columns:32px minmax(0,1fr) repeat(2,minmax(60px,auto));gap:8px;padding:12px 10px}
#pref-forum .pref-section-count{width:auto;min-width:60px;flex-basis:auto;padding:7px 6px;border:1px solid #58414c;border-radius:6px;background:#1d111de8;white-space:nowrap;text-shadow:none}
#pref-forum .pref-section-count b{display:block;font:800 20px/1.5 Cairo,Tahoma,sans-serif;color:#ff879b}
#pref-forum .pref-section-count small{font-size:12px;color:var(--pf-text);white-space:nowrap;word-break:normal;overflow-wrap:normal}
#pref-forum .pref-section-activity{position:static;grid-column:2/-1;font-size:14px;line-height:1.8;color:#c6d2db;padding-top:4px}
#pref-forum .pref-section-label h3{overflow-wrap:break-word;word-break:normal}
#pref-forum .pref-section-context{display:block;color:#f2a8b5;margin-block:12px 2px;font-size:14px}
#pref-forum .pref-breadcrumb{font-size:14px;line-height:1.9;overflow-wrap:anywhere}
#pref-forum .pref-breadcrumb a{color:#bdccd7;text-decoration:underline}
#pref-forum .pref-section-compose{padding-top:16px;border-top:1px solid #33434e;margin-top:10px}
#pref-forum .pref-subsection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}
#pref-forum .pref-subsection-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #62414f;border-radius:6px;background:linear-gradient(120deg,#33132280,#0b1822);min-width:0}
#pref-forum .pref-subsection-card p{font-size:14px;color:#c1d0d9}
#pref-forum .pref-subsection-card span{display:inline-block;font-size:13px;border:1px solid #79505d;border-radius:5px;padding:2px 8px;color:#ffc1ce;background:#321523}
#pref-forum .pref-subsection-card:hover{border-color:var(--pf-accent)}
#pref-forum .pref-subsection-card svg{color:#ff879b;margin-top:5px}
#pref-forum .pref-topic-stats{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
#pref-forum .pref-stat-badge{display:inline-flex;gap:6px;align-items:center;padding:3px 9px;border:1px solid #45535e;border-radius:5px;background:#0c202ee6;font-size:13px;line-height:1.8;color:#d4e0e9;white-space:nowrap}
#pref-forum .pref-stat-badge svg{width:17px;height:17px}
#pref-forum .pref-stat-badge b{color:#ff9cb0;font-weight:800}
#pref-forum .pref-feed-heading h2{font-size:25px;line-height:1.7}
#pref-forum .pref-feed-heading nav a{font-size:14px}
#pref-forum .pref-spoiler-warning{background:#35101c;border:1px solid #ad465f;border-inline-start:4px solid var(--pf-accent);border-radius:5px;padding:16px;margin-block:12px;color:#ffe5ec}
#pref-forum .pref-spoiler-warning p{font-size:15px;margin-block:0 12px}
#pref-forum :is(.pref-centered,.pref-media-dialog){position:fixed;inset:0;margin:auto;height:fit-content;max-height:calc(100dvh - 32px);overscroll-behavior:contain}
#pref-forum .pref-centered{width:420px}
#pref-forum #pref-menu-dialog{width:350px}
#pref-forum .pref-menu-panel :is(a,button,summary){justify-content:center;text-align:center;font-size:14px}
#pref-forum .pref-menu-panel label{text-align:start}
#pref-forum .pref-menu-panel details:has(input[name=op][value=report])>summary{color:#ffd3a3;border-color:#986438;background:#382318}
#pref-forum .pref-menu-panel details:has(input[name=op][value=moderate])>summary{color:#ffbac9;border-color:#9c4157;background:#341623}
#pref-forum .pref-share-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
#pref-forum .pref-share-expanded{width:730px}
#pref-forum .pref-share-expanded .pref-share-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
#pref-forum .pref-share-extra{border-inline-start:1px solid #69505c;padding-inline-start:16px;min-width:0}
#pref-forum .pref-share-extra .pref-share-links{grid-template-columns:minmax(0,1fr)}
#pref-forum .pref-share-links :is(a,button){font-size:14px;justify-content:center}
#pref-forum .pref-sharing-services{gap:10px}
#pref-forum .pref-service{--pf-service:#a4c8da;border:1px solid #43515c;border-inline-start:3px solid var(--pf-service);padding:5px 14px;background:#101e2b;border-radius:6px}
#pref-forum .pref-service-postimages{--pf-service:#78b9fb}
#pref-forum .pref-service-google{--pf-service:#86d5a5}
#pref-forum .pref-service-proton{--pf-service:#c5a3ff}
#pref-forum .pref-service>summary{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--pf-service)}
#pref-forum .pref-service-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid currentColor;border-radius:7px;background:#060e18;flex:none}
#pref-forum .pref-media-dialog :is(p,small,ol,label){font-size:14px;line-height:1.9}
#pref-forum .pref-member>a:not(.pref-button){display:flex;align-items:center;gap:10px}
/* Current forum polish: retain the shared shell, imagery, typography and settings. */
#pref-forum .pref-navigation nav a{gap:8px;padding-inline:6px;white-space:nowrap;font-size:14px}
#pref-forum .pref-navigation nav a svg{width:19px;height:19px;flex:none}
#pref-forum .pref-feed-card>h2{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
#pref-forum .pref-feed-card>h2>a{min-width:0;overflow-wrap:anywhere}
#pref-forum .pref-topic-row h3{display:inline}
#pref-forum .pref-spoiler-tag{font-size:12px;white-space:nowrap;vertical-align:middle;margin-inline:4px}
#pref-forum .pref-spoiler-warning{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;box-shadow:none}
#pref-forum .pref-spoiler-warning p{display:flex;align-items:center;gap:8px;margin:0;font-size:14px}
#pref-forum .pref-spoiler-warning .pref-button{padding:6px 12px}
#pref-forum .pref-prose details{background:color-mix(in srgb,var(--pf-accent) 14%,var(--pf-bg));border:1px solid color-mix(in srgb,var(--pf-accent) 60%,#764052);border-inline-start:3px solid var(--pf-accent);padding:6px 14px;color:#ffe9ee;box-shadow:inset 0 0 16px #81001a12}
#pref-forum .pref-prose details>summary{display:flex;align-items:center;gap:9px;color:#ffe9ee;font-size:14px;line-height:1.9;list-style:none}
#pref-forum .pref-prose details>summary::after{content:'+';margin-inline-start:auto;font-size:19px}
#pref-forum .pref-prose details[open]>summary::after{content:'−'}
#pref-forum .pref-prose details>summary svg{width:21px;height:21px;color:#ff9aac}
#pref-forum .pref-original-topic{border-top:2px solid var(--pf-accent);background:linear-gradient(125deg,#77152b1c,transparent 65%),var(--pf-panel);padding:18px 20px}
#pref-forum .pref-original-label{display:inline-block;border:1px solid #874055;background:#3a1222;color:#ffd7e2;padding:2px 9px;border-radius:4px;font-size:12px;font-weight:700;margin-block:10px 7px}
#pref-forum .pref-back-section{display:block;color:#bacbd5;font-size:14px;width:fit-content}
#pref-forum .pref-original-topic>h2{font-size:25px;line-height:1.75;padding-block:4px 12px;overflow-wrap:anywhere}
#pref-forum .pref-topic-entry{border:0;padding:4px 0 0}
#pref-forum .pref-entry>header{padding-block:5px 10px;border-bottom:1px solid #2a3b46}
#pref-forum .pref-entry time{font-size:13px}
#pref-forum #pref-replies{background:transparent;border:0;box-shadow:none;padding:12px 0 0;scroll-margin-top:50px}
#pref-forum #pref-replies>h2{font-size:22px;padding-inline:4px}
#pref-forum [data-pref-reply-count]{display:inline-grid;place-items:center;min-width:30px;padding:0 7px;background:#301622;border:1px solid #694052;border-radius:5px;font-size:15px;color:#ffb5c5}
#pref-forum .pref-reply-card{background:var(--pf-panel);border:1px solid #354650;border-radius:var(--pf-radius);padding:13px 15px;margin-block:10px}
#pref-forum .pref-reply-card .pref-prose{padding-block:12px}
#pref-forum .pref-reply-children{border-inline-start-color:#9b3a53}
#pref-forum .pref-reply-children>summary{font-size:13px;padding-block:7px;color:#c1ced8}
#pref-forum [data-pref-reply-composer]{background:linear-gradient(125deg,#421b293b,transparent 65%),color-mix(in srgb,var(--pf-panel) 85%,#22303d);border:1px solid #784253;border-top:2px solid var(--pf-accent);padding:18px;margin-block:14px;scroll-margin-top:50px}
#pref-forum [data-pref-reply-composer]>h2{font-size:23px;margin-bottom:8px}
#pref-forum .pref-reply-return-status{font-size:14px;color:#ffd0dc}
#pref-forum .pref-reply-return-status:empty{display:none}
#pref-forum .pref-composer-moderation{min-width:0;border:1px solid #4c4050;border-radius:5px;padding:10px 13px;margin-block:16px}
#pref-forum .pref-composer-moderation legend{font-size:13px;padding-inline:6px;color:#d7c1cb}
#pref-forum .pref-composer-moderation small{display:block;margin-top:7px;font-size:12px}
#pref-forum .pref-composer-moderation .pref-confirm{margin-block:7px}
#pref-forum .pref-compose-panel{padding:20px;border-top:2px solid var(--pf-accent)}
#pref-forum .pref-compose-panel>h2{font-size:25px}
#pref-forum .pref-topic-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:0 16px;background:#08131c;border:1px solid #39444f;border-radius:5px;padding:3px 14px 12px;margin-block:16px}
#pref-forum .pref-topic-fields>label{margin-block:10px;min-width:0}
#pref-forum .pref-title-hint{display:block;grid-column:1/-1;font-size:13px;color:#e9b6c5;line-height:1.9}
#pref-forum .pref-editor-box>label{font-size:18px;font-weight:700;margin-block:14px 10px}
#pref-forum .pref-compose-submit,#pref-forum [data-pref-reply-composer] form>.pref-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #62404e;padding-top:14px;margin-top:14px}
#pref-forum .pref-compose-submit>button,#pref-forum [data-pref-reply-composer] form>.pref-actions>button:first-child{min-width:145px;font-size:15px;min-height:44px}
#pref-forum [data-pref-reply-cancel]{background:#172832;border-color:#52606b;color:#d6e0e7}
#pref-forum .pref-section-heading{padding:16px;border-top:2px solid var(--pf-accent)}
#pref-forum .pref-section-heading-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:start;margin-top:10px}
#pref-forum .pref-section-heading-body>div:first-child{grid-column:1/-1;grid-row:1}
#pref-forum .pref-section-heading h2{font-size:26px;line-height:1.65;margin-block:1px 5px}
#pref-forum .pref-section-heading p{font-size:14px;line-height:1.9;color:#c3d0d8;margin-block:4px}
#pref-forum .pref-section-context{display:inline-block;font-size:12px;margin:0;color:#db9eaf}
#pref-forum .pref-section-rules{grid-column:2;grid-row:2;padding:0;max-width:320px;font-size:13px;align-self:center}
#pref-forum .pref-section-rules>summary{font-size:13px;padding:4px 0;color:#c8bac3}
#pref-forum .pref-section-rules p{font-size:13px}
#pref-forum .pref-section-compose{grid-column:1;grid-row:2;padding:0;border:0;margin:0}
#pref-forum .pref-section-compose .pref-button{font-size:14px;padding:8px 12px}
#pref-forum .pref-subsections{padding:14px 16px}
#pref-forum .pref-subsections>h2{font-size:21px;margin-bottom:10px;padding-bottom:7px}
#pref-forum .pref-subsection-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
#pref-forum .pref-subsection-card{padding:12px 14px;gap:12px;background:linear-gradient(110deg,#3b162854,transparent),var(--pf-panel);align-items:center}
#pref-forum .pref-subsection-card>div{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px}
#pref-forum .pref-subsection-card h3{font-size:20px;line-height:1.7;overflow-wrap:anywhere}
#pref-forum .pref-subsection-card p{grid-column:1;grid-row:2;margin:0;line-height:1.8}
#pref-forum .pref-subsection-card span{grid-column:2;grid-row:1;align-self:center}
#pref-forum .pref-subsection-enter{grid-column:2;grid-row:2;font-size:13px;color:#ffd0dc;align-self:center}
#pref-forum .pref-section-topics>h2{font-size:20px}
#pref-forum .pref-encyclopedia-grid{gap:12px;align-items:stretch;grid-auto-rows:1fr}
#pref-forum .pref-encyclopedia-grid>article{padding:10px;gap:7px}
#pref-forum .pref-encyclopedia-grid>article>img,#pref-forum .pref-record-placeholder{height:150px;min-height:150px;width:100%;object-fit:contain;background:#070e16;border:1px solid #29333f;border-radius:4px;padding:5px}
#pref-forum .pref-encyclopedia-grid h3{font-size:15px;line-height:1.8;min-height:54px}
#pref-forum .pref-encyclopedia-grid small{font-size:12px}
#pref-forum .pref-encyclopedia-grid article>div:last-child{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding-top:6px}
#pref-forum .pref-encyclopedia-grid a{display:flex;align-items:center;justify-content:center;min-height:40px;font-size:13px;padding:6px 9px;line-height:1.7}
#pref-forum .pref-encyclopedia-grid a:first-child{border-color:#7e3a51;background:#301523}
@media(max-width:900px){
 #pref-forum .pref-section-heading-body{grid-template-columns:minmax(0,1fr)}
 #pref-forum .pref-section-heading-body>div:first-child{grid-column:1;grid-row:1}
 #pref-forum .pref-section-compose{grid-column:1;grid-row:2}#pref-forum .pref-section-rules{grid-column:1;grid-row:3;max-width:none}
}
@media(max-width:600px){
 #pref-forum .pref-original-topic,#pref-forum .pref-compose-panel,#pref-forum [data-pref-reply-composer]{padding:13px}
 #pref-forum .pref-original-topic>h2,#pref-forum .pref-compose-panel>h2{font-size:22px}
 #pref-forum .pref-reply-card{padding:11px 12px}
 #pref-forum .pref-topic-fields{grid-template-columns:minmax(0,1fr);gap:0;padding-inline:10px}
 #pref-forum .pref-section-heading{padding:12px}#pref-forum .pref-section-heading h2{font-size:23px}
 #pref-forum .pref-subsections{padding:12px}#pref-forum .pref-subsection-card{padding:11px;align-items:flex-start}
 #pref-forum .pref-subsection-card>div{grid-template-columns:minmax(0,1fr)}
 #pref-forum .pref-subsection-card p,#pref-forum .pref-subsection-card span,#pref-forum .pref-subsection-enter{grid-column:1;grid-row:auto;justify-self:start}
 #pref-forum .pref-encyclopedia-grid>article>img,#pref-forum .pref-record-placeholder{height:180px;min-height:180px}
}
@media(max-width:600px){
 #pref-forum .pref-section{grid-template-columns:26px minmax(0,1fr) repeat(2,60px);gap:6px;padding:10px 8px}
 #pref-forum .pref-section-count{padding:6px 3px}
 #pref-forum .pref-section-count b{font-size:18px}
 #pref-forum .pref-section-label p{font-size:13px}
 #pref-forum .pref-share-expanded .pref-share-layout{grid-template-columns:minmax(0,1fr)}
 #pref-forum .pref-share-extra{border-inline-start:0;border-top:1px solid #69505c;padding-inline-start:0;padding-top:12px}
 #pref-forum .pref-centered{padding:14px}
}


/* Account and forum rails share a 20px line-icon baseline; retain the approved rails. */
#pref-forum :is(.pref-navigation nav a,.pref-member>a:not(.pref-button)){font-size:16px}
#pref-forum .pref-navigation nav a{gap:6px;padding-inline:2px}
#pref-forum :is(.pref-navigation nav a,.pref-member>a)>svg{width:20px;height:20px;flex:0 0 20px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#pref-forum :is(.pref-navigation nav a,.pref-member>a):focus-visible{outline:2px solid var(--pf-accent);outline-offset:2px}
@media(min-width:901px) and (max-width:1100px){#pref-forum .pref-navigation nav a{font-size:14px}}

/* Activity feed: existing panels, colors, columns and composer remain shared. */
.pref .pref-start-discussion{display:flex;align-items:center;gap:12px;padding:12px;min-width:0;color:inherit;text-decoration:none}.pref .pref-start-discussion>span:nth-child(2){flex:1}.pref .pref-activity-type{display:flex;align-items:center;gap:8px;color:var(--pf-muted,#adbec8);font-size:14px;margin:12px 0 6px}.pref .pref-activity-type svg{width:18px;height:18px;flex-shrink:0}.pref .pref-activity-group{margin:16px 0;border-block:1px solid var(--pf-border,#29404d);padding:10px 0}.pref .pref-activity-links{padding-inline-start:24px;margin:10px 0}.pref .pref-activity-links li{margin:8px 0}.pref .pref-activity-links a{overflow-wrap:anywhere}.pref .pref-discovery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.pref .pref-discovery-heading a{font-size:14px}.pref .pref-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pref .pref-discovery-grid article{border:1px solid var(--pf-border,#29404d);border-radius:var(--pf-radius);padding:12px;min-width:0}.pref .pref-discovery-grid h3{margin:6px 0;overflow-wrap:anywhere}.pref .pref-discovery-grid small{color:var(--pf-muted,#adbec8)}.pref .pref-discovery-grid .pref-child{display:block}.pref .pref-navigation [aria-current=page]{border-inline-start:2px solid var(--pf-accent)}.pref .pref-pinned{margin-block:16px}
@media(max-width:700px){.pref .pref-discovery-grid{grid-template-columns:1fr}.pref .pref-start-discussion{flex-wrap:wrap}.pref .pref-feed-heading nav{flex-wrap:wrap}.pref .pref-activity-type{flex-wrap:wrap}}

#pref-forum .pref-navigation nav a:first-child:not([aria-current="page"]){background:none;box-shadow:none;border-radius:0}#pref-forum .pref-navigation nav a[aria-current="page"]{background:linear-gradient(90deg,#9f0026,var(--pf-accent));border-radius:5px;box-shadow:inset 0 0 14px #ff435a40,0 0 14px #ed143b18}

/* Compact only Forum's mobile content. The shared header and desktop layout stay intact. */
@media(max-width:600px){
 #pref-forum .pref-layout{gap:8px;padding-top:6px}
 #pref-forum .pref-navigation{margin:0;padding:0}
 #pref-forum .pref-navigation>summary{min-height:44px;padding:10px 12px;display:flex;align-items:center;font-size:16px;line-height:1.5}
 #pref-forum .pref-main{gap:8px}
 #pref-forum .pref-hero{min-height:0;padding:10px;gap:3px;margin:0;background-position:center}
 #pref-forum .pref-hero>small{font-size:11px;line-height:1.6;letter-spacing:1px}
 #pref-forum .pref-hero>h1{font-size:22px;line-height:1.4;margin:0}
 #pref-forum .pref-hero>p{font-size:13px;line-height:1.6;margin:0}
 #pref-forum .pref-hero-bottom{display:flex;flex-wrap:wrap;gap:5px 8px;margin-top:5px}
 #pref-forum .pref-hero-bottom>.pref-button{flex-basis:100%;min-height:44px;margin:0;padding:8px 10px;font-size:15px}
 #pref-forum .pref-hero-bottom>span{flex:1;justify-content:center;min-width:0;padding:3px 1px;font-size:12px;gap:3px;line-height:1.5}
 #pref-forum .pref-hero-bottom>span svg{width:16px;height:16px;flex-shrink:0}
 #pref-forum .pref-toolbar{padding:6px;margin:0}
 #pref-forum .pref-community-tabs .pref-filters{display:flex;gap:4px;flex-wrap:nowrap}
 #pref-forum .pref-community-tabs .pref-secondary-tab{display:none}
 #pref-forum .pref-community-tabs .pref-primary-tab{flex:1;min-width:0;min-height:54px;padding:5px 2px;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:14px;line-height:1.5;text-align:center}
 #pref-forum .pref-community-tabs .pref-primary-tab span{white-space:normal;font:inherit}
 #pref-forum .pref-toolbar .pref-search{margin-top:4px;padding-top:0}
 #pref-forum .pref-toolbar .pref-search input,#pref-forum .pref-toolbar .pref-search button{min-height:44px}
 #pref-forum .pref-quick-post{display:none}
 #pref-forum .pref-feed-heading{padding:6px;margin:0 0 6px;gap:4px}
 #pref-forum .pref-feed-heading h2{font-size:20px;line-height:1.5;margin:0}
 #pref-forum .pref-feed-heading nav{gap:4px;justify-content:space-between;width:100%;margin:0}
 #pref-forum .pref-feed-heading nav a{min-height:44px;display:flex;align-items:center;justify-content:center;padding:4px 6px;font-size:14px}
}

#pref-forum .pref-editor-new>.pref-compose-group:first-of-type{margin-block-start:0}

/* One cinematic Forum section strip. The existing hero image and palette are reused. */
#pref-forum{--pf-strip-steel:#80a2b5;--pf-strip-olive:#9aaa79;--pf-strip-wine:color-mix(in srgb,var(--pf-accent) 58%,#86576c)}
#pref-forum .pref-section-header{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;min-height:86px;padding:12px 18px;margin-block:0 16px;border:1px solid color-mix(in srgb,var(--pf-accent) 55%,var(--pf-bg));border-bottom-color:color-mix(in srgb,var(--pf-text) 18%,var(--pf-bg));border-inline-start:4px solid var(--pf-accent);border-radius:var(--pf-radius);background:linear-gradient(90deg,color-mix(in srgb,var(--pf-accent) 19%,transparent),transparent 58%),color-mix(in srgb,var(--pf-bg) 90%,#000);text-align:right}
#pref-forum .pref-section-header::before{content:"";position:absolute;z-index:-1;inset-block:0;left:0;width:min(62%,560px);background:linear-gradient(90deg,color-mix(in srgb,var(--pf-accent) 38%,transparent),transparent),var(--pf-hero,url('forum-scene.png')) 12% 38%/cover;opacity:.34;mask-image:linear-gradient(90deg,#000 0%,#000b 34%,transparent 100%);pointer-events:none}
#pref-forum .pref-section-header>div{min-width:0;flex:1}
#pref-forum .pref-section-header :is(h2,h3){display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;border:0;padding:0;margin:0;font:800 22px/1.5 var(--pf-font,Cairo),Tahoma,sans-serif;overflow-wrap:anywhere;text-align:right}
#pref-forum .pref-section-header p{color:color-mix(in srgb,var(--pf-text) 80%,var(--pf-bg));font:400 13px/1.8 var(--pf-font,Cairo),Tahoma,sans-serif;margin:3px 0 0;overflow-wrap:anywhere}
#pref-forum .pref-header-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;color:var(--pf-text);border:1px solid color-mix(in srgb,var(--pf-accent) 80%,var(--pf-text));border-radius:6px;background:linear-gradient(145deg,color-mix(in srgb,var(--pf-accent) 78%,transparent),color-mix(in srgb,var(--pf-accent) 24%,var(--pf-bg)));box-shadow:0 0 14px color-mix(in srgb,var(--pf-accent) 15%,transparent)}
#pref-forum .pref-header-icon svg{width:27px;height:27px;stroke-width:1.7}
#pref-forum .pref-header-count{display:inline-grid;place-items:center;min-width:30px;padding:0 7px;border:1px solid color-mix(in srgb,var(--pf-accent) 55%,transparent);border-radius:4px;font-size:14px;color:var(--pf-text)}
#pref-forum :is(.pref-feed-heading,.pref-discovery-heading)>.pref-section-header{flex:1 1 100%;margin-bottom:0}
#pref-forum .pref-feed-heading{padding:8px;gap:10px}
#pref-forum .pref-discovery-heading{margin-bottom:14px}
#pref-forum .pref-section-heading-body .pref-section-header{margin:8px 0 0}
#pref-forum .pref-compose-group{margin-block:20px}
#pref-forum .pref-section-tone-1:not(:has(.pref-section-art[style])){background-image:linear-gradient(110deg,transparent,color-mix(in srgb,var(--pf-strip-steel) 7%,transparent))}
#pref-forum .pref-section-tone-2:not(:has(.pref-section-art[style])){background-image:linear-gradient(110deg,transparent,color-mix(in srgb,var(--pf-strip-olive) 7%,transparent))}
#pref-forum .pref-section-tone-3:not(:has(.pref-section-art[style])){background-image:linear-gradient(110deg,transparent,color-mix(in srgb,var(--pf-strip-wine) 10%,transparent))}

/* Publication receipts enhance only committed topic/reply POSTs. */
#pref-forum.pref-has-toast{padding-bottom:120px}
#pref-forum .pref-toast{position:fixed;z-index:1200;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;width:min(410px,calc(100% - 44px));padding:12px 12px 12px 8px;background:color-mix(in srgb,var(--pf-panel) 96%,#9aaa79);color:var(--pf-text);border:1px solid #9aaa79;border-inline-start-width:4px;border-radius:var(--pf-radius);box-shadow:0 12px 36px #0009;pointer-events:none;animation:pref-toast-in .2s ease-out}
#pref-forum .pref-toast[hidden]{display:none}
#pref-forum .pref-toast>svg{width:26px;height:26px;color:#b3d39a}
#pref-forum .pref-toast p{flex:1;font-size:15px;font-weight:700;line-height:1.8;margin:0;overflow-wrap:anywhere}
#pref-forum .pref-toast button{flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:25px;background:transparent;border:0;color:var(--pf-text);pointer-events:auto}
#pref-forum .pref-toast-review{border-color:#cdb785}
#pref-forum .pref-toast-review>svg{color:#e0cd9d}
#pref-forum .pref-just-published{background:color-mix(in srgb,var(--pf-accent) 8%,var(--pf-panel));box-shadow:0 0 0 2px color-mix(in srgb,var(--pf-accent) 40%,transparent);transition:background-color .3s,box-shadow .3s}
#pref-forum .pref-form-error{border-inline-start:4px solid var(--pf-accent);scroll-margin-block:120px}
@keyframes pref-toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:600px){
 #pref-forum .pref-section-header{padding:11px 12px;gap:12px;margin-bottom:12px}
 #pref-forum .pref-section-header :is(h2,h3){font-size:20px;line-height:1.6}
 #pref-forum .pref-section-header p{font-size:12px;line-height:1.8}
 #pref-forum .pref-header-icon{width:40px;height:40px;flex-basis:40px}
 #pref-forum .pref-header-icon svg{width:25px;height:25px}
 #pref-forum .pref-feed-heading>.pref-section-header{flex-basis:100%;margin:0}
 #pref-forum .pref-feed-heading{padding:6px}
 #pref-forum .pref-toast{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px);gap:8px;padding:10px 8px}
 #pref-forum .pref-toast p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#pref-forum .pref-toast,#pref-forum .pref-just-published{animation:none;transition:none}}
