/* v3.4: native textarea makes typing and posting reliable on every browser. */
.shell .freedom-topic-list{padding:16px;background:linear-gradient(145deg,#172c1b,#102015);box-shadow:0 18px 35px #0003}
.shell .freedom-topic-list .freedom-topic-row{margin:10px 0;padding:16px 18px;border:1px solid #ffffff18;border-radius:9px;background:linear-gradient(100deg,#18381f,#11261a);box-shadow:inset 0 1px #ffffff08;transition:.18s ease}
.shell .freedom-topic-list .freedom-topic-row:first-of-type{margin-top:14px}.shell .freedom-topic-list .freedom-topic-row:hover{border-color:#78df63;background:linear-gradient(100deg,#214827,#15321c);transform:translateX(3px)}
.shell .freedom-topic-list .freedom-topic-row .row-icon{width:34px;height:34px;background:linear-gradient(145deg,#42a84b,#1b5b27);border:1px solid #8cf06f;box-shadow:0 2px #0c3513;color:#fff}
.shell .freedom-topic-list .freedom-topic-row .row-main b{font-size:17px;color:#f2ffec}.shell .freedom-topic-list .freedom-topic-row .row-main small{line-height:1.45}.shell .freedom-topic-list .freedom-topic-row .row-meta{padding-left:12px;border-left:1px solid #ffffff18;color:#a7f993}
.shell .freedom-create-topic{background:linear-gradient(145deg,#17351d,#102419);border-color:#70d95c;box-shadow:0 16px 32px #0004}
.freedom-rich-form .freedom-editor-tools{margin:10px 0 0;padding:7px 10px;position:relative;z-index:2}
.freedom-rich-form textarea.freedom-rich-editor{display:block;width:100%;min-height:142px;margin:0 0 12px;padding:16px;resize:vertical;border:2px solid #79df61;border-radius:0 0 10px 10px;background:linear-gradient(135deg,#102916,#08170c);color:#f4fff0;box-shadow:inset 0 0 30px #0008;font:16px/1.55 "Trebuchet MS",Arial,sans-serif;outline:0}
.freedom-rich-form textarea.freedom-rich-editor::placeholder{color:#90aa8b;opacity:1;font-style:italic}
.freedom-rich-form textarea.freedom-rich-editor:focus{border-color:#b1ff8d;box-shadow:0 0 0 3px #83ed5d25,inset 0 0 30px #0008}
.freedom-topic-list{padding:16px;background:linear-gradient(145deg,#172c1b,#102015);box-shadow:0 18px 35px #0003}
.freedom-topic-row{margin:10px 0;padding:16px 18px;border:1px solid #ffffff18;border-radius:9px;background:linear-gradient(100deg,#18381f,#11261a);box-shadow:inset 0 1px #ffffff08;transition:.18s ease}
.freedom-topic-row:first-of-type{margin-top:14px}.freedom-topic-row:hover{border-color:#78df63;background:linear-gradient(100deg,#214827,#15321c);transform:translateX(3px)}
.freedom-topic-row .row-icon{width:34px;height:34px;background:linear-gradient(145deg,#42a84b,#1b5b27);border:1px solid #8cf06f;box-shadow:0 2px #0c3513;color:#fff}
.freedom-topic-row .row-main b{font-size:17px;color:#f2ffec}.freedom-topic-row .row-main small{line-height:1.45}.freedom-topic-row .row-meta{padding-left:12px;border-left:1px solid #ffffff18;color:#a7f993}
.freedom-create-topic{background:linear-gradient(145deg,#17351d,#102419);border-color:#70d95c;box-shadow:0 16px 32px #0004}

.freedom-editor-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px 10px;margin:14px 0 -14px;border:1px solid #68cd58;border-bottom:0;border-radius:9px 9px 0 0;background:linear-gradient(90deg,#183b20,#122518)}
.freedom-editor-tools button{min-width:30px;margin:0;padding:5px 7px;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#e7f6e1;font:700 15px Georgia,serif}
.freedom-editor-tools button:hover{background:#5cbe4e;color:#102110}
.freedom-editor-tools .editor-preview{margin-left:auto;font:700 12px "Trebuchet MS",Arial,sans-serif;color:#c2dfbd}
.freedom-editor-tools .editor-preview:hover{color:#fff}
.freedom-editor-tools+textarea{border-radius:0 0 9px 9px}
.freedom-post{position:relative;transition:transform .16s ease,border-color .16s ease}
.freedom-post:hover{border-color:#71cf65;transform:translateY(-1px)}
.post-body{background:linear-gradient(110deg,#14331b,#11261a)}
.post-text{max-width:100%;overflow-wrap:anywhere}
.post-text a{font-weight:800;text-decoration:underline}
.post-text blockquote{margin:14px 0;padding:10px 14px;border-left:3px solid #86e96e;background:#09190d;color:#dcefd8}
.post-text code{padding:2px 5px;border-radius:4px;background:#07130a;color:#a5ff8f}
.replies-heading{display:flex;align-items:center;gap:10px}
.replies-heading:after{content:"";height:1px;flex:1;background:#8beb712d}
.topic-side-card{box-shadow:0 8px 24px #00000025}
.status-card h2{font-size:27px;line-height:1.05}
.freedom-editor-preview{margin-top:12px;padding:14px;border:1px dashed #8fe675;border-radius:8px;background:#0b1e10;color:#effde9;line-height:1.55}

/* A real WYSIWYG surface: players write here, while JavaScript synchronizes
   safe HTML with the hidden WordPress textarea. */
.freedom-rich-form .freedom-editor-tools{margin:14px 0 0!important}
.freedom-rich-form .freedom-wysiwyg{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:172px!important;margin:0 0 12px!important;padding:16px!important;overflow:auto!important;color:#f2fff0!important;background:#082315!important;border:2px solid #59df46!important;border-radius:0 0 10px 10px!important;box-shadow:inset 0 1px 18px rgba(0,0,0,.22)!important;font:16px/1.55 Arial,sans-serif!important;outline:0!important}
.freedom-rich-form .freedom-wysiwyg:focus{border-color:#a4ff75!important;box-shadow:0 0 0 3px rgba(106,228,70,.16),inset 0 1px 18px rgba(0,0,0,.22)!important}
.freedom-rich-form .freedom-wysiwyg:empty:before{content:attr(data-placeholder);color:#9ab39a;pointer-events:none}
.freedom-rich-form .freedom-wysiwyg blockquote{margin:8px 0;padding:8px 12px;border-left:4px solid #85e75c;background:rgba(111,201,70,.12)}
.freedom-rich-form .freedom-wysiwyg pre{margin:8px 0;padding:10px;overflow:auto;background:#06180e;border:1px solid #365d36;border-radius:6px;color:#d7ffd2}
.freedom-rich-editor-source{display:none!important}
/* Defensive fallback: a legacy bbPress renderer must never appear inside the custom topic screen. */
.freedom-topic-layout #bbpress-forums{display:none!important}
.freedom-rich-editor{display:block;width:100%;min-height:168px;resize:vertical;overflow:auto;margin:14px 0 12px;padding:16px;border:2px solid #82ea65;border-radius:0 0 9px 9px;background:linear-gradient(120deg,#102716,#0b1c10);box-shadow:inset 0 0 24px #0005;color:#f5fff0;font:16px "Trebuchet MS",Arial,sans-serif;line-height:1.55;outline:0;cursor:text}
.freedom-rich-editor:empty:before{content:attr(data-placeholder);color:#92a98e}.freedom-rich-editor:focus{border-color:#a2ff82;box-shadow:0 0 0 3px #83ed5d20,inset 0 0 24px #0005}.editor-placeholder{margin:0!important;color:#b8cfb1!important;font-style:italic;pointer-events:none}.freedom-rich-editor blockquote{margin:12px 0;padding:8px 12px;border-left:3px solid #89e972;background:#09190d}.freedom-rich-editor pre{padding:8px;border-radius:5px;background:#061007;color:#a7ff8d}.freedom-rich-editor a{color:#9eff86;text-decoration:underline}.freedom-topic-title{display:block;width:100%;margin:16px 0 0;padding:13px 15px;border:1px solid #68cd58;border-radius:8px;background:#102716;color:#f5fff0;font:700 18px "Trebuchet MS",Arial,sans-serif;outline:0}.freedom-topic-title:focus{border-color:#a2ff82}.freedom-forum-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px;margin-bottom:18px;border:1px solid #73ce5d66;border-radius:13px;background:linear-gradient(120deg,#193a20,#102419)}.freedom-forum-hero h1{margin:5px 0 9px;font-size:clamp(32px,4vw,48px)}.freedom-forum-hero p{margin:0;color:#bdd3b8;max-width:660px;line-height:1.55}.freedom-topic-list,.freedom-create-topic{margin:18px 0;padding:22px;border:1px solid #ffffff20;border-radius:11px;background:#15271a}.list-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff16;padding-bottom:14px;margin-bottom:5px}.list-heading h2{margin:0}.list-heading span{color:#9ced87;font-weight:800;font-size:13px}.freedom-topic-row{display:grid;grid-template-columns:38px minmax(0,1fr) 175px;gap:12px;align-items:center;padding:16px 8px;border-bottom:1px solid #ffffff14;color:#edf9e9}.freedom-topic-row:hover{background:#ffffff08}.row-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:5px;background:#2b7540;color:#dfffd6}.row-main{display:flex;min-width:0;flex-direction:column;gap:4px}.row-main b{font-size:17px}.row-main small,.row-meta small{color:#a7bca3;font-size:12px}.row-meta{display:flex;align-items:flex-end;flex-direction:column;gap:4px;color:#91ec7d;font-size:13px}.empty-forum{display:flex;flex-direction:column;gap:6px;padding:28px 5px;color:#cce1c7}.empty-forum span{color:#9db699;font-size:13px}.freedom-forum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.freedom-forum-card{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;gap:4px 12px;min-height:114px;padding:18px;border:1px solid #ffffff1c;border-radius:10px;background:#172b1b;color:#f2f9ef}.freedom-forum-card:hover{border-color:#76dc61;background:#1c3420;transform:translateY(-1px)}.freedom-forum-card .row-icon{grid-row:1/3}.freedom-forum-card small{color:#adc5a8;line-height:1.35}.freedom-forum-card em{position:absolute;right:17px;bottom:15px;color:#86ec70;font-size:12px;font-style:normal;font-weight:800}@media(max-width:700px){.freedom-forum-hero{align-items:flex-start;flex-direction:column}.freedom-topic-row{grid-template-columns:35px minmax(0,1fr)}.row-meta{grid-column:2;align-items:flex-start}.freedom-forum-grid{grid-template-columns:1fr}}
