@import url("https://fonts.googleapis.com/css2?family=Anton&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@500;600;700&display=swap");

html:has(body.profilo-ai),
body.profilo-ai {
  background: #0f131a;
  color: #d7dde6;
  color-scheme: dark;
}

body.profilo-ai #contenitore {
  background: #0f131a;
  padding-top: 70px;
}

body.profilo-ai #contenitore > .nav-button {
  display: none;
}

body.profilo-ai #section__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1060px;
  max-width: 98%;
  margin: 0 auto 48px !important;
  padding-top: 0;
  min-height: 0;
  float: none;
  text-align: center;
  box-sizing: border-box;
}

body.profilo-ai #section__center > * {
  width: 1060px;
  max-width: 98%;
  margin-left: auto;
  margin-right: auto;
  float: none;
  box-sizing: border-box;
}

body.profilo-ai #welc_profilo {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  max-height: none;
  height: min(52vh, 560px) !important;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  margin: 0 !important;
  background-size: cover;
  background-position: center;
  box-shadow: none;
}

body.profilo-ai #welc_profilo::after {
  display: none;
}

body.profilo-ai #avataz {
  z-index: 2;
  height: auto;
  align-items: flex-end;
  overflow: visible;
  bottom: 18px;
  left: 20px;
}

body.profilo-ai .centro_new {
  position: relative;
  bottom: auto;
  left: auto;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 3px solid #e8c57a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

body.profilo-ai .nomone {
  position: relative;
  bottom: auto;
  left: auto;
  margin-left: 16px;
  font-family: "Anton", sans-serif;
  font-size: 2.5em;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: -1px 0 0 #000, 1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

body.profilo-ai #zonline,
body.profilo-ai #zonline2,
body.profilo-ai #zonline3 {
  z-index: 3;
  width: auto;
  min-width: 132px;
  height: auto;
  line-height: 1.2;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px 0 0 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
}

body.profilo-ai #zonline {
  background: #2d7e19;
}

body.profilo-ai #livello {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 8px !important;
}

body.profilo-ai #certok,
body.profilo-ai #raccomandato {
  float: none;
  width: 100%;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 0 0 20px 20px;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.04em;
  text-shadow: none;
  box-sizing: border-box;
}

body.profilo-ai #raccomandato {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

body.profilo-ai .numerofeed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45em;
  height: 1.45em;
  margin: 0 0.2em;
  padding: 0;
  border: 1px solid #d4af37;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff8d6 0%, #ffe08a 18%, #e8c57a 42%, #c9a227 68%, #8a6e2f 100%);
  color: #111;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

body.profilo-ai #livello br {
  display: none;
}

body.profilo-ai #contenitore_sx {
  width: 100%;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 22px 24px 26px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.profilo-ai #contenitore_sx h4 {
  font-size: 1rem;
  padding: 8px 0 0;
  color: #cfd6df;
}

body.profilo-ai #contenitore_sx h4 small {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: none;
}

body.profilo-ai .arancio {
  color: #e8c57a;
  font-weight: 650;
}

body.profilo-ai .Stile1,
body.profilo-ai .Stile3 {
  color: #f0f3f7;
}

body.profilo-ai .pulsi2 {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 10px 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.profilo-ai .pulsi_txt2 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

body.profilo-ai .pai-feeds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto 18px;
}

body.profilo-ai .pai-feed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  padding: 8px 8px 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(232, 197, 122, 0.18);
  background: linear-gradient(180deg, #1c2430 0%, #121820 100%) !important;
  color: #f0f3f7;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.profilo-ai a.pai-feed {
  cursor: pointer;
}

body.profilo-ai .pai-feed i {
  font-size: 1rem;
  font-style: normal;
  color: #fff;
}

body.profilo-ai .pai-feed-count {
  min-width: 32px;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 650;
}

