div#container
{
   width: 320px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #ACACAC;
   background-image: url('images/fundo_mobile1.jpg');
   background-attachment: fixed;
   background-position: center top;
   background-repeat: no-repeat;
   background-size: 100% 100%;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
#main_header
{
   background-color: transparent;
   background-image: url('images/header.jpg');
   background-repeat: no-repeat;
   background-position: left top;
   background-attachment: scroll;
   background-size: 100% 100%;
   border-radius: 0px;
   box-sizing: border-box;
}
#wb_Image3
{
   vertical-align: top;
}
#Image3
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#wb_Image1
{
   vertical-align: top;
}
#Image1
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Shape9
{
   border-width: 0;
   vertical-align: top;
}
#wb_Image1
{
   position: absolute;
   left: 11px;
   top: 510px;
   width: 299px;
   height: 88px;
   z-index: 4;
}
#wb_Image3
{
   position: absolute;
   left: 1168px;
   top: 1691px;
   width: 0px;
   height: 0px;
   z-index: 2;
}
#Html5
{
   position: absolute;
   left: 260px;
   top: 32px;
   width: 50px;
   height: 47px;
   z-index: 1;
}
#wb_Shape9
{
   position: absolute;
   left: 13px;
   top: 65px;
   width: 218px;
   height: 67px;
   z-index: 0;
}
#main_header_Container
{
   width: 320px;
   position: relative;
   margin-left: auto;
   margin-right: auto;
   text-align: left;
}
#bloco_calendario
{
   position: absolute;
   left: 5px;
   top: 611px;
   width: 310px;
   height: 1080px;
   z-index: 3;
}
#Shape9
{
   width: 218px;
   height: 67px;
}
#main_header
{
   position: absolute;
   text-align: center;
   left: 0px;
   top: 0px;
   width: 100%;
   height: 472px;
   z-index: 7777;
}
@media only screen
{
div#container
{
   width: 320px;
}
body
{
   background-color: #ACACAC;
   background-image: url('images/fundo_mobile1.jpg');
   background-attachment: fixed;
   background-position: center top;
   background-repeat: no-repeat;
   background-size: 100% 100%;
}
#main_header
{
   top: 0px;
   height: 472px;
   visibility: visible;
}
#main_header
{
   width: 100%;
}
#main_header_Container
{
   width: 320px;
}
#wb_Image3
{
   left: 1168px;
   top: 1691px;
   width: 0px;
   height: 0px;
   visibility: visible;
   display: inline;
   margin: 0;
   padding: 0;
}
#bloco_calendario
{
   left: 5px;
   top: 606px;
   width: 310px;
   height: 364px;
   visibility: visible;
   display: inline;
}
#wb_Image1
{
   left: 13px;
   top: 510px;
   width: 299px;
   height: 88px;
   visibility: visible;
   display: inline;
   margin: 0;
   padding: 0;
}
#wb_Shape9
{
   left: 13px;
   top: 65px;
   visibility: visible;
   display: inline;
   margin: 0;
}
#Html5
{
   left: 260px;
   top: 35px;
   width: 50px;
   height: 47px;
   visibility: visible;
   display: inline;
}
}
*,
*::before,
*::after{ box-sizing:border-box; }

:root{
  --blue-1:#071b44;
  --blue-2:#0d2c67;
  --blue-3:#1d4e89;
  --orange-1:#f36b21;
  --orange-2:#ff944d;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --shadow:0 14px 30px rgba(7,27,68,.10);
  --shadow-sm:0 6px 16px rgba(7,27,68,.06);
}

html,body{
  margin:0;
  padding:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
}
body{ min-height:100vh; font-size:12px; line-height:1.4; }

.portal-shell{
  max-width:1180px;
  margin:10px auto 18px;
  padding:0 10px;
}

.panel-card{
  background:var(--card);
  border:1px solid rgba(7,27,68,.08);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.login-wrap{
  min-height:380px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 0 14px;
}
.login-card{
  width:100%;
  max-width:420px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(7,27,68,.08);
  border-radius:22px;
  box-shadow:0 20px 48px rgba(7,27,68,.12);
  overflow:hidden;
}
.login-top{
  padding:18px 18px 14px;
  color:#fff;
  background:
    linear-gradient(135deg, rgba(7,27,68,.97), rgba(13,44,103,.94)),
    linear-gradient(90deg, #071b44, #1d4e89);
  position:relative;
}
.login-top::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255,255,255,.03) 54px 56px),
    linear-gradient(transparent 90%, rgba(255,255,255,.05) 90%, rgba(255,255,255,.05) 100%);
  opacity:.6;
  pointer-events:none;
}
.login-kicker{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}
.login-title{
  position:relative;
  z-index:1;
  margin:0 0 5px;
  font-size:22px;
  font-weight:700;
  line-height:1;
  font-family:'Oswald', Arial, sans-serif;
  letter-spacing:.02em;
}
.login-sub{
  position:relative;
  z-index:1;
  margin:0;
  font-size:11px;
  line-height:1.45;
  color:rgba(255,255,255,.88);
}
.login-body{ padding:16px; }
.login-form{ display:flex; flex-direction:column; gap:9px; }

