
:root{color-scheme:dark;--bg:#08121c;--surface:#132536;--line:#2a4a59;--mint:#61ebbb;--text:#effaff;--muted:#adc5d1}*{box-sizing:border-box}body{margin:0;background:linear-gradient(145deg,#0b2030,#080e16);font:15px system-ui,Segoe UI,Arial;color:var(--text)}main{max-width:1100px;margin:auto;padding:16px}.head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.brand{font-size:clamp(18px,3vw,28px);font-weight:950;color:var(--mint)}button,.button{border:1px solid #4d947f;background:#183b3c;color:#e8fff8;padding:11px 15px;border-radius:10px;font-weight:800;cursor:pointer}button.primary{background:var(--mint);color:#09201b}button.warn{background:#573920;color:#ffe4b4;border-color:#ad8743}button.danger{background:#5e2430;border-color:#ae5668}input,select{background:#091722;color:white;border:1px solid #537384;border-radius:9px;padding:11px;width:100%;min-width:0}input[type=checkbox]{width:auto}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.panel{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:17px;margin-bottom:12px}.panel h2{margin:0 0 12px;font-size:19px}.muted{color:var(--muted)}label{display:block;font-size:12px;color:#c4e0db;margin:7px 0 5px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.tabs button.active{background:var(--mint);color:#09201b}.hide{display:none!important}.item{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #2f4857;padding:11px 3px}.item:last-child{border:0}.pill{border:1px solid #5c9c80;border-radius:30px;padding:5px 9px;font-size:12px}.warnpill{color:#ffde86;border-color:#9a7a34}.right{text-align:right}.balance{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.team{background:#0b2030;padding:16px;border-radius:12px;border:1px solid #3d5e70}.team h3{margin:0 0 9px}.moneys{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.money{background:#091b27;padding:14px;border-radius:12px;text-align:center}.money b{font-size:clamp(17px,4vw,25px);display:block;margin-top:4px}.note{font-size:13px;color:#bdd0da}.ok{color:var(--mint)}.bad{color:#ff8e9c}#toast{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);background:#1d3e46;padding:14px 20px;border:1px solid #64ddbe;border-radius:12px;display:none;z-index:10;max-width:90vw}.divider{height:1px;background:#2a4a59;margin:16px 0}@media(max-width:650px){.grid{grid-template-columns:1fr}.panel{padding:13px}.moneys{gap:5px}.money{padding:10px}.tabs button{flex:1}}
.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:16px;background:radial-gradient(circle at top,#143d4b,#07111c 70%)}.auth-card{background:#122637;border:1px solid #3c6d7a;padding:clamp(20px,4vw,34px);border-radius:20px;width:min(480px,100%);box-shadow:0 25px 70px #0005}.auth-card h1{margin:8px 0 6px;font-size:27px}.auth-card .tabs{margin-top:20px}.auth-card .tabs button{flex:1}.auth-card .actions .primary{width:100%}.auth-card input{font-size:16px}.auth-card .grid{grid-template-columns:1fr 1fr}@media(max-width:420px){.auth-card .grid{grid-template-columns:1fr}} 
/* V0.4 — jornada de partidas e sala */
.choicegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.choice{border:2px solid #52a68e;text-align:left;padding:20px;min-height:94px;font-size:17px;background:#143b38}.choice small{display:block;margin-top:10px;color:#cceae3}.choice.rent{background:#463b1c;border-color:#c8a754;color:#ffebb3}.back{background:transparent;border:1px solid #416477;padding:9px 13px;margin-bottom:10px}.gamecard{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;text-align:left;padding:18px;margin-top:10px;background:#142c3b;border:1px solid #426579}.gamecard b{font-size:18px}.gamecard small{display:block;color:#aec9d7;margin-top:7px}.tagrent{display:inline-block;color:#ffdf83;border:1px solid #9a823f;padding:3px 9px;border-radius:99px;font-weight:900;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.stat{background:#0b2030;border:1px solid #315568;border-radius:10px;padding:13px;text-align:center}.stat b{display:block;font-size:21px;color:#e9fff8}.stat small{font-size:11px;color:#b6cfdb}.roomhead{display:flex;justify-content:space-between;gap:12px}.carticon{background:#205a52;border-color:#70d4b1}.financial{padding:14px;border:1px solid #579b8d;border-radius:12px;background:#102e33;margin:12px 0}@media(max-width:650px){.choicegrid{grid-template-columns:1fr}.stats{gap:5px}.stat{padding:8px}.stat b{font-size:16px}.stat small{font-size:10px}.gamecard{padding:14px}}
.modal-shade{position:fixed;inset:0;background:#02060ddd;z-index:999;display:grid;place-items:center;padding:14px}.modal-shade.hide{display:none}.modal-body{background:#132536;border:1px solid #4c8790;border-radius:16px;padding:20px;width:min(520px,100%);max-height:90dvh;overflow:auto}body.modal-open{overflow:hidden}.rule-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.rule-tag{border:1px solid #527282;border-radius:999px;padding:3px 8px;font-size:11px;color:#d8edf1;background:#112d38}.rule-tag.allowed{border-color:#458a70;color:#a9efd4}.rule-tag.denied{border-color:#8a6565;color:#ffd2c1}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}.player-nav{display:flex;gap:8px;margin-bottom:12px}.player-nav button.active{background:var(--mint);color:#09201b}.profile-card{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:10px}.profile-card h3{margin:0 0 8px}.profile-avatar,.profile-avatar-placeholder{width:92px;height:92px;border-radius:50%;object-fit:cover;background:#213748;display:grid;place-items:center;font-size:38px}.item{flex-wrap:wrap;min-width:0;overflow-wrap:anywhere}.stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}@media(max-width:550px){.panel{padding:12px}.item{gap:8px}.actions button{max-width:100%}} .profile-subtabs{display:flex;gap:8px;margin:12px 0 20px}.profile-subtabs button.active{background:var(--mint);color:#09201b}@media(max-width:600px){.profile-subtabs button{flex:1}}.room-participant{border:1px solid #315162;background:#112536;padding:12px;margin:9px 0;border-radius:13px}.room-participant-main{display:flex;align-items:center;gap:12px;min-width:0}.room-avatar{height:46px;width:46px;border-radius:50%;object-fit:cover;flex-shrink:0}.room-initial{display:flex;align-items:center;justify-content:center;background:#315261;color:#fff;font-weight:800}.room-participant-text{min-width:0;flex:1}.room-participant-text strong{display:block;overflow-wrap:anywhere}.room-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.room-badges>span{white-space:normal}.benefits-box{padding:13px 15px;background:#0c2a2d;border:1px solid #337d70;border-radius:12px;margin:14px 0;color:#dcfef0}.benefits-title{font-weight:850;color:#80f4ca;margin-bottom:6px}.benefits-line{font-size:13px;color:#c6e4e2}.fee-old{text-decoration:line-through;color:#b5c2c9;font-size:12px;margin-right:7px}.fee-final{font-size:18px;color:#83f7c9;font-weight:900}.fee-info{display:block;font-size:12px;margin-top:4px;color:#bee9d6}.choice small{display:block;line-height:1.55}
/* v2.6: Layout mobile-first, com visual de aplicativo nativo */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{min-width:320px;overflow-x:hidden}
button,input,select,textarea{font:inherit}
button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .15s ease,transform .12s ease}
button:active{transform:scale(.985)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #72eec7;outline-offset:2px}
button{min-height:44px}
main{width:100%;max-width:1060px}
.panel,.auth-card,.gamecard,.room-participant,.modal-body{box-shadow:0 7px 22px #02081024}
.panel{overflow-wrap:anywhere}
.head{gap:12px}
.head .actions{gap:8px}
.player-nav .nav-icon{font-size:19px;line-height:1}
.player-nav button{display:flex;align-items:center;justify-content:center;gap:9px}
#gamesSection>h2,#profileSection>h2{font-size:clamp(20px,5vw,25px)}
#publicGames{min-width:0}
.gamecard{overflow:hidden}
.gamecard button{max-width:100%}
.choicegrid{gap:12px}
.choice{line-height:1.4}
.roomhead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.roomhead button{min-height:44px}
#roomMembers{display:grid;gap:9px}
.room-participant{margin:0}
.room-participant-main{min-width:0}
.room-badges{gap:6px}
.rule-tags{row-gap:8px}
#roomStats.stats,#joinStats.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
.stat{min-width:0;overflow-wrap:anywhere}
#playerCartContents .item{gap:9px}
.modal-shade{overscroll-behavior:contain}
.modal-body{overscroll-behavior:contain}
.auth-card input{min-height:46px}
@media(max-width:700px){
 body{background:#081522}
 main{padding:0 13px calc(92px + env(safe-area-inset-bottom,0px));max-width:640px}
 .head{position:relative;align-items:flex-start;margin:0 -13px 15px;padding:18px 17px 15px;background:#102637;border-bottom:1px solid #2b5260}
 .head .brand{font-size:19px;letter-spacing:.045em}
 .head .muted{font-size:11px}
 .head .actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end}
 .head .actions #loggedPlayer{font-size:12px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .head .actions button{padding:8px 11px;min-height:38px;font-size:12px}
 .player-nav{position:fixed;z-index:60;bottom:0;left:0;right:0;margin:0;gap:0;display:grid;grid-template-columns:repeat(2,1fr);padding:9px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#0d2332;border-top:1px solid #345362;box-shadow:0 -10px 30px #02091299}
 .player-nav button{border:0;background:transparent;color:#bfd3dd;min-height:59px;border-radius:13px;display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:750;padding:7px}
 .player-nav button.active{color:#79efc7;background:#183d3e;box-shadow:inset 0 0 0 1px #3e856f}
 .player-nav .nav-icon{font-size:25px;line-height:1}
 .panel{border-radius:16px;margin-bottom:12px;padding:16px}
 .panel h2{margin-top:0}
 #gamesSection>.actions{margin:14px 0}
 #gamesSection>.actions button{width:100%;min-height:50px}
 .gamecard{border-radius:16px;margin-bottom:12px;padding:17px}
 .gamecard button{min-height:48px}
 .choicegrid{grid-template-columns:1fr}
 .choice{width:100%;min-height:84px;border-radius:15px}
 .stats{gap:9px}
 #roomStats.stats,#joinStats.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .stat{padding:13px 9px;border-radius:12px}
 .stat b{font-size:18px}
 .room-participant{padding:13px;border-radius:14px}
 .room-avatar{width:44px;height:44px}
 .profile-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 .profile-subtabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .profile-subtabs button{font-size:12px;padding:10px 6px;min-width:0}
 .modal-shade{padding:0;align-items:end}
 .modal-body{width:100%;max-width:none;max-height:min(88dvh,850px);padding:20px 17px calc(23px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;border:1px solid #4c8790;box-shadow:0 -20px 55px #0009}
 .modal-body h2{font-size:20px}
 .modal-body button{min-height:44px}
 .auth-screen{min-height:100dvh;align-items:start;padding:28px 15px;background:radial-gradient(ellipse at 50% 0%,#184052,#081320 75%)}
 .auth-card{border-radius:22px;padding:24px 18px;margin:0 auto}
 .auth-card h1{font-size:25px}
 .auth-card .grid{grid-template-columns:1fr}
 .auth-card .tabs button{min-height:49px}
 input,select,textarea{font-size:16px;min-height:46px}
 input[type=checkbox]{min-height:0}
 #profilePhoto,#regPhoto,#scanPhoto{max-width:100%}
 .item{gap:8px}
}
@media(max-width:365px){
 main{padding-left:10px;padding-right:10px}
 .head{margin-left:-10px;margin-right:-10px;padding:14px 12px}
 .head .brand{font-size:17px}
 .head .actions #loggedPlayer{max-width:92px}
 .room-participant{padding:10px}
 .room-badges>span{font-size:10px}
}

/* ===== Estilo 1 — Moderno Escuro / Tático ===== */
:root{--bg:#050a0f;--bg2:#0a141d;--surface:#0d1822;--surface-2:#101f2c;--line:#1e3846;--line-soft:#294957;--mint:#57e0aa;--mint-2:#2ec58e;--text:#f2fbff;--muted:#a8bfcb;--warn:#f0c04b;--danger:#ff6b7f;--chip:#142733}
body{background:radial-gradient(circle at top,#0f2433 0%,#08131d 32%,#050a0f 100%);font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;color:var(--text)}
main{max-width:540px;padding:14px 14px 98px}
.head{margin-bottom:14px;padding:10px 2px 0}.head .brand{font-size:28px;line-height:1;font-weight:950;letter-spacing:.02em;background:linear-gradient(90deg,#ffffff 0,#5fe5af 70%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.head .brand::before{content:"🐟 ";font-size:24px;vertical-align:1px;-webkit-text-fill-color:initial}.head .muted{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7ea0ad}.head .actions{gap:8px}.head .actions button{background:#142530;border-color:#274453;color:#d5f6ea;padding:10px 14px;border-radius:14px}#loggedPlayer{display:inline-block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#a8d5c7}
.panel{background:linear-gradient(180deg,rgba(17,31,44,.94),rgba(11,21,31,.98));border:1px solid rgba(87,224,170,.14);box-shadow:0 14px 42px rgba(0,0,0,.34);border-radius:22px;padding:18px;margin-bottom:14px}
button,.button{border-radius:16px;border:1px solid #24424f;background:#152a36;color:#efffff;min-height:46px;padding:12px 16px;font-weight:800}button.primary{background:linear-gradient(90deg,var(--mint-2),var(--mint));border-color:#4ae6ae;color:#042117;box-shadow:0 8px 20px rgba(46,197,142,.22)}button.warn{background:#403118;border-color:#86693a;color:#ffe9b2}button.danger{background:#381b25;border-color:#6c3342;color:#ffdce2}.back{border-radius:14px;background:#12202b;border-color:#213c4c;color:#caedf3}
input,select{background:#09121a;border:1px solid #294250;border-radius:14px;color:var(--text);min-height:47px;padding:12px 14px}
.auth-screen{background:radial-gradient(circle at top,#123245,#07111a 72%)}.auth-card{background:linear-gradient(180deg,#0f202d,#0c1823);border:1px solid rgba(87,224,170,.16);border-radius:28px;box-shadow:0 24px 60px rgba(0,0,0,.35)}.auth-card h1{font-size:30px;letter-spacing:.02em}.auth-card .brand{font-size:30px;letter-spacing:.02em}
.tabs button,.profile-subtabs button{background:#11202c;border-color:#243c49;border-radius:14px}.tabs button.active,.profile-subtabs button.active{background:linear-gradient(90deg,var(--mint-2),var(--mint));color:#052319;border-color:#67e9b7}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}.section-head h2{margin:0 0 6px}.qr-inline{white-space:nowrap}
.game-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 4px}.game-filters button{background:#101d28;border-color:#223947;color:#c8d7de;border-radius:999px;min-height:40px;padding:8px 10px}.game-filters button.active{background:linear-gradient(90deg,var(--mint-2),var(--mint));color:#062117;border-color:#60ebb6}
#publicGames{display:grid;gap:12px;margin-top:10px}.gamecard{display:block;width:100%;padding:0;background:linear-gradient(180deg,#122331,#0d1721);border:1px solid #24404e;border-radius:22px;overflow:hidden;text-align:left;position:relative}.gamecard-body{padding:14px 16px 16px}.gamecard-hero{height:112px;background:linear-gradient(135deg,#18313f,#0d151e 58%,#163f37);position:relative;overflow:hidden}.gamecard-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 15%,rgba(87,224,170,.24),transparent 26%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.45) 100%)}.gamecard-hero::before{content:"";position:absolute;right:-22px;bottom:-22px;width:118px;height:118px;border-radius:50%;background:rgba(87,224,170,.13);filter:blur(2px)}.game-status{position:absolute;top:12px;left:12px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.04em;color:#071b13;background:#74f0b8;box-shadow:0 0 0 1px rgba(255,255,255,.14) inset}.game-status.private{background:#d8dde1;color:#1b232a}.game-title{font-size:25px;font-weight:900;line-height:1.06;margin:0 0 10px}.game-meta,.game-extra{display:flex;gap:14px;flex-wrap:wrap;color:#ccdde5;font-size:13px;margin-bottom:7px}.game-extra{color:#94aebc;margin-bottom:14px}.game-meta span,.game-extra span{display:inline-flex;align-items:center;gap:6px}.game-tags{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 14px}.rule-tag{background:#132430;border-color:#274957;color:#d9ecf2;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.rule-tag.allowed{background:#123328;border-color:#2f8869;color:#8ef1bf}.rule-tag.denied{background:#2d2223;border-color:#6d4f52;color:#ffd1d1}.game-enter{display:flex;justify-content:center;align-items:center;min-height:50px;border-radius:16px;background:linear-gradient(90deg,var(--mint-2),var(--mint));color:#062117;font-size:16px;font-weight:900}
#joinSection h2,#roomSection h2{font-size:26px;line-height:1.05;margin-bottom:10px}#joinStats{padding:10px 12px;background:#0c1821;border:1px solid #223846;border-radius:14px;color:#d8e9ef}.room-briefing{padding:13px 14px;background:#0b1822;border:1px solid #203643;border-radius:16px;color:#d6e5ea}.join-preview{margin:15px 0 4px;padding:14px;border:1px solid #1d3845;border-radius:18px;background:#0c1821}.preview-title{font-size:13px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#8becc1;margin-bottom:10px}.join-members{display:grid;gap:8px}
.join-member,.room-participant{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 13px;border:1px solid #203646;border-radius:16px;background:#10202c}.join-member-main,.room-participant-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.join-avatar,.room-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#1b3340;color:#fff;display:grid;place-items:center;font-weight:800;flex-shrink:0}.join-member-text,.room-participant-text{min-width:0}.join-member-text strong,.room-participant-text strong{display:block;font-size:15px}.join-member-text small{display:block;color:#a3bec9;margin-top:4px}.room-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.pill,.tagrent{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:800}.pill{background:#152734;border:1px solid #2a4857;color:#d2ebf5}.tagrent{display:inline-flex;background:#423112;border:1px solid #896936;color:#ffe7aa}
.choicegrid{grid-template-columns:1fr;gap:12px}.choice{padding:18px 16px;border-radius:18px;background:linear-gradient(180deg,#132733,#0f1c26);border:1px solid #24404e}.choice.rent{background:linear-gradient(180deg,#382e16,#231c0e);border-color:#796338;color:#ffeac0}.financial,.benefits-box{border-radius:18px;background:#0d1d24;border:1px solid #24414b}.benefits-title{font-size:13px;letter-spacing:.06em;text-transform:uppercase}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stat{background:#0a1720;border:1px solid #223946;border-radius:16px;padding:14px 10px}.stat b{font-size:20px;color:#fff}.stat small{font-size:11px;color:#9eb7c3}.roomhead{margin-bottom:10px}.carticon{border-radius:14px;background:#15332f;border-color:#3c8e78;color:#dff9ef}.profile-card{background:#0c1822;border:1px solid #223645;border-radius:18px;padding:16px}.profile-avatar,.profile-avatar-placeholder{width:88px;height:88px;border-radius:50%;border:2px solid #2f6356;background:#152933}.note{color:#aabfca}
.player-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));background:rgba(8,16,23,.97);border-top:1px solid rgba(87,224,170,.18);backdrop-filter:blur(12px);box-shadow:0 -14px 40px rgba(0,0,0,.4)}.player-nav button{background:transparent;border:0;min-height:58px;border-radius:14px;color:#b9cad1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;font-size:12px;font-weight:800}.player-nav button.active{background:#12252b;color:#6af0b5;box-shadow:inset 0 0 0 1px rgba(87,224,170,.2)}.player-nav .nav-icon{font-size:21px;line-height:1}
.modal-shade{padding:0;align-items:flex-end;background:rgba(3,7,10,.78)}.modal-body{width:100%;max-width:540px;border-radius:26px 26px 0 0;border:1px solid #2c5258;background:linear-gradient(180deg,#10202b,#0d1822);padding:22px 18px calc(24px + env(safe-area-inset-bottom,0px))}
@media (min-width:760px){main{max-width:620px;padding-bottom:34px}.player-nav{position:static;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;background:transparent;border:0;box-shadow:none;margin-bottom:12px}.player-nav button{background:#101d28;border:1px solid #243e4a}.player-nav button.active{background:linear-gradient(90deg,var(--mint-2),var(--mint));color:#061f17}.gamecard-hero{height:126px}}

/* V2.8: refinamento fiel ao estilo moderno escuro */
.head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0 13px!important;background:transparent!important;border:0!important;margin:0 0 12px!important}
.head .brand{font-size:clamp(19px,5.8vw,24px)!important;letter-spacing:-.035em!important;line-height:1.1!important}
.head .muted{display:none}
.head .actions{display:flex;align-items:center;gap:9px;margin-left:auto;width:auto!important}
.profile-shortcut{border:2px solid #63dfac!important;border-radius:50%!important;width:48px!important;height:48px!important;min-height:48px!important;min-width:48px!important;display:grid!important;place-items:center!important;padding:0!important;background:#18342f!important;overflow:hidden;box-shadow:0 0 0 4px #15362e55!important;flex-shrink:0}
.profile-shortcut img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar-fallback{font-size:24px;color:#d4fff0;font-weight:900}
.logout-button{min-height:36px!important;padding:6px 10px!important;font-size:12px!important;border-radius:11px!important;background:#102530!important}
#gamesSection{background:transparent;border:0;box-shadow:none;padding:0!important}
#gamesSection h2{font-size:24px;letter-spacing:-.025em}
#gamesSection .section-head{display:block}
#gamesSection .qr-inline{display:none}
#publicGames{gap:13px}
.gamecard{border-color:#2a504d;background:#0d1a21;box-shadow:0 12px 30px #0005}
.gamecard-hero{height:150px;background-color:#132f30;background-image:linear-gradient(180deg,rgba(5,13,15,.12),rgba(3,11,13,.65)),url('/static/arena-banner.svg');background-size:cover;background-position:center 43%}
.gamecard-hero::before,.gamecard-hero::after{display:none}
.gamecard-body{padding:15px 16px 16px}
.game-title{font-size:23px}
.game-enter{margin-top:12px;border-radius:12px;min-height:50px}
.game-filters button{border-radius:10px;min-height:45px}
.game-filters button.active{background:#57dfa8}
.player-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.player-nav button{min-height:60px}
#profileSection{padding-top:20px}
@media(max-width:700px){main{padding:12px 15px 105px}.head{margin-bottom:12px!important}.gamecard-hero{height:142px}.section-head .muted{font-size:13px}}

/* Cadastro guiado: três etapas curtas e acessíveis */
.signup-flow{max-width:100%}.signup-progress{display:flex;justify-content:space-between;gap:12px;color:#b5d3d3;font-size:12px;font-weight:800;margin:6px 0 10px}.signup-progress-track{height:7px;background:#233d44;border-radius:99px;overflow:hidden;margin-bottom:20px}.signup-progress-track>div{height:100%;width:33.33%;background:linear-gradient(90deg,#29b986,#74edb6);border-radius:99px;transition:width .18s ease}.signup-step h2{font-size:21px;margin:0 0 5px}.signup-step p{margin:0 0 14px;font-size:13px}.signup-step label{margin-top:13px}.signup-step input,.signup-step select{width:100%;min-height:48px}.signup-error{border:1px solid #a45762;background:#361d29;color:#ffbfc8;padding:10px 12px;border-radius:12px;margin:12px 0}.signup-actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.signup-actions button{flex:1;min-height:49px}.signup-actions button.primary{flex:1.5}@media(max-width:430px){.auth-card{padding:20px 16px}.signup-step .grid{grid-template-columns:1fr}}


/* Etapas da jornada: leitura rápida e ações sem confusão */
.flow-eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#79e8b5;font-weight:900;margin:0 0 8px}
.flow-status{margin:12px 0;border-radius:15px;padding:13px 15px;background:#10372e;border:1px solid #2b7b5d;color:#d8f8e9;font-weight:700;line-height:1.45}
#cancelDeadline{margin-top:12px;border-left:3px solid #dcad5c;padding:9px 12px;background:#2b261b;color:#ffe4ad;border-radius:5px}
button:disabled{opacity:.55;cursor:not-allowed;transform:none}
@media(max-width:700px){.gamecard,.panel{max-width:100%}.choicegrid{display:grid;grid-template-columns:1fr}#roomStats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.room-participant{min-width:0}.room-badges{flex-wrap:wrap}}

/* v4.6 — componentes compactos e consistentes para celulares */
:root{--at-bg:#08151d;--at-card:#11252e;--at-accent:#57dfa8;--at-stroke:#2a504d;--at-radius:16px;--at-touch:48px}
.gamecard-hero{height:88px!important;background-position:center 48%}
.gamecard-body{padding:12px 14px 13px!important}
.game-title{font-size:20px!important;line-height:1.2}
.game-meta,.game-extra{margin:5px 0!important;gap:8px!important}
.game-tags{margin:7px 0!important}
.game-enter{min-height:46px!important;margin-top:8px!important}
.gamecard{border-radius:var(--at-radius)!important}
.payment-primary{display:grid;gap:9px;margin:12px 0}
.payment-primary button{width:100%;min-height:var(--at-touch)}
.reservation-countdown{padding:14px;background:#0e2b2b;border:1px solid #317d66;border-radius:16px;margin:14px 0}
.reservation-countdown.urgent{background:#3a271f;border-color:#e0a14b}
.timer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e7fff1;font-weight:800}
.timer-head strong{font-size:28px;font-variant-numeric:tabular-nums;color:#74eabb}
.urgent .timer-head strong{color:#ffcf75}
.timer-track{height:9px;background:#0a1c24;border-radius:50px;overflow:hidden;margin:10px 0}
.timer-progress{height:100%;background:var(--at-accent);transition:width 1s linear;border-radius:50px}
.urgent .timer-progress{background:#e0a14b}
#reservationHint{margin:6px 0 0}
#paymentGate .actions>.warn{width:100%;background:transparent;border-color:#8c6762;color:#ffd5c4}
button:focus-visible{outline:3px solid #8bf3c4;outline-offset:3px}
@media(max-width:600px){main{padding-inline:13px!important}.panel{border-radius:16px!important}.gamecard-hero{height:78px!important}.game-title{font-size:19px!important}.auth-card{max-width:100%}.room-participant{gap:8px}.modal-body{max-height:90dvh;overflow:auto}}
@media(min-width:601px) and (max-width:990px){main{max-width:690px!important}.gamecard-hero{height:110px!important}}
@media(min-width:991px){main{max-width:980px!important}.gamecard-hero{height:120px!important}}

/* Termo de participação: botão isolado do checkbox para evitar problemas de toque */
.terms-acceptance{padding:14px;margin:16px 0;border:1px solid var(--line,#295062);background:var(--surface,#101f2a);border-radius:16px}
.terms-read-button{width:100%;min-height:52px;text-align:center;background:#155b46;color:#f3fff9;border-color:#4ed39c;font-weight:850}
.terms-check{display:flex;align-items:flex-start;gap:12px;margin:14px 0 6px;cursor:pointer;line-height:1.5}
.terms-check input{width:22px;height:22px;flex-shrink:0;margin:0}
.terms-check input:disabled{opacity:.45;cursor:not-allowed}
#termsModal{z-index:1500}
.terms-modal{display:flex;flex-direction:column;max-width:760px;height:min(90dvh,870px);max-height:90dvh;text-align:left;overflow:hidden}
.terms-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;flex-shrink:0}
.terms-heading h2{margin:0 0 6px}
.terms-content{flex:1;min-height:0;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px;padding:14px;margin:10px 0;border-radius:12px;background:#081722;border:1px solid #2e4b59;user-select:text}
.terms-actions{display:flex;gap:10px;justify-content:flex-end;flex-shrink:0}
@media(max-width:700px){.terms-modal{height:94dvh;max-height:94dvh;padding-top:18px}.terms-content{font-size:14px}.terms-actions button{flex:1;padding:12px 8px}}

/* v4.8 — limpeza visual e foco na jornada mobile */
.compact-screen{padding:16px!important}
.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.section-title-row h2{margin:0!important}
.stage-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#12262d;border:1px solid #2a4a56;color:#9fe7c6;font-size:12px;font-weight:800;white-space:nowrap}
.align-center{text-align:center}
.join-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px}
.quick-card{background:#0b1821;border:1px solid #233a48;border-radius:14px;padding:12px 10px;text-align:center;min-width:0}
.quick-card span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#92afbc;margin-bottom:5px}
.quick-card strong{display:block;font-size:14px;line-height:1.3;color:#f4fbff;word-break:break-word}
.join-inline-actions,.room-inline-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px}
.chip-button{min-height:44px;border-radius:14px;background:#101e29;border:1px solid #2a4452;color:#dcedf3;font-weight:700;padding:10px 12px}
.collapsible-card{background:#0b1720;border:1px solid #213846;border-radius:16px;padding:13px;margin:0 0 12px}
.compact-briefing{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.compact-members{max-height:210px;overflow:auto;padding-right:4px}
.compact-terms{margin:10px 0 12px!important;padding:12px!important}
.terms-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.terms-header .note{margin:4px 0 0}
.terms-read-button{width:auto!important;min-height:44px!important;padding:0 14px!important;border-radius:12px!important;white-space:nowrap}
.join-question{margin:10px 0 8px;font-weight:800;color:#e8f5fb}
.compact-choicegrid{margin:10px 0 12px!important}
.compact-choicegrid .choice{min-height:76px!important;padding:16px 14px!important}
.choice-label{display:block;font-size:16px;font-weight:900;margin-bottom:6px}
.money-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.money-compact{background:#0b1720;border:1px solid #243c49;border-radius:14px;padding:12px}
.money-compact span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#95b3bf;margin-bottom:5px}
.money-compact strong{display:block;font-size:15px;color:#fff;line-height:1.35}
.compact-financial{padding:10px 12px!important;margin:10px 0 12px!important}
.secondary-action{display:grid;gap:8px;margin-top:12px}
.ghost-warn{width:100%;background:transparent!important;border:1px solid #925f5b!important;color:#ffd3cf!important}
#roomMembers{max-height:340px;overflow:auto;padding-right:4px}
#roomSection .stats{margin-top:8px}
@media(max-width:700px){
  #joinSection .back,#paymentGate .back,#roomSection .back{margin-bottom:8px}
  .join-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .quick-card{padding:10px 8px}
  .quick-card strong{font-size:13px}
  .join-inline-actions,.room-inline-actions{grid-template-columns:1fr 1fr}
  .chip-button{font-size:13px;min-height:42px;padding:8px}
  .terms-header{align-items:flex-start;flex-direction:column}
  .terms-read-button{width:100%!important}
  .compact-choicegrid .choice{min-height:72px!important}
  .choice-label{font-size:15px}
  .money-compact-grid{grid-template-columns:1fr 1fr}
  #roomMembers,.compact-members{max-height:240px}
}
@media(max-width:420px){
  .section-title-row{align-items:flex-start;flex-direction:column}
  .stage-pill{align-self:flex-start}
  .join-quick-grid{grid-template-columns:1fr 1fr}
  .quick-card:first-child{grid-column:1 / -1}
  .join-inline-actions,.room-inline-actions{grid-template-columns:1fr}
  .money-compact-grid{grid-template-columns:1fr}
}

/* V4.15 — sala objetiva, indicadores lado a lado e movimento leve */
#roomSection #roomStats{display:block!important;margin:10px 0!important}
.room-when{padding:10px 12px;border:1px solid #2d4b58;border-radius:12px;background:#10232c;color:#e8f8fd;font-weight:800;font-size:clamp(12px,3vw,15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:9px}
.room-availability{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.availability-tile{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 12px;border:1px solid;border-radius:15px;min-width:0}
.availability-tile span{font-size:12px;font-weight:800;line-height:1.25}
.availability-tile strong{font-size:24px;font-variant-numeric:tabular-nums}
.availability-players{background:linear-gradient(130deg,#103b32,#0d2928);border-color:#348d6c;color:#c0f8df}
.availability-rentals{background:linear-gradient(130deg,#26371c,#242818);border-color:#8b9b55;color:#f2f3c5}
@keyframes atRise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes atSoftPulse{0%,100%{box-shadow:0 0 0 0 rgba(87,223,168,0)}50%{box-shadow:0 0 0 4px rgba(87,223,168,.12)}}
.gamecard,.compact-screen,.profile-card,.auth-card{animation:atRise .3s ease both}
button{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
button:active:not(:disabled){transform:scale(.985)}
button.primary:focus-visible,.chip-button:focus-visible{animation:atSoftPulse 1.8s ease-in-out infinite}
.collapsible-card:not(.hide){animation:atRise .24s ease both}
.gamecard:hover{border-color:#4ba990;transform:translateY(-2px)}
@media(max-width:450px){.availability-tile{padding:11px 9px}.availability-tile span{font-size:11px}.availability-tile strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V4.17: aviso de check-in legível e persistente, inclusive fora do horário */
.checkin-feedback{padding:14px 16px;border-radius:14px;margin:12px 0;font-size:14px;line-height:1.5;font-weight:750;white-space:pre-wrap}
.checkin-warning{background:#29301c;border:1px solid #aa8c4e;color:#ffe3a8}
.checkin-error{background:#382326;border:1px solid #b46a6d;color:#ffd1d1}
.checkin-success{background:#16382d;border:1px solid #479f7e;color:#d1ffeb}


.team-yellow{--team-accent:#f4cf35;}
.team-blue{--team-accent:#4ea4ff;}
.team-none{--team-accent:#5e7588;}
.team-ribbon{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.04em;border:1px solid currentColor;box-shadow:0 0 0 1px rgba(255,255,255,.03) inset}
.team-ribbon.small{font-size:10px;padding:3px 8px}
.team-ribbon.team-yellow{background:rgba(244,207,53,.16);color:#ffe479;border-color:rgba(244,207,53,.42)}
.team-ribbon.team-blue{background:rgba(78,164,255,.14);color:#8ec9ff;border-color:rgba(78,164,255,.35)}
.team-ribbon.team-none{background:rgba(94,117,136,.14);color:#c5d0d8;border-color:rgba(94,117,136,.35)}
.team-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.team-summary-grid.compact{margin-bottom:10px}
.team-summary-card{border-radius:16px;padding:14px 16px;border:1px solid #29404c;background:#0d1b24;display:flex;flex-direction:column;gap:6px;min-width:0}
.team-summary-card span{font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#d8e7ee}
.team-summary-card strong{font-size:28px;line-height:1;color:#fff}
.team-summary-card small{font-size:12px;color:#a8bbc5;line-height:1.4}
.team-summary-card.team-yellow{border-color:rgba(244,207,53,.38);box-shadow:inset 0 0 0 1px rgba(244,207,53,.08)}
.team-summary-card.team-blue{border-color:rgba(78,164,255,.35);box-shadow:inset 0 0 0 1px rgba(78,164,255,.08)}

.room-participant{position:relative;overflow:hidden}
.room-participant.team-yellow{border-left:5px solid #f4cf35}
.room-participant.team-blue{border-left:5px solid #4ea4ff}
.room-participant.team-none{border-left:5px solid #48606f}
.room-participant .team-ribbon{position:absolute;top:10px;right:10px}
@media(max-width:640px){.room-participant .team-ribbon{position:static;margin-left:auto;margin-bottom:8px}.room-participant{display:flex;flex-direction:column}}

/* v4.19 ranking por presença */
.rank-row{display:flex;align-items:center;gap:11px;margin:7px 0;padding:12px;border:1px solid #2c4951;background:#0e222b;border-radius:13px;min-width:0}
.rank-row.my-ranking{border-color:#53d9a3;background:#11362f}
.rank-position{flex:0 0 36px;font-weight:900;font-size:17px;color:#a7edc9}
.rank-name{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:800}
.rank-name small{display:block;font-weight:400;color:#a8bfca;font-size:11px;margin-top:4px}
.rank-points{white-space:nowrap;color:#84ecc0;font-size:16px}
.rank-points.negative{color:#ffb2a6}
.profile-subtabs{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:420px){.rank-row{padding:10px 8px;gap:7px}.rank-position{flex-basis:28px}.rank-points{font-size:14px}}

/* V4.20 · Barra inferior e participantes compactos */
.player-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#rankingSection{min-height:55vh}
#rankingSection .rank-row{transition:transform .18s ease,border-color .18s ease}
#rankingSection .rank-row:hover{transform:translateY(-1px);border-color:#4c9b84}
.room-participant{padding:11px 12px;gap:7px;transition:border-color .2s,background .2s,transform .2s}
.room-participant:hover{background:#152835}
.room-participant-main{width:100%;gap:11px}
.room-avatar-frame{width:54px;height:54px;flex:0 0 54px;padding:3px;border:2px solid #344f5e;border-radius:50%;display:grid;place-items:center;position:relative;background:#102b35}
.room-avatar-frame .room-avatar{width:44px;height:44px;border:0;box-shadow:none}
.room-avatar-frame.avatar-tier-vip{border-color:#e9bf43;background:linear-gradient(135deg,#6b4811,#f5dc78,#6b4811);box-shadow:0 0 0 2px #9c752648,0 0 14px #eac75d3d}
.room-avatar-frame.avatar-tier-clb{border-color:#81e8da;background:linear-gradient(135deg,#135761,#9df2e3,#195962);box-shadow:0 0 0 2px #54e0cc35,0 0 12px #64dfc43d}
.room-avatar-frame.avatar-tier-adm{border-color:#dd9cfa;background:linear-gradient(135deg,#653188,#ebc6ff,#74378a);box-shadow:0 0 0 2px #ba8ed739,0 0 13px #c482ee35}
.participant-name-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.participant-name-row strong{overflow-wrap:anywhere}
.tier-caption{display:inline-flex;align-items:center;border-radius:5px;padding:2px 6px;font-size:10px;line-height:1.4;letter-spacing:.06em;font-weight:900}
.tier-vip{color:#ffe697;background:#5d4312;border:1px solid #ae8529}
.tier-clb{color:#a3f8ea;background:#154845;border:1px solid #327b73}
.tier-adm{color:#f5d5ff;background:#44204c;border:1px solid #9c5fb4}
.presence-sign{font-size:11px;font-weight:800;display:inline-flex;align-items:center;gap:5px;color:#e4d4d4;white-space:nowrap}
.presence-sign span{font-size:14px;border-radius:50%;height:20px;width:20px;display:grid;place-items:center;border:1px solid #9f5360;color:#f2a7ad;background:#3c2029}
.presence-sign.present{color:#a5ecc2}
.presence-sign.present span{color:#a4f8c8;border-color:#399a6e;background:#124533}
.room-badges{align-items:center;gap:6px;margin-top:4px}
.room-participant .tagrent{font-size:10px;padding:3px 7px}
@media(max-width:640px){.room-participant{display:flex;flex-direction:column}.room-participant .team-ribbon{position:static;align-self:flex-end;margin:0 0 -1px 0;font-size:9px;padding:2px 7px}.room-participant-main{align-items:center}.room-participant-text{flex:1}}
@media(min-width:760px){.player-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* V4.21 — lista de jogadores é a prioridade da sala, sem corte ao atingir muitos inscritos */
#roomSection #roomPlayersPanel{margin-top:8px;margin-bottom:12px;padding:12px 10px;}
#roomSection #roomMembers{max-height:none!important;height:auto!important;overflow:visible!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:8px;padding:0;}
#roomSection #roomMembers .room-participant{min-width:0;contain:layout;}
#roomSection .room-inline-actions{margin-top:8px;}
#roomSection .room-player-count{display:inline-flex;align-items:center;justify-content:center;padding:3px 9px;border:1px solid #4b8b74;color:#bbffdb;border-radius:99px;font-size:12px;margin-left:6px;}
#roomSection #roomStats{margin-top:14px!important;}
@media(max-width:640px){#roomSection #roomMembers{grid-template-columns:minmax(0,1fr)}#roomSection #roomPlayersPanel{padding:10px 8px;}}

/* V4.22 — dados da partida no topo e linguagem visual consistente */
#roomSection #roomStats{margin:10px 0 12px!important;display:block}
#roomSection #roomStatus{margin:0 0 12px}
#roomSection #roomPlayersPanel{margin-top:8px}
#roomSection #roomMembers{max-height:none!important;overflow:visible!important}
.player-nav{background:#0a1922;box-shadow:0 -7px 30px #020c1473;border-top:1px solid #2a4c59;gap:6px;padding:8px 10px max(9px,env(safe-area-inset-bottom))}
.player-nav button{border-radius:14px;transition:background .18s ease,color .18s ease,transform .18s ease;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.player-nav button.active{background:linear-gradient(160deg,#204c43,#102f35);box-shadow:inset 0 0 0 1px #57b49757}
.player-nav button:active{transform:scale(.96)}
.player-nav .nav-icon{display:flex;align-items:center;justify-content:center;height:25px;width:25px;font-size:0}
.player-nav .nav-icon svg{width:23px;height:23px;display:block}
/* Identidade VIP/CLB/ADM também fora da sala */
.profile-shortcut.avatar-tier-vip,.profile-shortcut .avatar-tier-vip{border:2px solid #e9bf43;box-shadow:0 0 0 2px #a77e284b,0 0 13px #d9ae4c40}
.profile-shortcut.avatar-tier-clb,.profile-shortcut .avatar-tier-clb{border:2px solid #81e8da;box-shadow:0 0 0 2px #44ad9e4b,0 0 13px #60e4ca40}
.profile-shortcut.avatar-tier-adm,.profile-shortcut .avatar-tier-adm{border:2px solid #dd9cfa;box-shadow:0 0 0 2px #a65ad94b,0 0 13px #c98be640}
#profileDetails.profile-card{display:flex;align-items:center;gap:18px;border:1px solid #355a62;background:linear-gradient(140deg,#112c34,#0b1c27);border-radius:18px;padding:20px;min-height:120px}
#profileDetails .profile-photo-ring{width:96px;height:96px;flex:0 0 96px;padding:5px;border-width:3px}
#profileDetails .profile-avatar{width:78px!important;height:78px!important;object-fit:cover;border-radius:50%;border:0!important}
#profileDetails .profile-avatar-placeholder{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;font-size:32px;background:#1a3944}
#profileDetails .profile-info{min-width:0;flex:1}
#profileDetails .profile-info h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}
#rankingSection .rank-row{border-left:3px solid #3f987d;border-radius:14px;box-shadow:0 3px 14px #00000025}
#rankingSection .rank-row:nth-child(1){border-left-color:#e9bf43}
#rankingSection .rank-row:nth-child(2){border-left-color:#9ecada}
#rankingSection .rank-row:nth-child(3){border-left-color:#b48c71}
#publicGames .game-card,.profile-card,.collapsible-card,.availability-tile{transition:border-color .2s ease,box-shadow .2s ease}
@media(max-width:440px){#profileDetails.profile-card{padding:12px;gap:12px}#profileDetails .profile-photo-ring{width:74px;height:74px;flex-basis:74px}#profileDetails .profile-avatar,#profileDetails .profile-avatar-placeholder{width:60px!important;height:60px!important}#profileDetails .profile-info h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.player-nav button,.profile-card,.collapsible-card,.availability-tile{transition:none!important}}

/* V4.23 — aproveitamento real da tela de celular, sem perder o visual */
@media(max-width:759px){
 html{scroll-padding-top:8px}
 body{overflow-x:clip}
 main{width:100%;max-width:100%!important;margin:0;padding:0 max(9px,env(safe-area-inset-left)) calc(76px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-right))!important}
 .head{margin:0 -9px 9px!important;padding:10px 13px!important;gap:7px;align-items:center;background:#102532}
 .head .brand{font-size:clamp(16px,4.5vw,20px);line-height:1.15}
 .head .actions{margin-top:0;gap:5px}
 .head .actions button{min-height:40px;padding:7px 9px}
 .panel{padding:11px!important;margin-bottom:9px;border-radius:14px!important}
 .panel h2{font-size:clamp(17px,4.8vw,21px);margin-bottom:9px}
 .section-title-row{gap:6px;margin-bottom:7px}
 .flow-eyebrow{margin:4px 0!important;font-size:11px}
 .stage-pill{font-size:10px;padding:3px 6px}
 .gamecard{padding:11px!important;margin-top:7px;gap:9px}
 .gamecard-hero{height:70px!important}
 .game-title{font-size:17px!important;line-height:1.22}
 .gamecard small{margin-top:4px}
 .stats{gap:6px;margin:7px 0}
 .stat{padding:8px 6px}
 #roomSection #roomStats{margin:7px 0 8px!important}
 .room-when{padding:8px 10px;font-size:13px}
 .room-availability{gap:6px}
 .availability-tile{padding:8px 10px;border-radius:11px}
 .availability-tile span{font-size:10px}
 .availability-tile strong{font-size:20px}
 #roomSection #roomStatus{margin:0 0 8px;padding:9px 11px;font-size:12px;line-height:1.35}
 .roomhead{gap:6px;flex-wrap:nowrap}
 .roomhead button{min-width:0;padding:8px 10px;min-height:42px;font-size:12px}
 .roomhead .carticon{white-space:nowrap}
 .room-inline-actions,.join-inline-actions{gap:6px;margin:7px 0}
 .chip-button{font-size:12px;padding:8px 9px;min-height:40px}
 #roomSection #roomPlayersPanel{padding:9px 7px!important;margin:6px 0 8px;border-radius:13px}
 #roomSection #roomMembers{gap:6px!important;grid-template-columns:minmax(0,1fr)!important}
 #roomSection .preview-title{margin-bottom:8px;font-size:14px}
 #roomSection .room-participant{position:relative;padding:9px 10px!important;gap:5px;border-radius:12px;min-width:0}
 #roomSection .room-participant-main{display:flex;gap:9px;align-items:center;width:100%;min-width:0}
 #roomSection .room-avatar-frame{width:44px;height:44px;min-width:44px;flex:0 0 44px}
 #roomSection .room-avatar{width:38px;height:38px}
 #roomSection .room-participant-text{min-width:0}
 #roomSection .participant-name-row{gap:4px}
 #roomSection .participant-name-row strong{font-size:14px;line-height:1.22}
 #roomSection .tier-caption{font-size:9px;padding:1px 5px}
 #roomSection .room-badges{margin-top:3px;gap:5px}
 #roomSection .presence-sign{font-size:10px;line-height:1.1}
 #roomSection .presence-sign span{width:17px;height:17px;font-size:12px}
 #roomSection .room-participant .team-ribbon{position:absolute;top:7px;right:8px;margin:0;align-self:auto;padding:2px 6px;font-size:9px}
 #roomSection .room-participant-main{padding-top:10px}
 #roomSection .room-participant .tagrent{font-size:9px;padding:2px 5px}
 #roomSection .room-player-count{padding:2px 7px;font-size:11px}
 #profileDetails.profile-card{padding:10px!important;gap:10px;min-height:0}
 #profileDetails .profile-photo-ring{width:70px!important;height:70px!important;flex-basis:70px!important}
 #profileDetails .profile-avatar,#profileDetails .profile-avatar-placeholder{width:56px!important;height:56px!important}
 #profileDetails .profile-info h3{font-size:16px}
 .rank-row{padding:9px 10px;gap:8px;margin:6px 0}
 .rank-position{flex-basis:29px;font-size:15px}
 .rank-points{font-size:14px}
 .player-nav{left:0;right:0;bottom:0;gap:4px;padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .player-nav button{min-height:53px;padding:5px 4px;font-size:11px;gap:2px;border-radius:11px}
 .player-nav .nav-icon{width:23px;height:23px}
 .player-nav .nav-icon svg{width:21px;height:21px}
 .modal-shade{padding:8px 8px calc(8px + env(safe-area-inset-bottom))}
 .modal-body{width:100%;padding:14px;border-radius:16px;max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));}
 .choicegrid{gap:8px;margin:10px 0;grid-template-columns:repeat(2,minmax(0,1fr))}
 .choice{min-width:0;min-height:88px;padding:12px 9px!important;font-size:13px;line-height:1.3}
 .choice small{font-size:11px;margin-top:6px}
 .terms-acceptance{margin-block:9px}
 .auth-screen{padding:8px;min-height:100dvh}
 .auth-card{padding:16px;border-radius:16px}
 input,select,textarea{font-size:16px;min-height:44px}
}
@media(max-width:360px){
 main{padding-inline:7px!important}
 .head{margin-inline:-7px!important}
 #roomSection .room-participant{padding:8px!important}
 #roomSection .room-participant-main{gap:7px}
 #roomSection .room-avatar-frame{width:40px;height:40px;min-width:40px;flex-basis:40px}
 #roomSection .room-avatar{width:34px;height:34px}
 .choice{font-size:12px;padding:10px 7px!important}
 .player-nav button{font-size:10px}
}


/* V4.24 — Logo oficial Arena Tambaqui */
.auth-logo-wrap{display:flex;justify-content:center;align-items:center;margin:-2px 0 12px}.auth-logo{display:block;width:min(100%,360px);height:auto;filter:drop-shadow(0 12px 30px rgba(0,0,0,.28))}.brand-stack{display:flex;align-items:center;gap:14px;min-width:0}.brand-copy{min-width:0}.brand-logo-header{display:block;width:132px;max-width:30vw;min-width:84px;height:auto;filter:drop-shadow(0 8px 20px rgba(0,0,0,.26))}@media(max-width:700px){.auth-logo{width:min(100%,300px)}.brand-stack{gap:10px;align-items:center}.brand-logo-header{width:92px;min-width:72px;max-width:26vw}}

/* V4.25 — Cabeçalho sem texto duplicado; a identidade é a própria logo */
.head .brand-stack{flex:0 1 auto;max-width:100%;min-width:0;gap:0;}
.head .brand-logo-header{width:clamp(150px,32vw,260px);min-width:0;max-width:100%;height:auto;object-fit:contain;object-position:left center;}
@media(max-width:700px){.head .brand-logo-header{width:clamp(145px,47vw,215px);max-width:100%}.head .brand-stack{min-width:0;flex:0 1 auto}}

/* V4.25 — Jogadores diretamente na sala, sem caixa adicional */
#roomSection .room-player-zone{display:block!important;margin:12px 0 8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;}
#roomSection .room-player-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;padding:0 2px;}
#roomSection .room-player-heading h3{margin:0;font-size:16px;line-height:1.3;color:#ebf8fd;}
#roomSection #roomMembers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:8px;padding:0;}
#roomSection #roomMembers .room-participant{margin:0;}
#roomSection .room-inline-actions{justify-content:flex-end;margin:6px 0;}
#roomSection #roomStats .room-when{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;padding:12px 14px;min-width:0;white-space:normal;overflow:visible;text-align:left;border-radius:13px;border:1px solid #395866;background:#102b37;color:#fff;margin:0 0 8px;box-shadow:none;}
#roomSection #roomStats .room-date-label{display:block;font-size:11px;font-weight:700;color:#a9c7d0;letter-spacing:.045em;line-height:1.2;}
#roomSection #roomStats .room-when strong{display:block;font-size:clamp(14px,3.8vw,17px);font-weight:850;color:#eafaff;line-height:1.35;white-space:normal;overflow-wrap:anywhere;}
@media(max-width:640px){#roomSection #roomMembers{grid-template-columns:minmax(0,1fr)}#roomSection .room-player-heading h3{font-size:15px}}

/* V4.26 — moldura real no botão da foto; a letra permanece sem borda. */
.profile-shortcut.avatar-tier-vip,.profile-shortcut.avatar-tier-clb,.profile-shortcut.avatar-tier-adm{box-sizing:border-box!important;border-style:solid!important;border-width:3px!important;overflow:hidden!important;padding:0!important;border-radius:50%!important}
.profile-shortcut.avatar-tier-vip{border-color:#e9bf43!important;box-shadow:0 0 0 2px #a77e284b,0 0 13px #d9ae4c40!important}
.profile-shortcut.avatar-tier-clb{border-color:#81e8da!important;box-shadow:0 0 0 2px #44ad9e4b,0 0 13px #60e4ca40!important}
.profile-shortcut.avatar-tier-adm{border-color:#dd9cfa!important;box-shadow:0 0 0 2px #a65ad94b,0 0 13px #c98be640!important}
.profile-shortcut .avatar-fallback{width:100%;height:100%;border:0!important;box-shadow:none!important;display:grid;place-items:center;margin:0;line-height:1;background:transparent;font-size:21px}
.profile-shortcut .avatar-fallback img{width:100%;height:100%;object-fit:cover;border:0!important;box-shadow:none!important}
.ui-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:none;vertical-align:middle}.ui-icon svg{width:18px;height:18px;display:block}
#roomSection .roomhead .carticon,.chip-button,.qr-inline,.choice-label{align-items:center;gap:7px}
.flow-eyebrow,.stage-pill,.signup-progress,.signup-progress-track{display:none!important}

/* V4.27 — alinhamento unificado e briefing em popup */
:root{--at-space:9px;--at-radius:13px;--at-border:#315262;--at-card:#112536}
#roomSection .room-briefing-modal{width:min(540px,100%);max-height:min(82dvh,720px);overflow:auto;border:1px solid #456777;background:#102532;border-radius:18px;padding:18px;box-shadow:0 25px 90px #000a}
.room-briefing-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.room-briefing-modal-head h2{font-size:18px;line-height:1.3;margin:0}
.room-briefing-modal-head button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
#roomSection #roomPolicy{background:#0b1c28;border:1px solid #304e5e;border-radius:var(--at-radius);padding:14px;color:#dbe9ed;line-height:1.6;max-height:60dvh;overflow:auto}
#roomSection #roomStats{width:100%;margin:var(--at-space) 0!important;gap:var(--at-space)!important}
#roomSection #roomStats .room-when{margin:0 0 var(--at-space)!important;border-radius:var(--at-radius)!important;padding:11px 13px!important}
#roomSection #roomStats .room-availability{gap:var(--at-space)!important}
#roomSection #roomStats .availability-tile{border-radius:var(--at-radius)!important;padding:11px 13px!important}
#roomSection .room-inline-actions{margin:var(--at-space) 0!important;gap:var(--at-space)!important}
#roomSection .room-player-zone{margin:var(--at-space) 0!important}
#roomSection .room-player-heading{padding:0!important;margin:0 0 var(--at-space)!important}
#roomSection #roomMembers{gap:var(--at-space)!important;margin:0!important;padding:0!important}
#roomSection #roomMembers .room-participant{border-radius:var(--at-radius)!important;padding:11px 12px!important;min-width:0;align-self:stretch}
#roomSection .room-participant-main{gap:11px!important;min-width:0}
#roomSection .room-participant .team-ribbon{max-width:45%;text-align:center}
#gamesSection .gamecard,#joinSection .choice,#rankingSection .rank-row,#profileSection .profile-card{border-radius:var(--at-radius)}
@media(max-width:650px){
 :root{--at-space:8px;--at-radius:12px}
 #roomSection #roomMembers .room-participant{padding:10px!important}
 #roomSection .room-briefing-modal{width:100%;max-height:85dvh;padding:15px;border-radius:18px 18px 0 0}
 #roomSection #roomPolicy{max-height:60dvh;padding:12px}
 #roomSection .room-participant-main{gap:9px!important}
}

/* V4.28: perfil editável e histórico financeiro acessível */
.profile-edit-box{margin:12px 0;padding:12px;background:#102630;border:1px solid #315666;border-radius:14px}
.profile-edit-row{display:flex;align-items:stretch;gap:8px}.profile-edit-row input{flex:1;min-width:0}.profile-edit-row button{white-space:nowrap}
.history-game-card{display:flex;align-items:center;gap:10px;width:100%;min-width:0;text-align:left;background:#102630;border:1px solid #315666;border-radius:14px;padding:12px;margin:8px 0;color:inherit}
.history-game-card:hover,.history-game-card:focus-visible{border-color:#70d9b9;background:#193743}
.history-game-title{flex:1;min-width:0}.history-game-title strong,.history-game-title small,.history-game-stats small{display:block}.history-game-title strong{overflow-wrap:anywhere}.history-game-title small,.history-game-stats small{color:#b1ccd4;font-size:12px;margin-top:4px}.history-game-stats{text-align:right}.history-game-arrow{font-size:24px;color:#9ce8c7}
.history-detail-head,.history-detail-line,.history-detail-totals{display:flex;justify-content:space-between;gap:12px;align-items:center}.history-detail-line{padding:10px 0;border-bottom:1px solid #315666}.history-detail-totals{flex-wrap:wrap;padding:16px 0;font-size:14px;color:#9de8c8}.history-detail-modal h4{margin:18px 0 7px}
@media(max-width:430px){.profile-edit-row{flex-direction:column}.profile-edit-row button{width:100%}.history-game-card{padding:10px 8px;gap:7px}}

/* V4.29: ícones vetoriais consistentes em telas pequenas */
.ui-icon{width:19px;height:19px;flex:0 0 19px;vertical-align:-4px;display:inline-block;stroke:currentColor}.ui-icon-rifle{width:23px;height:20px;flex-basis:23px}.room-date-label,.availability-tile>span{display:flex;align-items:center;gap:6px}.room-date-label .ui-icon,.availability-tile>span .ui-icon{flex-shrink:0}button.back{display:inline-flex;gap:7px;align-items:center;justify-content:center}.signup-actions #regBack{display:inline-flex;gap:7px;align-items:center;justify-content:center}

/* V4.30 — localização do campo em cartões compactos */
.field-location-link{display:flex;align-items:center;gap:10px;margin:10px 0 12px;padding:12px 14px;border:1px solid #356e67;border-radius:13px;background:linear-gradient(125deg,#153b37,#132d37);color:#d6f9eb;text-decoration:none;min-width:0;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.field-location-link:hover,.field-location-link:focus-visible{border-color:#79e5c0;background:#19463f;transform:translateY(-1px)}
.field-location-link>.ui-icon:first-child{width:23px;height:23px;flex:0 0 23px;color:#8be8bd}
.field-location-link>span{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.field-location-link strong{font-size:13px;font-weight:850}
.field-location-link small{font-size:11px;color:#aeced0;line-height:1.35}
.field-location-arrow{width:18px;height:18px;color:#9adaca;flex:0 0 18px}
@media(max-width:420px){.field-location-link{margin:8px 0 10px;padding:10px 11px;gap:8px}}

/* V4.31 — logout no perfil */
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.profile-heading h2{margin:0!important}.profile-logout{border-color:#835d62;background:#39272e;color:#ffe0e0;min-height:40px;padding:9px 13px;font-size:13px;border-radius:12px}@media(max-width:390px){.profile-heading{align-items:center}.profile-logout{font-size:12px;padding:8px 10px}}

/* V4.32 — saída da sala e informação de prazo unificadas */
.room-exit-box{display:flex;flex-direction:column;gap:9px;margin-top:14px;padding:12px;border:1px solid #71583b;border-radius:var(--at-radius,15px);background:#261f1b}
.room-exit-box #cancelDeadline{margin:0;border:0;padding:0;background:none;border-radius:0;text-align:left;font-size:13px;line-height:1.45}
.room-exit-actions{margin:0!important;justify-content:flex-start}.room-exit-actions button{min-height:44px}
@media(max-width:600px){.room-exit-actions button{width:100%}}

/* V4.33 — avisos responsivos */
.notify-bell{position:relative;width:44px;height:44px;display:grid;place-items:center;padding:9px!important;border-radius:14px!important}.notify-bell .ui-icon{width:23px;height:23px}.notify-count{position:absolute;top:-3px;right:-4px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:18px;background:#f0ba54;color:#1a2127;font-size:10px;font-weight:900;padding:0 3px}.notifications-modal{width:min(450px,100%);max-height:85dvh;overflow:auto}.notification-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.notification-item{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;margin:9px 0;padding:13px;background:#193440;border:1px solid #476877;border-radius:14px}.notification-item strong{font-size:14px;color:#fbe0a7}.notification-item small{color:#b7ced8}.notification-item span{color:#92eac5;font-size:12px}.notification-consent{border-top:1px solid #37515c;padding-top:12px;margin-top:15px}.notification-consent button{width:100%;margin-top:7px}@media(max-width:500px){.notify-bell{flex:0 0 44px}.notification-item{padding:11px}}

/* V4.34 bloqueio de inscrição por débito anterior */
.debt-block{margin:10px 0 14px;padding:13px 14px;background:#3b2b20;border:1px solid #bc8647;border-radius:13px;color:#ffedcf;display:grid;gap:9px}
.debt-block-title{font-weight:900;color:#ffe0a1;font-size:15px}
.debt-block p{margin:0;color:#f1ddbf;font-size:13px;line-height:1.5}
.debt-block button{justify-self:stretch;min-height:44px}
#joinSection .choice:disabled{cursor:not-allowed;opacity:.42;filter:grayscale(.5)}

/* V4.35 — pendência substitui o fluxo de inscrição, sem controles confusos */
#joinSection.has-debt .join-inline-actions,
#joinSection.has-debt #joinDetailsPanel,
#joinSection.has-debt #joinPlayersPanel,
#joinSection.has-debt .terms-acceptance,
#joinSection.has-debt .join-question,
#joinSection.has-debt .choicegrid,
#joinSection.has-debt .benefits-box,
#joinSection.has-debt #joinMessage {display:none!important}
#joinSection.has-debt .debt-block{margin-top:12px;margin-bottom:8px}

/* V4.36 — loja e plano VIP. Mesmos raios, bordas e espaçamentos do app. */
.player-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(min-width:760px){.player-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.player-nav button{min-width:0}
.store-section{min-width:0}.store-pickup-note{display:flex;align-items:flex-start;gap:10px;border:1px solid #3b6a66;border-radius:13px;background:#12312f;color:#d5efe7;padding:12px;margin:12px 0;font-size:13px}.store-pickup-note svg{color:#81e6ba;flex-shrink:0}.store-catalog{display:grid;gap:9px;margin:13px 0}.store-item{background:#112630;border:1px solid #33525b;border-radius:13px;display:flex;align-items:center;gap:10px;padding:11px;min-width:0}.store-item-icon{flex:0 0 40px;height:40px;display:grid;place-items:center;background:#1b403c;color:#8de8c4;border-radius:11px}.store-item-info{display:grid;gap:5px;flex:1;min-width:0}.store-item-info strong{overflow-wrap:anywhere}.store-item-info small{color:#90eabf;font-weight:800}.store-buy{flex-shrink:0;padding:9px 12px;min-height:42px}.store-foot{display:grid;gap:10px}.store-cart-link{width:100%;text-align:center}.vip-plan-preview{border:1px solid #927541;border-radius:14px;background:linear-gradient(125deg,#322b20,#122a2c);padding:14px;margin:12px 0 16px}.vip-plan-heading{display:flex;align-items:center;gap:11px;color:#f2d898}.vip-plan-heading>div{display:grid;gap:3px}.vip-plan-heading small{color:#ccbfa8;font-size:11px}.vip-crown{font-size:28px;color:#ecc16d}.vip-plan-preview p{color:#d4d0be;font-size:13px;line-height:1.5}.vip-coming-soon{border-color:#9b8047;background:#54432c;color:#f7e2b3;width:100%}@media(max-width:390px){.player-nav button{font-size:10px}.store-item{gap:7px;padding:9px}.store-buy{padding:8px}}

/* V4.37 Loja */
.store-section .section-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.store-cart-link{display:inline-flex;align-items:center;gap:6px}.store-item{display:flex;align-items:center;gap:10px;margin:9px 0;padding:10px;border:1px solid #355566;border-radius:14px;background:#112b35}.shop-picture{width:72px;height:72px;flex:0 0 72px;border:1px solid #3a6670;border-radius:11px;display:grid;place-items:center;overflow:hidden;background:#0a1c24}.shop-picture img{width:100%;height:100%;object-fit:cover}.shop-picture svg{width:28px;color:#99cfbe}.store-item-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.store-item-info small,.shop-line small{display:block;color:#b0c9d4;font-size:12px}.store-item-info span{color:#8aeac2;font-weight:bold}.store-item button{min-width:90px}.shop-cart-panel{border:1px solid #4b7e74;border-radius:14px;background:#102e31;padding:14px;margin:15px 0}.shop-cart-panel label{margin-top:12px}.shop-line{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #365563;padding:11px 2px}.shop-qty{display:flex;gap:8px;align-items:center}.shop-qty button{min-width:35px;padding:5px}.shop-pix{padding:12px;display:grid;gap:10px}.shop-pix img{width:200px;max-width:100%;margin:auto}.shop-pix textarea{width:100%;background:#0b1e28;color:#fff;border:1px solid #496b77;border-radius:10px;padding:10px}@media(max-width:420px){.store-item{flex-wrap:wrap}.store-item button{margin-left:auto}.shop-picture{width:60px;height:60px;flex-basis:60px}.shop-cart-panel{padding:10px}}

/* V4.38 — Carrinho da loja segue o modal padrão da sala */
#shopCartModal{z-index:1100}
#shopCartModal .shop-cart-panel{width:min(520px,100%);max-height:88dvh;overflow-y:auto;background:var(--surface);border:1px solid #4c8790;border-radius:16px;padding:18px;margin:0;box-shadow:0 25px 80px #0009}
#shopCartModal .shop-cart-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;gap:10px}
#shopCartModal .shop-cart-heading h2{margin:0;font-size:19px}
#shopCartModal .shop-cart-heading button{display:inline-flex;align-items:center;gap:5px;flex:none}
#shopCartModal .shop-line{padding:12px 0}
#shopCartModal #shopCartTotal{display:block;text-align:right;margin:14px 0;color:#92ebc4;font-size:18px}
#shopCartModal button.primary{width:100%;margin-top:10px}
#shopCartModal .shop-qty button{min-height:40px;min-width:40px}
@media(max-width:650px){#shopCartModal{align-items:end;padding:0}#shopCartModal .shop-cart-panel{width:100%;max-width:none;max-height:90dvh;border-radius:20px 20px 0 0;padding:16px 13px calc(20px + env(safe-area-inset-bottom,0px))}}

/* V4.40 — Histórico organizado e carrinho da Loja igual ao da sala */
.history-sections{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px}.history-sections button{padding:11px 8px;border:1px solid #3c6270;background:#102937;color:#cbdde6;border-radius:12px;font-size:13px;min-width:0}.history-sections button.active{background:#1c4841;border-color:#63dcb5;color:#d6fff0}
.shop-cart-panel{width:min(520px,100%);max-height:90dvh;overflow:auto;padding:18px;background:#132536;border:1px solid #4c8790;border-radius:16px}.shop-cart-heading{justify-content:space-between;align-items:center;margin:0 0 12px}.shop-cart-heading h2{display:flex;align-items:center;gap:8px;margin:0}.shop-cart-heading button{display:flex;align-items:center;gap:5px}.shop-cart-content{display:grid;gap:12px}.shop-cart-content>.note{margin:0}.shop-cart-content .shop-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:12px;background:#0c2330;border:1px solid #345461;border-radius:12px}.shop-line-details{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.shop-line-details small{color:#b5cbd3}.shop-qty{display:flex;align-items:center;gap:8px;flex-shrink:0}.shop-qty button{width:36px;height:36px;min-height:36px;padding:0;display:grid;place-items:center;font-size:20px}.shop-checkout-summary{display:flex;align-items:center;justify-content:space-between;background:#0e2c2e;border:1px solid #4b8b7a;border-radius:12px;padding:15px;gap:10px}.shop-checkout-summary strong{font-size:20px;color:#89edc2}.shop-checkout-group{border:1px solid #345461;background:#102632;border-radius:12px;padding:13px;display:grid;gap:8px}.shop-checkout-group label{margin:0;font-size:14px;font-weight:800}.shop-checkout-group .note{margin:0}.shop-method-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}.shop-method-disabled{opacity:.55}.shop-checkout-button{width:100%;min-height:48px}.shop-cart-panel #shopPaymentResult{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.shop-cart-panel{width:100%;max-width:none;max-height:90dvh;border-radius:21px 21px 0 0;padding:16px 13px calc(20px + env(safe-area-inset-bottom,0px))}.shop-cart-content .shop-line{padding:10px;gap:7px}}

/* V4.41: carrinho da Loja somente com ícone e indicador de quantidade */
.store-section .section-head{align-items:center}
.store-section .store-cart-link{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;min-width:46px;max-width:46px;height:46px;min-height:46px;padding:9px;border:1px solid #447b70;border-radius:13px;background:#183b3c;color:#a3efd0;overflow:visible}
.store-section .store-cart-link .ui-icon{display:block;width:23px;height:23px;flex:none}
.store-section .store-cart-link .shop-cart-badge{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;border:2px solid #132536;background:#61ebbb;color:#09201b;font-size:11px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums;box-sizing:border-box;pointer-events:none}
@media(max-width:420px){.store-section .store-cart-link{flex-basis:44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px}}

/* V4.42: aviso e filtros da loja */
.store-pickup-alert{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:13px;background:#413421;border:1px solid #c09747;color:#ffe1a1;max-width:100%;min-width:0}.store-pickup-alert .ui-icon{width:24px;height:24px;flex:0 0 24px}.store-pickup-alert span{display:grid;gap:3px;min-width:0}.store-pickup-alert strong{font-size:13px}.store-pickup-alert small{font-size:11px;line-height:1.4;color:#f5dfbd}.store-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.store-filters label{font-size:12px;margin:0}.store-filters select{margin-top:5px;min-height:43px}.store-item-tags{display:flex;gap:6px;flex-wrap:wrap}.store-item-tags span{font-size:10px;line-height:1.3;padding:3px 7px;border:1px solid #46736b;border-radius:999px;color:#bcf4d9;background:#1a3937}@media(max-width:370px){.store-filters{grid-template-columns:1fr}}

/* V4.43: vitrine compacta de dois cards por linha */
.store-section .store-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.store-product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #355463;border-radius:14px;background:#142a35}.store-product-details-trigger{display:flex;flex-direction:column;align-items:stretch;text-align:left;flex:1;padding:0!important;margin:0;border:0!important;border-radius:0!important;background:transparent!important;color:inherit;min-width:0}.store-product-photo{width:100%;aspect-ratio:1 / 1;background:#1c323b;overflow:hidden;display:grid;place-items:center}.store-product-photo img{width:100%;height:100%;object-fit:cover}.store-product-photo svg{width:45px;height:45px;color:#9ed6c3}.store-product-content{display:flex;flex-direction:column;gap:8px;padding:11px 10px 6px;flex:1;min-width:0}.store-product-tags{display:flex;gap:4px;flex-wrap:wrap}.store-product-tags span{font-size:10px;line-height:1.2;padding:4px 6px;border-radius:6px;background:#244139;color:#b3efd3}.store-product-tags span+span{background:#293e4b;color:#d2e4ee}.store-product-name{font-size:13px;line-height:1.35;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.store-product-price{display:grid;gap:0;margin-top:auto}.store-product-price strong{font-size:18px;color:#90e9bd}.store-product-price small{font-size:11px;color:#acc3cd}.store-product-action{padding:8px 10px 10px;margin-top:auto}.store-product-add{width:100%;display:flex;align-items:center;justify-content:center;gap:4px;min-height:40px!important;padding:8px!important;font-size:12px}.store-product-add svg{width:16px;height:16px}.store-product-quantity{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:2px;text-align:center;background:#183d3c;border-radius:10px}.store-product-quantity button{min-width:0!important;width:40px!important;min-height:40px!important;padding:0!important;font-size:20px}.store-product-soldout{display:block;text-align:center;padding:11px;color:#e7a6a6;font-size:12px;font-weight:700}.shop-product-modal{width:min(440px,100%)}.shop-product-modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.shop-product-modal-head button{min-height:38px}.shop-detail-photo{width:100%;aspect-ratio:1.4;display:grid;place-items:center;background:#203943;border-radius:12px;overflow:hidden;margin-bottom:13px}.shop-detail-photo img{width:100%;height:100%;object-fit:contain}.shop-detail-photo svg{width:54px;color:#96dabc}.shop-detail-price{display:flex;gap:8px;align-items:baseline;margin-top:13px}.shop-detail-price strong{font-size:25px;color:#90e9bd}.shop-detail-price span{color:#b0c8d2}.shop-product-modal #shopProductDetailBody>button{width:100%;margin-top:12px}@media(max-width:370px){.store-section .store-catalog{gap:7px}.store-product-content{padding:8px 7px 5px}.store-product-action{padding:7px}.store-product-name{font-size:12px}.store-product-price strong{font-size:16px}}@media(min-width:740px){.store-section .store-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}

/* V4.44 — margens dos produtos no carrinho e escolha de retirada. */
#shopCartModal .shop-cart-content{gap:12px;padding:3px 2px 5px}
#shopCartModal #shopCartItems{display:grid;gap:11px;padding:2px 1px}
#shopCartModal #shopCartItems .shop-line{margin:0;padding:13px 12px;border:1px solid #3b5966;border-radius:12px;background:#0d2632;box-shadow:0 3px 10px #020a1233}
#shopCartModal #shopCartItems .shop-line-details{padding-right:5px}
#shopCartModal #shopCartItems .shop-qty{gap:7px}
#shopCartModal .shop-pickup-hint{padding:8px 10px;border-radius:9px;border:1px solid #3c665c;background:#16352e;color:#b5ead0;font-size:12px;line-height:1.45}
@media(max-width:420px){#shopCartModal #shopCartItems{gap:9px}#shopCartModal #shopCartItems .shop-line{padding:11px 9px;gap:6px}#shopCartModal #shopCartItems .shop-qty{gap:4px}#shopCartModal #shopCartItems .shop-qty button{width:34px;height:36px;min-width:34px}}

/* v4.49 compartilhar jogo */
.game-share-wrap{position:relative;min-width:0}.game-share-wrap .gamecard{padding-right:55px}.game-share-action{position:absolute;top:15px;right:14px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #457e74;border-radius:12px;background:#20453e;color:#a7f3d2;z-index:2}.game-share-action:focus-visible{outline:2px solid #9bf2d0;outline-offset:2px}

/* V4.50 — Perfil do usuário simplificado */
.profile-heading-note{margin:4px 0 0}
.profile-overview{display:grid;gap:14px}
.profile-status-card{padding:18px!important}
.profile-main-head{display:flex;gap:16px;align-items:center;min-width:0;width:100%}
.profile-photo-stack{display:grid;justify-items:center;gap:8px;flex:0 0 auto}
.profile-photo-ring{width:96px;height:96px;display:grid;place-items:center;padding:5px}
.profile-photo-ring .profile-avatar,.profile-photo-ring .profile-avatar-placeholder{width:78px!important;height:78px!important;border-radius:50%;object-fit:cover;background:#18313b;display:grid;place-items:center}
.profile-photo-link{border:0;background:none;color:#91e8c2;font-weight:700;padding:0;min-height:0;font-size:13px}
.profile-photo-link:hover{text-decoration:underline}
.profile-info{min-width:0;flex:1;display:grid;gap:6px}
.profile-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.profile-name-row h3{margin:0;overflow-wrap:anywhere}
.profile-full-name{margin:0;color:#d9e5eb;font-weight:600;overflow-wrap:anywhere}
.profile-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.profile-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;border:1px solid #2f5160;background:#132734;color:#dceaf0;font-size:12px;line-height:1.3}
.profile-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-future-grid{margin-top:-2px}
.profile-mini-card{background:#0e1b24;border:1px solid #24404d;border-radius:18px;padding:16px;display:grid;gap:10px;min-width:0}
.profile-mini-card strong{font-size:16px;color:#fff;overflow-wrap:anywhere}
.profile-mini-card small{color:#a9bdc8;line-height:1.45}
.profile-mini-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#84e1bb;font-weight:800}
.profile-meta-list{display:grid;gap:8px}
.profile-meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;background:#132834;border:1px solid #26424f}
.profile-meta-row span{color:#c8d9e1;font-size:13px}
.profile-meta-row strong{font-size:15px;color:#fff}
.profile-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-action-tile{min-height:90px;padding:14px;border-radius:18px;border:1px solid #294652;background:linear-gradient(180deg,#132632,#0c1720);display:grid;align-content:start;gap:5px;text-align:left}
.profile-action-title{font-weight:800;color:#eef7fa;font-size:15px}
.profile-action-tile small{color:#a8bbc6;line-height:1.4}
.profile-edit-modal{width:min(560px,100%)}
.profile-edit-layout{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:start}
.profile-edit-avatar-block{display:grid;justify-items:center;gap:10px}
.profile-edit-form{display:grid;gap:10px}
.profile-edit-form input{width:100%}
.profile-photo-preview{width:88px;height:88px;border-radius:50%;object-fit:cover;border:2px solid #3b6b66;background:#102129}
@media (max-width:760px){
  .profile-summary-grid,.profile-actions-grid{grid-template-columns:1fr}
  .profile-edit-layout{grid-template-columns:1fr}
}
@media (max-width:480px){
  .profile-main-head{align-items:flex-start}
  .profile-photo-ring{width:82px;height:82px}
  .profile-photo-ring .profile-avatar,.profile-photo-ring .profile-avatar-placeholder{width:66px!important;height:66px!important}
  .profile-action-tile{min-height:0}
}

/* V4.51 — Perfil essencial: poucos quadros e VIP original em destaque */
#profileSection .profile-overview{gap:10px}
#profileSection .profile-heading{margin-bottom:8px}
#profileSection .profile-status-card{padding:14px!important}
#profileSection .profile-main-head{gap:12px}
#profileSection .profile-info{gap:4px}
#profileSection .profile-info p{margin:0}
#profileSection .profile-edit-simple{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:#142b35;border:1px solid #33525e;color:#d9f7eb;border-radius:13px;padding:11px 14px;min-height:44px}
#profileSection .profile-edit-simple .ui-icon{width:17px;height:17px}
#profileSection .vip-plan-preview{margin:4px 0 6px;padding:14px 15px;border-radius:15px}
#profileSection .vip-plan-heading{margin-bottom:12px}
#profileSection .vip-coming-soon{min-height:42px}
#profileSection .profile-photo-link{font-size:12px}

/* V4.52: VIP mantém o card compacto da V4.51. */
.vip-plan-benefits{display:grid;gap:8px;margin:14px 0}.vip-plan-benefits p{margin:0;padding:11px;border:1px solid #344b49;border-radius:10px;background:#132b2c;color:#d8efe2}#vipRequestButton{width:100%;margin-top:12px}

/* V4.53 — painel compacto de assinatura recorrente VIP */
.vip-terms{padding:12px 14px;border:1px solid #62522f;background:#282519;border-radius:14px;margin:14px 0;display:grid;gap:8px}
.vip-terms p{font-size:13px;line-height:1.55;color:#e7d8b8;margin:0}
.vip-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.45}
.vip-check input{flex:0 0 auto;margin-top:2px}
.vip-membership-tracker{border:1px solid #315366;border-radius:13px;padding:12px;margin:12px 0}
.vip-membership-tracker h4{margin:13px 0 7px}
.vip-tracker-line{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #284555;font-size:12px}
.vip-tracker-line strong{text-align:right}
.vip-action-row{display:flex;flex-wrap:wrap;gap:8px}
.vip-action-row button{flex:1;min-width:130px}

.vip-pix-pay{padding:14px;border:1px solid #3b6466;border-radius:14px;display:grid;gap:10px;justify-items:center;background:#101f2b}.vip-pix-pay textarea{width:100%;font-size:12px;overflow-wrap:anywhere}.vip-pix-pay img{border-radius:12px;background:white;padding:8px}.vip-tracker-line button{font-size:12px;padding:7px 10px}

/* V4.58 — checkout Pix VIP mais simples e legível */
#vipPixPayment{width:100%;flex-basis:100%}.vip-pix-pay{width:100%;box-sizing:border-box;border-color:#3f776c;background:linear-gradient(180deg,#15312f,#101e27);padding:20px;gap:14px;justify-items:stretch}.vip-pix-head{text-align:center;display:grid;gap:5px}.vip-pix-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#8be1b3}.vip-pix-head h3{margin:0;font-size:19px}.vip-pix-head strong{font-size:30px;color:#f1fff7}.vip-pix-head small{color:#abc7c4}.vip-pix-wait{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid #6b633c;border-radius:11px;background:#332e1c;color:#ffdf9d;font-size:12px;font-weight:750}.vip-pix-dot{width:8px;height:8px;border-radius:50%;background:#ffd078;flex-shrink:0}.vip-pix-qr{display:grid;place-items:center}.vip-pix-qr img{background:white;padding:12px;border-radius:16px;max-width:100%;box-sizing:content-box}.vip-pix-instructions{display:grid;gap:5px;font-size:12px;color:#b5d4d1}.vip-pix-instructions strong{font-size:13px;color:#edf7f1;margin-bottom:3px}.vip-pix-pay label{font-size:12px;color:#c8e8df;font-weight:700}.vip-pix-pay textarea{font-size:12px;width:100%;min-width:0;resize:none;background:#0d1b22;color:#dff6f0}.vip-pix-copy,.vip-pix-verify{width:100%!important;min-height:44px}.vip-pix-verify{background:#213d37!important;border-color:#4d9481!important;color:#e9fff5!important}.vip-pix-footnote{font-size:11px!important;text-align:center;margin:0!important;line-height:1.5}.vip-pix-confirmed{border-color:#3d9075;background:#10372e;text-align:center}.vip-pix-confirmed strong{color:#95ffd3}.vip-pix-confirmed p{margin:0;color:#d8ede5}
/* V4.59: personalização discreta e opcional */
#profileDetails.profile-card{position:relative;overflow:hidden;display:block!important;padding:0!important}
#profileDetails .profile-cover{height:74px;width:100%;background-color:#293c2d}
#profileDetails .profile-main-head{padding:12px 17px 17px;margin-top:-26px;position:relative;z-index:1}
.profile-cover-olive{background:linear-gradient(110deg,#354c33,#192d2a 72%)}
.profile-cover-night{background:linear-gradient(115deg,#07121d,#153b43 65%,#070f1a)}
.profile-cover-sand{background:linear-gradient(110deg,#8e7654,#3b3d32)}
.profile-cover-graphite{background:linear-gradient(110deg,#252f3b,#121b21)}
.profile-cover-camo{background:linear-gradient(130deg,#273b28 0 27%,#41543a 27% 44%,#1e302a 44% 64%,#5b5a3c 64% 77%,#25362e 77%)}
.room-avatar-frame.profile-frame-olive{border:3px solid #79a16c!important;box-shadow:0 0 0 2px #13291b}
.room-avatar-frame.profile-frame-graphite{border:3px solid #a1acbb!important;box-shadow:0 0 0 2px #23303a}
.room-avatar-frame.profile-frame-sand{border:3px solid #d0b179!important;box-shadow:0 0 0 2px #493b27}
.room-avatar-frame.profile-frame-camo{border:3px dashed #9aab75!important;box-shadow:0 0 0 2px #27382b}
.profile-phrase{margin:3px 0;color:#bfcfc7;font-style:italic;font-size:13px;overflow-wrap:anywhere}
.profile-play-style{display:inline-flex;width:fit-content;font-size:11px;border:1px solid #386451;border-radius:99px;color:#a1e9c3;background:#142f2c;padding:4px 10px}
.profile-personalize{border:1px solid #334d53;border-radius:13px;margin-top:12px;padding:10px 12px;background:#0d2027}
.profile-personalize summary{cursor:pointer;color:#e4f5ed;font-size:14px;font-weight:700}
.profile-personalize-fields{display:grid;gap:8px;margin-top:14px}
.profile-personalize-fields label{font-size:12px;color:#aec8c0}
.profile-personalize-fields select,.profile-personalize-fields input{min-width:0;width:100%}
.profile-personalize-fields small{color:#98b9aa;font-size:11px}
.participant-phrase{display:block;color:#adbdc2;font-size:11px;margin-top:5px;overflow-wrap:anywhere}
@media(max-width:480px){#profileDetails .profile-cover{height:62px}#profileDetails .profile-main-head{padding:11px 13px 14px}}

/* V4.60: a moldura personalizada também envolve o avatar do cabeçalho. */
.profile-shortcut.profile-frame-none{border-color:#344f5e!important;box-shadow:none!important}
.profile-shortcut.profile-frame-olive{border:3px solid #79a16c!important;box-shadow:0 0 0 2px #13291b!important}
.profile-shortcut.profile-frame-graphite{border:3px solid #a1acbb!important;box-shadow:0 0 0 2px #23303a!important}
.profile-shortcut.profile-frame-sand{border:3px solid #d0b179!important;box-shadow:0 0 0 2px #493b27!important}
.profile-shortcut.profile-frame-camo{border:3px dashed #9aab75!important;box-shadow:0 0 0 2px #27382b!important}
/* A capa usa padrões pré-definidos (sem upload remoto) como plano de fundo do cartão da sala. */
.room-participant.room-participant-cover{position:relative;isolation:isolate;overflow:hidden;background-image:linear-gradient(90deg,rgba(8,18,24,.86),rgba(8,18,24,.53))!important;background-blend-mode:normal;}
.room-participant.room-participant-cover.profile-cover-olive{background-image:linear-gradient(90deg,rgba(8,18,24,.88),rgba(8,18,24,.5)),linear-gradient(110deg,#354c33,#192d2a 72%)!important}
.room-participant.room-participant-cover.profile-cover-night{background-image:linear-gradient(90deg,rgba(8,18,24,.84),rgba(8,18,24,.42)),linear-gradient(115deg,#07121d,#153b43 65%,#070f1a)!important}
.room-participant.room-participant-cover.profile-cover-sand{background-image:linear-gradient(90deg,rgba(8,18,24,.84),rgba(8,18,24,.48)),linear-gradient(110deg,#8e7654,#3b3d32)!important}
.room-participant.room-participant-cover.profile-cover-graphite{background-image:linear-gradient(90deg,rgba(8,18,24,.82),rgba(8,18,24,.45)),linear-gradient(110deg,#252f3b,#121b21)!important}
.room-participant.room-participant-cover.profile-cover-camo{background-image:linear-gradient(90deg,rgba(8,18,24,.8),rgba(8,18,24,.38)),linear-gradient(130deg,#273b28 0 27%,#41543a 27% 44%,#1e302a 44% 64%,#5b5a3c 64% 77%,#25362e 77%)!important}
.room-participant.room-participant-cover .room-participant-main,.room-participant.room-participant-cover .team-ribbon{position:relative;z-index:1}

/* V4.61: pré-visualização responsiva de personalização */
.profile-live-preview{min-width:0;border:1px solid #3e5956;border-radius:14px;padding:12px;margin-top:12px;background:#10252b}
.profile-live-title{font-size:13px;font-weight:750;color:#e7f7ee;margin-bottom:10px}
.profile-preview-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}
.profile-preview-tabs button{flex:1;min-width:75px;font-size:11px!important;padding:8px 5px!important;border:1px solid #48655f!important;border-radius:8px;background:#18323a;color:#c5ded5}
.profile-preview-tabs button.active{background:#51765b!important;color:white!important;border-color:#85ad8a!important}
.profile-preview-stage{border-radius:12px;overflow:hidden;background:#15232b;color:#f4faf5;min-height:85px}
.profile-preview-cover{height:65px;width:100%}
.profile-preview-body{display:flex;align-items:center;gap:12px;padding:0 12px 15px;margin-top:-16px;position:relative}
.profile-preview-body>div:last-child{display:grid;gap:3px;min-width:0;padding-top:14px}
.profile-preview-body strong,.profile-preview-room strong{font-size:14px;overflow-wrap:anywhere}
.profile-preview-body small,.profile-preview-room small{font-size:11px;color:#d0e0d7;overflow-wrap:anywhere}
.profile-preview-style{font-size:10px;color:#a7dbb5}
.profile-preview-stage .profile-photo-ring{flex-shrink:0;width:59px;height:59px;overflow:hidden;background:#294239}
.profile-preview-stage .profile-avatar{width:100%;height:100%;object-fit:cover}
.profile-preview-room{display:flex;align-items:center;gap:12px;padding:15px 12px;min-height:95px}
.profile-preview-room>div:last-child{display:grid;gap:4px;min-width:0}
.profile-preview-header{height:90px;background:#12252c;display:flex;align-items:center;justify-content:space-between;padding:12px 17px;font-weight:bold;font-size:14px}
.profile-preview-header .profile-photo-ring{width:48px;height:48px}
@media(max-width:440px){.profile-live-preview{padding:9px}.profile-preview-tabs button{font-size:10px!important}.profile-preview-body{gap:8px}}

/* V4.65 — ranking harmonizado com a identidade visual do site */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#gamesSection .games-intro{margin:2px 0 12px;line-height:1.45;font-size:13px}
#gamesSection .section-head{margin-bottom:8px}
#rankingSection.ranking-page{overflow:hidden;padding:0;background:transparent;border:0;box-shadow:none;min-height:0}
.ranking-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:6px 0 14px}
.ranking-heading{min-width:0}.ranking-kicker{display:block;color:#7fe4bc;font-size:10px;font-weight:900;letter-spacing:.13em;margin-bottom:6px}
#rankingSection .ranking-heading h2{margin:0 0 6px;font-size:clamp(22px,5vw,29px);letter-spacing:-.025em}
.ranking-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.ranking-refresh{display:flex;align-items:center;gap:6px;flex-shrink:0;background:#172c37;border:1px solid #315459;border-radius:12px;font-size:12px;padding:8px 11px;min-height:41px}
.ranking-refresh svg,.ranking-search-label svg{width:18px;height:18px;flex:0 0 18px}
.ranking-rules{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-bottom:13px}
.ranking-rule{font-size:11px;font-weight:800;padding:7px 9px;border-radius:9px;border:1px solid #34594c;background:#102b28;color:#a0f1ca}
.ranking-rule.negative{background:#30231f;border-color:#684f43;color:#ffd2ae}
.ranking-rule-info{font-size:11px;color:#adc2cd;line-height:1.4;flex:1;min-width:170px}
.ranking-status{border:1px dashed #385767;background:#10232d;border-radius:16px;padding:22px 14px;text-align:center;font-size:13px;color:#b6ced8;display:grid;justify-items:center;gap:8px}
.ranking-status strong{color:#f0faf6;font-size:16px}.ranking-status span{line-height:1.5}.ranking-empty-icon{font-size:30px}
.ranking-my-summary{background:linear-gradient(125deg,#143c34,#112b35 72%);border:1px solid #3c8d71;border-radius:18px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.ranking-my-summary h3{margin:5px 0;font-size:19px;overflow-wrap:anywhere}.ranking-my-summary p{font-size:12px;color:#c3ded6;margin:0;line-height:1.4}.ranking-my-eyebrow{font-size:10px;font-weight:900;letter-spacing:.13em;color:#83eec4}
.ranking-my-numbers{display:flex;gap:16px;flex-shrink:0}.ranking-my-numbers>div{display:grid;gap:3px;text-align:right}.ranking-my-numbers strong{font-size:clamp(18px,4vw,22px);white-space:nowrap;color:#c0ffe2}.ranking-my-numbers small{font-size:10px;color:#b7d5c9}
.ranking-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;margin:12px 0 23px}
.ranking-podium-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:13px 7px 12px;border:1px solid #314b55;border-radius:17px;background:#101f2b;gap:6px}
.ranking-medal-1{background:linear-gradient(175deg,#30301e,#142831 88%);border-color:#b49a48;order:2;transform:translateY(-5px)}.ranking-medal-2{border-color:#738e9f;order:1}.ranking-medal-3{border-color:#956953;order:3}
.ranking-podium-medal{font-size:24px;line-height:1.2}.ranking-podium-avatar{display:grid;place-items:center;height:42px;width:42px;border-radius:50%;font-weight:900;font-size:20px;background:#214f4c;border:2px solid #5eb898;color:#d6fff0}.ranking-medal-1 .ranking-podium-avatar{background:#594d26;border-color:#e4c464;color:#fff2c8}
.ranking-podium-card strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.ranking-podium-score{font-size:15px;color:#93e9c2;font-weight:900;white-space:nowrap}.ranking-podium-card small{font-size:10px;color:#a8c4ce}
.ranking-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 11px}.ranking-list-head h3{font-size:17px;margin:0 0 3px}.ranking-list-head p{font-size:11px;margin:0}.ranking-my-jump{font-size:11px;padding:8px 10px;min-height:38px;border-radius:10px;background:#123b32;color:#a7fad1;border-color:#377c64;flex-shrink:0}
.ranking-controls{display:flex;gap:8px;align-items:stretch;margin-bottom:12px}.ranking-search-label{display:flex;align-items:center;flex:1;min-width:0;background:#0d1e29;border:1px solid #294653;border-radius:12px;color:#7a9da8;padding:0 11px;margin:0}.ranking-search-label input{border:0;background:transparent;width:100%;min-width:0;min-height:44px;padding:9px 10px;font-size:13px;outline:none}.ranking-search-label:focus-within{outline:2px solid #72eec7;outline-offset:1px}.ranking-limit-label{margin:0;flex:0 0 105px}.ranking-limit-label select{width:100%;min-height:45px;padding:9px 8px;font-size:12px;border-radius:12px}
.ranking-list{display:grid;gap:7px}.ranking-entry{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 11px;border:1px solid #254350;background:#0e1e29;border-radius:12px}.ranking-entry.is-me{background:#11392f;border-color:#48a37e}.ranking-entry-place{flex:0 0 29px;text-align:center;font-weight:900;color:#b4d8da;font-size:15px}.ranking-entry-avatar{flex:0 0 35px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:#d7fcf1;background:#1c4545;font-size:15px;font-weight:900}.ranking-entry-person{display:grid;gap:4px;min-width:0;flex:1}.ranking-entry-person strong{font-size:13px;overflow-wrap:anywhere;line-height:1.25}.ranking-entry-person small{color:#a9c4cf;font-size:10px;line-height:1.4}.ranking-you{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:99px;font-size:9px;color:#06281d;background:#76e8b5;vertical-align:middle}.ranking-entry-points{color:#9df0c9;white-space:nowrap;font-size:13px;text-align:right}.ranking-entry-points.is-negative{color:#ffbea9}.ranking-list-empty{border:1px dashed #47606d;text-align:center;color:#bcd1d8;padding:17px 12px;border-radius:12px;font-size:13px}
@media(max-width:480px){.ranking-refresh{padding:9px;min-width:41px;justify-content:center}.ranking-refresh span{display:none}.ranking-my-summary{display:block}.ranking-my-numbers{justify-content:flex-start;margin-top:12px;padding-top:10px;border-top:1px solid #4884735b}.ranking-my-numbers>div{text-align:left}.ranking-podium{gap:6px}.ranking-podium-card{padding:11px 3px 10px}.ranking-podium-card strong{font-size:11px}.ranking-podium-score{font-size:13px}.ranking-podium-card small{font-size:9px}.ranking-entry{gap:7px;padding:10px 8px}.ranking-entry-place{flex-basis:25px}.ranking-entry-avatar{width:31px;height:31px;flex-basis:31px}.ranking-entry-points{font-size:12px}.ranking-entry-person strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){#rankingSection .rank-row{transition:none!important}}
/* V4.65 · A navegação tem cinco seções; uma linha única evita abas escondidas em uma segunda linha. */
.player-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:390px){.player-nav{gap:1px!important}.player-nav button{font-size:10px;padding-inline:2px;min-width:0}.player-nav .nav-icon{font-size:19px}}
.ranking-tiebreak{font-size:11px;color:#9fb7c1;line-height:1.5;margin:11px 2px 0}


/* Arena Tambaqui V4.66 — barra principal estável + gaveta Mais */
.player-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}
.player-nav button{position:relative;min-width:0}
.player-nav button:focus-visible,.at-more-item:focus-visible,.at-more-close:focus-visible{outline:2px solid #83f5ce;outline-offset:2px}
.player-nav .at-nav-qr .nav-icon{color:#89f7d0}
.player-nav .at-nav-qr{background:#163b36;box-shadow:inset 0 0 0 1px #448a7166}
.player-nav .at-nav-qr:focus-visible{background:#1f5447}
.at-more-nav-badge{position:absolute;top:2px;right:max(8px,calc(50% - 27px));min-width:17px;height:17px;display:grid;place-items:center;padding:0 3px;border-radius:99px;background:#d4584d;color:white;font-size:10px;font-weight:900;line-height:1}
.at-more-overlay{position:fixed;inset:0;z-index:2400;display:flex;align-items:flex-end;justify-content:center}
.at-more-overlay.hide{display:none!important}
.at-more-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(2,8,15,.78);padding:0;cursor:default;box-shadow:none}
.at-more-sheet{position:relative;width:100%;max-width:620px;max-height:min(80dvh,800px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #427567;border-bottom:0;border-radius:22px 22px 0 0;background:linear-gradient(170deg,#132e38,#0b1e29 86%);box-shadow:0 -16px 60px #0009;padding:10px clamp(14px,4vw,24px) calc(24px + env(safe-area-inset-bottom,0px));color:var(--text)}
.at-more-grabber{height:5px;width:45px;border-radius:99px;background:#5d8491;margin:0 auto 16px}
.at-more-head{display:flex;align-items:start;justify-content:space-between;gap:16px}
.at-more-head h2{font-size:23px;line-height:1.1;margin:0 0 4px;color:#ebfff8}
.at-more-head p{font-size:12px;color:#aec9d0;margin:0 0 14px}
.at-more-close{display:grid;place-items:center;width:40px;height:40px;min-height:40px;flex:0 0 40px;border-radius:11px;border:1px solid #385e65;background:#193541;font-size:18px;color:#d2ebe7;padding:0}
.at-more-search{margin:0 0 15px;display:flex;align-items:center;gap:8px;padding:0 12px;min-height:46px;border:1px solid #42646c;border-radius:12px;background:#081923}
.at-more-search:focus-within{outline:2px solid #7ff6ca;outline-offset:1px}
.at-more-search svg{width:20px;height:20px;flex:none;color:#90adb9}
.at-more-search input{border:0;background:transparent;color:#fff;padding:10px 0;font-size:14px;outline:none}
.at-more-search input::placeholder{color:#acc0c9}
.at-more-group{margin:0 0 14px}
.at-more-group h3{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#a7c6cc;margin:0 0 9px}
.at-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.at-more-item{position:relative;min-width:0;min-height:93px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 6px;border:1px solid #31515d;background:#122c37;border-radius:14px;color:#e8f8f5;font-size:13px;font-weight:800;text-align:center;transition:border-color .15s,background .15s}
.at-more-item:hover,.at-more-item.active{background:#20463f;border-color:#62cba2}
.at-more-item:active{transform:scale(.98)}
.at-more-icon{width:35px;height:35px;border-radius:11px;background:#234a45;display:grid;place-items:center;color:#8aefc7}
.at-more-icon svg{width:22px;height:22px}
.at-more-item .squad-nav-badge{position:absolute;right:7px;top:6px;min-width:19px;height:19px;display:grid;place-items:center;border-radius:99px;background:#d4584d;color:#fff;padding:1px 5px;font-size:11px}
.at-more-empty{padding:20px;color:#bdd2d6;text-align:center;border:1px dashed #46616d;border-radius:12px}
body.at-more-open{overflow:hidden}
@media(min-width:760px){.player-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}.at-more-sheet{width:min(620px,calc(100vw - 36px));border-radius:22px;border-bottom:1px solid #427567;margin-bottom:18px;max-height:85dvh}}
@media(max-width:390px){.player-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}.player-nav button{font-size:11px;padding-inline:2px}.at-more-grid{gap:7px}.at-more-item{min-height:87px;font-size:12px;padding:8px 4px}}
@media(prefers-reduced-motion:reduce){.at-more-item{transition:none}}

.at-more-settings{display:grid;gap:10px}
.at-more-settings>p{font-size:13px;color:#b3cad1;line-height:1.4;margin:0 0 3px}
.at-more-backlink{justify-self:start;border:none;background:transparent;color:#9bf4ce;padding:5px 0;font-size:13px;min-height:36px}
.at-more-settings-action{min-height:68px;border:1px solid #385d67;border-radius:12px;background:#152d38;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}
.at-more-settings-action span{font-size:14px;color:#e7fff5}
.at-more-settings-action small{color:#bad0d6;font-size:11px;font-weight:500}
.at-more-settings-action:focus-visible,.at-more-backlink:focus-visible{outline:2px solid #83f5ce;outline-offset:2px}

/* Arena Tambaqui V4.67 — menos distrações na navegação */
.player-nav .at-nav-qr,.player-nav .at-nav-qr:not(.active){background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:#b9cad1!important}
.player-nav .at-nav-qr .nav-icon{color:inherit!important}
.player-nav .at-nav-qr:hover{background:rgba(113,160,157,.10)!important}
.player-nav .at-nav-qr:focus-visible{background:rgba(113,160,157,.10)!important;outline:2px solid #83f5ce;outline-offset:2px}
@media(min-width:760px){.player-nav .at-nav-qr,.player-nav .at-nav-qr:not(.active){background:#101d28!important;border:1px solid #243e4a!important}}
.at-more-compact{max-width:450px;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}
.at-more-compact .at-more-head p{margin-bottom:16px}
.at-more-grid-simple{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.at-more-grid-simple .at-more-item{min-height:100px}
@media(min-width:760px){.at-more-compact{max-width:450px}}
/* Posição atual sempre visível e em destaque no perfil */
.profile-rank-highlight{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #367a6d;border-radius:16px;background:linear-gradient(135deg,#183f3e,#0c2834 84%);min-width:0}
.profile-rank-leading{display:flex;align-items:center;gap:11px;min-width:0}
.profile-rank-leading>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.profile-rank-leading strong{color:#eafff7;font-size:15px}
.profile-rank-leading small{color:#adced0;font-size:12px;line-height:1.45}
.profile-rank-symbol{width:40px;height:40px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;font-size:22px;background:#255d53;border:1px solid #428f7d}
.profile-rank-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-rank-numbers>div{display:flex;flex-direction:column;gap:5px;padding:13px 12px;border-radius:12px;background:#091d26a8;border:1px solid #315963}
.profile-rank-numbers strong{font-size:clamp(22px,6vw,29px);line-height:1.15;color:#8bf3c8;font-weight:900;letter-spacing:-.03em;white-space:nowrap}
.profile-rank-numbers strong.is-negative{color:#ffb7a2}
.profile-rank-numbers span{font-size:11px;color:#bed1d7}
.profile-rank-link{width:100%;min-height:40px;padding:8px 12px;border:1px solid #448b79;border-radius:11px;background:#204f49;color:#d9fff0;font-size:12px;font-weight:800;text-align:center}
.profile-rank-link:hover{background:#296456}
.profile-rank-link:focus-visible{outline:2px solid #a8fbd8;outline-offset:2px}
@media(max-width:340px){.profile-rank-highlight{padding:12px}.profile-rank-numbers{gap:7px}.profile-rank-numbers>div{padding:10px 8px}.profile-rank-numbers strong{font-size:20px}}

/* V4.71: Cards de partidas — reputação mínima em 10 segmentos e ações lado a lado. */
#publicGames .game-share-wrap .gamecard{display:block;min-width:0;padding:0!important;gap:0!important;overflow:hidden}
#publicGames .gamecard-overview{display:block;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-weight:inherit;text-align:left;line-height:inherit;box-shadow:none;cursor:pointer}
#publicGames .gamecard-overview:focus-visible{outline:2px solid var(--mint);outline-offset:-3px}
#publicGames .gamecard-overview .gamecard-hero{pointer-events:none}
#publicGames .gamecard-body{padding:12px 14px 2px!important}
#publicGames .game-reputation{display:grid;gap:6px;margin:11px 0 7px;padding:9px 11px;border:1px solid #356958;background:#0b2927;border-radius:11px}
#publicGames .game-rep-label{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:12px;font-weight:700;color:#c8ecdf}
#publicGames .game-rep-label strong{font-size:13px;color:#a1f0c7;white-space:nowrap}
#publicGames .game-rep-bars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;width:100%;min-width:0}
#publicGames .game-rep-segment{height:12px;min-width:0;border-radius:3px;background:#213f40;border:1px solid #416263}
#publicGames .game-rep-segment.filled{background:#63dfaa;border-color:#63dfaa}
#publicGames .gamecard-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:0 14px 14px;align-items:stretch}
#publicGames .gamecard-actions button{display:flex;justify-content:center;align-items:center;gap:7px;margin:0;min-height:46px;padding:9px 8px;font-size:14px;font-weight:850;line-height:1.2;white-space:nowrap;border-radius:12px}
#publicGames .gamecard-actions .game-enter{background:linear-gradient(90deg,var(--mint-2),var(--mint));color:#062117;border:1px solid transparent}
#publicGames .gamecard-actions .game-checkin-action{background:#173634;color:#c4f5e2;border:1px solid #458773}
#publicGames .gamecard-actions button svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#publicGames .gamecard-actions .game-checkin-action:hover{border-color:#76e2b6;background:#215044}
#publicGames .game-share-action{top:12px;right:12px}
.checkin-game-context{font-weight:750;font-size:13px;background:#173831;border:1px solid #467f6d;border-radius:10px;padding:9px 11px;color:#bff9df;overflow-wrap:anywhere}
@media(max-width:359px){#publicGames .game-rep-bars{gap:3px}#publicGames .gamecard-actions{gap:6px;padding:0 10px 12px}#publicGames .gamecard-actions button{font-size:13px;padding:8px 5px}}
#publicGames .gamecard-actions .game-enter{margin-top:0!important}

/* V4.73 · Configuração de credenciais */
.password-match-hint{margin:6px 0 0;color:#b6d1d2;font-size:12px;line-height:1.45}
.password-match-hint.match-ok{color:#78e0af}
.account-security{background:#102630;border:1px solid #315666;border-radius:15px;padding:clamp(14px,3vw,20px)}
.account-security h3,.account-security h2{margin:0 0 8px}
.account-security form{display:grid;gap:7px;max-width:520px;margin-top:14px}
.account-security form label{font-size:13px;margin:8px 0 0;color:#d7eeee;font-weight:650}
.account-security form input{box-sizing:border-box;width:100%;min-height:45px;background:#0c1e2b;color:#f4ffff;border:1px solid #3a6673;border-radius:10px;padding:11px 12px;font-size:16px}
.account-security form input:focus{outline:2px solid #70ddb3;outline-offset:2px}
.account-security form button{min-height:44px;justify-self:start;margin-top:7px}
.account-security form button:disabled{opacity:.62;cursor:wait}
.security-form-feedback{font-size:13px;min-height:16px;color:#ffc5ca;margin:5px 0 0;line-height:1.4}
@media(max-width:520px){.account-security form button{width:100%}#profileSection .profile-subtabs{grid-template-columns:repeat(3,minmax(0,1fr))}#profileSection .profile-subtabs button{padding:10px 2px;font-size:12px}}

/* V4.77: controles LGPD com a mesma paleta do aplicativo */
.lgpd-block,.lgpd-settings{margin:14px 0;padding:14px;background:rgba(14,45,51,.58);border:1px solid rgba(124,177,162,.25);border-radius:12px;display:grid;gap:10px}
.lgpd-block h3,.lgpd-settings h3{margin:0}.lgpd-block p,.lgpd-settings p{margin:0;line-height:1.5}
.lgpd-links{display:flex;gap:8px;flex-wrap:wrap}.lgpd-links button{font-size:.88rem;padding:8px 10px}
.lgpd-check{display:flex!important;align-items:start;gap:10px;line-height:1.4;font-size:.89rem}.lgpd-check input{width:18px;height:18px;min-width:18px;margin:2px 0 0;accent-color:#48c5a2}
.lgpd-document{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#e5f2ee;font-size:.91rem;max-height:min(65vh,540px);overflow:auto;background:#102b33;padding:14px;border-radius:10px}
.lgpd-modal{max-width:680px;width:min(94vw,680px)}.lgpd-guardian{display:grid;gap:8px}.lgpd-settings textarea,.lgpd-guardian input{width:100%}

/* V4.78: privacidade simples e com hierarquia visual consistente */
.lgpd-simple{gap:9px;padding:13px 14px;background:rgba(14,45,51,.45)}
.lgpd-simple h3{font-size:1rem;line-height:1.2}.lgpd-simple p{font-size:.85rem;color:#b5cfc9;line-height:1.5}
.lgpd-inline-link{display:inline!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#73dfba!important;padding:0!important;min-height:0!important;text-decoration:underline;text-underline-offset:2px;font-size:inherit!important;font-weight:650;vertical-align:baseline}
.lgpd-check-primary{background:rgba(62,175,133,.12);border:1px solid rgba(96,200,159,.30);border-radius:10px;padding:10px!important}
.lgpd-simple .lgpd-check small{display:block;font-size:.77rem;color:#a7c6bc;margin-top:3px}
.lgpd-guardian{padding:12px;border:1px solid rgba(124,177,162,.21);border-radius:10px;background:rgba(5,25,28,.2)}
.lgpd-renew-simple{border:1px solid rgba(96,200,159,.35);border-radius:10px;padding:10px;background:rgba(62,175,133,.08);display:grid;gap:9px}
.lgpd-renew-simple.hide{display:none!important}
.lgpd-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lgpd-more-button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:40px;text-align:left;padding:10px 12px!important;border:1px solid rgba(124,177,162,.25);border-radius:10px;background:rgba(8,32,37,.45);font-weight:600}
.lgpd-more-button[aria-expanded="true"]{border-color:rgba(96,200,159,.45)}
.lgpd-extra-details{display:grid;gap:10px;padding-top:10px;border-top:1px solid rgba(124,177,162,.22)}
.lgpd-extra-details.hide{display:none!important}
.lgpd-guest-links{display:block;font-size:.86rem}
@media(max-width:400px){.lgpd-simple{padding:10px;gap:8px}.lgpd-check{font-size:.83rem}.lgpd-inline-link{font-size:inherit!important}}

/* V4.79 - Avisos acessíveis acima da navegação fixa e aceites tocáveis */
#toast{
  z-index:6000;
  bottom:calc(var(--at-toast-nav-height, 18px) + env(safe-area-inset-bottom,0px));
  left:50%;
  width:max-content;
  max-width:min(92vw,490px);
  max-height:min(38dvh,250px);
  overflow-y:auto;
  overflow-wrap:anywhere;
  white-space:normal;
  font-size:13px;
  line-height:1.5;
  text-align:left;
  padding:12px 16px;
  box-shadow:0 8px 30px rgba(0,0,0,.56);
  pointer-events:none;
}
.lgpd-check input[type="checkbox"]{
  appearance:auto;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  padding:0!important;
  margin:1px 0 0!important;
  flex:0 0 20px;
  cursor:pointer;
  accent-color:#53ddb0;
}
.lgpd-check{cursor:pointer;align-items:flex-start!important;min-height:40px}
.lgpd-check span{flex:1;min-width:0}
.lgpd-check:focus-within{outline:2px solid #67eab9;outline-offset:3px;border-radius:8px}
.lgpd-setup-alert{border:1px solid #b7914c;background:#352b1e;color:#ffe4a8;padding:11px 12px;border-radius:10px;font-size:13px;line-height:1.45}
#regStepError{max-width:100%;overflow-wrap:anywhere}
@media(max-width:420px){#toast{max-width:calc(100vw - 22px);font-size:13px}}

/* V4.85 — Aceite rápido, opt-ins individuais acessíveis e sem caixas pré-marcadas. */
.reg-consent-actions{display:grid;gap:9px;margin:10px 0 18px}
.reg-consent-actions.hide{display:none!important}
.reg-consent-actions button{width:100%;min-height:51px;line-height:1.3;white-space:normal;text-align:center}
.reg-consent-actions #regSubmitEssential{background:transparent!important;border:1px solid #91b7ae!important;color:#e2efe9!important;font-weight:700}
.reg-consent-actions #regSubmitCustom{background:rgba(76,126,113,.18);border:1px solid rgba(137,193,170,.45)}
.reg-consent-actions>small{color:#b6d0c9;line-height:1.5;display:block;font-size:12px}
.lgpd-consent-explain{background:rgba(17,56,61,.74);border:1px solid rgba(137,193,170,.28);border-radius:10px;padding:10px 12px;line-height:1.45;font-size:13px}
.lgpd-consent-explain ul{padding-left:20px;margin:6px 0}
.lgpd-consent-explain li{margin:0 0 4px}
.lgpd-consent-explain small,.lgpd-consent-customize small{color:#b5cfc8;display:block;line-height:1.5}
.lgpd-consent-customize{border:1px solid rgba(137,193,170,.35);border-radius:11px;padding:10px 12px}
.lgpd-consent-customize summary{cursor:pointer;font-weight:700;color:#a8ead4;min-height:26px}
.lgpd-consent-customize[open]{display:grid;gap:10px}
.lgpd-consent-customize .lgpd-check{margin:0;padding:7px 0}
.lgpd-minor-notice{font-size:12px!important;color:#cce4da!important}
.lgpd-guest-consent{font-size:13px;color:#d2e8de;line-height:1.55}


/* V4.96 — Briefing acessível: fora da barra inferior em telas pequenas. */
#roomDetailsPanel.modal-shade{
  position:fixed;
  inset:0;
  z-index:3200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  overflow:hidden;
  background:rgba(2,6,13,.84);
}
#roomDetailsPanel .room-briefing-modal{
  display:flex;
  flex-direction:column;
  gap:0;
  width:min(540px,100%);
  max-width:100%;
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
  min-height:0;
  margin:0;
  padding:17px;
  border:1px solid #456777;
  border-radius:17px;
  background:#102532;
  box-shadow:0 25px 90px #000a;
  overflow:hidden;
}
#roomDetailsPanel .room-briefing-modal-head{
  flex:0 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
#roomDetailsPanel .room-briefing-modal-head h2{
  font-size:clamp(15px,4.2vw,18px);
  line-height:1.3;
  margin:0;
  min-width:0;
}
#roomDetailsPanel .briefing-close{
  flex:0 0 auto;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
#roomDetailsPanel #roomPolicy{
  flex:0 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#0b1c28;
  border:1px solid #304e5e;
  border-radius:12px;
  padding:12px;
  color:#dbe9ed;
  line-height:1.6;
  overflow-wrap:anywhere;
  scrollbar-width:thin;
}
@media(max-width:650px){
  #roomDetailsPanel.modal-shade{
    padding:10px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  #roomDetailsPanel .room-briefing-modal{
    border-radius:15px;
    padding:13px;
    max-height:calc(100dvh - 22px - env(safe-area-inset-bottom, 0px));
  }
}
