
.gmon-wrap{max-width:920px;margin:18px auto;padding:0 12px}
.gmon-head{margin-bottom:16px}
.gmon-head h2{margin:0 0 6px;font-size:26px}
.gmon-head p{margin:0;color:#5f6f7f}
.gmon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}
.gmon-card{appearance:none;border:1px solid #dce5ee!important;background:#fff!important;border-radius:14px!important;padding:14px!important;text-align:left!important;color:#18324b!important;box-shadow:0 4px 16px rgba(24,50,75,.06)}
.gmon-card.active{border-color:#0b5cab!important;box-shadow:0 0 0 2px rgba(11,92,171,.12)}
.gmon-card strong,.gmon-card small{display:block}
.gmon-card small{margin-top:4px;color:#6d7c8a;font-size:12px}
.gmon-icon{font-size:24px;display:block;margin-bottom:8px}
.gmon-panel{display:none}
.gmon-panel.active{display:block}
.gmon-box{background:#fff;border:1px solid #dce5ee;border-radius:16px;padding:18px;margin:12px 0;box-shadow:0 5px 18px rgba(24,50,75,.06)}
.gmon-box h3{margin-top:0}
.gmon-box label{display:block;font-weight:600;margin:12px 0 5px}
.gmon-box input,.gmon-box select,.gmon-box textarea{width:100%;box-sizing:border-box;border:1px solid #cdd8e3;border-radius:10px;padding:11px;background:#fff;color:#17202a}
.gmon-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gmon-btn{display:inline-block;border:0!important;border-radius:10px!important;background:#0b5cab!important;color:#fff!important;padding:10px 15px!important;text-decoration:none!important;font-weight:700!important;cursor:pointer}
.gmon-btn.small{padding:8px 11px!important;font-size:13px;margin-top:10px}
.gmon-btn:disabled{opacity:.55;cursor:not-allowed}
.gmon-status{background:#f4f7fa;border-radius:10px;padding:10px 12px;margin:10px 0}
.gmon-status.success,.gmon-formmsg.success{background:#eaf8ee;color:#17622c}
.gmon-formmsg.error{background:#fdecec;color:#a51c1c}
.gmon-formmsg{margin-top:10px;border-radius:10px;padding:9px 11px}
.gmon-formmsg:empty{display:none}
.gmon-paynote{background:#fff7dd;border:1px solid #f0df9d;border-radius:10px;padding:10px 12px;margin:12px 0}
.gmon-estimate{margin:10px 0;padding:10px;border-radius:10px;background:#eef5fb}
.gmon-loginbox{text-align:center;padding:30px 15px}
.gmon-profile-entry{margin:12px 0;text-align:center}

.gmon-badge{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;font-size:11px;font-weight:800;margin-left:4px;vertical-align:middle}
.gmon-badge-verified{background:#1689ff;color:#fff}
.gmon-badge-premium{background:#f3b70a;color:#fff}

.gmon-sponsored{position:relative}
.gmon-sponsored-label{position:absolute;z-index:50;top:9px;left:9px;background:#111c;color:#fff;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:700}

.gmon-adlist{display:grid;gap:14px}
.gmon-adcard{position:relative;background:#fff;border:1px solid #dce5ee;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(24,50,75,.08);margin:14px 0}
.gmon-adcard img{display:block;width:100%;max-height:420px;object-fit:cover}
.gmon-adbody{padding:14px}
.gmon-adbody h3{margin:0 0 7px}
.gmon-adbody p{margin:5px 0}
.gmon-adbody small{display:block;color:#6a7885;margin-top:6px}
.gmon-adtag{position:absolute;top:9px;left:9px;z-index:2;background:#111d;color:#fff;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:700}
.gmon-ad-infeed{width:100%}

@media(max-width:720px){
  .gmon-grid{grid-template-columns:repeat(2,1fr)}
  .gmon-row{grid-template-columns:1fr}
  .gmon-wrap{padding:0 8px}
}


.gmon-profile-launcher{
  margin:16px 0;
  padding:16px;
  border:1px solid #dce5ee;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 18px rgba(24,50,75,.06);
}
.gmon-profile-launcher h3{
  margin:0 0 12px;
  font-size:17px;
}
.gmon-profile-options{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
}
.gmon-profile-options a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:84px;
  padding:10px 8px;
  border:1px solid #dce5ee;
  border-radius:12px;
  background:#f8fbfe;
  color:#18324b;
  text-decoration:none!important;
  text-align:center;
}
.gmon-profile-options a span{font-size:23px;margin-bottom:5px}
.gmon-profile-options a strong{font-size:12px}
@media(max-width:600px){
  .gmon-profile-options{grid-template-columns:repeat(2,1fr)}
}


/* v1.1.2 : rendre les 4 options explicitement cliquables même si le thème superpose un élément */
.gmon-profile-launcher,
.gmon-profile-options,
.gmon-profile-link{
  position:relative;
  z-index:20;
}
.gmon-profile-link{
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation;
}
.gmon-profile-link *{
  pointer-events:none;
}


/* v1.2.0 — vrais liens visibles et cliquables */
.gmon-card{
  display:block;
  text-decoration:none!important;
  cursor:pointer!important;
}
.gmon-profile-options a{
  text-decoration:none!important;
  cursor:pointer!important;
}
.gmon-profile-options a:hover,
.gmon-card:hover{
  border-color:#0b5cab!important;
}


/* v1.3.0 — boutons FORM natifs, indépendants des liens et du JavaScript */
.gmon-profile-options{
  align-items:stretch;
}
.gmon-option-form,
.gmon-tab-form{
  margin:0!important;
  padding:0!important;
  display:block!important;
}
.gmon-option-form .gmon-profile-link{
  width:100%!important;
  height:100%!important;
  min-height:84px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #dce5ee!important;
  border-radius:12px!important;
  background:#f8fbfe!important;
  color:#18324b!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  position:relative!important;
  z-index:999!important;
}
.gmon-option-form .gmon-profile-link:hover{
  border-color:#0b5cab!important;
}
.gmon-tab-form .gmon-card{
  width:100%!important;
  height:100%!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  position:relative!important;
  z-index:999!important;
}


/* v1.4.0 — forcer la zone cliquable au-dessus de tout habillage du profil */
.gmon-profile-launcher{
  position:relative!important;
  z-index:2147483000!important;
  pointer-events:auto!important;
}
.gmon-profile-options{
  position:relative!important;
  z-index:2147483001!important;
  pointer-events:auto!important;
}
.gmon-profile-link{
  width:100%!important;
  min-height:84px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #dce5ee!important;
  border-radius:12px!important;
  background:#f8fbfe!important;
  color:#18324b!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  position:relative!important;
  z-index:2147483002!important;
}
.gmon-profile-link span,
.gmon-profile-link strong{
  pointer-events:none!important;
}


/* v1.4.3 — page Monétisation rendue directement, indépendamment du contenu Astra */
.gmon-direct-page{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.gmon-direct-shell{width:min(960px,calc(100% - 24px));margin:24px auto 90px;box-sizing:border-box}
.gmon-direct-page .gmon-wrap{max-width:920px;margin:0 auto;padding:0}
@media(max-width:720px){
  .gmon-direct-shell{width:calc(100% - 24px);margin:18px auto 90px}
  .gmon-direct-page .gmon-wrap{width:100%;padding:0}
  .gmon-head h2{font-size:25px}
}

/* v1.5.0 — navigation directe et formulaires réellement utilisables */
.gmon-dashboard-note{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:12px;
  background:#eef6ff;
  color:#34506d;
  font-size:14px;
}
.gmon-service-top{margin:0 0 12px}
.gmon-back{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0b5cab!important;
  text-decoration:none!important;
  font-weight:800;
}
.gmon-direct-shell .gmon-box{max-width:760px;margin:0 auto}
.gmon-direct-shell .gmon-btn{width:100%;box-sizing:border-box;text-align:center;padding:13px 16px!important;font-size:15px}
.gmon-direct-shell .gmon-paynote{line-height:1.45}
.gmon-grid .gmon-card{
  min-height:120px;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  text-decoration:none!important;
}
.gmon-profile-options .gmon-profile-link{min-height:110px!important}

@media(max-width:720px){
  .gmon-direct-shell{width:calc(100% - 20px)!important;margin:12px auto 90px!important}
  .gmon-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .gmon-grid .gmon-card{min-height:112px!important;padding:12px!important;text-align:center!important;align-items:center!important}
  .gmon-grid .gmon-icon{font-size:29px}
  .gmon-grid .gmon-card strong{font-size:16px}
  .gmon-grid .gmon-card small{font-size:11px;line-height:1.25}
  .gmon-box{padding:15px!important}
  .gmon-box h3{font-size:23px;line-height:1.15}
  .gmon-profile-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