.recovery-box{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e5edf6;
}
.recovery-title{
  margin:0 0 8px;
  font-size:12px;
  font-weight:900;
  color:var(--blue-1);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.recovery-sub{
  margin:0 0 10px;
  color:#64748b;
  font-size:10px;
  line-height:1.45;
}

label{
  display:block;
  font-size:9px;
  font-weight:800;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:5px;
}

.input-shell{ position:relative; }
.input-shell .fake-icon{
  position:absolute;
  left:11px;
  top:50%;
  transform:translateY(-50%);
  width:14px;
  height:14px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--blue-1),var(--orange-1));
  opacity:.18;
}

input, select, textarea{
  width:100%;
  max-width:100%;
  border:1px solid #d6e0ea;
  border-radius:12px;
  background:#f8fbff;
  padding:10px 11px;
  font-size:11.5px;
  color:var(--text);
  font-family:inherit;
  transition:.18s ease;
  outline:none;
}
.input-shell input{
  padding-left:34px;
  height:40px;
}
textarea{
  min-height:70px;
  resize:vertical;
}
input[type="file"]{
  padding:9px 11px;
  background:#fff;
  font-size:10.5px;
}
input.inline-input,
select.inline-select{
  background:#fff;
  border:1px solid #d6e0ea;
  border-radius:11px;
  font-weight:700;
  padding:9px 11px;
  min-height:38px;
  font-size:11.5px;
}
input:focus,
select:focus,
textarea:focus,
input.inline-input:focus,
select.inline-select:focus{
  border-color:#7ca2dd;
  background:#fff;
  box-shadow:0 0 0 3px rgba(23,59,122,.08);
}
input[type="text"], select{ text-transform:uppercase; }
input[type="email"], textarea, input[type="date"]{ text-transform:none; }

.btn{
  border:none;
  border-radius:12px;
  padding:9px 13px;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:.18s ease;
  min-height:36px;
}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--orange-1),var(--orange-2));
  box-shadow:0 8px 18px rgba(243,107,33,.16);
}
.btn-dark{
  color:#fff;
  background:linear-gradient(135deg,var(--blue-1),var(--blue-3));
}
.btn-soft{
  color:var(--blue-1);
  background:#edf4ff;
  border:1px solid #cfe0ff;
}
.btn:hover{ transform:translateY(-1px); }