body.profilo-ai .pai-feed-pos {
  background: linear-gradient(180deg, #3d9a2a 0%, #246616 100%) !important;
  border-color: rgba(180, 255, 160, 0.35);
}

body.profilo-ai .pai-feed-neg {
  background: linear-gradient(180deg, #c43c3f 0%, #8a1e22 100%) !important;
  border-color: rgba(255, 170, 170, 0.32);
}

body.profilo-ai a.pai-feed:hover,
body.profilo-ai a.pai-feed:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232, 197, 122, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
  color: #fff;
  filter: none;
}

body.profilo-ai a.pai-feed-pos:hover,
body.profilo-ai a.pai-feed-pos:focus-visible {
  border-color: rgba(110, 210, 120, 0.55);
  background: linear-gradient(180deg, #246819 0%, #164712 100%) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

body.profilo-ai a.pai-feed-neg:hover,
body.profilo-ai a.pai-feed-neg:focus-visible {
  border-color: rgba(196, 60, 63, 0.55);
  background: linear-gradient(180deg, #6b1a22 0%, #3d0c12 100%) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

body.profilo-ai .pai-feed-off {
  opacity: 0.62;
  cursor: default;
}

body.profilo-ai #ammiratori,
body.profilo-ai .round .button {
  display: inline-block;
  width: auto;
  min-width: 0;
  height: auto;
  line-height: 1.25;
  margin: 6px auto 0;
  padding: 8px 16px 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(90, 12, 18, 0.95);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(180, 48, 58, 0.45) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 100%, rgba(20, 0, 4, 0.55) 0%, transparent 58%),
    linear-gradient(180deg, #6b1a22 0%, #4a0e14 42%, #2a070b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 160, 170, 0.18),
    inset 0 -10px 16px rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.28);
  color: #f3d6d8;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.profilo-ai #ammiratori span,
body.profilo-ai .round .button span {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #f6f1e6 !important;
}

body.profilo-ai .round .button:before {
  display: none;
}

body.profilo-ai #contenitore_bottoni {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 28px auto 12px;
  overflow: visible;
  padding-bottom: 8px;
  text-align: center;
}

body.profilo-ai #contenitore_bottoni > a {
  display: flex !important;
  width: 118px !important;
  max-width: 118px;
  margin: 0;
  float: none;
  justify-content: center;
  text-align: center;
}

body.profilo-ai #ao {
  position: relative;
  float: none;
  width: 118px;
  height: 118px;
  margin: 0;
  opacity: 1;
  border-radius: 18px;
  border: 1px solid rgba(232, 197, 122, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
  background-color: #141820;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.profilo-ai #contenitore_bottoni #ao:hover,
body.profilo-ai #contenitore_bottoni a:hover #ao {
  transform: translateY(-4px) scale(1.06);
  border-color: #e8c57a;
  box-shadow:
    0 0 0 2px rgba(232, 197, 122, 0.35),
    0 18px 32px rgba(0, 0, 0, 0.48);
}

body.profilo-ai #ao.pai-mp,
body.profilo-ai #ao.pai-pos,
body.profilo-ai #ao.pai-neg,
body.profilo-ai #ao.pai-fav,
body.profilo-ai #ao.pai-black,
body.profilo-ai #ao.pai-prive,
body.profilo-ai #ao.pai-album,
body.profilo-ai #ao.pai-ico {
  background-repeat: no-repeat !important;
  background-size: 54px 54px !important;
  background-position: center 16px !important;
}

body.profilo-ai #ao.pai-mp {
  background-color: #1a1510;
}

body.profilo-ai #ao.pai-pos {
  background-color: #142016;
  border-color: rgba(61, 154, 42, 0.45);
}

body.profilo-ai #ao.pai-neg {
  background-color: #211416;
  border-color: rgba(196, 60, 63, 0.45);
}

body.profilo-ai #ao.pai-fav {
  background-color: #1c1418;
  border-color: rgba(212, 72, 106, 0.45);
}

body.profilo-ai #ao.pai-black {
  background-color: #1a1212;
  border-color: rgba(224, 90, 90, 0.5);
}

body.profilo-ai #ao.pai-prive {
  background-color: #16121c;
  border-color: rgba(232, 197, 122, 0.4);
}

body.profilo-ai #ao.pai-album {
  background-color: #141820;
  border-color: rgba(142, 180, 232, 0.4);
}

body.profilo-ai #ao.pai-ico {
  position: relative;
  overflow: visible;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  cursor: pointer;
}

