.fmg-community{--c-gold:#f4c352;--c-purple:#cf55f5;--c-bg:#09070d;position:relative;isolation:isolate;margin:clamp(24px,4vw,52px) clamp(12px,3.3vw,52px) 0;padding:clamp(16px,3vw,34px);overflow:hidden;border:1px solid #a77a2c;border-radius:24px;background:radial-gradient(ellipse at 18% 35%,#311c0a 0,#100b12 42%,#100819 75%,#08060b 100%);box-shadow:0 0 28px #eeb53d22,0 0 30px #bd43ef19;color:#fff;font-family:inherit}
.fmg-community *{box-sizing:border-box}.fmg-community-art{position:relative;display:grid;grid-template-columns:1fr .62fr 1fr;align-items:end;gap:clamp(4px,2vw,22px);max-width:980px;height:clamp(150px,24vw,310px);margin:0 auto 10px;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#451b62aa,transparent 55%)}.fmg-community-art img{width:100%;height:100%;display:block;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 0 16px #a744eb40)}.fmg-community-art img:nth-child(2){height:78%;margin-bottom:0;filter:drop-shadow(0 0 15px #ffd34b80);-webkit-mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent);mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent)}.fmg-community-art img:nth-child(3){-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%);mask-image:linear-gradient(90deg,transparent,#000 22%)}.fmg-community-title{position:relative;z-index:1;margin:0 0 10px;text-align:center;color:#ffe5a1;font:800 clamp(19px,3vw,32px)/1.1 Georgia,serif;letter-spacing:.07em;text-shadow:0 2px 8px #000,0 0 15px #e8a92a99}
.fmg-community-notice{margin:0 auto 20px;max-width:920px;padding:9px 13px;border:1px solid #b58e48;border-radius:10px;background:#0a080de8;color:#ddd2be;text-align:center;font-size:12px;line-height:1.45}.fmg-community-teams{display:grid;grid-template-columns:1fr 1fr;gap:15px;max-width:1080px;margin:0 auto 18px}.fmg-team{min-height:132px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px;border:1px solid #d3a344;border-radius:18px;background:linear-gradient(110deg,#211508ed,#110c12f5);box-shadow:inset 0 0 20px #ffb52a16,0 0 15px #f4b94217}.fmg-team.shadow{border-color:#ae42dc;background:linear-gradient(110deg,#180b21f5,#110b16f4);box-shadow:inset 0 0 20px #dc43ff15,0 0 16px #c03bf22b}.fmg-team-copy{min-width:0}.fmg-team h3{margin:0 0 7px;color:#ffdb7c;font:800 clamp(22px,3vw,36px)/1 Georgia,serif;text-shadow:0 0 12px #e7a32866}.fmg-team.shadow h3{color:#ebadff;text-shadow:0 0 12px #c235f966}.fmg-team p{margin:0 0 12px;color:#e5d9c8;font-size:12px;font-weight:700;letter-spacing:.06em}.fmg-community button,.fmg-community input,.fmg-community select{font:inherit}.fmg-team-join{min-height:42px;padding:0 18px;border:1px solid #ffd467;border-radius:999px;background:linear-gradient(#2a1b0c,#130d0c);box-shadow:0 0 12px #ffc34770;color:#fff1cf;font-weight:800;letter-spacing:.04em;cursor:pointer}.fmg-team.shadow .fmg-team-join{border-color:#e887ff;box-shadow:0 0 12px #d73ffb70;color:#ffe8ff}.fmg-team-join[aria-pressed=true]{background:#422c12}.fmg-team.shadow .fmg-team-join[aria-pressed=true]{background:#351547}.fmg-community-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.fmg-community-action{min-height:108px;padding:12px 8px;border:1px solid #bb8a32;border-radius:15px;background:linear-gradient(145deg,#17100e,#0c0910 68%);box-shadow:inset 0 0 15px #ffa81b13,0 0 13px #ffaf2825;color:#fff;text-align:center;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.fmg-community-action:nth-child(3n+2),.fmg-community-action:nth-child(6){border-color:#a648c7;box-shadow:inset 0 0 15px #d83dfd12,0 0 13px #d03cf52a}.fmg-community-action:hover,.fmg-community-action:focus-visible{transform:translateY(-2px);box-shadow:0 0 20px #ffca4880;outline:2px solid #fff4c7;outline-offset:2px}.fmg-community-action .icon{display:block;margin-bottom:5px;color:#ffd05b;font-size:28px;line-height:1;text-shadow:0 0 12px #f9ae28}.fmg-community-action:nth-child(3n+2) .icon,.fmg-community-action:nth-child(6) .icon{color:#e177ff;text-shadow:0 0 12px #d446ff}.fmg-community-action strong{display:block;font-size:clamp(11px,1.3vw,15px);line-height:1.15}.fmg-community-action small{display:block;margin-top:4px;color:#ddd4df;font-size:11px;line-height:1.25}
.fmg-community-panel{display:none;margin:16px auto 0;max-width:960px;padding:18px;border:1px solid #9f63b8;border-radius:15px;background:#0c0811f2;box-shadow:0 0 18px #bf3fed25}.fmg-community-panel.is-open{display:block}.fmg-community-panel h3{margin:0 0 10px;color:#f2d291;font-size:20px}.fmg-community-panel p{margin:8px 0;color:#ddd4df;line-height:1.5}.fmg-community-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px}.fmg-community-field{min-height:42px;min-width:160px;padding:0 12px;border:1px solid #786282;border-radius:9px;background:#120d18;color:#fff}.fmg-community-submit,.fmg-community-remove{min-height:40px;padding:0 14px;border:1px solid #f0c75a;border-radius:999px;background:#23170b;color:#fff0be;font-weight:700;cursor:pointer}.fmg-community-remove{min-height:30px;border-color:#705d75;font-size:12px}.fmg-community-list{display:grid;gap:8px;margin-top:12px;padding:0;list-style:none}.fmg-community-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #6a4e77;border-radius:10px;background:#120d18}.fmg-community-empty{padding:12px;border:1px dashed #806d86;border-radius:10px;color:#d6c9dc!important}.fmg-community-footer-note{margin:16px 0 0;text-align:center;color:#a99daf;font-size:11px}.fmg-community [hidden]{display:none!important}
@media(max-width:760px){.fmg-community{margin:22px 10px 0;padding:12px;border-radius:17px}.fmg-community-art{height:clamp(150px,43vw,250px);margin:0 auto 8px}.fmg-community-title{margin:-40px 0 18px;letter-spacing:.04em}.fmg-community-teams{gap:8px}.fmg-team{min-height:143px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:12px}.fmg-team h3{font-size:clamp(18px,5vw,25px)}.fmg-team p{font-size:10px}.fmg-team-join{width:100%;min-height:38px;padding:0 7px;font-size:11px}.fmg-community-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fmg-community-action{min-height:95px;padding:9px 5px}.fmg-community-action .icon{font-size:24px}.fmg-community-action strong{font-size:11px}.fmg-community-action small{font-size:10px}.fmg-community-panel{padding:13px}.fmg-community-row{align-items:stretch}.fmg-community-field{flex:1;min-width:125px}}
@media(max-width:380px){.fmg-community-art{height:150px}.fmg-team{padding:9px}.fmg-team h3{font-size:17px}.fmg-team-join{font-size:10px}.fmg-community-action{min-height:89px}.fmg-community-action strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.fmg-community *{scroll-behavior:auto!important;transition:none!important}}

/* Community layout refinement — scoped to this section only. */
.fmg-community{display:flex;flex-direction:column;gap:0}
.fmg-community-title{order:0;width:100%;margin:0 auto 8px;text-align:center;text-wrap:balance;overflow-wrap:anywhere;font-size:clamp(16px,2.7vw,30px);line-height:1.08;letter-spacing:.045em}
.fmg-community-art{order:1;grid-template-columns:minmax(0,1fr) minmax(64px,.48fr) minmax(0,1fr);align-items:end;gap:clamp(2px,.8vw,10px);height:clamp(145px,24vw,255px);margin:0 auto 8px}
.fmg-community-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom;-webkit-mask-image:none!important;mask-image:none!important}
.fmg-community-art img:nth-child(2){height:100%;width:100%;margin:0;filter:drop-shadow(0 0 15px #ffd34b80)}
.fmg-community-teams{order:2;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;max-width:980px;margin:0 auto 12px}
.fmg-team{height:100%;min-height:172px;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;padding:14px 12px;text-align:center}
.fmg-team-copy{width:100%}
.fmg-team h3{margin:0 0 6px}
.fmg-team p{margin:0 0 8px;min-height:1.4em}
.fmg-team-join{width:min(100%,240px);min-height:40px;padding:0 8px;white-space:nowrap;font-size:clamp(10px,1.1vw,14px);letter-spacing:.015em}
.fmg-community-actions{order:3;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:122px;gap:10px;max-width:980px;margin:0 auto}
.fmg-community-action{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.fmg-community-action .icon svg{display:block;width:30px;height:30px;margin:0 auto 5px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px currentColor)}
.fmg-community-panel{order:4;width:100%}
.fmg-community-footer-note{order:5;margin:10px auto 0}
.fmg-community-notice{order:6;max-width:980px;margin:8px auto 0;padding:6px 10px;font-size:11px;line-height:1.35}
@media(max-width:760px){
 .fmg-community{margin:18px 10px 0;padding:12px}
 .fmg-community-title{margin:0 auto 6px;font-size:clamp(16px,4.6vw,20px);letter-spacing:.035em}
 .fmg-community-art{grid-template-columns:minmax(0,1fr) minmax(56px,.48fr) minmax(0,1fr);height:clamp(128px,37vw,190px);margin-bottom:7px}
 .fmg-community-teams{gap:8px;margin-bottom:10px}
 .fmg-team{min-height:148px;padding:10px 7px;gap:6px}
 .fmg-team h3{font-size:clamp(17px,4.7vw,22px)}
 .fmg-team p{font-size:clamp(9px,2.6vw,11px);letter-spacing:.025em;line-height:1.2}
 .fmg-team-join{width:100%;min-height:36px;padding:0 4px;font-size:clamp(8px,2.55vw,10px);letter-spacing:0}
 .fmg-community-actions{grid-auto-rows:100px;gap:8px}
 .fmg-community-action{padding:7px 4px}
 .fmg-community-action .icon svg{width:26px;height:26px}
 .fmg-community-action strong{font-size:clamp(10px,2.8vw,12px)}
 .fmg-community-action small{font-size:clamp(9px,2.45vw,10px)}
 .fmg-community-notice{margin-top:7px;font-size:10px}
}
@media(max-width:360px){
 .fmg-community-art{height:128px}
 .fmg-team{min-height:142px;padding:9px 5px}
 .fmg-team-join{font-size:8px}
 .fmg-community-actions{grid-auto-rows:96px}
}
/* Keep the art, team panels, and action grid on one shared width. */
.fmg-community-art,.fmg-community-teams,.fmg-community-actions{width:100%}
.fmg-community-art{grid-template-rows:minmax(0,1fr)}
.fmg-community-art img{min-width:0;min-height:0}
.fmg-community-teams{grid-template-columns:minmax(0,1fr) minmax(64px,.48fr) minmax(0,1fr)}
.fmg-team.shadow{grid-column:3}
@media(max-width:760px){.fmg-community-teams{grid-template-columns:minmax(0,1fr) minmax(56px,.48fr) minmax(0,1fr)}}
/* Keep compact team labels centered and inside their cards on phones. */
@media(max-width:760px){
 .fmg-team-copy{text-align:center;width:100%}
 .fmg-team h3{font-size:clamp(13px,3.6vw,16px);line-height:1.05;white-space:nowrap;letter-spacing:-.02em}
 .fmg-team-join{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding-inline:2px;white-space:nowrap;font-size:clamp(9px,2.4vw,11px)!important;line-height:1.15;letter-spacing:0!important;overflow:hidden}
}
@media(max-width:360px){.fmg-team h3{font-size:13px}.fmg-team-join{font-size:9px!important}}
/* Keep the join label comfortably inside its button on narrow phones. */
.fmg-community .fmg-team button.fmg-team-join{display:flex;align-items:center;justify-content:center;inline-size:100%;max-inline-size:100%;min-inline-size:0;box-sizing:border-box;padding-inline:4px;white-space:nowrap;font:700 10px/1.1 Arial,sans-serif!important;letter-spacing:0!important;overflow:hidden}
@media(max-width:760px){.fmg-community .fmg-team button.fmg-team-join{font-size:9px!important}}
@media(max-width:360px){.fmg-community .fmg-team button.fmg-team-join{font-size:8px!important}}