.msg{
  margin:10px 0;
  padding:10px 12px;
  border-radius:12px;
  border-left:4px solid;
  font-weight:800;
  font-size:11px;
}
.msg.err{ background:#fff0f0; color:#b00020; border-left-color:#ef4444; }
.msg.ok{ background:#edf9f0; color:#166534; border-left-color:#22c55e; }

.cover{
  position:relative;
  min-height:150px;
  background:
    linear-gradient(135deg, rgba(7,27,68,.97), rgba(13,44,103,.92)),
    linear-gradient(90deg, #071b44 0%, #1d4e89 100%);
  overflow:hidden;
}
.cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 16% 22%, rgba(243,107,33,.18), transparent 16%),
    radial-gradient(circle at 78% 26%, rgba(255,255,255,.06), transparent 18%);
}
.cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255,255,255,.03) 58px 60px),
    linear-gradient(transparent 92%, rgba(255,255,255,.06) 92%, rgba(255,255,255,.06) 100%);
  opacity:.6;
}
.cover-inner{
  position:relative;
  z-index:2;
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.cover-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.cover-title{
  margin:8px 0 4px;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:700;
  font-family:'Oswald', Arial, sans-serif;
  letter-spacing:.03em;
}
.cover-sub{
  margin:0;
  color:rgba(255,255,255,.85);
  max-width:580px;
  font-size:11px;
  line-height:1.45;
}

.profile-head{
  position:relative;
  margin-top:-42px;
  padding:0 16px 12px;
}
.profile-main{
  display:grid;
  grid-template-columns:128px 1fr auto;
  gap:14px;
  align-items:end;
}
.avatar-box{ width:128px; }
.avatar-frame{
  width:128px;
  aspect-ratio:3/4;
  border-radius:18px;
  overflow:hidden;
  border:4px solid #fff;
  background:#f1f5f9;
  box-shadow:0 12px 24px rgba(7,27,68,.12);
}
.img-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.foto-placeholder{
  width:100%;
  height:100%;
  min-height:168px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px;
  color:#64748b;
  font-weight:900;
  font-size:10px;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
}

.identity-card{
  background:#fff;
  border:1px solid rgba(7,27,68,.07);
  border-radius:18px;
  padding:12px 12px 11px;
  box-shadow:var(--shadow-sm);
}
.profile-name{
  margin:0 0 6px;
  font-size:24px;
  line-height:1;
  font-weight:700;
  color:var(--orange-1);
  font-family:'Oswald', Arial, sans-serif;
  letter-spacing:.02em;
  word-break:break-word;
}

.profile-meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-bottom:10px;
}
.meta-inline{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#17335f;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.meta-inline .mini-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--orange-1);
  flex:0 0 auto;
}

