/* MADHOUSE World native redesign: scoped to original community view, not a second app. */
[data-view="community"].community-page { --mh-red:#e5093e; --mh-surface:#17171d; --mh-border:#34333d; color:#f5f5f7; }
[data-view="community"] .mh-world-native{font-family:inherit;margin:0 0 24px;color:#f6f6f8}
[data-view="community"] .mh-world-eyebrow,[data-view="community"] .mh-world-kicker,[data-view="community"] .mh-world-section-heading span{font-size:11px;font-weight:800;letter-spacing:.15em;color:#ff4168}
[data-view="community"] .mh-world-eyebrow{padding:5px 0 14px}
[data-view="community"] .mh-world-hero{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(290px,.82fr);gap:16px;align-items:stretch}
[data-view="community"] .mh-world-hero-copy{border:1px solid var(--mh-border);border-radius:17px;padding:clamp(22px,4vw,44px);background:linear-gradient(125deg,#1c1b22,#101014 70%);min-width:0}
[data-view="community"] .mh-world-hero-copy h1{font-size:clamp(38px,5vw,66px);line-height:1.02;letter-spacing:-.045em;margin:14px 0!important;font-weight:850;text-transform:none}
[data-view="community"] .mh-world-hero-copy h1 em{color:#fa2852;font-style:normal}
[data-view="community"] .mh-world-hero-copy>p:not(.mh-world-kicker){font-size:15px;color:#b9b7c0;max-width:430px;line-height:1.55}
[data-view="community"] .mh-world-hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
[data-view="community"] .mh-world-hero-actions button,[data-view="community"] .mh-world-radar-bottom button{background:#25232b;color:#fff;border:1px solid #55505b;border-radius:9px;min-height:43px;padding:9px 15px;font:700 13px inherit;cursor:pointer}
[data-view="community"] .mh-world-hero-actions .mh-world-primary{background:#d70b3c;border-color:#ed2958}
[data-view="community"] .mh-world-radar{border:1px solid #5d2a39;background:radial-gradient(circle at 50% 47%,#321622,#14151b 62%);border-radius:17px;display:flex;flex-direction:column;overflow:hidden;min-height:270px}
[data-view="community"] .mh-world-radar-top,[data-view="community"] .mh-world-radar-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px;font-size:11px;letter-spacing:.1em;color:#c8c0c8;font-weight:750}
[data-view="community"] .mh-world-live{color:#ff5977}
[data-view="community"] .mh-world-radar-art{position:relative;flex:1;min-height:145px;overflow:hidden;background:repeating-linear-gradient(0deg,transparent 0 29px,#ffffff07 30px),repeating-linear-gradient(90deg,transparent 0 29px,#ffffff07 30px)}
[data-view="community"] .mh-ring{position:absolute;border:1px solid #ff315a33;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}
[data-view="community"] .r1{width:75px;height:75px}.r2{width:165px;height:165px}.r3{width:260px;height:260px}
[data-view="community"] .mh-dot{position:absolute;background:#fb4167;border:3px solid #491322;box-shadow:0 0 0 5px #fb41671f;width:12px;height:12px;border-radius:50%}
[data-view="community"] .d1{top:25%;left:28%}.d2{top:58%;left:71%}.d3{top:71%;left:42%}
[data-view="community"] .mh-cross{position:absolute;top:50%;left:50%;width:13px;height:13px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%)}
[data-view="community"] .mh-world-radar-bottom{letter-spacing:normal;border-top:1px solid #ffffff15}
[data-view="community"] .mh-world-radar-bottom strong{display:block;color:#fff;font-size:14px}.mh-world-radar-bottom small{display:block;color:#a9a5ae;font-size:11px;margin-top:3px}
[data-view="community"] .mh-world-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0 28px}
[data-view="community"] .mh-world-shortcuts button{background:#1b1a21;border:1px solid #393741;border-radius:12px;padding:17px 15px;text-align:left;color:#fff;min-height:78px;cursor:pointer;transition:border-color .15s,transform .15s}
[data-view="community"] .mh-world-shortcuts button:hover{border-color:#ed2853;transform:translateY(-1px)}
[data-view="community"] .mh-world-shortcuts strong{display:block;font-size:14px}.mh-world-shortcuts small{display:block;font-size:11px;color:#a9a6b1;margin-top:6px}
[data-view="community"] .mh-world-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;border-bottom:1px solid #35343d;padding-bottom:14px;margin-bottom:16px}
[data-view="community"] .mh-world-section-heading h2{margin:5px 0 0!important;font-size:25px!important;letter-spacing:-.025em}.mh-world-section-heading p{color:#aaa7b1;font-size:12px;margin:0}
/* Preserve the original feed, composer, permissions, events and their IDs; make them more readable. */
[data-view="community"] .community-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:16px;align-items:start}
[data-view="community"] .community-grid>div:first-child{min-width:0}
[data-view="community"] .social-card{background:#19181e;border:1px solid #393740;border-radius:14px;box-shadow:none}
[data-view="community"] #communityPostForm{padding:18px!important;margin-bottom:18px}
[data-view="community"] #communityPostForm textarea{min-height:82px;resize:vertical;border-radius:9px}
[data-view="community"] .community-rail{min-width:0}
[data-view="community"] .community-rail .social-card{margin-bottom:12px}
[data-view="community"] button:focus-visible{outline:2px solid #ff4168;outline-offset:2px}
@media(max-width:1000px){[data-view="community"] .mh-world-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}[data-view="community"] .mh-world-hero{grid-template-columns:1fr 1fr}}
@media(max-width:740px){[data-view="community"] .mh-world-hero{grid-template-columns:1fr}[data-view="community"] .mh-world-radar{min-height:240px}[data-view="community"] .mh-world-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}[data-view="community"] .mh-world-shortcuts button{min-height:66px;padding:12px}[data-view="community"] .community-grid{grid-template-columns:1fr}[data-view="community"] .mh-world-section-heading{align-items:start;flex-direction:column}[data-view="community"] .mh-world-hero-copy{padding:22px}}
@media(max-width:420px){[data-view="community"] .mh-world-hero-actions button{flex:1 1 auto}[data-view="community"] .mh-world-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
