*{box-sizing:border-box}
:root{--bg:#f4f5f7;--bg-soft:#fafafa;--surface:#ffffff;--surface-2:#f8f8f9;--text:#202124;--muted:#6f737a;--red:#e11919;--red-dark:#b80f0f;--red-soft:#fff0f0;--border:#e4e6e9;--border-red:#f0caca;--shadow:0 14px 36px rgba(31,35,41,.08);--green:#1fa96b}
html{background:var(--bg)}
body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:linear-gradient(135deg,#fafafa 0%,#f2f3f5 48%,#fff7f7 100%);color:var(--text);min-height:100vh}
a{color:inherit;text-decoration:none}
header{min-height:68px;background:rgba(255,255,255,.94);display:flex;align-items:center;justify-content:space-between;padding:0 5%;backdrop-filter:blur(12px);position:sticky;top:0;z-index:30;border-bottom:1px solid var(--border);box-shadow:0 8px 24px rgba(30,32,36,.05)}
.brand{font-weight:900;letter-spacing:.8px;color:#1f2023}.brand span{color:var(--red)}
nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
nav a{color:#555a61;padding:9px 12px;border-radius:9px;font-weight:600;transition:.18s ease}
nav a:hover{color:var(--red);background:var(--red-soft)}
.wrap{max-width:1180px;margin:0 auto;padding:30px 28px 42px}
.hero{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:18px}
.hero h1{font-size:32px;line-height:1.15;margin:0 0 7px;color:#1c1d20;letter-spacing:-.4px}
.hero p,.muted{color:var(--muted)}
.user{background:var(--surface);border:1px solid var(--border);padding:10px 14px;border-radius:12px;color:#4c5056;box-shadow:0 7px 20px rgba(31,35,41,.05)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:20px 0}
.stats div,.card{background:rgba(255,255,255,.97);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px}
.stats div{padding:22px;position:relative;overflow:hidden}
.stats div:before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:linear-gradient(180deg,var(--red),#ff5a5a)}
.stats b{display:block;font-size:28px;color:var(--red);line-height:1.1}
.stats span{color:#70747b}
.card{padding:22px;margin:18px 0}
.card h2{margin-top:0;color:#232529}
input,select,textarea{background:#fff;color:#24262a;border:1px solid #cfd3d8;border-radius:9px;padding:10px 12px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(225,25,25,.10);background:#fff}
button{background:linear-gradient(135deg,var(--red),#f33a3a);border:0;color:white;border-radius:9px;padding:10px 17px;font-weight:750;cursor:pointer;box-shadow:0 7px 18px rgba(225,25,25,.18);transition:transform .16s,filter .16s,box-shadow .16s}
button:hover{filter:brightness(.97);transform:translateY(-1px);box-shadow:0 9px 22px rgba(225,25,25,.24)}
button:active{transform:translateY(0)}
.grid-form{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.grid-form label{display:flex;flex-direction:column;gap:6px;color:#40444a;font-weight:600}
.grid-form button{grid-column:1/-1;justify-self:start}
.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.center{display:grid;place-items:center;padding:20px}
.login-card{width:min(420px,94vw);background:rgba(255,255,255,.98);border:1px solid var(--border);padding:30px;border-radius:20px;box-shadow:0 24px 70px rgba(31,35,41,.13);display:flex;flex-direction:column;gap:11px;position:relative;overflow:hidden}
.login-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:5px;background:linear-gradient(90deg,var(--red),#ff5555)}
.login-card h1{margin:0;color:var(--red);font-weight:900;letter-spacing:.5px}
.login-card p{color:var(--muted);margin-top:0}
.login-card label{color:#44484e;font-weight:600}
.alert,.ok{padding:11px 13px;border-radius:9px;border:1px solid}
.alert{background:#fff1f1;color:#9f1f1f;border-color:#f1c6c6}
.ok{background:#eefaf5;color:#16734e;border-color:#c6eadb}
.table-scroll{overflow:auto}
table{width:100%;border-collapse:collapse;min-width:900px;background:#fff}
th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #eceef0;color:#3c4045}
th{color:#a20f0f;background:#fff7f7;font-size:13px;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap}
tbody tr{transition:background .14s}
tbody tr:hover{background:#fffafa}
code{background:#f3f4f6;border:1px solid #e1e3e6;padding:5px 8px;border-radius:6px;color:#a31414}
.actions{display:flex;gap:6px;flex-wrap:wrap}
.actions button{padding:7px 10px}
.plan-grid,.plan-row{display:grid;grid-template-columns:1.2fr .65fr .8fr .55fr;gap:12px;align-items:end}
.plan-grid label,.plan-row label{display:flex;flex-direction:column;gap:6px;color:#40444a;font-weight:600}
.plan-grid .wide,.plan-row .wide{grid-column:1/-1}
.checks{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.check{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;font-weight:600}
.check input{width:auto;accent-color:var(--red)}
.plan-row{padding:17px 0;border-bottom:1px solid #eceef0}
.plan-row:last-child{border-bottom:0}
.span2{grid-column:1/-1}
label small{color:var(--muted);margin-top:4px;font-weight:400}
.danger-soft{background:linear-gradient(135deg,#8f1d1d,#b63636);box-shadow:0 7px 18px rgba(143,29,29,.14)}
.online-stat b{display:flex!important;align-items:center;gap:9px}
.online-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#35c985;box-shadow:0 0 0 3px rgba(53,201,133,.13);flex:0 0 auto}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.section-head h2{margin-bottom:6px}.section-head p{margin:0}
.online-pill,.status-online{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.online-pill{background:#effbf6;border:1px solid #c9eedf;padding:8px 12px;border-radius:999px;color:#187b55;font-weight:700}
.status-online{color:#18845a;font-weight:650}
.online-table{min-width:720px}.online-table-wrap{margin-top:15px}.heartbeat-note{font-size:13px;margin-bottom:0}
.pc-table{min-width:1650px}.pc-table td{vertical-align:top}.pc-table small{color:var(--muted);line-height:1.45}.status-offline{color:#8b9097}.pc-table code{font-size:12px}
::selection{background:#ffd1d1;color:#741111}
@media(max-width:900px){.plan-grid,.plan-row{grid-template-columns:1fr 1fr}.plan-grid .wide,.plan-row .wide,.span2{grid-column:1/-1}}
@media(max-width:800px){.stats{grid-template-columns:1fr 1fr}.grid-form{grid-template-columns:1fr}header{height:auto;padding:14px 18px;gap:12px;align-items:flex-start;flex-direction:column}nav{gap:4px}.wrap{padding:18px}.hero{align-items:flex-start;gap:12px;flex-direction:column}.user{width:100%}.grid-form button{grid-column:auto}}
@media(max-width:700px){.section-head{flex-direction:column}.online-pill{align-self:flex-start}}
@media(max-width:600px){.plan-grid,.plan-row{grid-template-columns:1fr}.plan-grid .wide,.plan-row .wide,.span2{grid-column:auto}.stats{grid-template-columns:1fr}.login-card{padding:26px 20px}}

/* ===== RE4PLAY ADMIN UI v8.6.8 FINAL ===== */
:root{
  --sidebar:#111318;
  --sidebar-2:#171a20;
  --sidebar-text:#f7f7f8;
  --sidebar-muted:#9399a3;
  --accent:#ef1f2f;
  --accent-2:#c91120;
  --content-bg:#f5f6f8;
  --soft-shadow:0 10px 30px rgba(20,24,31,.07);
}

.admin-body{background:var(--content-bg);min-height:100vh;overflow-x:hidden}
.admin-shell{min-height:100vh}
.sidebar{
  position:fixed;inset:0 auto 0 0;width:248px;background:linear-gradient(180deg,var(--sidebar) 0%,#0d0f13 100%);
  color:var(--sidebar-text);z-index:100;display:flex;flex-direction:column;padding:20px 14px 16px;
  border-right:1px solid rgba(255,255,255,.055);box-shadow:14px 0 34px rgba(16,18,23,.08)
}
.sidebar-brand{display:flex;align-items:center;gap:12px;padding:4px 8px 22px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.07)}
.sidebar-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#ff3444,var(--accent-2));color:#fff;font-weight:900;letter-spacing:-1px;box-shadow:0 9px 24px rgba(239,31,47,.28)}
.sidebar-brand strong{display:block;font-size:15px;letter-spacing:.7px}.sidebar-brand span{display:block;color:#ff5b67;font-size:10px;font-weight:800;letter-spacing:1.3px;margin-top:2px}
.sidebar-label{padding:13px 11px 8px;color:#717782;font-size:10px;font-weight:800;letter-spacing:1.5px}
.sidebar-nav{display:flex;flex-direction:column;gap:5px;align-items:stretch;flex-wrap:nowrap}
.side-link{display:flex;align-items:center;gap:12px;color:#c8ccd2!important;padding:11px 12px;border-radius:11px;font-weight:700;transition:.16s ease;border:1px solid transparent}
.side-link:hover{color:#fff!important;background:rgba(255,255,255,.055)}
.side-link.active{color:#fff!important;background:linear-gradient(135deg,rgba(239,31,47,.98),rgba(198,12,29,.98));box-shadow:0 8px 22px rgba(239,31,47,.20)}
.side-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:rgba(255,255,255,.06);font-size:14px;line-height:1}
.side-link.active .side-icon{background:rgba(255,255,255,.16)}
.sidebar-bottom{margin-top:auto;display:grid;gap:10px}
.security-badge{display:flex;align-items:center;gap:10px;margin:0 5px 4px;padding:11px;border:1px solid rgba(78,211,144,.13);background:rgba(42,142,93,.08);border-radius:12px}
.security-badge b,.security-badge small{display:block}.security-badge b{font-size:12px;color:#dff8e9}.security-badge small{font-size:10px;color:#7fae92;margin-top:2px}
.security-dot{width:8px;height:8px;border-radius:50%;background:#42d68a;box-shadow:0 0 0 4px rgba(66,214,138,.11)}
.logout-link{color:#ff8b94!important}.logout-link:hover{background:rgba(239,31,47,.09)}

.admin-content{margin-left:248px;min-height:100vh}
.admin-topbar{height:72px;position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 30px;background:rgba(255,255,255,.93);backdrop-filter:blur(14px);border-bottom:1px solid #e7e9ed;box-shadow:0 5px 20px rgba(29,33,41,.035)}
.topbar-title{display:flex;flex-direction:column;gap:1px}.topbar-title small{color:#9a9fa8;font-size:10px;letter-spacing:1.1px;font-weight:800}.topbar-title strong{font-size:18px;color:#20232a}
.topbar-user{display:flex;align-items:center;gap:10px;background:#f7f8fa;border:1px solid #e7e9ed;border-radius:12px;padding:7px 10px 7px 8px}
.topbar-user .avatar{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;font-weight:900}
.topbar-user small,.topbar-user b{display:block}.topbar-user small{font-size:10px;color:#8d929a}.topbar-user b{font-size:12px;color:#2d3137}
.menu-toggle{display:none;width:42px;height:42px;padding:0;font-size:20px;border-radius:11px;box-shadow:none}
.sidebar-overlay{display:none}
.admin-body .wrap{max-width:1480px;width:100%;padding:30px 34px 46px;margin:0 auto}
.admin-body .hero{margin:0 0 20px}.admin-body .hero h1{font-size:29px}.admin-body .hero p{margin:.3rem 0 0}
.admin-body .card{border-radius:15px;border:1px solid #e3e6ea;box-shadow:var(--soft-shadow);padding:22px 23px}
.admin-body .stats{gap:12px;margin:18px 0 20px}.admin-body .stats div{border-radius:14px;padding:18px 19px;box-shadow:0 7px 22px rgba(27,31,38,.055)}
.admin-body .stats b{font-size:27px}.admin-body .stats span{font-size:14px}
.admin-body .stats div:before{width:3px}
.admin-body button{border-radius:9px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.admin-body input,.admin-body select,.admin-body textarea{width:100%;min-height:41px;border-radius:9px;border-color:#d8dce2;background:#fff}
.admin-body textarea{min-height:auto;resize:vertical}
.admin-body .inline input,.admin-body .inline select{width:auto;min-width:150px}
.admin-body table{border-radius:10px;overflow:hidden}.admin-body th{background:#faf2f3;color:#9f1722}.admin-body td{background:#fff}
.admin-body tbody tr:hover td{background:#fff9f9}
.admin-body .user{border-radius:11px;box-shadow:none;background:#fff;border-color:#e1e4e8;font-size:13px}
.admin-body .section-head{align-items:center}
.admin-body code{word-break:break-word}

/* Login */
.login-page{min-height:100vh;background:#101217;display:grid;place-items:center;padding:24px}
.login-layout{width:min(1050px,96vw);min-height:620px;display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 36px 90px rgba(0,0,0,.34)}
.login-visual{padding:62px 56px;background:radial-gradient(circle at 20% 15%,rgba(239,31,47,.24),transparent 35%),linear-gradient(145deg,#171a21,#0b0d11);color:#fff;display:flex;flex-direction:column;justify-content:center}
.login-brand-mark{width:72px;height:72px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#ff3445,#be0f1d);font-size:25px;font-weight:950;box-shadow:0 16px 40px rgba(239,31,47,.32);margin-bottom:28px}
.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#e62a38}
.login-visual h1{font-size:43px;line-height:1.05;margin:12px 0 17px;max-width:520px;letter-spacing:-1.5px}.login-visual p{max-width:510px;color:#aeb3bd;font-size:16px;line-height:1.65}
.login-security-list{display:grid;gap:11px;margin-top:28px;color:#c9cdd3;font-size:13px}.login-security-list span::first-letter{color:#42d68a}
.login-card-modern{width:auto;max-width:none;border:0;border-radius:0;box-shadow:none;padding:64px 58px;justify-content:center;gap:14px;overflow:visible}
.login-card-modern:before{display:none}.login-card-modern h2{font-size:30px;margin:7px 0 7px;color:#202329}.login-card-modern p{margin:0;color:#858a92}.login-card-modern label{display:flex;flex-direction:column;gap:7px}.login-card-modern input{min-height:46px;border-radius:10px}.login-submit{min-height:47px;margin-top:4px;font-size:13px;letter-spacing:.5px}
.login-footnote{color:#90959c;line-height:1.5}.login-mobile-brand{display:none}.info-box{padding:11px 13px;border-radius:9px;background:#eef4ff;border:1px solid #d3e2ff;color:#3b5d92;font-size:13px}

/* Small UI polish */
.admin-body h2{letter-spacing:-.2px}.admin-body label{font-size:14px}.admin-body label small{line-height:1.45}.admin-body .ok,.admin-body .alert{margin-bottom:13px}
.admin-body .actions button{min-height:34px}.admin-body .danger-soft{background:linear-gradient(135deg,#7d2228,#a83139)}

@media(max-width:1180px){.admin-body .wrap{padding:26px 24px 40px}.admin-topbar{padding:0 22px}}
@media(max-width:980px){
  .sidebar{transform:translateX(-102%);transition:transform .22s ease;box-shadow:18px 0 40px rgba(0,0,0,.25)}
  .admin-content{margin-left:0}.menu-toggle{display:grid;place-items:center}.admin-topbar{justify-content:flex-start}.topbar-user{margin-left:auto}
  .sidebar-overlay{position:fixed;inset:0;background:rgba(5,7,10,.48);z-index:90;backdrop-filter:blur(2px)}
  .sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .sidebar-overlay{display:block}
}
@media(max-width:760px){
  .admin-topbar{height:64px;padding:0 14px}.topbar-title small{display:none}.topbar-title strong{font-size:15px}.topbar-user div{display:none}.topbar-user{padding:5px;border:0;background:transparent}
  .admin-body .wrap{padding:19px 14px 34px}.admin-body .hero h1{font-size:25px}.admin-body .card{padding:17px 15px;border-radius:13px}
  .admin-body .inline{align-items:stretch}.admin-body .inline input,.admin-body .inline select,.admin-body .inline button{width:100%;min-width:0}
  .login-layout{grid-template-columns:1fr;min-height:0}.login-visual{display:none}.login-card-modern{padding:42px 28px}.login-mobile-brand{display:flex;align-items:center;gap:5px;font-weight:900;letter-spacing:.5px}.login-mobile-brand span{color:var(--accent)}
}
@media(max-width:480px){.admin-body .stats{grid-template-columns:1fr 1fr}.admin-body .stats div{padding:15px}.admin-body .stats b{font-size:23px}.admin-body .stats span{font-size:12px}.login-page{padding:12px}.login-layout{border-radius:19px}.login-card-modern{padding:34px 20px}}

/* ===== COMPUTADORES: PRIVACIDADE + MODAL ===== */
.private-pc-card{padding:18px!important}
.pc-table-private{min-width:1120px}
.pc-table-private th,.pc-table-private td{vertical-align:middle}
.identity-button,.windows-button,.secondary-button,.ghost-button{box-shadow:none!important}
.identity-button{background:transparent!important;color:#252931!important;padding:6px 7px!important;min-height:34px!important;font-weight:750;justify-content:flex-start!important;max-width:210px}
.identity-button:hover{background:#f5f6f8!important;transform:none!important;filter:none!important}
.mini-icon{width:27px;height:27px;display:inline-grid;place-items:center;border-radius:8px;background:#f0f1f3;color:#5b616b;font-size:12px;flex:0 0 auto}
.user-mini{color:#d31525;background:#fff0f1}
.pc-mini{color:#333945;background:#f0f2f5}
.windows-button{background:#eef6ff!important;color:#1767b0!important;border:1px solid #d4e7fb!important;padding:7px 10px!important;min-height:36px!important;font-weight:800}
.windows-button:hover{background:#e4f1ff!important;transform:none!important;filter:none!important}
.windows-logo{width:16px;height:16px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:1.5px;transform:skewY(-2deg);flex:0 0 auto}
.windows-logo i{display:block;background:currentColor;border-radius:1px}
.access-pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:850;letter-spacing:.35px;background:#f2f3f5;color:#454a52}
.access-pro{background:#edf9f3;color:#15734e}.access-bloqueado{background:#fff0f0;color:#9e1d28}.access-teste{background:#fff8e5;color:#8b6813}.access-grátis{background:#f2f4f7;color:#535963}
.access-plan{display:block;margin-top:5px;color:#858b94!important}.app-version{font-weight:750;color:#444a53}
.message-cell{min-width:280px}.pc-message-form{display:grid;gap:7px}.pc-message-form textarea{min-width:250px}
.compact-actions,.row-actions{display:flex;gap:7px;flex-wrap:wrap}.row-actions{align-items:center}.pc-access-form{margin:0}
.secondary-button{background:#f2f3f6!important;color:#333943!important;border:1px solid #dfe2e7!important}.secondary-button:hover{background:#e9ebef!important;transform:none!important;filter:none!important}
.ghost-button{background:transparent!important;color:#555c66!important;border:1px solid #dfe2e7!important}.ghost-button:hover{background:#f6f7f9!important;transform:none!important;filter:none!important}
body.modal-open{overflow:hidden}
.pc-modal-backdrop{position:fixed;inset:0;z-index:500;background:rgba(7,9,13,.62);backdrop-filter:blur(5px);display:grid;place-items:center;padding:22px}
.pc-modal-backdrop[hidden]{display:none}
.pc-modal{width:min(820px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;border:1px solid rgba(255,255,255,.35);box-shadow:0 30px 90px rgba(0,0,0,.28);padding:0}
.pc-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 23px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #eceef1}
.pc-modal-head h2{margin:4px 0 0;font-size:22px;color:#20232a}.modal-close{width:38px;height:38px;padding:0!important;border-radius:10px!important;background:#f1f2f4!important;color:#4b515b!important;box-shadow:none!important;font-size:25px;font-weight:500}.modal-close:hover{background:#e8eaed!important;transform:none!important;filter:none!important}
.pc-modal-loading{padding:44px 24px;text-align:center;color:#777d87}.pc-modal-error{margin:20px 23px!important}
.pc-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:20px 23px}
.detail-item{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;border:1px solid #e8eaee;border-radius:12px;background:#fafbfc;min-width:0}
.detail-wide{grid-column:1/-1}.detail-icon{width:34px;height:34px;border-radius:10px;background:#fff0f1;color:#c81120;display:grid;place-items:center;flex:0 0 auto;font-weight:900;border:1px solid #f6dadd}.windows-detail-icon{color:#1767b0;background:#eef6ff;border-color:#d4e7fb}.windows-detail-icon .windows-logo{width:17px;height:17px}
.detail-item div{min-width:0;display:flex;flex-direction:column;gap:3px}.detail-item small{font-size:10px;color:#8a9099;text-transform:uppercase;letter-spacing:.55px;font-weight:800}.detail-item strong{font-size:14px;color:#252a31;line-height:1.35}.detail-item span:not(.detail-icon):not(.windows-logo){font-size:12px;color:#747b85;line-height:1.35}
.mono{font-family:Consolas,"Courier New",monospace}.break-anywhere{word-break:break-all}
.pc-modal-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:16px 23px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid #eceef1}
@media(max-width:720px){.pc-detail-grid{grid-template-columns:1fr;padding:15px}.detail-wide{grid-column:auto}.pc-modal-head{padding:17px 15px}.pc-modal-actions{padding:13px 15px;justify-content:stretch}.pc-modal-actions button{flex:1 1 calc(50% - 8px)}.pc-modal-backdrop{padding:10px}.pc-modal{width:100%;max-height:94vh;border-radius:16px}}

.remote-ui-config{margin-top:8px;border:1px solid #e5e7eb;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfbfd);padding:18px}
.remote-ui-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.remote-ui-title h3{margin:0 0 5px;font-size:18px}.remote-ui-title p{margin:0;color:#6b7280;font-size:13px}
.remote-ui-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.92fr);gap:18px;align-items:start}
.remote-ui-fields{display:grid;gap:14px;min-width:0}.remote-ui-toggle{display:flex;align-items:center;gap:10px;font-weight:700}.remote-ui-toggle input{width:auto}
.remote-ui-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.remote-ui-colors label{margin:0}.remote-ui-colors input[type=color]{display:block;width:100%;height:44px;padding:4px;border:1px solid #d9dee7;border-radius:11px;background:#fff;cursor:pointer}
.remote-ui-style-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.remote-ui-details{border:1px solid #e5e7eb;border-radius:13px;background:#fff;overflow:hidden}.remote-ui-details summary{cursor:pointer;list-style:none;padding:13px 14px;font-weight:800;color:#222}.remote-ui-details summary::-webkit-details-marker{display:none}.remote-ui-details summary:after{content:'+';float:right;color:#ef233c;font-size:18px;line-height:1}.remote-ui-details[open] summary:after{content:'−'}.remote-ui-details[open] summary{border-bottom:1px solid #eef0f4}.remote-ui-label-grid{padding:14px;margin:0}.remote-ui-label-grid label{margin:0}
.remote-ui-preview{--ui-accent:#A855F7;--ui-accent2:#7C3AED;--ui-sidebar:#180D26;--ui-background:#0C0812;--ui-card:#1B1228;--ui-input:#271B39;display:grid;grid-template-columns:138px 1fr;min-height:430px;border:1px solid #dfe3ea;border-radius:18px;overflow:hidden;background:var(--ui-background);box-shadow:0 14px 36px rgba(25,30,45,.08);position:sticky;top:84px}
.preview-sidebar{background:var(--ui-sidebar);color:#fff;padding:15px 10px;display:flex;flex-direction:column;gap:5px;min-width:0}.preview-brand{display:flex;align-items:center;gap:8px;padding:7px 6px 15px;font-weight:900;font-size:11px}.preview-brand:before{content:'R4';display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent2));font-size:11px}.preview-brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-nav{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 9px;border-radius:9px;font-size:10px;font-weight:700;opacity:.82;white-space:nowrap;overflow:hidden}.preview-nav span{overflow:hidden;text-overflow:ellipsis}.preview-nav.active{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent2));opacity:1;box-shadow:0 7px 18px color-mix(in srgb,var(--ui-accent) 28%,transparent)}.preview-bottom{margin-top:auto}
.preview-main{padding:14px;min-width:0;background:var(--ui-background)}.preview-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.preview-action{min-width:0;height:42px;border:0;background:var(--ui-input);color:#f8f8fb;font-weight:800;font-size:9px;cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-action.primary{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent2));color:#fff}.remote-ui-preview.style-rounded .preview-action{border-radius:10px}.remote-ui-preview.style-pill .preview-action{border-radius:22px}.remote-ui-preview.style-compact .preview-action{border-radius:6px}.preview-card{margin-top:14px;border-radius:13px;background:var(--ui-card);padding:16px;min-height:120px;border:1px solid color-mix(in srgb,var(--ui-accent) 22%,transparent);display:flex;flex-direction:column;gap:8px}.preview-card b{color:var(--ui-accent2);font-size:12px}.preview-card span{font-size:11px;line-height:1.55;color:#d5c7e7}
@media(max-width:1180px){.remote-ui-layout{grid-template-columns:1fr}.remote-ui-preview{position:relative;top:auto;min-height:390px}}
@media(max-width:720px){.remote-ui-config{padding:13px}.remote-ui-colors{grid-template-columns:1fr}.remote-ui-preview{grid-template-columns:112px 1fr;min-height:370px}.preview-top{grid-template-columns:repeat(2,minmax(0,1fr))}.remote-ui-title{display:block}}
.remote-ui-switch{display:flex;align-items:center;gap:9px;white-space:nowrap;font-weight:800;color:#252936}.remote-ui-switch input{width:auto}.remote-ui-config .section-head{margin-bottom:16px}.remote-ui-config .grid-form{gap:12px}

#personalizar{scroll-margin-top:88px}


/* ===== PATCH v8.6.9: DASHBOARD ANDROID + VISUALIZAÇÃO PRIVADA DOS PCS ===== */
.admin-body .stats .online-stat small{display:block;margin-top:5px;font-size:10px;color:#7b818b;font-weight:750}
.online-platform-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.platform-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:850;letter-spacing:.15px;white-space:nowrap}
.platform-badge b{font-size:11px}
.platform-windows{background:#eef6ff;color:#1767b0;border:1px solid #d4e7fb}
.platform-android{background:#eefaf2;color:#16834f;border:1px solid #d2efdd}
.online-table td small{color:#7b818a;font-size:11px}

.pc-visibility-card{padding:18px!important}
.pc-visibility-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.pc-visibility-head h2{margin:3px 0 5px;font-size:19px}
.pc-visibility-head p{margin:0}
.privacy-state{display:inline-flex;align-items:center;justify-content:center;min-width:82px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.5px}
.state-hidden{background:#f1f3f5;color:#515862;border:1px solid #e0e3e7}
.state-visible{background:#edf9f3;color:#15734e;border:1px solid #d1ecdf}
.pc-visibility-actions{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 8px}
.pc-visibility-actions button{margin:0!important}
.privacy-choice-active{background:linear-gradient(135deg,#ef233c,#d90429)!important;color:#fff!important;border-color:transparent!important}
.pc-summary-row td{border-bottom:0!important}
.pc-exposed-row td{padding:0 12px 16px!important;background:#fff!important;border-top:0!important}
.pc-exposed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:13px;border:1px solid #e8eaee;border-radius:13px;background:#fafbfc}
.pc-exposed-grid>div{min-width:0;display:flex;flex-direction:column;gap:4px;padding:10px 11px;border-radius:10px;background:#fff;border:1px solid #eceef2}
.pc-exposed-grid small{font-size:9px!important;line-height:1.2;color:#8b919a!important;font-weight:900;text-transform:uppercase;letter-spacing:.55px}
.pc-exposed-grid strong{font-size:12px;color:#252a31;line-height:1.35;overflow-wrap:anywhere}
.pc-exposed-grid span{font-size:10px;color:#727985;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:1180px){.pc-exposed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.pc-visibility-head{display:block}.privacy-state{margin-top:10px}.pc-visibility-actions{display:grid;grid-template-columns:1fr}.pc-exposed-grid{grid-template-columns:1fr}}

/* ===== PATCH FINAL v8.6.9: CARDS EXPOSTOS + MENU RESPONSIVO ===== */
.pc-exposed-row>td{padding:0 12px 18px!important;background:#fff!important;border-top:0!important}
.pc-exposed-card{overflow:hidden;border:1px solid #e2e6eb;border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(24,29,38,.045)}
.pc-exposed-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-bottom:1px solid #edf0f3;background:linear-gradient(180deg,#fbfcfd,#f7f8fa)}
.pc-exposed-title{display:flex;align-items:center;gap:11px;min-width:0}
.pc-exposed-title-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fff0f1;border:1px solid #f4d8dc;color:#d51426;font-weight:900;flex:0 0 auto}
.pc-exposed-title>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.pc-exposed-title strong{font-size:13px;color:#242932;line-height:1.25}
.pc-exposed-title small{font-size:10px;color:#858c96;line-height:1.3}
.pc-admin-only{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;border:1px solid #dfe4ea;background:#fff;color:#747b85;font-size:9px;font-weight:900;letter-spacing:.55px;white-space:nowrap}
.pc-exposed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:13px;background:#fff}
.pc-exposed-grid>.pc-info-item{min-width:0;display:flex;flex-direction:row;align-items:flex-start;gap:11px;padding:11px 12px;border:1px solid #e8ebef;border-radius:11px;background:#fafbfc}
.pc-info-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#fff0f1;border:1px solid #f3dce0;color:#c91424;font-size:14px;font-weight:900}
.pc-info-icon.pc-info-windows{background:#eef6ff;border-color:#d4e7fb;color:#1767b0}
.pc-info-icon .windows-logo{width:16px;height:16px}
.pc-info-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.pc-info-copy small{font-size:9px!important;line-height:1.2;color:#89909a!important;font-weight:900;text-transform:uppercase;letter-spacing:.55px}
.pc-info-copy strong{font-size:12px;color:#252a31;line-height:1.35;overflow-wrap:anywhere;font-weight:800}
.pc-info-copy span{font-size:10px;color:#727985;line-height:1.35;overflow-wrap:anywhere}

/* Menu superior: deixa o botão marcado mais formal e legível em telas menores. */
.menu-toggle{align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:78px!important;height:42px!important;padding:0 13px!important;border:1px solid #e3e6ea!important;background:#fff!important;color:#d91f30!important;border-radius:11px!important;box-shadow:0 4px 13px rgba(28,32,39,.06)!important;font-size:0!important}
.menu-toggle:hover{background:#fff5f6!important;border-color:#f2cbd0!important;transform:none!important;filter:none!important}
.menu-toggle-glyph{font-size:19px;line-height:1;font-weight:800}
.menu-toggle-label{font-size:10px;line-height:1;font-weight:900;letter-spacing:.75px}

@media(max-width:720px){
  .pc-exposed-head{align-items:flex-start}.pc-admin-only{margin-top:2px}
  .pc-exposed-grid{grid-template-columns:1fr;padding:10px}
  .pc-exposed-grid>.pc-info-item{padding:10px}
  .menu-toggle{min-width:42px!important;width:42px!important;padding:0!important}
  .menu-toggle-label{display:none}
}


/* ===== ULTIMO PATCH v8.6.9: PESQUISA JS PC + ANDROID ===== */
.admin-search-card{padding:16px 18px!important;margin:14px 0 16px!important;overflow:hidden}
.admin-search-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.admin-search-title{display:flex;align-items:center;gap:11px;min-width:0}
.admin-search-icon{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#fff0f1;border:1px solid #f1d6da;color:#d31628;font-size:21px;font-weight:900;line-height:1}
.android-search-icon{background:#effaf3;border-color:#d4edde;color:#16834f}
.admin-search-title>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.admin-search-title strong{font-size:14px;color:#252a31}.admin-search-title small{font-size:10px;color:#858c96;line-height:1.4}
.admin-search-badge{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 9px;border-radius:999px;background:#fff4f5;border:1px solid #f2d6da;color:#bd1725;font-size:10px;font-weight:900;white-space:nowrap}
.android-search-badge{background:#effaf3;border-color:#d4edde;color:#16794b}
.admin-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}
.admin-search-input-wrap{position:relative;display:flex;align-items:center;min-width:0}
.admin-search-input-wrap>span{position:absolute;left:13px;z-index:1;color:#9aa0a8;font-size:18px;pointer-events:none}
.admin-search-input-wrap input[type=search]{width:100%;height:45px;padding:0 43px 0 40px;border-radius:12px;border:1px solid #dfe3e8;background:#fafbfc;font-size:12px;font-weight:650;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.admin-search-input-wrap input[type=search]::-webkit-search-cancel-button{display:none}
.admin-search-input-wrap input[type=search]:focus{background:#fff;border-color:#ef4050;box-shadow:0 0 0 3px rgba(239,31,47,.08)}
.admin-search-clear{position:absolute;right:7px;width:30px;height:30px;padding:0!important;display:grid;place-items:center;border-radius:9px!important;background:#eef0f3!important;color:#656c75!important;box-shadow:none!important;font-size:18px!important;line-height:1!important}
.admin-search-clear:hover{background:#e5e8ec!important;filter:none!important;transform:none!important}
.admin-search-submit{height:45px;min-width:92px;border-radius:11px!important;padding:0 17px!important;font-size:11px!important;letter-spacing:.4px}
.admin-search-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;color:#8a9099;font-size:9px;font-weight:700}
.admin-search-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:120px;padding:20px;color:#858c96;text-align:center}
.admin-search-empty>span{font-size:27px;color:#c5cad0}.admin-search-empty b{font-size:13px;color:#555c65}.admin-search-empty small{font-size:10px;color:#9298a0}
.js-pc-search-row[hidden],.pc-exposed-row[hidden],.js-android-search-row[hidden],#pc-search-empty[hidden],#android-search-empty[hidden]{display:none!important}
@media(max-width:720px){.admin-search-head{align-items:flex-start}.admin-search-title small{display:none}.admin-search-form{grid-template-columns:1fr}.admin-search-submit{width:100%}.admin-search-footer{display:block;line-height:1.6}.admin-search-footer span{display:block}}


/* ===== RE4PLAY MOBILE v1.2: MENU / FUNDO / AVISO ===== */
.mobile-admin-form textarea{width:100%;resize:vertical;min-height:92px;border:1px solid #dfe3e8;border-radius:11px;background:#fafbfc;padding:11px 12px;color:#2b3038;font:inherit;box-sizing:border-box}.mobile-admin-form textarea:focus{outline:none;background:#fff;border-color:#ef4050;box-shadow:0 0 0 3px rgba(239,31,47,.08)}
.mobile-admin-group{border:1px solid #e7e9ed;border-radius:14px;background:linear-gradient(180deg,#fcfcfd,#f8f9fb);padding:14px 15px;margin-top:2px}.mobile-admin-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.mobile-admin-title>div{display:flex;flex-direction:column;gap:3px}.mobile-admin-title b{font-size:13px;color:#252a31}.mobile-admin-title small{font-size:10px;color:#858c96;line-height:1.4}.mobile-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-choice{position:relative;display:block!important;margin:0!important}.mobile-choice input{position:absolute;opacity:0;pointer-events:none}.mobile-choice span{display:flex;min-height:74px;flex-direction:column;justify-content:center;gap:5px;padding:12px 13px;border:1px solid #e1e5e9;border-radius:12px;background:#fff;cursor:pointer;transition:.18s ease}.mobile-choice span b{font-size:12px;color:#292e35}.mobile-choice span small{font-size:9px;color:#838a93;line-height:1.35}.mobile-choice input:checked+span{border-color:#eb6672;background:#fff4f5;box-shadow:0 0 0 2px rgba(217,31,48,.06)}.mobile-choice input:checked+span b{color:#c81828}.mobile-background-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-bg-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:9px 11px;border-radius:10px;background:#eef9f3;border:1px solid #d8ece1;font-size:10px;font-weight:800;color:#257052}.mobile-bg-current a{color:#16794b}.mobile-inline-switch{display:inline-flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:7px 10px;border-radius:999px;background:#fff4f5;border:1px solid #f1d4d8;color:#c51b2a;font-size:10px!important;font-weight:900!important;white-space:nowrap}.mobile-inline-switch input{width:auto!important}.mobile-alert-admin{border-color:#f2d6da;background:linear-gradient(180deg,#fffafa,#fff6f7)}.mobile-clear-bg{margin-top:10px;display:flex;justify-content:flex-end}.mobile-clear-bg button{margin:0!important}
@media(max-width:720px){.mobile-choice-grid,.mobile-background-row{grid-template-columns:1fr}.mobile-admin-title{display:block}.mobile-inline-switch{margin-top:10px!important}.mobile-bg-current{align-items:flex-start;flex-direction:column}}