.profile-mini-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(100px,1fr));
  gap:8px;
}
.profile-stat{
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  border:1px solid #dbe6f0;
  border-radius:13px;
  padding:9px 10px;
}
.profile-stat .label{
  display:block;
  font-size:8px;
  font-weight:800;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:4px;
}
.profile-stat .value{
  display:block;
  font-size:10px;
  font-weight:900;
  color:#0f172a;
  line-height:1.35;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border-radius:999px;
  font-weight:900;
  font-size:9px;
  border:1px solid transparent;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.badge .dot{ width:7px; height:7px; border-radius:999px; display:inline-block; }
.badge.ok{ background:#e6f4ea; color:#166534; border-color:#bbf7d0; }
.badge.ok .dot{ background:#22c55e; }
.badge.warn{ background:#fff4e8; color:#b45309; border-color:#fdba74; }
.badge.warn .dot{ background:#f97316; }
.badge.bad{ background:#fdecea; color:#b00020; border-color:#fecaca; }
.badge.bad .dot{ background:#ef4444; }
.badge.info{ background:#eff6ff; color:#1d4ed8; border-color:#bfdbfe; }
.badge.info .dot{ background:#3b82f6; }

.selo-carteira{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  border:1px solid transparent;
}
.selo-carteira::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  display:inline-block;
}
.selo-carteira.ok{
  background:#e8f8ec;
  color:#166534;
  border-color:#bbf7d0;
}
.selo-carteira.ok::before{
  background:#22c55e;
}
.selo-carteira.wait{
  background:#fff4e8;
  color:#b45309;
  border-color:#fdba74;
}
.selo-carteira.wait::before{
  background:#f97316;
}

.profile-actions{
  display:flex;
  gap:8px;
  align-items:flex-end;
  padding-bottom:2px;
}

.action-fab{
  position:relative;
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  overflow:hidden;
  white-space:nowrap;
  transition:width .28s ease, border-radius .28s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow:0 8px 18px rgba(7,27,68,.10);
  padding:0 12px;
}
.action-fab:hover{
  width:174px;
  border-radius:999px;
  transform:translateY(-1px);
}
.action-fab .ico{
  min-width:18px;
  width:18px;
  text-align:center;
  font-size:15px;
  font-weight:900;
  line-height:1;
}
.action-fab .txt{
  opacity:0;
  max-width:0;
  overflow:hidden;
  transition:opacity .18s ease .08s, max-width .25s ease .05s, margin-left .2s ease .05s;
  margin-left:0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.03em;
}
.action-fab:hover .txt{
  opacity:1;
  max-width:140px;
  margin-left:8px;
}
.action-edit{
  background:linear-gradient(135deg,var(--orange-1),var(--orange-2));
  color:#fff;
}
.action-admin{
  background:#eef4ff;
  color:var(--blue-1);
  border:1px solid #cfe0ff;
}
.action-new{
  background:linear-gradient(135deg,var(--blue-1),var(--blue-3));
  color:#fff;
}
.action-logout{
  background:linear-gradient(135deg,#5b677f,#2f3d57);
  color:#fff;
}
.msg-badge{
  position:absolute;
  top:3px;
  right:3px;
  min-width:17px;
  height:17px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:9px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 5px;
  box-shadow:0 6px 14px rgba(239,68,68,.28);
}

.tabs-bar{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:0 16px 12px;
}
.tab-btn{
  appearance:none;
  border:none;
  cursor:pointer;
  padding:8px 12px;
  border-radius:999px;
  background:#f1f6fb;
  color:#274466;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  border:1px solid #dbe7f3;
  transition:.18s ease;
  position:relative;
}
.tab-btn:hover{ background:#edf4ff; }
.tab-btn.active{
  background:linear-gradient(135deg,var(--blue-1),var(--blue-3));
  color:#fff;
  border-color:transparent;
  box-shadow:0 8px 18px rgba(23,59,122,.14);
}
.tab-badge{
  display:inline-flex;
  min-width:17px;
  height:17px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  margin-left:7px;
  padding:0 5px;
  background:#ef4444;
  color:#fff;
  font-size:9px;
  font-weight:900;
}

.tab-content{
  display:none;
  padding:0 16px 16px;
}
.tab-content.active{ display:block; }

.section-card{
  background:#fff;
  border:1px solid #e2ebf5;
  border-radius:17px;
  padding:13px;
  box-shadow:0 5px 14px rgba(7,27,68,.04);
}
.section-card + .section-card{ margin-top:10px; }

.section-title{
  margin:0 0 3px;
  font-size:20px;
  font-weight:700;
  color:var(--orange-1);
  font-family:'Oswald', Arial, sans-serif;
  letter-spacing:.02em;
}
.section-sub{
  margin:0 0 11px;
  color:#64748b;
  font-size:10px;
  line-height:1.45;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(210px, 1fr));
  gap:8px;
}
.box{
  background:linear-gradient(180deg,#ffffff,#fbfdff);
  border:1px solid #e2ebf5;
  border-radius:13px;
  padding:9px;
}
.k{
  display:block;
  font-weight:800;
  font-size:8px;
  margin-bottom:5px;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.v{
  font-size:11px;
  line-height:1.35;
  font-weight:900;
  color:#0f172a;
  word-break:break-word;
}
.rg-grid,
.cidade-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:7px;
}
.confirm-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.acoes{
  margin-top:12px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.feature-card{
  border-radius:13px;
  padding:11px;
  background:linear-gradient(180deg,#fff,#f9fbff);
  border:1px solid #e0eaf4;
}
.feature-card h4{
  margin:0 0 4px;
  font-size:12px;
  font-weight:900;
  color:var(--blue-1);
}
.feature-card p{
  margin:0;
  color:#64748b;
  font-size:10px;
  line-height:1.45;
}

.result-placeholder,
.rank-placeholder{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
  margin-top:4px;
}
.ghost-card{
  min-height:95px;
  border-radius:13px;
  padding:11px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border:1px solid #e1ebf4;
  position:relative;
  overflow:hidden;
}
.ghost-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 40%, transparent 75%);
  transform:translateX(-100%);
  animation:shine 2.3s infinite;
}
@keyframes shine{
  to{ transform:translateX(100%); }
}
.ghost-title{
  width:58%;
  height:9px;
  border-radius:999px;
  background:#dbe8f4;
  margin-bottom:10px;
}
.ghost-line{
  width:100%;
  height:7px;
  border-radius:999px;
  background:#e8f0f8;
  margin-bottom:7px;
}
.ghost-line.short{ width:70%; }

/* ===== CHAT ===== */
.chat-wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:10px;
}

.chat-card{
  border:1px solid #dde8f3;
  border-radius:15px;
  background:#fff;
  overflow:hidden;
}

.chat-head{
  padding:10px 12px;
  border-bottom:1px solid #e5edf6;
  background:linear-gradient(180deg,#f9fbff,#f3f8ff);
}
.chat-head strong{
  display:block;
  font-size:12px;
  color:#0f172a;
}
.chat-head span{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:10px;
}

.chat-list{
  max-height:340px;
  overflow:auto;
  padding:10px;
  background:linear-gradient(180deg,#fbfdff,#f6faff);
  display:flex;
  flex-direction:column;
  gap:7px;
}

.chat-empty{
  padding:14px;
  border:1px dashed #cfdceb;
  border-radius:13px;
  background:#fff;
  color:#64748b;
  font-size:11px;
}

.chat-msg{
  max-width:68%;
  min-width:220px;
  padding:6px 8px 7px;
  border-radius:12px;
  border:1px solid #dce6f2;
  font-size:10px;
  line-height:1.28;
  box-shadow:0 3px 8px rgba(7,27,68,.04);
  white-space:pre-wrap;
  word-break:break-word;
}
.chat-msg.admin{
  align-self:flex-start;
  background:#eef5ff;
  border-top-left-radius:5px;
}
.chat-msg.atleta{
  align-self:flex-end;
  background:#fff1e8;
  border-top-right-radius:5px;
}
.chat-msg-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  margin-bottom:4px;
}
.chat-meta{
  display:block;
  font-size:7.5px;
  font-weight:900;
  color:#64748b;
  text-transform:uppercase;
  line-height:1.2;
}
.chat-del{
  border:none;
  background:transparent;
  color:#64748b;
  font-size:16px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  padding:0;
  margin:0;
  min-width:auto;
  min-height:auto;
  box-shadow:none;
  width:auto;
  height:auto;
}
.chat-del:hover{
  color:#dc2626;
  transform:none;
}

.chat-compose{
  padding:10px;
  border-top:1px solid #e5edf6;
  background:#fff;
}
.chat-compose textarea{
  min-height:70px;
  background:#f8fbff;
}

.chat-side{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.chat-info{
  border:1px solid #dde8f3;
  border-radius:15px;
  background:#fff;
  padding:11px;
}
.chat-info h4{
  margin:0 0 6px;
  color:var(--blue-1);
  font-size:12px;
  font-weight:900;
}
.chat-info p{
  margin:0;
  color:#64748b;
  font-size:10px;
  line-height:1.5;
}
.chat-note{
  background:#f8fbff;
  border:1px solid #dbe8f4;
  border-radius:13px;
  padding:11px;
  font-size:11px;
  line-height:1.5;
  color:#17335f;
}

/* ===== CARTEIRA ===== */
.wallet-card{
  background:#fff;
  border:1px solid #e2ebf5;
  border-radius:18px;
  padding:12px;
}
.wallet-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.wallet-wrap{
  width:100%;
  overflow:auto;
}
.carteira-box{
  position:relative;
  width:100%;
  aspect-ratio:3404 / 1073;
  min-width:880px;
  overflow:hidden;
  background:#ddd;
  border-radius:14px;
}
.carteira-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
.carteira-layer{
  position:absolute;
  inset:0;
  z-index:2;
}
.carteira-foto{
  position:absolute;
  left:5.58%;
  top:35.88%;
  width:10.60%;
  height:44.45%;
  border-radius:1.1vw;
  overflow:hidden;
  background:#efefef;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.carteira-foto img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}
.carteira-foto-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:8%;
  font-size:.95vw;
  font-weight:800;
  color:#6b7280;
  background:linear-gradient(180deg,#f2f2f2 0%, #dddddd 100%);
}
.carteira-selo-pcd{
  position:absolute;
  left:56.90%;
  top:18%;
  width:8%;
  height:auto;
  z-index:4;
  display:block;
}
.carteira-txt{
  position:absolute;
  line-height:1.1;
  color:#111;
}
.carteira-front{
  color:#ffffff;
  font-weight:700;
  text-shadow:0 1px 2px rgba(0,0,0,.28);
}
.carteira-verso{
  color:#111;
  font-weight:800;
}
.wallet-nome{ left:18.02%; top:46.40%; width:32.20%; font-size:1.02vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-cbat{ left:18.02%; top:60.72%; width:12.20%; font-size:0.98vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-nasc{ left:32.10%; top:60.72%; width:16.80%; font-size:0.98vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-cpf{ left:18.02%; top:73.55%; width:12.20%; font-size:0.98vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-rg{ left:32.10%; top:73.55%; width:16.80%; font-size:0.98vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-clube{ left:56.95%; top:53%; width:35.80%; font-size:1.02vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-datareg{ left:56.95%; top:67%; width:12.00%; font-size:0.96vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-validade{ left:77.10%; top:67%; width:12.00%; font-size:0.96vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.wallet-lock{
  border:1px dashed #cfdceb;
  border-radius:16px;
  background:#fff;
  padding:18px;
  text-align:center;
  color:#64748b;
}
.wallet-lock strong{
  display:block;
  color:#0f172a;
  margin-bottom:6px;
  font-size:14px;
}

/* ===== FOOTER ===== */
.fsat-footer-wrapper{
  width:100%;
  margin:16px 0 0;
  padding:0;
  overflow:hidden;
  line-height:0;
}
.fsat-footer-image{
  width:1180px;
  height:auto;
  display:block;
  max-width:100%;
  object-fit:cover;
  margin:0 auto;
}

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(7,27,68,.42);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:16px;
}
.modal-overlay.active{
  display:flex;
}
.modal-box{
  width:100%;
  max-width:500px;
  background:#fff;
  border-radius:20px;
  box-shadow:0 28px 60px rgba(0,0,0,.22);
  overflow:hidden;
  animation:modalIn .18s ease;
}
@keyframes modalIn{
  from{ opacity:0; transform:translateY(12px) scale(.98); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
.modal-head{
  padding:16px 18px 10px;
  background:linear-gradient(135deg,var(--orange-1),var(--orange-2));
  color:#fff;
}
.modal-head h3{
  margin:0;
  font-size:20px;
  font-family:'Oswald', Arial, sans-serif;
}
.modal-body{
  padding:16px 18px;
  color:#334155;
  font-size:12px;
  line-height:1.55;
}
.modal-actions{
  padding:0 18px 18px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width:1080px){
  .cover-inner{ flex-direction:column; align-items:flex-start; }
  .profile-main{ grid-template-columns:128px 1fr; }
  .profile-actions{
    grid-column:1/-1;
    justify-content:flex-start;
  }
  .profile-mini-grid,
  .confirm-grid,
  .feature-grid,
  .result-placeholder,
  .rank-placeholder{
    grid-template-columns:repeat(2,1fr);
  }
  .chat-wrap{
    grid-template-columns:1fr;
  }
}
@media (max-width:760px){
  .portal-shell{ margin:8px auto 14px; padding:0 6px; }
  .cover{ min-height:140px; }
  .cover-inner{ padding:14px 12px; }
  .cover-title{ font-size:24px; }
  .profile-head{ padding:0 12px 12px; margin-top:-36px; }
  .profile-main{ grid-template-columns:1fr; gap:12px; align-items:start; }
  .avatar-box, .avatar-frame{ width:116px; }
  .foto-placeholder{ min-height:154px; }
  .profile-name{ font-size:21px; }
  .profile-mini-grid, .confirm-grid, .grid, .feature-grid, .result-placeholder, .rank-placeholder{
    grid-template-columns:1fr;
  }
  .tabs-bar{ padding:0 12px 10px; }
  .tab-content{ padding:0 12px 12px; }
  .section-card{ padding:11px; border-radius:14px; }
  .rg-grid, .cidade-grid{ grid-template-columns:1fr; }
  .acoes .btn{ width:100%; }
  .profile-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .action-fab{
    width:100%;
    border-radius:14px;
    justify-content:flex-start;
    height:40px;
  }
  .action-fab .txt{
    opacity:1;
    max-width:120px;
    margin-left:8px;
  }
  .action-fab:hover{
    width:100%;
    border-radius:14px;
  }
  .chat-msg{
    max-width:88%;
    min-width:0;
  }
  .carteira-box{
    min-width:760px;
  }
}
@media print{
  body *{
    visibility:hidden !important;
  }
  #walletPrintArea,
  #walletPrintArea *{
    visibility:visible !important;
  }
  #walletPrintArea{
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    width:100% !important;
  }
  .wallet-actions,
  .tabs-bar,
  .profile-actions,
  .fsat-footer-wrapper{
    display:none !important;
  }
}
    /* ===== ESCOPO TOTAL ===== */
    #fsatNav_72c1a_v3{ all:initial; display:block; }
    #fsatNav_72c1a_v3 *{ box-sizing:border-box; }

    /* ===== TOKENS ===== */
    #fsatNav_72c1a_v3{
      --fsat-panel:#0f1712;
      --fsat-panel2:#0c120e;
      --fsat-text:#e8f2ec;
      --fsat-muted:#b7c7bd;
      --fsat-accent:#39d27d;
      --fsat-border:rgba(255,255,255,.10);
      --fsat-shadow:0 18px 60px rgba(0,0,0,.55);
      --fsat-z:999999;
      font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    }

    /* ===== BARRA STICKY TOTALMENTE TRANSPARENTE ===== */
   /* BOTÃO FLUTUANTE (sempre visível e desce junto no scroll) */
#fsatNav_72c1a_v3 .fsatBar{
  position: fixed;       /* <-- em vez de sticky */
  top: 40px;             /* distância do topo */
  right: 14px;           /* extrema direita */
  z-index: var(--fsat-z);

  width: auto;
  padding: 0;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


    /* =========================================================
       BOTÃO HAMBÚRGUER (IGUAL AO PRINT)
       - retângulo branco arredondado
       - 3 traços escuros
       - alta prioridade p/ não ser sobrescrito
    ========================================================= */
   /* BOX BRANCO COM PADDING IGUAL EM TODOS OS LADOS */
#fsatNav_72c1a_v3 .fsatHambBtn{
  all: unset;
  cursor: pointer !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 12px !important;      /* <-- igual em cima/baixo e lados */
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 0 !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.30) !important;
}

/* ÍCONE MAIOR */
#fsatNav_72c1a_v3 .fsatHambIcon{
  width: 26px !important;        /* <-- aumenta aqui */
  height: 18px !important;       /* <-- aumenta aqui */
  display: block;
}

    #fsatNav_72c1a_v3 .fsatHambBtn:focus-visible{
      outline:2px solid rgba(255,255,255,.80) !important;
      outline-offset:3px !important;
    }

    #fsatNav_72c1a_v3 .fsatHambIcon{
      width:20px !important;
      height:14px !important;
      display:block;
    }

    /* ===== OVERLAY ===== */
    #fsatNav_72c1a_v3 .fsatOverlay{
      position:fixed; inset:0;
      background:rgba(0,0,0,.55);
      opacity:0; pointer-events:none;
      transition:opacity .2s ease;
      z-index:calc(var(--fsat-z) - 1);
    }
    #fsatNav_72c1a_v3[data-open="1"] .fsatOverlay{
      opacity:1; pointer-events:auto;
    }

    /* ===== DRAWER ===== */
    #fsatNav_72c1a_v3 .fsatDrawer{
      position:fixed; top:0; bottom:0;
      width:min(86vw, 360px);
      background:linear-gradient(180deg, var(--fsat-panel), var(--fsat-panel2));
      box-shadow:var(--fsat-shadow);
      z-index:var(--fsat-z);
      transition:transform .22s ease;
      display:flex; flex-direction:column;
      padding:14px;
    }

    #fsatNav_72c1a_v3[data-side="right"] .fsatDrawer{
      right:0; left:auto;
      transform:translateX(110%);
      border-left:1px solid var(--fsat-border);
      border-right:none;
    }
    #fsatNav_72c1a_v3[data-open="1"][data-side="right"] .fsatDrawer{ transform:translateX(0); }

    #fsatNav_72c1a_v3[data-side="left"] .fsatDrawer{
      left:0; right:auto;
      transform:translateX(-110%);
      border-right:1px solid var(--fsat-border);
      border-left:none;
    }
    #fsatNav_72c1a_v3[data-open="1"][data-side="left"] .fsatDrawer{ transform:translateX(0); }

    /* ===== TOPO DO DRAWER ===== */
    #fsatNav_72c1a_v3 .fsatDrawerTop{
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding-bottom:12px;
      border-bottom:1px solid var(--fsat-border);
    }

    #fsatNav_72c1a_v3 .fsatLogoWrap{ display:flex; align-items:center; gap:10px; min-width:0; }
    #fsatNav_72c1a_v3 .fsatLogo{
      width:44px;height:44px;border-radius:12px;
      background:rgba(255,255,255,.06);
      border:1px solid var(--fsat-border);
      display:flex;align-items:center;justify-content:center;
      overflow:hidden; flex:0 0 auto;
    }
    #fsatNav_72c1a_v3 .fsatLogo img{ width:100%;height:100%;object-fit:contain;display:block; }

    #fsatNav_72c1a_v3 .fsatTitle{
      color:var(--fsat-text);
      font-weight:900;
      font-size:15px;
      line-height:1.1;
      letter-spacing:.2px;
      overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    }
    #fsatNav_72c1a_v3 .fsatSub{
      color:var(--fsat-muted);
      font-weight:600;
      font-size:12px;
      margin-top:2px;
      overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    }

    /* botão fechar (no drawer) */
    #fsatNav_72c1a_v3 .fsatCloseBtn{
      all:unset;
      cursor:pointer;
      width:40px;height:40px;
      display:inline-flex;align-items:center;justify-content:center;
      border-radius:12px;
      background:rgba(255,255,255,.06);
      border:1px solid var(--fsat-border);
    }
    #fsatNav_72c1a_v3 .fsatCloseBtn:focus-visible{
      outline:3px solid rgba(57,210,125,.35);
      outline-offset:2px;
    }

    /* ===== LINKS ===== */
    #fsatNav_72c1a_v3 .fsatList{
      margin:12px 0 0 0;
      padding:8px 0;
      list-style:none;
      display:flex; flex-direction:column; gap:8px;
      overflow:auto;
      flex:1 1 auto;
    }

    #fsatNav_72c1a_v3 .fsatLink{
      display:flex; align-items:center; gap:10px;
      padding:12px 12px;
      border-radius:12px;
      border:1px solid rgba(255,255,255,.08);
      background:rgba(255,255,255,.04);
      color:var(--fsat-text);
      text-decoration:none;
      font-weight:800;
      letter-spacing:.2px;
      font-size:13px;
      transition:transform .12s ease, background .12s ease, border-color .12s ease;
    }
    #fsatNav_72c1a_v3 .fsatLink:hover{
      background:rgba(57,210,125,.10);
      border-color:rgba(57,210,125,.22);
      transform:translateY(-1px);
    }
    #fsatNav_72c1a_v3 .fsatLink:focus-visible{
      outline:3px solid rgba(57,210,125,.35);
      outline-offset:2px;
    }

    #fsatNav_72c1a_v3 .fsatBadge{
      margin-left:auto;
      color:var(--fsat-accent);
      font-weight:900;
      font-size:12px;
      opacity:.95;
    }

    #fsatNav_72c1a_v3 .fsatFooter{
      padding-top:12px;
      border-top:1px solid var(--fsat-border);
      color:var(--fsat-muted);
      font-size:12px;
      font-weight:600;
    }
  