:root{--bg:#050505;--panel:#0c0d0f;--panel2:#111216;--line:#22242a;--text:#f4f4f4;--muted:#8f939b;--accent:#fff;--danger:#ff4d55;--live:#ff2e38}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{margin:0;min-height:100%;font-family:"Segoe UI Variable Text","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}body{overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}

/* HOME / URBAN SCREEN */
.home{background:#050505;color:#f4f4f4}.home::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 78% 24%,rgba(255,255,255,.055),transparent 24%),radial-gradient(circle at 20% 82%,rgba(255,255,255,.03),transparent 22%);z-index:0}.ambient-grid{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.28;background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.75) 45%,transparent 92%)}
.home-nav{height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 clamp(22px,4vw,68px);border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:10;background:rgba(5,5,5,.72);backdrop-filter:blur(16px)}.urban-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:#fff;width:max-content}.urban-mark{width:38px;height:38px;border:1px solid #fff;border-radius:11px;display:grid;place-items:center;font-weight:900;font-size:18px;transform:rotate(-7deg);box-shadow:inset 0 0 0 5px #0b0b0b}.urban-wordmark{display:flex;flex-direction:column;line-height:1}.urban-wordmark b{font-size:13px;letter-spacing:.18em}.urban-wordmark small{font-size:9px;letter-spacing:.36em;color:#777;margin-top:5px}.home-links{display:flex;gap:8px;padding:4px;border:1px solid #1d1d1d;border-radius:999px;background:#090909}.home-links a{color:#707070;text-decoration:none;font-size:12px;font-weight:700;padding:9px 14px;border-radius:999px;transition:.2s}.home-links a:hover,.home-links a.active{background:#f2f2f2;color:#090909}.nav-status{justify-self:end;font-size:10px;font-weight:800;letter-spacing:.13em;color:#777;display:flex;align-items:center;gap:8px}.nav-status span{width:7px;height:7px;border-radius:50%;background:#e9e9e9;box-shadow:0 0 14px rgba(255,255,255,.7)}
.urban-hero{position:relative;z-index:2;min-height:calc(100vh - 76px);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:clamp(48px,7vw,110px);align-items:center;padding:clamp(56px,7vw,110px) clamp(24px,8vw,130px) 80px;max-width:1680px;margin:auto}.hero-copy{max-width:760px}.eyebrow{display:flex;align-items:center;gap:11px;color:#8d8d8d;font-size:10px;font-weight:800;letter-spacing:.2em}.eyebrow span{width:42px;height:1px;background:#fff}.hero-copy h1{font-size:clamp(58px,7.2vw,116px);line-height:.83;letter-spacing:-.065em;margin:28px 0 30px;text-transform:uppercase}.hero-copy h1 em{font-style:normal;color:transparent;-webkit-text-stroke:1px #737373;text-stroke:1px #737373}.hero-lead{max-width:640px;color:#828282;font-size:clamp(15px,1.2vw,18px);line-height:1.75;margin:0 0 42px}.hero-points{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#1a1a1a;border:1px solid #1a1a1a}.hero-points article{background:#080808;min-height:118px;padding:19px;display:flex;gap:15px;transition:background .25s,transform .25s}.hero-points article:hover{background:#101010;transform:translateY(-3px)}.hero-points article>span{font-size:9px;letter-spacing:.1em;color:#4e4e4e;margin-top:2px}.hero-points strong{display:block;font-size:12px;margin-bottom:7px}.hero-points small{color:#696969;line-height:1.45;font-size:11px}
.launch-area{position:relative;display:grid;place-items:center;min-height:570px}.launch-area::before{content:"";position:absolute;width:540px;height:540px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.045),transparent 65%);filter:blur(2px)}.orbit{position:absolute;border:1px solid rgba(255,255,255,.07);border-radius:50%;pointer-events:none}.orbit::after{content:"";position:absolute;width:7px;height:7px;background:#fff;border-radius:50%;box-shadow:0 0 18px rgba(255,255,255,.75)}.orbit-a{width:540px;height:540px;animation:orbitSpin 26s linear infinite}.orbit-a::after{left:45px;top:92px}.orbit-b{width:430px;height:430px;border-style:dashed;opacity:.55;animation:orbitSpin 19s linear infinite reverse}.orbit-b::after{right:42px;bottom:76px;width:5px;height:5px}@keyframes orbitSpin{to{transform:rotate(360deg)}}
.launch-card{position:relative;z-index:2;width:min(100%,470px);background:linear-gradient(145deg,rgba(17,17,17,.96),rgba(8,8,8,.98));border:1px solid #282828;border-radius:28px;padding:30px;box-shadow:0 35px 100px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.03);overflow:hidden}.launch-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0 44%,rgba(255,255,255,.025) 50%,transparent 56%);transform:translateX(-100%);animation:cardSheen 7s ease-in-out infinite}@keyframes cardSheen{0%,70%{transform:translateX(-110%)}100%{transform:translateX(110%)}}.card-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px}.micro-label{font-size:9px;font-weight:800;letter-spacing:.22em;color:#666}.card-head h2{font-size:28px;letter-spacing:-.04em;margin:6px 0 0}.secure-pill{font-size:9px;letter-spacing:.1em;color:#969696;border:1px solid #2b2b2b;border-radius:999px;padding:8px 10px;display:flex;align-items:center;gap:7px}.secure-pill i,.card-foot i{width:6px;height:6px;border-radius:50%;background:#fff;display:inline-block}.field-block{margin-bottom:13px}.field-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.field-label label,.field-label span{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#666;font-weight:800}.field-shell{height:50px;display:flex;align-items:center;border:1px solid #2a2a2a;background:#0a0a0a;border-radius:13px;transition:.2s}.field-shell:focus-within{border-color:#626262;box-shadow:0 0 0 3px rgba(255,255,255,.035)}.field-icon{width:44px;text-align:center;color:#555;font-size:14px}.field-shell input{min-width:0;flex:1;height:100%;border:0;outline:0;color:#fff;background:transparent;padding:0 15px 0 0}.field-shell input::placeholder{color:#3f3f3f}.launch-button{width:100%;height:50px;margin-top:3px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 19px;border-radius:13px!important}.launch-button b{font-size:20px;font-weight:400}.split-label{display:flex;align-items:center;gap:12px;margin:24px 0 14px}.split-label::before,.split-label::after{content:"";height:1px;background:#202020;flex:1}.split-label span{font-size:8px;letter-spacing:.16em;color:#4f4f4f}.join-grid{display:grid;grid-template-columns:1fr 112px;gap:9px}.room-field input{text-transform:uppercase;letter-spacing:.14em}.join-button{border-radius:13px!important;background:#171717!important}.card-foot{border-top:1px solid #1c1c1c;margin-top:24px;padding-top:16px;display:flex;justify-content:space-between;color:#555;font-size:9px;letter-spacing:.08em;text-transform:uppercase}.card-foot span:first-child{display:flex;align-items:center;gap:7px}.error{color:#ff7a82!important;margin:12px 0 0!important;font-size:12px!important;min-height:17px}
.primary,.secondary,.control,.chat-form button,.icon-btn,.participant button{border:0;border-radius:12px;padding:13px 16px;font-weight:800}.primary{background:#fff;color:#050505}.secondary{background:#1a1c21;color:#fff;border:1px solid #2c3037}
.privacy-strip{position:relative;z-index:2;border-top:1px solid #171717;background:#070707;padding:90px clamp(24px,8vw,130px) 100px;display:grid;grid-template-columns:.7fr 1.3fr;gap:clamp(55px,8vw,120px);max-width:1680px;margin:auto}.privacy-intro h2{font-size:clamp(36px,4vw,62px);line-height:.98;letter-spacing:-.055em;margin:15px 0}.privacy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#1b1b1b;border:1px solid #1b1b1b}.privacy-grid article{background:#0a0a0a;padding:28px;min-height:220px;transition:.25s}.privacy-grid article:hover{background:#101010}.privacy-grid article>span{font-size:9px;color:#555;letter-spacing:.14em}.privacy-grid h3{margin:50px 0 10px;font-size:15px}.privacy-grid p{margin:0;color:#6d6d6d;line-height:1.6;font-size:12px}.home-footer{position:relative;z-index:2;display:flex;justify-content:space-between;padding:25px clamp(24px,8vw,130px);border-top:1px solid #161616;color:#464646;font-size:9px;letter-spacing:.14em}

/* CURSOR FX */
.cursor-dot,.cursor-ring,.cursor-light{display:none}.pointer-fx body,.pointer-fx a,.pointer-fx button,.pointer-fx input{cursor:none!important}.pointer-fx .cursor-dot,.pointer-fx .cursor-ring,.pointer-fx .cursor-light{display:block;position:fixed;pointer-events:none;z-index:9999}.cursor-dot{width:5px;height:5px;background:#fff;border-radius:50%;left:-2.5px;top:-2.5px;box-shadow:0 0 12px rgba(255,255,255,.9);will-change:transform}.cursor-ring{width:32px;height:32px;border:1px solid rgba(255,255,255,.45);border-radius:50%;left:-16px;top:-16px;transition:width .18s,height .18s,left .18s,top .18s,border-color .18s,background .18s;will-change:transform}.cursor-light{inset:0;background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.045),transparent 68%);z-index:1}.cursor-hover .cursor-ring{width:48px;height:48px;left:-24px;top:-24px;border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.035)}.cursor-down .cursor-ring{width:24px;height:24px;left:-12px;top:-12px}.cursor-ripple{position:fixed;z-index:9998;width:14px;height:14px;margin:-7px 0 0 -7px;border:1px solid rgba(255,255,255,.8);border-radius:50%;pointer-events:none;animation:cursorRipple .65s ease-out forwards}@keyframes cursorRipple{to{width:74px;height:74px;margin:-37px 0 0 -37px;opacity:0;border-color:rgba(255,255,255,0)}}

@media(max-width:1050px){.home-nav{grid-template-columns:1fr auto}.home-links{display:none}.urban-hero{grid-template-columns:1fr;padding-top:70px}.hero-copy{max-width:none}.launch-area{min-height:520px}.privacy-strip{grid-template-columns:1fr}.hero-points{max-width:760px}.privacy-grid{max-width:900px}.nav-status{justify-self:end}}
@media(max-width:700px){.home-nav{height:68px;padding:0 18px}.urban-wordmark{display:none}.nav-status{font-size:8px}.urban-hero{padding:52px 18px 60px;gap:25px}.hero-copy h1{font-size:clamp(48px,16vw,78px)}.hero-lead{font-size:14px}.hero-points{grid-template-columns:1fr}.launch-area{min-height:auto;padding:34px 0}.orbit{display:none}.launch-card{padding:22px;border-radius:22px}.join-grid{grid-template-columns:1fr 100px}.privacy-strip{padding:65px 18px 75px}.privacy-grid{grid-template-columns:1fr}.privacy-grid article{min-height:160px}.privacy-grid h3{margin-top:28px}.home-footer{padding:22px 18px;gap:20px;flex-direction:column}.pointer-fx .cursor-dot,.pointer-fx .cursor-ring,.pointer-fx .cursor-light{display:none!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.orbit,.launch-card::after{animation:none!important}}

.topbar{height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#08090b;position:sticky;top:0;z-index:5}.topbar .brand{justify-content:flex-start}.room-meta{display:flex;align-items:center;gap:12px;color:#9ba0a8;font-size:12px}.live{background:var(--live);color:white;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.1em}.icon-btn{background:#14161a;color:#fff;border:1px solid #272a30;padding:8px 11px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:calc(100vh - 66px)}.stage-wrap{padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}.stage{position:relative;background:#020202;border:1px solid #1e2024;border-radius:18px;overflow:hidden;min-height:0;flex:1;display:grid;place-items:center}.stage video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.stage #remoteVideo:not([srcObject]){display:none}.empty-state{text-align:center;color:#7f848d;padding:30px}.empty-state h2{color:#d9dce1;margin:18px 0 8px}.screen-icon{width:76px;height:48px;border:2px solid #3a3d43;border-radius:8px;margin:auto;position:relative}.screen-icon:after{content:"";position:absolute;width:28px;height:2px;background:#3a3d43;left:22px;bottom:-10px;box-shadow:0 7px 0 -0.5px #3a3d43}.controls{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.control{background:#14161a;color:#d8dbe0;border:1px solid #292c32}.primary-control{background:#f3f3f3;color:#080808}.danger{color:#ff7980}.sidebar{border-left:1px solid var(--line);background:#0a0b0d;display:flex;flex-direction:column;min-height:0}.sidebar section{padding:18px}.sidebar section+section{border-top:1px solid var(--line)}.section-title{display:flex;justify-content:space-between;font-size:12px;text-transform:uppercase;letter-spacing:.11em;color:#8e939d;font-weight:800;margin-bottom:14px}.participants{display:flex;flex-direction:column;gap:8px}.participant{display:flex;align-items:center;justify-content:space-between;background:#111318;border:1px solid #1f2228;border-radius:12px;padding:10px 11px}.participant strong{display:block;font-size:13px}.participant small{color:#717780;font-size:11px}.participant button{font-size:10px;padding:7px 8px;background:#241417;color:#ff8a90}.chat-section{flex:1;display:flex;min-height:0;flex-direction:column}.messages{flex:1;min-height:180px;overflow:auto;padding-right:4px}.message{margin-bottom:14px}.message>div{display:flex;justify-content:space-between;gap:12px}.message strong{font-size:12px}.message span{font-size:10px;color:#666b74}.message p{margin:4px 0 0;color:#b4b8bf;font-size:13px;line-height:1.45}.chat-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.chat-form button{background:#fff;color:#050505}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;background:#fff;color:#050505;padding:10px 14px;border-radius:10px;font-weight:800;font-size:12px;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{border-left:0;border-top:1px solid var(--line)}.stage{min-height:52vh}.shell{padding:20px}.join-row{grid-template-columns:1fr}.topbar{padding:0 12px}.room-meta #roomCode{display:none}}


/* V2.1 — responsive/zoom-safe composition + cursor-reactive background */
.home{min-width:280px}
.ambient-network{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.72}
.cursor-parallax{position:fixed;z-index:0;pointer-events:none;border:1px solid rgba(255,255,255,.06);will-change:transform;transition:opacity .25s ease}
.parallax-a{width:min(34vw,650px);height:min(34vw,650px);border-radius:50%;right:-8vw;top:18vh;box-shadow:inset 0 0 90px rgba(255,255,255,.015)}
.parallax-b{width:min(24vw,460px);height:min(24vw,460px);left:-7vw;bottom:5vh;transform:rotate(35deg);border-radius:28%;opacity:.55}

.home-nav{height:clamp(68px,5vw,84px);padding-inline:clamp(18px,4.5vw,92px)}
.urban-hero{
  width:100%;max-width:2100px;
  min-height:calc(100svh - clamp(68px,5vw,84px));
  grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);
  gap:clamp(36px,6vw,140px);
  padding:clamp(48px,6vh,110px) clamp(22px,6.3vw,150px) clamp(58px,7vh,110px);
}
.hero-copy{max-width:980px}
.hero-copy h1{font-size:clamp(58px,6.25vw,148px);line-height:.88;letter-spacing:-.062em;margin:clamp(24px,2.2vw,38px) 0 clamp(26px,2.6vw,42px);text-transform:none}
.hero-copy h1>span{display:block;text-transform:uppercase;white-space:nowrap}
.hero-copy h1 .outline-line{color:transparent;-webkit-text-stroke:1px #727272;text-stroke:1px #727272;line-height:.98;padding-top:.075em;margin-top:-.045em}
.hero-lead{max-width:760px;font-size:clamp(14px,1.02vw,20px);line-height:1.72}
.hero-points{max-width:900px}
.hero-points article{min-height:clamp(104px,7vw,132px);padding:clamp(16px,1.4vw,24px)}
.launch-area{min-height:clamp(500px,42vw,690px)}
.launch-card{width:min(100%,540px);padding:clamp(24px,2vw,36px)}
.orbit-a{width:min(42vw,650px);height:min(42vw,650px)}
.orbit-b{width:min(34vw,520px);height:min(34vw,520px)}
.privacy-strip{padding-inline:clamp(22px,6.3vw,150px)}
.home-footer{padding-inline:clamp(22px,6.3vw,150px)}

@media (min-width:1900px){
  .urban-hero{max-width:none;grid-template-columns:minmax(0,1.18fr) minmax(480px,.82fr)}
  .hero-copy{max-width:1120px}
  .launch-card{width:min(100%,590px)}
  .hero-points{max-width:980px}
}
@media (min-width:2400px){
  .urban-hero{padding-inline:7.5vw;gap:7vw}
  .hero-copy h1{font-size:clamp(118px,5.5vw,176px)}
  .hero-lead{font-size:20px;max-width:850px}
  .launch-card{width:630px;max-width:100%}
}
@media (max-width:1180px){
  .urban-hero{grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);gap:38px;padding-inline:clamp(22px,4vw,54px)}
  .hero-copy h1{font-size:clamp(56px,7vw,92px)}
}
@media (max-width:980px){
  .urban-hero{grid-template-columns:1fr;min-height:auto;padding-top:58px}
  .hero-copy{max-width:820px}
  .hero-copy h1{font-size:clamp(58px,10.5vw,104px)}
  .launch-area{min-height:540px}
  .launch-card{width:min(100%,560px)}
  .orbit-a{width:min(72vw,620px);height:min(72vw,620px)}
  .orbit-b{width:min(58vw,500px);height:min(58vw,500px)}
}
@media (max-width:700px){
  .hero-copy h1{font-size:clamp(44px,15vw,76px);line-height:.9}
  .hero-copy h1>span{white-space:normal}
  .hero-copy h1 .outline-line{padding-top:.09em}
  .ambient-grid{background-size:34px 34px}
  .cursor-parallax{display:none}
}
@media (max-width:420px){
  .urban-hero{padding-inline:14px}
  .home-nav{padding-inline:14px}
  .launch-card{padding:18px 16px;border-radius:20px}
  .join-grid{grid-template-columns:1fr}
  .join-button{min-height:44px}
  .hero-points article{padding:15px}
}
@media (max-height:740px) and (min-width:981px){
  .urban-hero{padding-top:34px;padding-bottom:38px}
  .hero-copy h1{font-size:clamp(54px,5.4vw,112px);margin-top:20px;margin-bottom:22px}
  .hero-lead{margin-bottom:26px}
  .launch-area{min-height:470px}
}


/* V2.2 — Urban brand refinements */
.urban-mark{
  position:relative;overflow:hidden;background:#090909;
  border-color:rgba(255,255,255,.88);box-shadow:inset 0 0 0 4px #070707,0 8px 28px rgba(0,0,0,.25)
}
.urban-mark::before{
  content:"";position:absolute;width:16px;height:18px;border:2px solid #fff;border-top:0;
  border-radius:0 0 7px 7px;top:8px;left:9px;transform:skewX(-6deg);opacity:.95
}
.urban-mark{font-size:0}
.urban-wordmark small{font-size:7px;letter-spacing:.22em;white-space:nowrap;max-width:140px;color:#777}
.launch-button .button-arrow{width:13px;height:13px;display:block;position:relative;flex:0 0 13px}
.launch-button .button-arrow::before{content:"";position:absolute;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;right:0;top:0}
.launch-button .button-arrow::after{content:"";position:absolute;width:11px;height:1.5px;background:currentColor;right:0;top:6px;transform:rotate(-45deg);transform-origin:right center}
@media(max-width:700px){.urban-wordmark{display:flex}.urban-wordmark small{font-size:6px;letter-spacing:.16em;max-width:110px}}
@media(max-width:420px){.urban-wordmark small{display:none}}

/* V2.3 — logo oficial + navegação enxuta + rodapé corporativo */
.urban-logo{height:46px;display:flex;align-items:center}
.urban-logo-image{display:block;width:auto;height:36px;max-width:min(220px,22vw);object-fit:contain;filter:none;opacity:1}
.home-links{gap:6px}
.home-footer{position:relative;z-index:3;margin-top:0;padding:0 clamp(22px,4vw,68px);border-top:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,rgba(8,8,8,.82),rgba(3,3,3,.98));backdrop-filter:blur(16px);display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;min-height:96px}
.footer-brand{display:flex;align-items:center;gap:14px;min-width:0}
.footer-brand img{width:54px;height:38px;object-fit:contain;filter:none;opacity:1}
.footer-brand div{display:flex;flex-direction:column;gap:4px;min-width:0}
.footer-brand strong{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#e9e9e9;white-space:nowrap}
.footer-brand small{font-size:10px;color:#666;letter-spacing:.04em;white-space:nowrap}
.footer-meta{display:flex;align-items:center;gap:12px;font-size:10px;color:#707070;white-space:nowrap}
.footer-meta a{color:#9a9a9a;text-decoration:none;transition:color .2s}.footer-meta a:hover{color:#fff}
.age-badge{display:inline-grid;place-items:center;min-width:32px;height:24px;padding:0 8px;border:1px solid rgba(255,255,255,.24);border-radius:7px;color:#fff;font-weight:850;letter-spacing:.08em;background:#0d0d0d}
.age-copy{color:#858585}
.footer-status{display:inline-flex;align-items:center;gap:7px}.footer-status i{width:6px;height:6px;border-radius:50%;background:#dcdcdc;box-shadow:0 0 10px rgba(255,255,255,.35)}
.footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.055);padding:12px 0 14px;color:#4f4f4f;font-size:9px;letter-spacing:.07em;text-transform:uppercase}
@media(max-width:860px){.home-footer{grid-template-columns:1fr;padding-top:20px}.footer-meta{flex-wrap:wrap;justify-content:flex-start}.footer-bottom{gap:14px;flex-wrap:wrap}.urban-logo-image{height:32px;max-width:180px}}
@media(max-width:520px){.footer-brand small{white-space:normal}.age-copy{white-space:normal;max-width:210px}.footer-meta{white-space:normal}.footer-bottom{font-size:8px}.urban-logo-image{height:29px;max-width:150px}}


/* V2.4 — acabamento editorial / tipografia / avisos legais */
body{font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.hero-copy h1{font-weight:760;letter-spacing:-.052em;line-height:.88;text-wrap:balance}.hero-copy h1 span{display:block}.outline-line{-webkit-text-stroke:1px rgba(255,255,255,.42);color:transparent}
.hero-lead{font-weight:420;letter-spacing:-.012em;color:#a0a0a0;max-width:680px}.eyebrow,.micro-label{letter-spacing:.16em;color:#949494}
.home-links a{font-weight:650}.nav-status{text-transform:none;letter-spacing:.04em;font-weight:600;color:#8b8b8b}
.launch-card h2{font-size:clamp(25px,2vw,34px);letter-spacing:-.035em;font-weight:720}.field-label label{font-weight:650}.launch-button,.join-button{font-weight:700;letter-spacing:-.01em}
.hero-points strong,.privacy-grid h3{font-weight:680;letter-spacing:-.01em}.hero-points small,.privacy-grid p{font-size:clamp(11px,.78vw,13px);line-height:1.58}
.age-notice{margin:15px 2px 0;color:#777;font-size:10.5px;line-height:1.55}.age-notice strong{color:#bdbdbd;font-weight:650}
.home-footer{row-gap:17px}.footer-legal{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.055);padding-top:15px}.footer-legal p{margin:0;max-width:1180px;color:#5f5f5f;font-size:9.5px;line-height:1.65;letter-spacing:.01em}.footer-legal strong{color:#858585;font-weight:650}.footer-brand strong{font-weight:650;letter-spacing:.07em}.footer-bottom{text-transform:none;letter-spacing:.025em;color:#555}
.room-brand{display:flex;align-items:center;gap:10px;text-transform:none;letter-spacing:.02em}.room-brand img{width:66px;height:34px;object-fit:contain}.room-brand span{font-weight:700;letter-spacing:-.01em}.room-age-note{position:fixed;left:50%;bottom:11px;z-index:15;transform:translateX(-50%);margin:0;padding:6px 10px;border-radius:7px;background:rgba(8,8,8,.78);border:1px solid rgba(255,255,255,.06);backdrop-filter:blur(8px);color:#666;font-size:9px;line-height:1.35;text-align:center;max-width:min(760px,calc(100vw - 24px));pointer-events:none}
@media(max-width:860px){.footer-legal p{font-size:9px}.room-age-note{font-size:8px}.nav-status{display:none}}
@media(max-width:520px){.hero-copy h1{letter-spacing:-.04em}.hero-lead{font-size:14px;line-height:1.65}.age-notice{font-size:9.5px}.footer-legal p{font-size:8.6px;line-height:1.6}.room-brand img{width:50px}}


/* V2.5 — correção de zoom 67–80% e título original */
.hero-copy{min-width:0;overflow:visible}
.hero-copy h1{
  width:min(100%, 980px);
  max-width:100%;
  font-size:clamp(56px,5.45vw,136px);
  line-height:.9;
  letter-spacing:-.055em;
  overflow:visible;
}
.hero-copy h1>span{white-space:nowrap;max-width:100%}
.hero-copy h1 .outline-line{padding-top:.06em;margin-top:-.02em}
.urban-hero{grid-template-columns:minmax(0,1.08fr) minmax(430px,.78fr);gap:clamp(34px,4.2vw,92px)}
.launch-area{min-width:0}
.launch-card{max-width:100%}

/* 1920px físico em zoom 80/75/67% gera viewports CSS bem largos.
   Nestes intervalos o título não cresce junto com a viewport indefinidamente. */
@media (min-width:1800px) and (max-width:3199px){
  .urban-hero{grid-template-columns:minmax(0,1.1fr) minmax(460px,.72fr);gap:clamp(44px,4vw,86px);padding-inline:clamp(56px,5.2vw,124px)}
  .hero-copy{max-width:940px}
  .hero-copy h1{font-size:clamp(92px,4.75vw,128px);width:min(100%,900px)}
  .hero-lead{max-width:680px}
  .launch-card{width:min(100%,560px)}
  .launch-area{min-height:clamp(500px,34vw,650px)}
}

/* Zooms muito baixos (25–50%): mantém a composição centralizada e legível. */
@media (min-width:3200px){
  .urban-hero{max-width:2500px;grid-template-columns:minmax(0,1.06fr) minmax(520px,.72fr);gap:clamp(72px,4vw,132px);padding-inline:clamp(100px,5vw,180px)}
  .hero-copy{max-width:1080px}
  .hero-copy h1{font-size:clamp(118px,3.8vw,154px);width:min(100%,980px)}
  .hero-lead{font-size:19px;max-width:760px}
  .hero-points{max-width:940px}
  .launch-card{width:min(100%,620px)}
  .launch-area{min-height:620px}
}

@media (max-width:1180px){
  .urban-hero{grid-template-columns:minmax(0,1fr) minmax(360px,.78fr)}
  .hero-copy h1{font-size:clamp(56px,7vw,92px);width:100%}
}
@media (max-width:980px){
  .urban-hero{grid-template-columns:1fr}
  .hero-copy h1{font-size:clamp(58px,10.5vw,104px);width:100%}
}
@media (max-width:700px){
  .hero-copy h1{font-size:clamp(44px,15vw,76px);line-height:.92}
  .hero-copy h1>span{white-space:normal}
}


/* V2.6 — comunidade, ecossistema Urban e estabilidade entre resoluções */
.home-nav{grid-template-columns:1fr auto 1fr;overflow:visible}
.community-button{justify-self:end;display:inline-flex;align-items:center;gap:9px;min-height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.055);color:#f0f0f0;text-decoration:none;font-size:11px;font-weight:680;letter-spacing:-.01em;transition:background .2s,border-color .2s,transform .2s}
.community-button:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28);transform:translateY(-1px)}
.discord-mark{width:18px;height:18px;display:block;color:#fff;flex:0 0 auto}

/* Evita cortes/linhas diagonais e colisões entre seções em zooms intermediários. */
main{position:relative;z-index:2;isolation:isolate}
.urban-hero,.privacy-strip,.urban-more{position:relative;overflow:hidden;isolation:isolate}
.urban-hero{min-height:max(720px,calc(100vh - 76px));padding-bottom:clamp(72px,6vw,110px)}
.privacy-strip{margin-top:0;border-top:1px solid rgba(255,255,255,.085);max-width:none;width:100%;padding-inline:max(clamp(24px,8vw,130px),calc((100vw - 1680px)/2 + 70px))}
.privacy-strip::before,.urban-more::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:rgba(255,255,255,.04);pointer-events:none}
.privacy-intro,.privacy-grid,.urban-more-head,.urban-more-grid{position:relative;z-index:2}
.privacy-intro h2{color:#f3f3f3;text-shadow:none;-webkit-text-stroke:0;transform:none;filter:none}
.privacy-grid article{transform:none}

.urban-more{z-index:2;background:#050505;padding:clamp(76px,7vw,118px) max(clamp(24px,8vw,130px),calc((100vw - 1680px)/2 + 70px));border-top:1px solid rgba(255,255,255,.075)}
.urban-more-head{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);column-gap:clamp(44px,7vw,120px);align-items:end;margin-bottom:34px}
.urban-more-head .micro-label{grid-column:1;align-self:start;margin-bottom:12px}
.urban-more-head h2{grid-column:1;margin:0;font-size:clamp(42px,4vw,68px);line-height:.95;letter-spacing:-.055em;font-weight:720}
.urban-more-head p{grid-column:2;grid-row:1/3;align-self:end;justify-self:end;max-width:520px;margin:0;color:#767676;font-size:clamp(13px,.9vw,16px);line-height:1.65}
.urban-more-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #1c1c1c;background:#1c1c1c;gap:1px}
.urban-more-card{position:relative;min-height:220px;padding:24px;background:#080808;display:flex;flex-direction:column;justify-content:space-between;transition:background .22s,transform .22s}
.urban-more-card:hover{background:#0e0e0e;transform:translateY(-2px)}
.more-index{color:#484848;font-size:9px;letter-spacing:.14em}.urban-more-card h3{margin:0 0 9px;font-size:16px;letter-spacing:-.025em;font-weight:690}.urban-more-card p{margin:0;color:#666;font-size:12px;line-height:1.62;max-width:270px}.more-state{display:inline-flex;align-items:center;gap:7px;width:max-content;color:#8b8b8b;font-size:10px;font-weight:650}.discord-mini{width:15px;height:15px;color:#aaa}

@media (min-width:1800px){
  .privacy-strip,.urban-more{padding-left:max(90px,calc((100vw - 1680px)/2 + 70px));padding-right:max(90px,calc((100vw - 1680px)/2 + 70px))}
}
@media (min-width:3200px){
  .urban-hero{min-height:980px}
  .privacy-strip,.urban-more{padding-left:max(150px,calc((100vw - 2500px)/2 + 120px));padding-right:max(150px,calc((100vw - 2500px)/2 + 120px))}
  .urban-more-grid{max-width:2100px}
}
@media (max-width:1180px){
  .urban-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .urban-more-head{grid-template-columns:1fr}.urban-more-head p{grid-column:1;grid-row:auto;justify-self:start;margin-top:18px}
}
@media (max-width:860px){
  .home-nav{grid-template-columns:1fr auto}.community-button{font-size:10px;padding-inline:11px}.home-links{display:none}
  .privacy-strip,.urban-more{padding-inline:22px}
}
@media (max-width:620px){
  .community-button span{display:none}.community-button{width:40px;height:40px;padding:0;justify-content:center;border-radius:10px}.discord-mark{width:19px;height:19px}
  .urban-more-grid{grid-template-columns:1fr}.urban-more-card{min-height:170px}
  .urban-more-head h2{font-size:42px}
}
@media (max-height:740px) and (min-width:981px){
  .urban-hero{min-height:680px}
}

/* V2.7 — ecossistema, SEO/favicons e links externos configuráveis */
.urban-project-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.urban-project-card{min-width:0;display:flex;flex-direction:column;text-decoration:none;color:#f4f4f4;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:#090909;overflow:hidden;transition:transform .24s ease,border-color .24s ease,background .24s ease;box-shadow:0 16px 50px rgba(0,0,0,.18)}
.urban-project-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.22);background:#0d0d0d}
.project-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0c0c0c;border-bottom:1px solid rgba(255,255,255,.07)}
.project-media::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,5,5,.48),transparent 48%);pointer-events:none}
.project-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease,filter .35s ease}
.urban-project-card:hover .project-media img{transform:scale(1.025)}
.urban-project-media{display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.07),transparent 45%),#070707}
.urban-project-media img{width:68%;height:60%;object-fit:contain;filter:grayscale(1) brightness(1.08)}
.project-content{display:flex;flex-direction:column;min-height:230px;padding:22px}
.project-kicker{font-size:8px;line-height:1;letter-spacing:.18em;color:#646464;font-weight:760;margin-bottom:14px}
.project-content h3{font-size:clamp(17px,1.15vw,21px);line-height:1.08;letter-spacing:-.025em;margin:0 0 11px;font-weight:700}
.project-content p{font-size:12px;line-height:1.65;color:#757575;margin:0;max-width:32ch}
.project-action{margin-top:auto;padding-top:25px;display:inline-flex;align-items:center;gap:9px;color:#b8b8b8;font-size:10.5px;font-weight:680}
.link-arrow{width:10px;height:10px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.urban-project-card:hover .link-arrow{transform:translateX(3px) rotate(45deg)}
.project-florida .project-media img{object-position:center}
.project-spell .project-media img{object-position:center 46%}
.project-velnox .project-media img{object-position:center}
.urban-project-card.is-coming-soon{cursor:default}.urban-project-card.is-coming-soon .project-action{color:#626262}.urban-project-card.is-coming-soon:hover{transform:none;border-color:rgba(255,255,255,.11)}
.site-toast{position:fixed;left:50%;bottom:28px;z-index:10050;transform:translate(-50%,18px);opacity:0;pointer-events:none;max-width:min(520px,calc(100vw - 32px));padding:11px 14px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:rgba(10,10,10,.94);backdrop-filter:blur(16px);box-shadow:0 18px 60px rgba(0,0,0,.45);color:#c9c9c9;font-size:11px;line-height:1.45;transition:opacity .22s,transform .22s}.site-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1180px){.urban-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.urban-project-grid{grid-template-columns:1fr}.project-content{min-height:195px}.project-media{aspect-ratio:16/8.5}}
@media(min-width:2400px){.urban-project-grid{gap:18px}.project-content{min-height:255px;padding:26px}.project-content p{font-size:13px}}


/* V2.9 ajustes locais */
.hero-stats{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 26px;max-width:720px}
.stat-card{min-width:180px;padding:14px 16px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.stat-label{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7f7f7f;margin-bottom:8px}
.stat-card strong{display:block;font-size:clamp(22px,1.8vw,28px);line-height:1;color:#fff;letter-spacing:-.03em}
.hero-points{background:transparent;border:none;gap:14px}
.hero-points article{border:1px solid rgba(255,255,255,.12);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.hero-points article:hover{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.035)}
.hero-points article>span,.privacy-grid article>span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.025);color:#8d8d8d;font-size:10px;font-weight:700;letter-spacing:.12em}
.privacy-grid{background:transparent;border:none;gap:14px}
.privacy-grid article{border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.privacy-grid article:hover{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.03)}
@media (max-width:900px){.hero-stats{margin-bottom:22px}.stat-card{flex:1 1 200px}}
@media (max-width:560px){.hero-stats{display:grid;grid-template-columns:1fr}.stat-card{min-width:0}.hero-points,.privacy-grid{gap:10px}}


/* V2.10 — badges de plataforma e estados dos cards */
.platform-badge{position:absolute;top:12px;right:12px;z-index:3;width:58px;height:38px;display:grid;place-items:center;padding:5px 6px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(5,5,5,.72);backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.28)}
.platform-badge img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;filter:none!important}
.urban-project-card.is-coming-soon .project-action{color:#676767}
.urban-project-card:not(.is-coming-soon) .project-action{color:#d0d0d0}
@media(max-width:620px){.platform-badge{top:10px;right:10px;width:52px;height:34px;border-radius:10px}}


/* Ajuste solicitado: remover botões Início/Privacidade do topo e descer logo MTA */
.home-nav{grid-template-columns:1fr auto !important;}
.home-links{display:none !important;}
.platform-badge{top:auto !important;bottom:12px !important;right:12px !important;}
@media(max-width:620px){.platform-badge{top:auto !important;bottom:10px !important;right:10px !important;}}


/* CORREÇÃO ESTRUTURAL: header à direita e badge MTA no rodapé do card */
.home-nav{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.home-nav .urban-logo{
  flex:0 0 auto !important;
}
.home-nav .community-button{
  margin-left:auto !important;
  justify-self:auto !important;
  flex:0 0 auto !important;
}

.urban-project-card{
  position:relative !important;
}

/* Desativa o posicionamento antigo dentro da imagem */
.project-media > .platform-badge{
  display:none !important;
}

/* Badge MTA no canto inferior direito do CARD INTEIRO */
.urban-project-card > .platform-badge-card{
  position:absolute !important;
  right:14px !important;
  bottom:14px !important;
  top:auto !important;
  left:auto !important;
  z-index:8 !important;

  width:48px !important;
  height:30px !important;
  padding:0 !important;
  margin:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  overflow:visible !important;
  pointer-events:none !important;
}

.urban-project-card > .platform-badge-card img{
  display:block !important;
  width:48px !important;
  height:30px !important;
  max-width:48px !important;
  max-height:30px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  transition:none !important;
  filter:none !important;
  opacity:1 !important;
}

.urban-project-card:hover > .platform-badge-card,
.urban-project-card:hover > .platform-badge-card img{
  transform:none !important;
}

/* Reserva discreta para o badge não encostar no texto de ação */
.project-florida .project-action,
.project-spell .project-action{
  padding-right:58px !important;
}

@media(max-width:620px){
  .urban-project-card > .platform-badge-card{
    right:12px !important;
    bottom:12px !important;
    width:44px !important;
    height:28px !important;
  }
  .urban-project-card > .platform-badge-card img{
    width:44px !important;
    height:28px !important;
    max-width:44px !important;
    max-height:28px !important;
  }
}


/* FINAL LIMPO: header com logo à esquerda e Comunidade à direita */
.home-nav{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
}
.home-nav .urban-logo{
  margin:0 !important;
  flex:0 0 auto !important;
  justify-self:auto !important;
}
.home-nav .community-button{
  margin-left:auto !important;
  margin-right:0 !important;
  flex:0 0 auto !important;
  justify-self:auto !important;
  position:static !important;
  inset:auto !important;
  transform:none !important;
}
.home-links{display:none !important;}

/* Remove completamente qualquer resquício visual do MTA */
.platform-badge,
.platform-badge-bottom,
.platform-badge--mta,
img[src="/assets/projects/mta-logo.png"]{
  display:none !important;
}

/* V2.11 — fixa o botão Comunidade no canto direito do header */
.home-nav{
  position:relative !important;
}
.home-nav .community-button{
  position:absolute !important;
  right:clamp(18px,4.5vw,92px) !important;
  left:auto !important;
  top:50% !important;
  margin:0 !important;
  transform:translateY(-50%) !important;
  z-index:20 !important;
}
.home-nav .community-button:hover{
  transform:translateY(calc(-50% - 1px)) !important;
}
@media (max-width:700px){
  .home-nav .community-button{
    right:18px !important;
  }
}
@media (max-width:420px){
  .home-nav .community-button{
    right:14px !important;
  }
}


/* V2.12 — seletor de idioma + Comunidade alinhados no canto direito */
.home-nav .nav-actions{
  position:absolute !important;
  right:clamp(18px,4.5vw,92px) !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:30 !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
}
.home-nav .nav-actions .community-button{
  position:static !important;
  inset:auto !important;
  margin:0 !important;
  transform:none !important;
}
.home-nav .nav-actions .community-button:hover{
  transform:translateY(-1px) !important;
}
.language-picker{position:relative;flex:0 0 auto}
.language-button{
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:11px;
  background:rgba(255,255,255,.055);
  color:#f0f0f0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font:inherit;
  font-size:11px;
  font-weight:680;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:background .2s,border-color .2s,transform .2s;
}
.language-button:hover,.language-picker.is-open .language-button{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.28);
  transform:translateY(-1px);
}
.language-mark{width:15px;height:15px;flex:0 0 auto;color:#f0f0f0}
.language-chevron{width:13px;height:13px;opacity:.62;transition:transform .2s ease}
.language-picker.is-open .language-chevron{transform:rotate(180deg)}
.language-menu{
  position:absolute;
  top:calc(100% + 9px);
  right:0;
  width:184px;
  padding:6px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(10,10,10,.96);
  box-shadow:0 18px 45px rgba(0,0,0,.45);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  opacity:0;
  visibility:hidden;
  transform:translateY(-5px) scale(.985);
  transform-origin:top right;
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
  overflow:hidden;
}
.language-picker.is-open .language-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.language-option{
  width:100%;
  min-height:40px;
  padding:0 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#d8d8d8;
  font:inherit;
  font-size:11px;
  font-weight:620;
  text-align:left;
  cursor:pointer;
  transition:background .16s,color .16s;
}
.language-option small{font-size:9px;letter-spacing:.08em;color:#777}
.language-option:hover{background:rgba(255,255,255,.07);color:#fff}
.language-option.is-active{background:rgba(255,255,255,.09);color:#fff}
.language-option.is-active small{color:#bbb}
@media(max-width:700px){
  .home-nav .nav-actions{right:18px !important;gap:7px !important}
  .language-button{padding-inline:10px}
}
@media(max-width:520px){
  .language-button{width:40px;height:40px;min-height:40px;padding:0;justify-content:center;border-radius:10px}
  .language-button #languageCurrent,.language-chevron{display:none}
  .language-mark{width:18px;height:18px}
  .language-menu{right:0;width:172px}
}
@media(max-width:420px){.home-nav .nav-actions{right:14px !important}}


/* V2.13 — logo MTA pequena no canto inferior esquerdo dos cards Florida e Spell */
.urban-project-card{
  position:relative !important;
}

.urban-project-card > .platform-badge-card.platform-badge-card-left{
  position:absolute !important;
  left:14px !important;
  bottom:14px !important;
  z-index:8 !important;
  width:52px !important;
  height:32px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  overflow:visible !important;
  pointer-events:none !important;
}

.urban-project-card > .platform-badge-card.platform-badge-card-left img{
  display:block !important;
  width:52px !important;
  height:32px !important;
  max-width:52px !important;
  max-height:32px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  transition:none !important;
  filter:none !important;
  opacity:1 !important;
}

.project-florida .project-action,
.project-spell .project-action{
  padding-left:64px !important;
}

@media(max-width:620px){
  .urban-project-card > .platform-badge-card.platform-badge-card-left{
    left:12px !important;
    bottom:12px !important;
    width:46px !important;
    height:28px !important;
  }
  .urban-project-card > .platform-badge-card.platform-badge-card-left img{
    width:46px !important;
    height:28px !important;
    max-width:46px !important;
    max-height:28px !important;
  }
  .project-florida .project-action,
  .project-spell .project-action{
    padding-left:56px !important;
  }
}


/* V2.14 — badge MTA no canto inferior direito */
.urban-project-card > .platform-badge-card.platform-badge-card-left{
  left:auto !important;
  right:14px !important;
  bottom:14px !important;
}
.project-florida .project-action,
.project-spell .project-action{
  padding-left:0 !important;
  padding-right:64px !important;
}
@media(max-width:620px){
  .urban-project-card > .platform-badge-card.platform-badge-card-left{
    left:auto !important;
    right:12px !important;
    bottom:12px !important;
  }
  .project-florida .project-action,
  .project-spell .project-action{
    padding-left:0 !important;
    padding-right:56px !important;
  }
}

/* V2.16 — sala redesenhada, multi-stream e loading Urban */
.room-page{overflow:hidden}
.room-loader{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:#050607;transition:opacity .42s ease,visibility .42s ease}
.room-loader.hide{opacity:0;visibility:hidden}
.room-loader-mark{position:relative;width:150px;height:110px;display:grid;place-items:center}
.room-loader-mark img{width:118px;height:auto;object-fit:contain;animation:urbanLoaderLogo 1.15s cubic-bezier(.22,.8,.28,1) infinite alternate;filter:drop-shadow(0 0 22px rgba(255,255,255,.10))}
.room-loader-mark span{position:absolute;left:50%;bottom:2px;width:52px;height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#fff,transparent);opacity:.7;animation:urbanLoaderLine 1.15s ease-in-out infinite}
@keyframes urbanLoaderLogo{0%{transform:translateY(5px) scale(.94);opacity:.58}100%{transform:translateY(-3px) scale(1);opacity:1}}
@keyframes urbanLoaderLine{0%,100%{width:36px;opacity:.3}50%{width:74px;opacity:.9}}

.room-topbar{height:60px;padding:0 20px}
.room-layout{grid-template-columns:minmax(0,1fr) 268px;min-height:calc(100vh - 60px);height:calc(100vh - 60px)}
.stage-wrap{padding:12px;gap:9px;min-height:0}
.stage{border-radius:15px;min-height:0}
.stream-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));grid-auto-rows:minmax(0,1fr);gap:6px;padding:6px;background:#020202}
.stream-tile{position:relative;min-width:0;min-height:0;overflow:hidden;border-radius:10px;background:#050505;border:1px solid #1b1e24}
.stream-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.stream-tile-bar{position:absolute;left:9px;bottom:9px;z-index:2;display:flex;align-items:center;gap:7px;max-width:calc(100% - 18px);padding:6px 9px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:rgba(7,8,10,.70);backdrop-filter:blur(10px);font-size:10px;color:#d9dde5}
.stream-dot{width:6px;height:6px;border-radius:999px;background:#2f8cff;box-shadow:0 0 9px rgba(47,140,255,.8)}
.room-controls{gap:7px;min-height:34px}
.room-controls .control{padding:8px 11px;border-radius:9px;font-size:11px;font-weight:760}
.room-controls .primary-control{background:#f2f3f5;color:#08090b}

.room-sidebar{width:auto;min-width:0}
.room-sidebar section{padding:14px}
.room-users-section{max-height:38%;overflow:auto}
.participants{gap:7px}
.participant{justify-content:flex-start;gap:9px;padding:8px 9px;border-radius:10px;min-width:0}
.participant-avatar{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:8px;border:1px solid #2b3038;background:linear-gradient(145deg,#151922,#0d0f13);color:#dbe4f2;font-size:12px;font-weight:900;text-transform:uppercase}
.participant-info{min-width:0;flex:1}
.participant-name-line{display:flex;align-items:center;gap:6px;min-width:0}
.participant-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.host-crown{font-size:13px;line-height:1;color:#f4c95d;text-shadow:0 0 10px rgba(244,201,93,.25)}
.participant button{margin-left:auto;padding:5px 7px;font-size:9px;border-radius:7px}

.chat-section{padding-bottom:12px!important}
.modern-chat-form{position:relative;display:flex;align-items:center;gap:7px;margin-top:10px;padding:5px 5px 5px 11px;border:1px solid #242934;border-radius:12px;background:#11141a;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.modern-chat-form:focus-within{border-color:#315d99;box-shadow:0 0 0 3px rgba(47,140,255,.08)}
.modern-chat-form input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:7px 0!important;color:#dfe5ee;font-size:12px}
.modern-chat-form input::placeholder{color:#6f7682}
.modern-chat-form .chat-send{flex:0 0 34px;width:34px;height:34px;padding:0!important;display:grid;place-items:center;border-radius:9px;background:#2f8cff;color:white;box-shadow:0 7px 20px rgba(47,140,255,.22);transition:transform .16s ease,background .16s ease}
.modern-chat-form .chat-send:hover{transform:translateY(-1px);background:#4498ff}
.modern-chat-form .chat-send svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

@media(max-width:900px){
  .room-page{overflow:auto}
  .room-layout{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 60px)}
  .room-sidebar{border-left:0;border-top:1px solid var(--line)}
  .room-users-section{max-height:none}
  .stream-grid{grid-template-columns:1fr}
  .stage{min-height:58vh}
}
@media(max-width:560px){
  .room-topbar{padding:0 10px}.room-brand span{display:none}.room-brand img{width:58px}
  .room-controls{justify-content:flex-start}.room-controls .control{flex:1 1 auto}
}


/* V2.17 — sala em tela cheia, visual Urban, chat separado e captura de jogo */
.room-page{background:#050505;color:#f4f4f4}
.room-topbar{height:58px!important;padding:0 24px!important;background:#050505!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.room-topbar .room-brand{height:46px!important;display:flex!important;align-items:center!important}
.room-topbar .room-brand .urban-logo-image{height:36px!important;width:auto!important;max-width:190px!important;filter:none!important;opacity:1!important}
.room-meta{color:#8b8b8b!important}
.icon-btn{background:#0b0b0b!important;border:1px solid rgba(255,255,255,.14)!important;color:#f1f1f1!important;border-radius:11px!important}
.live{background:#f5f5f5!important;color:#080808!important;box-shadow:none!important}

.room-layout{grid-template-columns:minmax(0,1fr) 238px!important;height:calc(100vh - 58px)!important;min-height:calc(100vh - 58px)!important;background:#050505}
.stage-wrap{position:relative!important;padding:0!important;gap:0!important;min-height:0!important;overflow:hidden!important;background:#000}
.stage{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;background:#000!important}
.stream-grid{inset:0!important;padding:0!important;gap:2px!important;background:#000!important}
.stream-tile{border:0!important;border-radius:0!important;background:#000!important}
.stream-tile video{width:100%!important;height:100%!important;object-fit:cover!important;background:#000!important}
.stream-tile-bar{left:12px!important;bottom:12px!important;background:rgba(5,5,5,.75)!important;border-color:rgba(255,255,255,.13)!important;color:#f1f1f1!important}
.stream-dot{background:#f1f1f1!important;box-shadow:0 0 8px rgba(255,255,255,.35)!important}

.room-controls{position:absolute!important;left:50%!important;bottom:14px!important;z-index:20!important;transform:translateX(-50%)!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;padding:6px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:13px!important;background:rgba(5,5,5,.78)!important;backdrop-filter:blur(14px)!important;box-shadow:0 12px 35px rgba(0,0,0,.35)!important;max-width:calc(100% - 28px)!important}
.room-controls .control{white-space:nowrap!important;padding:7px 10px!important;min-height:30px!important;border-radius:8px!important;background:#0d0d0d!important;border:1px solid rgba(255,255,255,.12)!important;color:#c9c9c9!important;font-size:10px!important;font-weight:680!important}
.room-controls .control:hover{background:#151515!important;border-color:rgba(255,255,255,.22)!important}
.room-controls .primary-control{background:#f2f2f2!important;color:#080808!important;border-color:#f2f2f2!important}
.room-controls .danger{color:#f08b8b!important}

.room-sidebar{background:#080808!important;border-left:1px solid rgba(255,255,255,.08)!important}
.room-sidebar section{padding:13px!important}
.room-sidebar section+section{border-top:1px solid rgba(255,255,255,.08)!important}
.section-title{color:#999!important;font-size:11px!important;letter-spacing:.14em!important}
.participant{background:#0c0c0c!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:10px!important}
.participant-avatar{background:#090909!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}
.participant small{color:#666!important}
.host-crown{color:#d8b25a!important}

.messages{padding-right:0!important}
.message{margin:0!important;padding:10px 0 11px!important;border-bottom:1px solid rgba(255,255,255,.075)!important}
.message:first-child{border-top:1px solid rgba(255,255,255,.055)!important}
.message>div{align-items:center!important}
.message strong{color:#f4f4f4!important;font-size:11px!important;font-weight:700!important}
.message span{color:#5f5f5f!important;font-size:9px!important}
.message p{color:#b7b7b7!important;font-size:12px!important;line-height:1.5!important;margin-top:5px!important}
.modern-chat-form{border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;background:#0c0c0c!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}
.modern-chat-form:focus-within{border-color:rgba(255,255,255,.28)!important;box-shadow:0 0 0 3px rgba(255,255,255,.035)!important}
.modern-chat-form input{color:#eee!important}
.modern-chat-form input::placeholder{color:#5f5f5f!important}
.modern-chat-form .chat-send{background:#1688ff!important;color:#fff!important;box-shadow:0 7px 20px rgba(22,136,255,.18)!important}
.modern-chat-form .chat-send:hover{background:#2b94ff!important}

.empty-state{color:#666!important}.empty-state h2{color:#eee!important}.screen-icon{border-color:#333!important}.screen-icon:after{background:#333!important;box-shadow:0 7px 0 -0.5px #333!important}

.game-capture-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.72);backdrop-filter:blur(10px)}
.game-capture-modal.hidden{display:none!important}
.game-capture-card{position:relative;width:min(460px,100%);padding:25px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:#090909;box-shadow:0 30px 90px rgba(0,0,0,.55)}
.game-capture-close{position:absolute;right:12px;top:10px;width:30px;height:30px;border:0;background:transparent;color:#777;font-size:22px;cursor:pointer}
.game-capture-kicker{font-size:8px;letter-spacing:.18em;color:#666;font-weight:800}
.game-capture-card h2{margin:8px 0 10px;font-size:23px;letter-spacing:-.03em}
.game-capture-card p{margin:0;color:#8a8a8a;font-size:12px;line-height:1.65}.game-capture-card p strong{color:#ddd}
.game-capture-card small{display:block;margin-top:14px;color:#555;font-size:9px;line-height:1.5}
.game-capture-actions{display:flex;gap:8px;margin-top:19px}.game-capture-actions .control{padding:9px 13px;border-radius:9px}

@media(max-width:900px){
  .room-layout{grid-template-columns:1fr!important;height:auto!important;min-height:calc(100vh - 58px)!important}
  .stage-wrap{height:70vh!important;min-height:480px!important}
  .room-sidebar{border-left:0!important;border-top:1px solid rgba(255,255,255,.08)!important}
  .room-controls{max-width:calc(100% - 18px)!important;overflow-x:auto!important;justify-content:flex-start!important}
  .stream-tile video{object-fit:contain!important}
}
@media(max-width:560px){
  .room-topbar{padding:0 12px!important}.room-topbar .room-brand .urban-logo-image{height:30px!important}
  .room-layout{grid-template-columns:1fr!important}.room-sidebar{width:100%!important}
}


/* V2.18 — seletor por participante, áudio por stream, loader/logo e sala full */
.room-loader{background:#050505!important}
.room-loader-mark{width:190px!important;height:130px!important}
.room-loader-mark img{width:150px!important;height:auto!important;filter:none!important;opacity:1!important;animation:urbanBrandEntrance 1.05s cubic-bezier(.18,.82,.24,1) both!important}
.room-loader-mark span{bottom:0!important;width:62px!important;animation:urbanLoaderLine 1.05s ease-in-out infinite!important}
@keyframes urbanBrandEntrance{0%{opacity:0;transform:scale(.82) translateY(8px)}58%{opacity:1;transform:scale(1.035) translateY(0)}100%{opacity:1;transform:scale(1) translateY(0)}}

.room-topbar .room-brand .urban-logo-image{filter:none!important;opacity:1!important;height:38px!important;width:auto!important}
.room-meta{gap:7px!important}.room-meta .icon-btn{padding:7px 10px!important;border-radius:9px!important;font-size:10px!important;background:#0b0b0b!important;border:1px solid rgba(255,255,255,.12)!important}
.room-meta .icon-btn:hover{border-color:rgba(255,255,255,.25)!important;background:#111!important}

/* Every peer keeps its own WebRTC stream, but only the selected stream fills the stage. */
.stream-grid{display:block!important;position:absolute!important;inset:0!important;padding:0!important;background:#000!important}
.stream-tile{display:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:#000!important}
.stream-tile.is-selected{display:block!important}
.stream-tile video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#000!important}
.stream-tile-bar{left:13px!important;bottom:13px!important}

.participant{position:relative!important}
.participant.is-watching{border-color:rgba(255,255,255,.22)!important;background:#111!important}
.stream-watch-btn{flex:0 0 30px!important;width:30px!important;height:30px!important;padding:0!important;margin-left:auto!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:8px!important;background:#0b0b0b!important;color:#777!important;transition:.16s ease!important}
.stream-watch-btn:hover,.participant.is-watching .stream-watch-btn{color:#fff!important;border-color:rgba(255,255,255,.3)!important;background:#151515!important}
.stream-watch-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.remove-user-btn{margin-left:3px!important}

.volume-control{height:30px;display:flex;align-items:center;gap:7px;padding:0 8px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#0d0d0d;transition:.18s ease}
.volume-control.is-disabled{opacity:.38;pointer-events:none}
.volume-mute{width:20px;height:24px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#bbb;cursor:pointer}
.volume-mute svg{width:16px;height:16px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;fill-rule:evenodd}
.volume-mute .volume-wave{fill:none}.volume-mute.is-muted .volume-wave{display:none}.volume-mute.is-muted::after{content:"";position:absolute;width:15px;height:1.5px;background:#f07d82;transform:rotate(-42deg);border-radius:2px}
.volume-control input[type="range"]{width:82px;height:3px;appearance:none;-webkit-appearance:none;background:#343434;border-radius:999px;outline:0;cursor:pointer}
.volume-control input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;border-radius:50%;background:#f2f2f2;border:0}
.volume-control input[type="range"]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#f2f2f2;border:0}

.message{margin:0!important;padding:11px 0!important;border-bottom:1px solid rgba(255,255,255,.075)!important}
.message:first-child{border-top:1px solid rgba(255,255,255,.075)!important}
.messages{scrollbar-width:thin;scrollbar-color:#242424 transparent}

@media(max-width:1120px){
  .room-controls{left:10px!important;right:10px!important;transform:none!important;max-width:none!important;overflow-x:auto!important;justify-content:flex-start!important}
  .volume-control input[type="range"]{width:68px}
}
@media(max-width:760px){
  .room-meta #copyLink{display:none}.room-meta{gap:5px!important}.room-meta .icon-btn{padding:6px 8px!important}
  .stream-tile video{object-fit:contain!important}
}


/* V2.21 — notificações visíveis + feedback de eventos da sala */
#toast.toast{
  position:fixed!important;
  top:72px!important;
  right:18px!important;
  bottom:auto!important;
  left:auto!important;
  z-index:2147483000!important;
  width:min(340px,calc(100vw - 28px))!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:0!important;
  background:transparent!important;
  color:inherit!important;
  border-radius:0!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:none!important;
}
.room-toast-item{
  display:flex;align-items:center;gap:10px;
  min-height:44px;padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);border-radius:12px;
  background:rgba(10,10,10,.94);backdrop-filter:blur(18px);
  box-shadow:0 18px 50px rgba(0,0,0,.42);
  color:#ddd;font-size:11px;font-weight:650;line-height:1.35;
  opacity:0;transform:translateX(18px) scale(.985);
  transition:opacity .22s ease,transform .22s ease,border-color .22s ease;
}
.room-toast-item.show{opacity:1;transform:translateX(0) scale(1)}
.room-toast-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#9a9a9a;box-shadow:0 0 12px rgba(255,255,255,.18)}
.room-toast-success .room-toast-dot{background:#58d68d;box-shadow:0 0 12px rgba(88,214,141,.38)}
.room-toast-error .room-toast-dot{background:#ff7272;box-shadow:0 0 12px rgba(255,114,114,.38)}
.room-toast-join .room-toast-dot{background:#6eb5ff;box-shadow:0 0 12px rgba(110,181,255,.38)}
.room-toast-leave .room-toast-dot{background:#888}
.room-toast-stream .room-toast-dot{background:#fff;box-shadow:0 0 14px rgba(255,255,255,.45)}
.participant{transition:border-color .2s ease,background .2s ease,transform .2s ease!important}
.participant.is-watching{box-shadow:inset 2px 0 0 rgba(255,255,255,.65)!important}
.stream-tile.is-selected{animation:urbanStreamReveal .28s ease both}
@keyframes urbanStreamReveal{from{opacity:.2;transform:scale(1.006)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){#toast.toast{top:66px!important;right:10px!important;width:min(320px,calc(100vw - 20px))!important}}


/* V2.24 — nome obrigatório antes da sala */
.name-gate{position:fixed;inset:0;z-index:120000;display:grid;place-items:center;padding:20px;background:#050505}
.name-gate.hidden{display:none!important}
.name-gate-card{width:min(390px,100%);padding:30px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:#090909;box-shadow:0 28px 90px rgba(0,0,0,.5);text-align:center}
.name-gate-logo{display:block;width:138px;height:auto;margin:0 auto 18px;object-fit:contain}
.name-gate-kicker{display:block;margin-bottom:8px;color:#6f6f6f;font-size:8px;font-weight:800;letter-spacing:.2em}
.name-gate-card h2{margin:0;color:#f3f3f3;font-size:22px;letter-spacing:-.03em}
.name-gate-card>p:not(.name-gate-error){margin:8px 0 18px;color:#777;font-size:11px}
.name-gate-card input{box-sizing:border-box;width:100%;height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.14);border-radius:11px;outline:0;background:#0c0c0c;color:#f4f4f4;font:inherit}
.name-gate-card input:focus{border-color:rgba(255,255,255,.32);box-shadow:0 0 0 3px rgba(255,255,255,.035)}
.name-gate-card input::placeholder{color:#555}
.name-gate-error{min-height:16px;margin:7px 0 4px;color:#dc7777;font-size:10px;text-align:left}
.name-gate-card button{width:100%;height:42px;border:0;border-radius:10px;background:#f1f1f1;color:#080808;font-weight:800;cursor:pointer}
.name-gate-card button:hover{background:#fff}


/* =========================================================
   V2.34 — RESPONSIVO UNIVERSAL + SALA FULLSCREEN ADAPTATIVA
   Desktop, notebook, tablet, mobile e orientação horizontal
========================================================= */
html,body{max-width:100%;overflow-x:hidden}
img,video,canvas{max-width:100%}
button,input,select,textarea{font:inherit}

/* Header/home: evita sobreposição em larguras intermediárias */
@media (max-width:1100px){
  .home-nav{padding-left:22px!important;padding-right:22px!important}
  .home-nav .nav-actions{gap:7px!important}
  .community-button,.language-button{min-height:36px!important}
}

@media (max-width:760px){
  .home-nav{height:64px!important;padding:0 12px!important;gap:8px!important}
  .home-nav .urban-logo-image{height:29px!important;max-width:138px!important}
  .home-nav .nav-actions{position:static!important;margin-left:auto!important;gap:5px!important}
  .community-button{padding:8px 9px!important;font-size:9px!important}
  .language-button{width:36px!important;min-width:36px!important;padding:0!important}
  .language-button .language-label{display:none!important}
  .language-menu{right:0!important;left:auto!important;min-width:170px!important}
  .urban-hero{padding-left:14px!important;padding-right:14px!important}
  .hero-copy h1{font-size:clamp(42px,14vw,68px)!important;line-height:.95!important}
  .launch-card{width:100%!important;padding:18px!important;border-radius:18px!important}
  .join-grid{grid-template-columns:1fr!important;gap:8px!important}
  .join-grid button{width:100%!important}
  .urban-more,.privacy-strip{padding-left:14px!important;padding-right:14px!important}
  .urban-project-grid{grid-template-columns:1fr!important}
}

/* Sala desktop/tablet */
.room-page{min-height:100dvh!important}
.room-layout{min-height:calc(100dvh - 58px)!important;height:calc(100dvh - 58px)!important}
.stage-wrap,.stage,.stream-grid,.stream-tile{min-width:0!important;min-height:0!important}
.stream-tile video{object-fit:contain!important;background:#000!important}
.room-sidebar{min-width:0!important;overflow:hidden!important}
.participant-name{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

@media (max-width:1180px){
  .room-layout{grid-template-columns:minmax(0,1fr) 210px!important}
  .room-sidebar section{padding:11px!important}
  .participant{padding:7px!important;gap:7px!important}
  .participant-name{font-size:10px!important}
}

/* Tablet: vídeo em cima, pessoas/chat abaixo */
@media (max-width:900px){
  .room-topbar{height:auto!important;min-height:58px!important;padding:8px 12px!important;flex-wrap:wrap!important;gap:6px!important}
  .room-topbar .room-brand{height:38px!important}
  .room-topbar .room-brand .urban-logo-image{height:30px!important;max-width:150px!important}
  .room-meta{margin-left:auto!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:5px!important}
  .room-meta #roomCode{display:inline-flex!important;font-size:9px!important}
  .room-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(52dvh,1fr) auto!important;height:auto!important;min-height:calc(100dvh - 58px)!important}
  .stage-wrap{height:58dvh!important;min-height:360px!important;width:100%!important}
  .room-sidebar{width:100%!important;max-height:none!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.08)!important;display:grid!important;grid-template-columns:minmax(190px,.75fr) minmax(0,1.25fr)!important}
  .room-sidebar section{min-height:0!important;max-height:310px!important;overflow:hidden!important}
  .room-sidebar section+section{border-top:0!important;border-left:1px solid rgba(255,255,255,.08)!important}
  #participants,.messages{overflow-y:auto!important;overscroll-behavior:contain!important}
  .room-controls{bottom:10px!important;max-width:calc(100% - 16px)!important;overflow-x:auto!important;scrollbar-width:none!important}
  .room-controls::-webkit-scrollbar{display:none!important}
  .room-controls .control{flex:0 0 auto!important}
}

/* Mobile portrait */
@media (max-width:620px){
  .room-topbar{padding:7px 9px!important;align-items:center!important}
  .room-topbar .room-brand .urban-logo-image{height:27px!important;max-width:128px!important}
  .room-meta{width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
  .room-meta::-webkit-scrollbar{display:none!important}
  .room-meta>*{flex:0 0 auto!important}
  .room-meta .icon-btn{padding:6px 8px!important;font-size:9px!important}
  .room-layout{grid-template-rows:minmax(48dvh,1fr) auto!important}
  .stage-wrap{height:52dvh!important;min-height:300px!important}
  .stream-tile video{object-fit:contain!important}
  .room-sidebar{display:flex!important;flex-direction:column!important;max-height:none!important}
  .room-sidebar section{max-height:240px!important;width:100%!important}
  .room-sidebar section+section{border-left:0!important;border-top:1px solid rgba(255,255,255,.08)!important}
  .participant{min-height:40px!important;padding:6px 7px!important}
  .participant-avatar{width:27px!important;height:27px!important;min-width:27px!important;font-size:10px!important}
  .participant-name{font-size:9.5px!important;max-width:125px!important}
  .participant small{font-size:7.5px!important}
  .stream-watch-btn{width:28px!important;height:28px!important}
  .remove-user-btn{font-size:7.5px!important;padding:5px 6px!important}
  .message{padding:8px 0 9px!important}
  .message p{font-size:11px!important}
  .modern-chat-form{min-height:42px!important}
  .modern-chat-form input{font-size:12px!important}
  .room-controls{left:8px!important;right:8px!important;transform:none!important;bottom:8px!important;width:auto!important;justify-content:flex-start!important;padding:5px!important}
  .room-controls .control{min-height:29px!important;padding:6px 8px!important;font-size:9px!important}
  #volumeControl{min-width:118px!important}
  #toast.toast{top:74px!important;right:8px!important;left:8px!important;width:auto!important;max-width:none!important}
  .game-capture-card{padding:20px!important;border-radius:15px!important}
}

/* Mobile muito estreito */
@media (max-width:390px){
  .room-meta #roomCode{display:none!important}
  .stage-wrap{height:49dvh!important;min-height:270px!important}
  .participant-name{max-width:105px!important}
  .room-controls .control{font-size:8.5px!important;padding:6px 7px!important}
}

/* Celular/tablet em landscape: prioriza a transmissão */
@media (max-width:950px) and (orientation:landscape){
  .room-topbar{min-height:48px!important;padding:5px 9px!important;flex-wrap:nowrap!important}
  .room-topbar .room-brand .urban-logo-image{height:25px!important}
  .room-meta{width:auto!important;flex-wrap:nowrap!important}
  .room-layout{grid-template-columns:minmax(0,1fr) 205px!important;grid-template-rows:1fr!important;height:calc(100dvh - 48px)!important;min-height:0!important}
  .stage-wrap{height:100%!important;min-height:0!important}
  .room-sidebar{display:flex!important;flex-direction:column!important;width:205px!important;max-height:100%!important;border-top:0!important;border-left:1px solid rgba(255,255,255,.08)!important}
  .room-sidebar section{max-height:50%!important}
  .room-sidebar section+section{border-left:0!important;border-top:1px solid rgba(255,255,255,.08)!important}
  .room-controls{bottom:6px!important}
}

/* Touch ergonomics */
@media (pointer:coarse){
  .icon-btn,.control,.stream-watch-btn,.chat-send{touch-action:manipulation}
  input[type="range"]{min-height:30px}
}


/* V2.35 — compatibilidade de reprodução em celular/tablet */
.stream-tile video{
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
  backface-visibility:hidden;
}
@media (max-width:900px){
  .stream-tile,.stream-tile video{width:100%!important;height:100%!important;}
  .stream-tile video{object-fit:contain!important;}
  .stream-tile-bar{max-width:calc(100% - 24px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
}


/* V2.36 — mobile chat / teclado virtual */
@media (max-width:620px){
  .room-page{
    min-height:100dvh!important;
    overflow-x:hidden!important;
  }

  .room-layout{
    height:auto!important;
    min-height:calc(var(--urban-vvh, 100dvh) - 58px)!important;
    grid-template-rows:auto auto!important;
  }

  .stage-wrap{
    height:46dvh!important;
    min-height:250px!important;
  }

  .room-sidebar{
    overflow:visible!important;
  }

  .room-users-section{
    max-height:170px!important;
    overflow:hidden!important;
  }

  #participants{
    max-height:125px!important;
    overflow-y:auto!important;
  }

  .chat-section{
    max-height:none!important;
    min-height:260px!important;
    padding-bottom:max(10px, env(safe-area-inset-bottom))!important;
    overflow:visible!important;
  }

  .messages{
    min-height:150px!important;
    max-height:230px!important;
    overflow-y:auto!important;
    padding-bottom:8px!important;
  }

  .modern-chat-form{
    position:sticky!important;
    bottom:max(8px, env(safe-area-inset-bottom))!important;
    z-index:45!important;
    width:100%!important;
    margin:8px 0 0!important;
    padding:6px 6px 6px 12px!important;
    min-height:48px!important;
    background:rgba(12,12,12,.98)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    box-shadow:0 -8px 28px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.03)!important;
  }

  .modern-chat-form input{
    min-height:36px!important;
    font-size:16px!important; /* evita zoom automático no iOS */
    line-height:1.2!important;
  }

  .modern-chat-form .chat-send{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }

  /* Quando o teclado está aberto, prioriza totalmente o chat. */
  .room-page.mobile-chat-focus .stage-wrap{
    height:22dvh!important;
    min-height:130px!important;
  }

  .room-page.mobile-chat-focus .room-users-section{
    display:none!important;
  }

  .room-page.mobile-chat-focus .chat-section{
    min-height:calc(var(--urban-vvh, 100dvh) - 145px)!important;
    max-height:none!important;
    padding-top:10px!important;
  }

  .room-page.mobile-chat-focus .messages{
    max-height:none!important;
    min-height:120px!important;
    flex:1 1 auto!important;
  }

  .room-page.mobile-chat-focus .room-controls{
    opacity:.18!important;
    pointer-events:none!important;
  }

  .room-page.mobile-chat-focus .modern-chat-form{
    position:sticky!important;
    bottom:max(6px, env(safe-area-inset-bottom))!important;
  }
}

@media (max-width:390px){
  .stage-wrap{height:43dvh!important;min-height:225px!important}
  .chat-section{min-height:275px!important}
  .messages{max-height:245px!important}
}


/* V2.41 — correção definitiva do chat mobile recortado */
@media (max-width:620px){
  html, body.room-page{
    width:100%!important;
    max-width:100%!important;
    min-height:100%!important;
    overflow-x:hidden!important;
  }

  body.room-page{
    min-height:var(--urban-vvh, 100dvh)!important;
    padding-bottom:0!important;
  }

  .room-layout{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-height:calc(var(--urban-vvh, 100dvh) - 58px)!important;
    height:auto!important;
    overflow:visible!important;
  }

  .stage-wrap{
    flex:0 0 auto!important;
    width:100%!important;
    height:min(42dvh, 360px)!important;
    min-height:210px!important;
  }

  .room-sidebar{
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-height:330px!important;
    height:auto!important;
    overflow:visible!important;
  }

  .room-users-section{
    flex:0 0 auto!important;
    max-height:150px!important;
  }

  #participants{
    max-height:105px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }

  .chat-section{
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
    min-height:280px!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:calc(74px + env(safe-area-inset-bottom))!important;
  }

  .messages{
    flex:1 1 auto!important;
    min-height:160px!important;
    max-height:none!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:12px!important;
  }

  .modern-chat-form{
    position:sticky!important;
    left:auto!important;
    right:auto!important;
    bottom:max(8px, env(safe-area-inset-bottom))!important;
    z-index:80!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
  }

  /* Com teclado aberto: o campo fica ancorado dentro da VisualViewport real. */
  .room-page.mobile-chat-focus{
    min-height:var(--urban-vvh, 100dvh)!important;
    overflow:hidden!important;
  }

  .room-page.mobile-chat-focus .room-layout{
    min-height:calc(var(--urban-vvh, 100dvh) - 58px)!important;
    height:calc(var(--urban-vvh, 100dvh) - 58px)!important;
    overflow:hidden!important;
  }

  .room-page.mobile-chat-focus .stage-wrap{
    display:none!important;
  }

  .room-page.mobile-chat-focus .room-sidebar{
    height:calc(var(--urban-vvh, 100dvh) - 58px)!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .room-page.mobile-chat-focus .room-users-section{
    display:none!important;
  }

  .room-page.mobile-chat-focus .chat-section{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:10px 12px calc(78px + env(safe-area-inset-bottom))!important;
  }

  .room-page.mobile-chat-focus .messages{
    min-height:0!important;
    max-height:none!important;
    flex:1 1 auto!important;
    overflow-y:auto!important;
  }

  .room-page.mobile-chat-focus .modern-chat-form{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    width:auto!important;
    max-width:none!important;
    top:calc(var(--urban-vvtop, 0px) + var(--urban-vvh, 100dvh) - 62px - env(safe-area-inset-bottom))!important;
    bottom:auto!important;
    z-index:10050!important;
    margin:0!important;
    box-shadow:0 10px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  .room-page.mobile-chat-focus .modern-chat-form input{
    min-width:0!important;
    width:100%!important;
    font-size:16px!important;
  }
}

@media (max-width:380px){
  .stage-wrap{height:min(38dvh, 300px)!important;min-height:190px!important}
  .chat-section{min-height:300px!important}
}


/* V2.42 — mobile chat: mensagens rolam, compositor nunca cobre o histórico */
@media (max-width:620px){
  .chat-section{
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    min-height:320px!important;
    overflow:hidden!important;
    padding-bottom:calc(10px + env(safe-area-inset-bottom))!important;
  }

  .chat-section > .section-title{
    grid-row:1!important;
    margin-bottom:8px!important;
  }

  .messages{
    grid-row:2!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:0 2px 10px 0!important;
    scroll-padding-bottom:12px!important;
  }

  .modern-chat-form{
    grid-row:3!important;
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:8px 0 0!important;
    z-index:3!important;
    flex:0 0 auto!important;
  }

  .room-page.mobile-chat-focus .room-sidebar{
    display:block!important;
    height:calc(var(--urban-vvh,100dvh) - 58px)!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .room-page.mobile-chat-focus .chat-section{
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;
  }

  .room-page.mobile-chat-focus .messages{
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    padding-bottom:8px!important;
  }

  .room-page.mobile-chat-focus .modern-chat-form{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:8px 0 0!important;
    z-index:4!important;
    box-shadow:0 8px 24px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
}