body.profilo-ai #ao.pai-ico .infondo,
body.profilo-ai #ao.pai-ico .chiaro {
  position: relative !important;
  z-index: 1;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  padding: 8px 6px 10px;
  margin: 0 auto;
  background: none;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.22;
  color: #c5cbd4;
  text-shadow: none;
  text-transform: none;
  text-align: center !important;
}

body.profilo-ai #ao.pai-album .pai-count {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d8dde6;
}

body.profilo-ai .chiaro,
body.profilo-ai .infondo {
  font-family: "Manrope", "Segoe UI", sans-serif;
  text-shadow: none;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: #c5cbd4;
}

body.profilo-ai #contenitore_annuncio {
  width: 100%;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 22px;
  border-radius: 18px;
  background: #161c26;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d7dde6;
  line-height: 1.55;
}

body.profilo-ai .bottone {
  display: inline-block;
  margin: 8px 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(232, 197, 122, 0.12);
  color: #ecd9a8;
  text-decoration: none;
}

body.profilo-ai .bottone:hover {
  background: rgba(232, 197, 122, 0.22);
  color: #fff;
}

body.profilo-ai .pai-played,
body.profilo-ai #section__center > .cornice {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 28px auto 0;
  padding: 8px 10px 18px;
  border: 0;
  box-sizing: border-box;
  text-align: center;
}

body.profilo-ai .cornice_ad {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 28px auto 0;
  padding: 24px 26px;
  box-sizing: border-box;
  text-align: left;
  border: 1px solid rgba(232, 197, 122, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(232, 197, 122, 0.08) 0%, rgba(22, 28, 38, 0) 38%),
    linear-gradient(180deg, #1a2130 0%, #141a24 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  color: #dce3ec;
}

body.profilo-ai .cornice_ad .cerchietto {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  margin: 2px 0 0;
  float: none;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(232, 197, 122, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

body.profilo-ai .pai-ad-body {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Roboto Condensed", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: #e6ecf4;
  text-align: left;
}

body.profilo-ai .pai-ad-body h1,
body.profilo-ai .pai-ad-body h2,
body.profilo-ai .pai-ad-body h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #f3e6c6;
}

body.profilo-ai .pai-ad-body a {
  color: #e8c57a;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 197, 122, 0.35);
}

body.profilo-ai .pai-ad-body a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

body.profilo-ai .pai-played .legenda {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(232, 197, 122, 0.22);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #f6f1e6;
}

body.profilo-ai .pai-played-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body.profilo-ai .pai-played-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 197, 122, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: #e8eef5;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

body.profilo-ai .pai-played-chip .stile_nome {
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  color: inherit;
}

body.profilo-ai a.pai-played-chip:hover,
body.profilo-ai a.pai-played-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(232, 197, 122, 0.7);
  background: rgba(232, 197, 122, 0.12);
  color: #f6f1e6;
}

body.profilo-ai .pai-played-note {
  color: #cfd6df;
  line-height: 1.6;
  font-size: 0.95rem;
}

body.profilo-ai #ammin {
  width: 100%;
  max-width: 100%;
  margin: 36px auto 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 28, 0.9);
}

body.profilo-ai #ammin li:hover {
  background: #6b1b1d;
}

body.profilo-ai #section__center > div,
body.profilo-ai #section__center > fieldset {
  width: 1060px;
  max-width: 98%;
  margin-left: auto;
  margin-right: auto;
  float: none;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  body.profilo-ai #section__center {
    margin: 0 auto 48px !important;
    width: 1060px;
    max-width: 98%;
  }

  body.profilo-ai #welc_profilo {
    border-radius: 0;
    min-height: 260px;
  }

  body.profilo-ai .centro_new {
    width: 84px;
    height: 84px;
  }

  body.profilo-ai .nomone {
    font-size: 2.1em;
    line-height: 1.15;
    word-break: break-word;
  }

  body.profilo-ai .cornice_ad {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  body.profilo-ai .pai-ad-body {
    text-align: center;
  }

  body.profilo-ai #contenitore_sx {
    padding: 16px 14px;
  }
}
