/* MADHOUSE_COMMUNITY_FLOW_V1 */
.ml-live{--ml-red:#ff153d;--ml-bg:#0b0c10;--ml-card:#14161d;--ml-line:#30333e;--ml-muted:#a3a9b7;max-width:1500px;margin:0 auto;padding:clamp(16px,3vw,42px);color:#f6f6f8;min-width:0}.ml-live *, .ml-dialog *{box-sizing:border-box}.ml-live [hidden],.ml-dialog [hidden]{display:none!important}.ml-live button,.ml-dialog button{font:inherit;font-weight:700;font-size:13px;border:1px solid #393d48;border-radius:8px;background:#20232c;color:#fff;padding:12px 16px;cursor:pointer;white-space:normal}.ml-live button:hover,.ml-dialog button:hover{border-color:#ff153d;background:#29232b}.ml-live button:disabled,.ml-dialog button:disabled{opacity:.5;cursor:default}.ml-live button:focus-visible,.ml-dialog :focus-visible{outline:3px solid #ff4163;outline-offset:3px}.ml-live .ml-red,.ml-dialog .ml-red{background:#ed0735;border-color:#ff3159}.ml-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;padding:24px 0 44px;border-bottom:1px solid var(--ml-line);margin-bottom:30px}.ml-eyebrow{font-size:10px!important;letter-spacing:2px;font-weight:800;color:#b1b6c3}.ml-eyebrow>span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff153d;box-shadow:0 0 14px #ff153d;margin-right:8px}.ml-hero h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(40px,5.5vw,78px);line-height:.99;letter-spacing:-1px;margin:22px 0}.ml-live em{font-style:normal;color:var(--ml-red)}.ml-hero p:not(.ml-eyebrow){color:var(--ml-muted);font-size:15px;line-height:1.6}.ml-hero>.ml-community-card{padding:26px 30px;background:linear-gradient(135deg,#2b141e,#14151b 65%);border:1px solid #49313b;border-radius:14px;position:relative;overflow:hidden}.ml-hero>.ml-community-card:after{content:'///';font-family:Impact,sans-serif;position:absolute;font-size:140px;right:8px;bottom:-50px;color:#ff153d0d;pointer-events:none}.ml-number{display:block;color:#b5a4ac;font-size:10px;letter-spacing:2px;margin-bottom:32px}.ml-hero .ml-community-card strong{display:block;font-size:clamp(24px,3vw,38px);line-height:1.1;letter-spacing:-1px}.ml-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.ml-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px}.ml-layout>div{min-width:0}.ml-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid var(--ml-line);padding:0 0 12px!important;background:none!important}.ml-tabs button{flex-shrink:0;border:0;background:transparent;border-radius:0;color:#aeb3c0}.ml-tabs button[aria-pressed=true]{color:#fff;background:#25151e;box-shadow:inset 0 -3px #ff153d}.ml-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:22px 0 0}.ml-tools label{color:var(--ml-muted);font-size:11px;display:flex;flex-direction:column;gap:6px}.ml-live input,.ml-live select,.ml-dialog input,.ml-dialog textarea,.ml-dialog select{background:#0b0d13;color:#f6f6f8;border:1px solid #404552;border-radius:7px;padding:12px;font:inherit;min-width:0;width:100%}.ml-tools select{min-width:155px}.ml-tools>button{margin-left:auto}.ml-status{min-height:20px;color:#bbbfc9;font-size:12px;line-height:1.5;margin:18px 0}.ml-post{border:1px solid var(--ml-line);border-radius:13px;background:var(--ml-card);margin:0 0 22px;overflow:visible}.ml-post-top{display:flex;justify-content:space-between;gap:12px;padding:20px;align-items:center}.ml-person{display:flex;align-items:center;gap:10px;min-width:0}.ml-person button{padding:0;border:0;background:none;text-align:left;font-size:13px}.ml-person small{display:block;color:#979eae;font-size:10px;margin-top:5px}.ml-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0}.ml-letter{display:grid;place-items:center;background:#39202b;color:#ff6784;font-weight:900}.ml-topic{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:1.2px;background:#242630;border:1px solid #353843;padding:7px 9px;border-radius:5px;max-width:120px}.ml-post-photo{display:block;width:100%;max-height:550px;object-fit:contain;background:#08090c}.ml-post-body{padding:0 20px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7}.ml-post-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid #292c36}.ml-post-actions button{padding:8px 10px;font-size:11px;background:none;border-color:transparent}.ml-post-actions button[aria-pressed=true]{color:#ff607f;background:#3a1422}.ml-post-menu{margin-left:auto;font-size:11px;position:relative}.ml-post-menu summary{cursor:pointer;padding:8px}.ml-post-menu[open]>button{display:block;max-width:220px;border-color:#41424a;background:#171922;position:relative;z-index:1}.ml-post-tags{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px 14px}.ml-post-tags button{padding:4px 8px;font-size:11px;color:#ff7891;background:#301723;border:0}.ml-attached-ride{margin:18px;padding:18px;background:#1c1e28;border:1px solid #383c4b;border-left:3px solid #ff153d;border-radius:7px;display:grid;gap:8px}.ml-attached-ride small{letter-spacing:2px;font-size:9px;color:#ffa0b2}.ml-attached-ride span{color:#aeb4c1;font-size:12px}.ml-attached-ride button{justify-self:start}.ml-panel{border:1px solid var(--ml-line);padding:20px;border-radius:12px;background:#12141b;margin-bottom:20px}.ml-panel h2{font-size:24px;line-height:1.05;margin:14px 0 24px}.ml-panel>button{width:100%;text-align:left;font-size:11px}.ml-invite{background:linear-gradient(140deg,#351322,#16151e);border-color:#612437}.ml-invite h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:35px;letter-spacing:.3px}.ml-invite p:not(.ml-eyebrow),.ml-small p{font-size:12px;color:#b4aebb;line-height:1.65}.ml-small h3{font-size:12px;letter-spacing:.4px}.ml-muted{color:#a4aaba;font-size:13px;line-height:1.6}.ml-ride{border:1px solid #353844;border-radius:12px;overflow:hidden;background:#15171f;margin-bottom:22px}.ml-ride-cover,.ml-route-art{width:100%;height:190px;object-fit:cover}.ml-route-art{background:repeating-linear-gradient(130deg,transparent,transparent 22px,#ffffff05 22px,#ffffff05 25px),linear-gradient(140deg,#4d1428,#181a25 75%);display:flex;align-items:flex-end;padding:20px}.ml-route-art span{font-family:Impact,sans-serif;text-transform:uppercase;font-size:38px;color:#ffc7d4}.ml-ride-content{padding:20px}.ml-ride-content h3{font-size:24px;margin:14px 0}.ml-ride-content>p:not(.ml-eyebrow){font-size:12px;color:#a9b0bf}.ml-ride-compact{background:transparent;border:0;border-radius:0;border-bottom:1px solid #333541;margin-bottom:16px;display:grid;grid-template-columns:58px 1fr;gap:12px;padding-bottom:16px}.ml-ride-compact .ml-ride-cover,.ml-ride-compact .ml-route-art{width:58px;height:76px;border-radius:7px;padding:6px}.ml-ride-compact .ml-route-art span{font-size:20px}.ml-ride-compact .ml-ride-content{padding:0}.ml-ride-compact h3{font-size:14px;margin:5px 0}.ml-ride-compact .ml-eyebrow{font-size:8px!important;letter-spacing:.4px;margin:0}.ml-ride-compact p{margin:5px 0}.ml-ride-compact button{padding:0;background:none;border:0;font-size:10px;color:#fda2b5}.ml-more{width:100%;margin-bottom:24px}.ml-dialog{--ml-red:#ff153d;width:min(720px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto;overflow-x:hidden;background:#13151d;color:#fff;border:1px solid #623041;border-radius:14px;padding:26px;box-shadow:0 35px 120px #000b;font-family:Arial,sans-serif}.ml-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.ml-dialog-top{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}.ml-dialog-top h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:30px;margin:0}.ml-dialog-top button{white-space:nowrap;padding:8px}.ml-dialog p{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.ml-form{display:grid;gap:18px}.ml-form>label{display:grid;gap:8px;font-size:12px;color:#c2c6d1;font-weight:700}.ml-form textarea{min-height:110px;resize:vertical}.ml-form>.ml-check{display:flex;align-items:start;gap:10px;font-size:11px;line-height:1.6}.ml-check input{width:18px;flex-shrink:0;margin-top:3px}.ml-photo-preview,.ml-detail-photo{width:100%;max-height:350px;object-fit:contain;border-radius:9px}.ml-tags{border:1px solid #373b48;padding:14px;border-radius:9px;min-width:0}.ml-tags legend{font-size:11px;color:#b6bdcd;padding:0 6px}.ml-tag-chips,.ml-tag-results{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.ml-tags button{padding:7px;font-size:11px}.ml-tag-chips button{background:#391b2b;color:#ffa9bc}.ml-comment{padding:16px 0;border-bottom:1px solid #343745}.ml-comment strong{font-size:12px}.ml-comment small{font-size:10px;color:#929bab;margin-left:10px}.ml-comment p{margin:8px 0;font-size:14px}.ml-lineup{display:flex;gap:16px;flex-wrap:wrap;margin:22px 0}.ml-lineup .ml-person{padding:8px;border:1px solid #333947;border-radius:10px}.ml-meeting{padding:20px;border:1px solid #573044;background:#211521;border-radius:10px;margin:22px 0}.ml-meeting h3{font-size:11px;letter-spacing:2px}.ml-meeting a{color:#ffa7ba}.ml-discussion{margin-top:26px}.ml-discussion h3{font-size:14px}.ml-nav{border-left:3px solid #ff153d!important}.ml-live{animation:ml-enter .3s ease-out}@keyframes ml-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1000px){.ml-hero{grid-template-columns:1fr}.ml-hero>.ml-community-card{display:none}.ml-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}}@media(max-width:720px){.ml-live{padding:18px 12px}.ml-layout{grid-template-columns:minmax(0,1fr)}.ml-rail{display:grid;grid-template-columns:1fr}.ml-panel{padding:18px}.ml-hero{padding:8px 0 24px;margin-bottom:18px;gap:0}.ml-hero h1{font-size:48px}.ml-post-top{padding:16px 12px}.ml-post-actions{padding:12px;gap:3px}.ml-post-body{padding:0 14px}.ml-topic{font-size:8px;max-width:88px}.ml-tabs button{font-size:12px;padding:12px 10px}.ml-tools{gap:8px}.ml-tools>button{margin-left:0}.ml-dialog{padding:20px 16px}.ml-dialog-top h2{font-size:26px}.ml-actions button{flex:1}.ml-post-photo{max-height:440px}.ml-hero .ml-actions button{font-size:12px}.ml-post-actions button{font-size:10px}.ml-rail .ml-small{display:none}}@media(prefers-reduced-motion:reduce){.ml-live{animation:none}}

.ml-home-entry{margin:24px 0;padding:28px;border:1px solid #72263d;border-left:4px solid #ff153d;border-radius:12px;background:linear-gradient(120deg,#321320,#14151e);color:#fff}.ml-home-entry .ml-home-eyebrow{font:800 10px Arial,sans-serif;letter-spacing:2px;color:#ff8da5}.ml-home-entry h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(26px,3vw,40px);margin:12px 0}.ml-home-entry p{color:#bdafbb;font-size:13px;line-height:1.6}.ml-home-entry button{background:#ed0735;color:#fff;border:1px solid #ff476c;border-radius:8px;font-weight:800;padding:14px 20px;cursor:pointer}.ml-home-entry button:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* MADHOUSE_WORLD_NATIVE_V4 */
.ml-live{--ml-red:#ef1741;--ml-card:#14151a;--ml-line:#292a33;--ml-muted:#a7a7b1;max-width:1560px;padding:clamp(16px,2.6vw,34px)}
.ml-live button{transition:background .16s,border-color .16s,transform .16s;border-radius:9px}
.ml-v4-head{border:1px solid #33333c;border-radius:16px;padding:clamp(22px,3vw,42px);background:radial-gradient(ellipse at 90% 0%,#36151e 0%,transparent 43%),linear-gradient(140deg,#16171c,#0d0e12);margin-bottom:22px;overflow:hidden}
.ml-v4-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:#bcbcc5;display:flex;align-items:center;gap:8px}.ml-v4-kicker b{color:#f53a59}.ml-v4-dot{height:4px;width:4px;border-radius:50%;background:#ef1741;margin:0 8px}
.ml-v4-top{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.7fr);gap:24px;align-items:center;margin-top:22px}.ml-v4-top h1{font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:clamp(38px,4.6vw,70px);letter-spacing:-2px;line-height:.98;margin:0 0 18px}.ml-v4-top h1 span{color:#f72c50}.ml-v4-top p{color:#b6b6c0;max-width:560px;font-size:15px;line-height:1.6;margin:0}
.ml-v4-identity{border-left:1px solid #49414a;padding:12px 0 12px 24px;display:flex;flex-direction:column;gap:11px}.ml-v4-identity small,.ml-v4-discovery-title small,.ml-v4-section-head small{font-size:10px;letter-spacing:1.8px;color:#f34a66;font-weight:800}.ml-v4-identity strong{font-size:22px}.ml-v4-identity span{font-size:13px;color:#aeb0b9}.ml-v4-identity button{align-self:flex-start;background:#25212a}
.ml-v4-actionbar{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px;padding-top:20px;border-top:1px solid #3a3038}.ml-v4-actionbar button{padding:12px 17px;font-size:13px}.ml-v4-discovery{margin-bottom:30px}.ml-v4-discovery-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}.ml-v4-discovery-title h2,.ml-v4-section-head h2{font-size:23px;margin:6px 0 0;letter-spacing:-.6px}.ml-v4-discovery-title p{font-size:12px;color:#a7a8b1;margin:0}.ml-v4-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ml-v4-tiles button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:158px;background:#18191f;border:1px solid #32323b;padding:18px;gap:10px}.ml-v4-tiles button:hover{background:#221a22;border-color:#a82a45;transform:translateY(-2px)}.ml-v4-tiles small{font-size:9px;letter-spacing:1.2px;color:#f44b67}.ml-v4-tiles strong{font-size:20px;letter-spacing:-.4px}.ml-v4-tiles span{font-size:12px;line-height:1.45;color:#a9aab5;font-weight:400}.ml-v4-tiles i{font-size:11px;font-style:normal;margin-top:auto;color:#f4b4c0}
.ml-v4-layout{grid-template-columns:minmax(0,1fr) 315px;gap:22px}.ml-v4-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.ml-v4-section-head button{background:#25212a}.ml-v4-layout .ml-tabs{padding-bottom:0!important}.ml-v4-layout .ml-tabs button{font-size:13px;padding:12px 16px}.ml-v4-layout .ml-tools{padding:14px 0 0}.ml-v4-layout .ml-status{margin:10px 0}.ml-v4-layout .ml-post{border-radius:12px;margin-bottom:14px}.ml-v4-layout .ml-post-top{padding:16px}.ml-v4-layout .ml-post-body{line-height:1.55}.ml-v4-layout .ml-panel{margin-bottom:12px}.ml-v4-layout .ml-panel h2{font-family:Arial,sans-serif;font-size:22px;letter-spacing:-.5px;margin:10px 0 16px}.ml-v4-radar{background:linear-gradient(160deg,#24151e,#12141a 75%);border-color:#49313b}.ml-v4-radar p:not(.ml-eyebrow){font-size:12px;line-height:1.6;color:#b7b2bc}.ml-v4-radar small{display:block;margin-top:12px;font-size:10px;line-height:1.5;color:#8f909c}.ml-v4-radar-art{height:140px;position:relative;overflow:hidden;border:1px solid #49303c;border-radius:10px;background:radial-gradient(circle at 50% 50%,transparent 0 18px,#ff33501c 19px 20px,transparent 21px 42px,#ff335019 43px 44px,transparent 45px 70px,#ff335015 71px 72px,transparent 73px),repeating-linear-gradient(30deg,transparent 0 23px,#ffffff08 24px 25px),#12141b}.ml-v4-radar-art span{position:absolute;width:9px;height:9px;background:#ff3b60;border:2px solid #ffb0c0;border-radius:50%;box-shadow:0 0 15px #ff3b6080}.ml-v4-radar-art span:nth-child(1){left:50%;top:49%}.ml-v4-radar-art span:nth-child(2){left:27%;top:25%}.ml-v4-radar-art span:nth-child(3){left:73%;top:68%}.ml-v4-radar-art span:nth-child(4){left:80%;top:20%}
@media(max-width:1080px){.ml-v4-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-v4-layout{grid-template-columns:minmax(0,1fr) 255px}}
@media(max-width:760px){.ml-live{padding:14px 12px}.ml-v4-head{padding:22px 18px}.ml-v4-top{grid-template-columns:1fr;gap:14px}.ml-v4-top h1{font-size:clamp(37px,10vw,54px)}.ml-v4-top p{font-size:13px}.ml-v4-identity{display:none}.ml-v4-actionbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ml-v4-actionbar button{padding:11px 8px}.ml-v4-actionbar button:first-child{grid-column:span 2}.ml-v4-discovery-title{align-items:start}.ml-v4-discovery-title p{display:none}.ml-v4-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ml-v4-tiles button{min-height:145px;padding:14px}.ml-v4-tiles strong{font-size:17px}.ml-v4-layout{grid-template-columns:minmax(0,1fr)}.ml-v4-layout .ml-rail{grid-template-columns:1fr}.ml-v4-radar{order:-1}.ml-v4-section-head h2{font-size:21px}.ml-v4-layout .ml-post-top{padding:12px}.ml-v4-layout .ml-post-body{padding:0 12px}.ml-v4-layout .ml-post-actions{padding:10px}.ml-v4-layout .ml-tabs{overflow-x:auto}}
@media(max-width:370px){.ml-v4-tiles{grid-template-columns:1fr}.ml-v4-tiles button{min-height:115px}}

/* MADHOUSE WORLD V5 — compact production shell; original social data and handlers remain */
.ml-live:has(.mw5-shell){max-width:1600px;padding:16px 20px 36px;--ml-red:#e92642}
.mw5-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.mw5-shell button{transition:background .15s,border-color .15s}
.mw5-side{position:sticky;top:16px;display:flex;flex-direction:column;min-height:680px;max-height:calc(100vh - 30px);padding:14px 10px 14px 0;border-right:1px solid #292b32}
.mw5-side-title{font-size:12px;font-weight:850;letter-spacing:1.2px;padding:14px 13px 22px}.mw5-side-title span{color:#858994;font-size:10px}
.mw5-nav{display:grid;gap:4px}.mw5-shell .mw5-nav button{background:transparent;border:0;border-radius:7px;text-align:left;padding:12px 13px;color:#afb2bc;font-weight:650;font-size:13px}.mw5-shell .mw5-nav button:hover,.mw5-shell .mw5-nav button.is-active{background:#242127;color:white}.mw5-shell .mw5-nav button.is-active{box-shadow:inset 3px 0 #e92642}
.mw5-side-note{margin-top:auto;padding:14px 12px;border-top:1px solid #2d2e35}.mw5-side-note b{font-size:12px}.mw5-side-note p{font-size:11px;line-height:1.6;color:#a3a5ae}.mw5-shell .mw5-side-note button{padding:0;background:none;border:0;color:#e8a4b0;font-size:11px;text-align:left}
.mw5-content{min-width:0}.mw5-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0 20px;border-bottom:1px solid #2e3037}.mw5-kicker,.mw5-header .mw5-kicker{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#ef526a;margin:0 0 8px}.mw5-header h1{font-size:clamp(25px,2.8vw,36px);line-height:1.1;letter-spacing:-1.2px;margin:0 0 6px;font-weight:800}.mw5-red{color:#ed2948}.mw5-header p:not(.mw5-kicker){margin:0;color:#a5a8b3;font-size:12px}.mw5-head-actions{display:flex;gap:8px;flex-shrink:0}.mw5-shell .mw5-head-actions button{padding:10px 13px}.mw5-shell button.mw5-primary{background:#ce1435;border-color:#d92748;color:white}.mw5-shell button.mw5-primary:hover{background:#ed294b}
.mw5-smartbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 12px;padding:14px 17px;border:1px solid #4a2a35;background:linear-gradient(100deg,#271820,#15161b 85%);border-radius:10px}.mw5-smartbar>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mw5-smartbar strong{font-size:13px}.mw5-smartbar small{font-size:11px;color:#b5aab1}.mw5-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef3854;box-shadow:0 0 12px #ed315380;flex-shrink:0}.mw5-shell .mw5-smartbar button{padding:8px 11px;background:#30222a;font-size:11px}
.mw5-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 26px}.mw5-shell .mw5-quick button{min-height:68px;background:#1b1c22;border:1px solid #34343c;border-radius:9px;padding:12px;text-align:left;display:flex;flex-direction:column;gap:5px;align-items:flex-start}.mw5-quick strong{font-size:12px}.mw5-quick span{font-size:10px;color:#999da8;font-weight:450}
.mw5-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:20px;align-items:start}.mw5-feed{min-width:0}.mw5-feed-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:13px}.mw5-feed-heading h2{font-size:22px;letter-spacing:-.7px;margin:0}.mw5-feed-heading .mw5-kicker{margin-bottom:3px}.mw5-shell .mw5-feed-heading button{padding:9px 12px}.mw5-tabs{margin:0}.mw5-tools{padding:12px 0 0!important;align-items:center}.mw5-tools label{flex-direction:row;align-items:center}.mw5-tools select{min-width:145px;padding:8px 12px}.mw5-tools>button{padding:9px 11px}.mw5-feed .ml-status{margin:9px 0;min-height:0}.mw5-feed .ml-post{margin-bottom:12px}.mw5-feed .ml-post-top{padding:13px}.mw5-feed .ml-post-body{padding:0 13px;font-size:14px}.mw5-feed .ml-post-actions{padding:9px 13px}
.mw5-rail{display:grid;gap:12px}.mw5-rail>section{background:#191a20;border:1px solid #33343c;border-radius:11px;padding:17px}.mw5-rail-top{display:flex;align-items:center;justify-content:space-between}.mw5-rail h2{font-size:18px;letter-spacing:-.5px;margin:4px 0 9px}.mw5-rail p{font-size:12px;color:#aeb0bb;line-height:1.55;margin:0 0 12px}.mw5-radar{background:linear-gradient(145deg,#231720,#17191f)!important;border-color:#50303b!important}.mw5-map-preview{position:relative;height:150px;border:1px solid #49303a;border-radius:9px;overflow:hidden;background:radial-gradient(circle at 50% 50%,#3b202b 0,#1b1e26 42%,#11151b 100%);margin:14px 0 12px;display:flex;align-items:end;justify-content:center;padding:12px}.mw5-map-grid{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 29px,#ffffff08 30px 31px),repeating-linear-gradient(90deg,transparent 0 29px,#ffffff08 30px 31px);transform:rotate(-12deg) scale(1.3)}.mw5-map-crosshair{position:absolute;top:50%;left:50%;width:52px;height:52px;transform:translate(-50%,-50%);border:1px solid #f1395355;border-radius:50%;box-shadow:0 0 0 26px #ee35500a}.mw5-map-crosshair:after{content:'';position:absolute;inset:22px;border-radius:50%;background:#f13d58}.mw5-map-preview span{position:relative;z-index:1;font-size:10px;background:#14161edb;border:1px solid #42343c;border-radius:20px;padding:5px 10px;color:#e1c5cb}.mw5-shell .mw5-radar>button{width:100%;padding:11px}.mw5-radar>small{display:block;font-size:10px;line-height:1.5;color:#9c9eaa;margin-top:10px}.mw5-upcoming .ml-ride{margin:0 0 10px}.mw5-shell .mw5-upcoming>button,.mw5-shell .mw5-community>button{width:100%;padding:10px}.mw5-shell .mw5-triplink{width:100%;text-align:center;font-size:11px;background:transparent;border-color:#30333a;color:#c7b8c0}.mw5-mobile-shortcuts{display:none}
@media(max-width:1150px){.mw5-shell{grid-template-columns:155px minmax(0,1fr);gap:15px}.mw5-main-grid{grid-template-columns:minmax(0,1fr) 245px;gap:12px}.mw5-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.ml-live:has(.mw5-shell){padding:12px}.mw5-shell{display:block}.mw5-side{display:none}.mw5-header{padding:9px 0 15px}.mw5-main-grid{grid-template-columns:minmax(0,1fr)}.mw5-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.mw5-radar{grid-column:span 2}.mw5-map-preview{height:190px}.mw5-mobile-shortcuts{display:flex;gap:7px;overflow-x:auto;padding:12px 0 2px;scrollbar-width:none}.mw5-shell .mw5-mobile-shortcuts button{white-space:nowrap;padding:9px 13px;font-size:12px;flex-shrink:0}.mw5-quick{margin-top:12px}}
@media(max-width:520px){.mw5-header{align-items:start}.mw5-header h1{font-size:26px}.mw5-header p:not(.mw5-kicker){max-width:235px}.mw5-head-actions{flex-direction:column}.mw5-shell .mw5-head-actions button{font-size:11px;padding:8px 9px}.mw5-smartbar{align-items:start;flex-direction:column;padding:12px}.mw5-smartbar>div{gap:7px}.mw5-smartbar small{width:100%;padding-left:16px}.mw5-shell .mw5-smartbar button{width:100%}.mw5-quick{gap:7px}.mw5-shell .mw5-quick button{min-height:64px;padding:10px}.mw5-rail{grid-template-columns:1fr}.mw5-radar{grid-column:auto}.mw5-feed-heading h2{font-size:20px}.mw5-shell .mw5-feed-heading button{font-size:11px;padding:8px}.mw5-tools{gap:7px}.mw5-tools select{min-width:120px}}

/* MADHOUSE_WORLD_V6_NATIVE_SECTIONS */
.mw5-shell [hidden],.mw6-module[hidden]{display:none!important}
.mw6-module{min-width:0;padding:10px 0 30px;scroll-margin-top:90px}
.mw6-module-header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #303039;padding:16px 0 18px;margin-bottom:18px}
.mw6-module-header h2{font-size:clamp(23px,3vw,34px);margin:0 0 6px;letter-spacing:-.6px}
.mw6-module-header p:last-child{color:#a7aab3;font-size:13px;margin:0}
.mw6-module-header button{flex-shrink:0;border:1px solid #4a4049;border-radius:8px;background:#272329;color:white;padding:11px 14px}
.mw6-module [data-mw6-slot]{min-height:280px;min-width:0}
.mw6-embedded{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:280px!important;visibility:visible!important;opacity:1!important;transform:none!important;margin:0!important}
.mw6-fallback{border:1px solid #39343d;background:#1b1a20;border-radius:12px;padding:24px}
.mw6-fallback h3{margin:0 0 8px;font-size:18px}.mw6-fallback p{font-size:13px;color:#aeb0bb;line-height:1.6}
.mw6-fallback button{background:#c81c3e;color:white;border:0;border-radius:7px;padding:11px 16px}
@media(max-width:700px){.mw6-module-header{align-items:flex-start;flex-direction:column}.mw6-module-header button{width:100%}.mw6-module{padding:0 0 22px}.mw6-embedded{overflow-x:auto}}

/* MADHOUSE_WORLD_V7: true internal panels */
.ml-live [hidden]{display:none!important}
.ml-live .mw6-module{min-width:0;padding:20px;background:#15151a;border:1px solid #343039;border-radius:14px}
.ml-live .mw7-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0 20px}
.ml-live .mw7-toolbar input,.ml-live .mw7-toolbar select{flex:1;min-width:180px;padding:12px;border:1px solid #51434e;border-radius:9px;background:#242129;color:white}
.ml-live .mw7-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.ml-live .mw7-card{padding:16px;border:1px solid #453a45;background:#211e25;border-radius:12px;min-width:0}
.ml-live .mw7-card h3{font-size:1rem;margin:0 0 8px;color:#fff}
.ml-live .mw7-card p{font-size:.88rem;color:#c7c0ca;margin:0 0 12px;overflow-wrap:anywhere}
.ml-live .mw7-muted{color:#b8b0bb;font-size:.92rem}.ml-live .mw7-error{color:#ff7d93}
.ml-live .mw7-accent{background:#bd0d37!important;color:white!important;border-radius:8px;padding:9px 14px}
.ml-live .mw7-thread{display:grid;gap:12px}.ml-live .mw7-reply{display:flex;gap:10px;align-items:end}.ml-live .mw7-reply textarea{flex:1;min-height:50px;max-height:140px;background:#201d25;color:white;border:1px solid #51434e;border-radius:8px;padding:12px}
@media(max-width:700px){.ml-live .mw6-module{padding:12px}.ml-live .mw7-list{grid-template-columns:1fr}.ml-live .mw7-reply{gap:6px}}

/* MADHOUSE WORLD V8 — meaningful native section layouts */
.ml-live .mw6-module{min-height:460px;padding:20px!important;background:#141418!important;border:1px solid #363139;border-radius:14px}
.ml-live .mw8-section-lead{margin-bottom:14px}.ml-live .mw8-section-lead h3{font-size:1.3rem;margin:0 0 4px}.ml-live .mw8-section-lead p{color:#b8b4bf;margin:0}
.ml-live .mw8-empty{padding:24px;border:1px dashed #50404a;border-radius:12px;background:#1c1b21;margin-top:12px}.ml-live .mw8-empty h3{font-size:1.1rem;margin:0 0 7px}.ml-live .mw8-empty p{color:#bbb4c0;line-height:1.55}
.ml-live .mw8-radar-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.ml-live .mw8-radar-tools input,.ml-live .mw8-radar-tools select{min-width:180px;flex:1;padding:12px;background:#232027;color:white;border:1px solid #54434d;border-radius:9px}
.ml-live .mw8-map{height:clamp(320px,52vh,640px);background:#121a1e;border-radius:12px;overflow:hidden;border:1px solid #393c40;position:relative;z-index:0}.ml-live .mw8-map iframe{width:100%;height:100%;border:0}.ml-live .mw8-map .leaflet-container{z-index:0}.ml-live .mw8-radar-status{font-size:.82rem;color:#b8b4bf;margin:12px 0}.ml-live .mw8-radar-results{margin-top:12px}
.ml-live .mw8-inbox{display:grid;grid-template-columns:minmax(220px,34%) minmax(0,1fr);height:min(65vh,690px);min-height:460px;border:1px solid #38323c;border-radius:12px;overflow:hidden;background:#101014}.ml-live .mw8-inbox-list{overflow:auto;border-right:1px solid #39343c;padding:12px}.ml-live .mw8-inbox-list input{width:100%;box-sizing:border-box;padding:12px;background:#242129;color:#fff;border:1px solid #4c414c;border-radius:9px;margin-bottom:12px}.ml-live .mw8-thread-item{display:block;width:100%;text-align:left;padding:13px 11px;margin:0 0 5px;border-radius:9px;border:1px solid transparent;background:transparent;color:white}.ml-live .mw8-thread-item:hover,.ml-live .mw8-thread-item.is-active{background:#30202a;border-color:#854254}.ml-live .mw8-thread-item strong,.ml-live .mw8-thread-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-live .mw8-thread-item span{color:#aaa5b0;font-size:.8rem;margin-top:5px}.ml-live .mw8-inbox-thread{display:flex;flex-direction:column;min-width:0;min-height:0;padding:12px}.ml-live .mw8-thread-header{padding:8px 10px 14px;border-bottom:1px solid #39343c}.ml-live .mw8-thread-header h3{margin:0}.ml-live .mw8-history{flex:1;overflow-y:auto;padding:14px 8px;min-height:0}.ml-live .mw8-bubble{width:fit-content;max-width:85%;padding:11px 15px;border:1px solid #483d48;background:#27222b;border-radius:14px;margin:0 0 10px}.ml-live .mw8-bubble small{color:#f17492}.ml-live .mw8-bubble p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.ml-live .mw8-message-form{display:flex;gap:8px;padding-top:10px;border-top:1px solid #39343c}.ml-live .mw8-message-form textarea{flex:1;min-width:0;min-height:44px;max-height:110px;resize:vertical;background:#242129;border:1px solid #55434e;border-radius:9px;padding:12px;color:#fff;box-sizing:border-box}.ml-live .mw8-message-form button{min-height:44px}.ml-live .mw8-mobile-back{display:none}
.ml-live .mw8-vehicle-grid,.ml-live .mw8-club-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.ml-live .mw8-vehicle,.ml-live .mw8-club-card{overflow:hidden;border:1px solid #453a45;border-radius:13px;background:#201d25}.ml-live .mw8-vehicle-media{height:170px;background:linear-gradient(135deg,#29232c,#111114);display:flex;align-items:center;justify-content:center;color:#79717d;letter-spacing:.2em;font-size:.8rem}.ml-live .mw8-vehicle-media img{width:100%;height:100%;object-fit:cover}.ml-live .mw8-vehicle-body,.ml-live .mw8-club-card{padding:18px}.ml-live .mw8-vehicle h3,.ml-live .mw8-club-card h3{margin:0 0 14px}.ml-live .mw8-specs{display:flex;gap:14px;flex-wrap:wrap}.ml-live .mw8-specs small,.ml-live .mw8-specs strong{display:block}.ml-live .mw8-specs small,.ml-live .mw8-club-card small{color:#f14c75}.ml-live .mw8-club-card p{color:#c1b9c5}.ml-live .mw8-club-detail{padding:12px;background:#17151a;border-radius:8px;margin-top:10px}.ml-live .mw8-person-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #3a333d}.ml-live .mw8-person-row small{display:block;color:#aaa4af;margin-top:5px}
@media(max-width:740px){.ml-live .mw6-module{padding:10px!important;min-height:350px}.ml-live .mw8-map{height:60vh;min-height:330px}.ml-live .mw8-inbox{grid-template-columns:1fr;height:min(72vh,700px)}.ml-live .mw8-inbox-thread{display:none}.ml-live .mw8-inbox.is-thread-open .mw8-inbox-list{display:none}.ml-live .mw8-inbox.is-thread-open .mw8-inbox-thread{display:flex}.ml-live .mw8-mobile-back{display:inline-flex;margin-bottom:8px}.ml-live .mw8-inbox-list{border-right:0}.ml-live .mw8-radar-tools{gap:6px}.ml-live .mw8-radar-tools input,.ml-live .mw8-radar-tools select{min-width:120px}}

/* MADHOUSE WORLD V9: referral dialog */
.mw9-invite-dialog{background:#17171d;color:#fff;border:1px solid #53404a;border-radius:14px;padding:24px;width:min(480px,calc(100vw - 28px));box-shadow:0 22px 90px #000a}
.mw9-invite-dialog::backdrop{background:#000b}
.mw9-invite-dialog input{width:100%;box-sizing:border-box;margin:12px 0;padding:12px;background:#25232a;border:1px solid #665763;color:white;border-radius:8px}
.mw9-invite-dialog button{margin:5px 6px 0 0;padding:10px 15px;border-radius:8px;background:#322831;color:white;border:1px solid #665763;cursor:pointer}
.mw9-invite-dialog button:disabled{opacity:.45}

/* MADHOUSE_RADAR_V10 */
.ml-live .mw10-search{display:flex;gap:9px;margin:16px 0 8px}.ml-live .mw10-search input{flex:1;min-width:0;padding:12px 14px;background:#1e1d23;color:#fff;border:1px solid #5b505c;border-radius:9px}.ml-live .mw10-search button,.ml-live .mw10-plan-actions button{white-space:nowrap}.ml-live .mw10-search-status{font-size:.84rem;color:#bbb4bf}.ml-live .mw10-places{display:grid;gap:5px;margin-bottom:10px}.ml-live .mw10-places button{text-align:left;white-space:normal;font-size:.84rem}.ml-live .mw10-planner,.ml-live .mw10-discovery{border:1px solid #40343e;background:#19181e;border-radius:12px;padding:16px;margin-top:12px}.ml-live .mw10-plan-heading{display:flex;gap:12px;flex-wrap:wrap;align-items:baseline}.ml-live .mw10-plan-heading span,.ml-live .mw10-discovery p,.ml-live .mw10-summary{color:#bdb8c2;font-size:.84rem}.ml-live .mw10-plan-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ml-live .mw10-waypoints{margin:6px 0;padding-left:24px;font-size:.85rem;max-height:160px;overflow:auto}.ml-live .mw10-discovery button{margin-top:8px}.ml-live .mw8-map{height:clamp(390px,62vh,750px)}@media(max-width:740px){.ml-live .mw10-search{flex-direction:column}.ml-live .mw10-plan-actions button{flex:1}.ml-live .mw8-map{height:57vh;min-height:350px}}
