﻿/*
Theme Name: Minimal Home
Theme URI: https://example.com
Author: Generated
Author URI: https://example.com
Description: Minimal theme for a custom homepage replacement.
Version: 1.0
Text Domain: minimal-home
*/

:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: #0f172a;
  background: #f5f7fb;
}

/* Container variables to keep header and layout aligned */
:root {
  --container-max: 1600px;
  --container-pad: 24px;
  --mh-main-section-title-size: 1.764rem;
}

/* Wrapper usato per allineare header e layout */
.container-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #e8fbe8;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  width: 100%;
  background: transparent;
}

.primary-bar,
.secondary-bar {
  width: 100%;
}

.primary-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  padding: 16px 0;
  background: linear-gradient(90deg, #2ae06f 0%, #16a34a 55%, #0b7639 100%);
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.12);
}

/* Allinea brand, menu testuale e azioni (icone) su una sola riga
   usando la container-inner come layout flessibile */
.primary-bar .container-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.primary-bar .container-inner .brand-wrap {
  flex: 0 0 auto;
  padding-right: 12px;
}

.primary-bar .container-inner .page-menu {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  overflow: visible;
}

.primary-bar .container-inner .page-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.secondary-bar {
  position: sticky;
  top: 67px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 0;
  background: #e8fbe8;
  border-bottom: 1px solid #b7f0c7;
}

.secondary-bar .search-form {
  flex: 1;
  min-width: 280px;
}

.secondary-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sticky-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform: translateY(-100%);
  opacity: 0;
}

.sticky-header.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.hamburger-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
}

.hamburger-button span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #0f172a;
}

.sticky-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}

.sticky-search-form {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.sticky-search-form .search-input {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.profile-box--small {
  padding: 6px 12px;
}

.page-shell {
  padding-top: 0;
}

@media (max-width: 1240px) {

  .primary-bar,
  .secondary-bar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .secondary-bar {
    top: 64px;
  }

  .secondary-actions {
    justify-content: flex-start;
  }
}

.brand-wrap {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-logo__img {
  display: inline-block;
  width: auto;
  max-height: 86.4px;
  margin-left: 12px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.15));
}

.brand-logo__text {
  display: inline;
}

.page-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 16px;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
}

.page-menu a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 4px 6px;
}

.page-menu a:hover,
.page-menu a:focus {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .page-menu {
    gap: 16px;
  }

  .page-menu a {
    font-size: 1.14rem;
    height: 40px;
    padding: 2px 6px;
  }
}

.page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.page-auth-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-profile-mini {
  min-height: 44px;
  padding: 2px 10px 2px 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  position: relative;
}

.topbar-profile-mini img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.topbar-profile-mini__name {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-profile-mini--double {
  min-height: 59px;
  padding: 2px 12px 2px 2px;
  gap: 8px;
}

.topbar-profile-mini--double img {
  width: 56px;
  height: 56px;
}

.topbar-profile-mini--double .topbar-profile-mini__name {
  font-size: 1.15rem;
  max-width: 196px;
}

.topbar-user-menu {
  position: relative;
}

.topbar-bubble-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(92vw, 480px);
  background: linear-gradient(180deg, #f6fff8 0%, #ecfff1 100%);
  border: 1px solid #79c997;
  box-shadow:
    0 28px 56px rgba(7, 64, 26, 0.34),
    0 8px 18px rgba(7, 64, 26, 0.22),
    inset 2px 2px 0 rgba(255, 255, 255, 0.95),
    inset -2px -2px 0 rgba(86, 164, 114, 0.48);
  border-radius: 18px;
  overflow: visible;
  overflow: hidden;
  z-index: 60;
}

position: relative;

.topbar-bubble-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 14px;
  width: 14px;
  border-radius: 50%;
  height: 14px;
  background: #f6fff8;
  border-top: 1px solid #79c997;
  border-left: 1px solid #79c997;
  box-shadow: -2px -2px 0 rgba(255, 255, 255, 0.88);
  transform: rotate(45deg);
}

.bubble-menu-header,
.bubble-menu-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #15803d;
  background: #e8fbe8;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.bubble-menu-header {
  border-bottom: 1px solid #ccefd2;
}

.bubble-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bubble-menu-grid a {
  min-height: 92px;
  border-right: 1px solid #d8f3de;
  border-bottom: 1px solid #d8f3de;
  color: #15803d;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 8px;
  font-weight: 600;
  font-size: 1rem;
  background: #f1fff4;
  position: relative;
}

.bubble-menu-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  font-size: 1.62rem;
  line-height: 1;
}

.bubble-menu-item-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.26;
  flex-wrap: wrap;
}

.bubble-menu-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.bubble-menu-grid a:nth-child(4n) {
  border-right: 0;
}

.bubble-menu-grid a:hover,
.bubble-menu-grid a:focus,
.bubble-menu-header:hover,
.bubble-menu-header:focus,
.bubble-menu-logout:hover,
.bubble-menu-logout:focus {
  background: #dcfce7;
}

.bubble-menu-logout {
  border-top: 1px solid #ccefd2;
}

@media (max-width: 760px) {
  .topbar-bubble-menu {
    right: -8px;
    width: min(96vw, 420px);
  }

  .bubble-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bubble-menu-grid a:nth-child(4n) {
    border-right: 1px solid #d8f3de;
  }

  .bubble-menu-grid a:nth-child(3n) {
    border-right: 0;
  }
}

.auth-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.auth-link--signup {
  background: linear-gradient(180deg, #ff9f1c 0%, #f97316 100%);
  border-color: rgba(255, 244, 214, 0.62);
  box-shadow:
    0 8px 14px rgba(124, 45, 18, 0.32),
    inset 0 1px 2px rgba(255, 255, 255, 0.52),
    inset 0 -2px 4px rgba(124, 45, 18, 0.24);
}

.auth-link--login {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  border-color: rgba(255, 255, 214, 0.66);
  box-shadow:
    0 8px 14px rgba(113, 63, 18, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.58),
    inset 0 -2px 4px rgba(113, 63, 18, 0.22);
  color: #3f2a00;
}

.auth-link:hover,
.auth-link:focus {
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.24),
    inset 0 1px 3px rgba(255, 255, 255, 0.55),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.auth-link--signup:hover,
.auth-link--signup:focus {
  background: linear-gradient(180deg, #ffb347 0%, #fb923c 100%);
}

.auth-link--login:hover,
.auth-link--login:focus {
  background: linear-gradient(180deg, #fef08a 0%, #fcd34d 100%);
}

.auth-link__icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  font-weight: 900;
}

.my-photos-top-actions>.my-photos-top-link {
  min-height: 33px;
  padding: 0 9px;
  font-size: 0.81rem;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 3px rgba(0, 0, 0, 0.14);
}

.my-photos-top-actions>.my-photos-top-link--profile {
  background: linear-gradient(180deg, #ff9f1c 0%, #f97316 100%);
}

.my-photos-top-actions>.my-photos-top-link--logout {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #3f2a00;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.icon-button:hover,
.icon-button:focus {
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.24),
    inset 0 1px 3px rgba(255, 255, 255, 0.55),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f43030;
  color: #ffffff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.profile-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
}

.profile-name {
  font-size: 0.95rem;
}

.profile-arrow {
  font-size: 0.8rem;
  opacity: 0.85;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  padding: 24px 0;
  grid-auto-rows: minmax(0, auto);
  min-width: 0;
  align-items: start;
  overflow: visible;
}

.main-panel {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: visible;
}

.main-panel>* {
  min-width: 0;
}

.topbar-panel,
.carousel-section,
.activity-feed-section,
.hero-section {
  min-width: 0;
}

.sidebar-panel,
.widgets-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
  z-index: 0;
  min-width: 0;
}

.sidebar-panel {
  grid-column: 1;
}

.main-panel {
  grid-column: 2;
}

.widgets-panel {
  grid-column: 3;
}

/* Rendiamo la sidebar destra scrollabile e non sovrapposta */
.widgets-panel {
  position: sticky;
  top: var(--site-header-height, 140px);
  align-self: start;
  max-height: calc(100vh - var(--site-header-height, 140px) - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 1;
}

/* Sidebar sinistro sticky: rimane visibile durante lo scroll */
.sidebar-panel {
  position: sticky;
  top: var(--site-header-height, 140px);
  align-self: start;
  overflow: visible;
  z-index: 1;
}

.widgets-panel--profile {
  overflow-y: visible;
  max-height: none;
}

/* Home: sidebar destra segue il flusso del documento in modo che i banner
   possano allungarla senza scrollbar, spingendo verso il basso la sezione
   "Nuovi Iscritti". */
.widgets-panel--home {
  position: static;
  align-self: start;
  max-height: none;
  overflow-x: visible;
  overflow-y: visible;
}

@media (max-width: 1240px) {
  .sidebar-panel {
    position: static;
    overflow: visible;
  }

  .widgets-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

.sidebar-section {
  margin-bottom: 32px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section h2 {
  margin: 0 0 18px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.sidebar-links {
  display: grid;
  gap: 12px;
}

.sidebar-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  background: #dcfce7;
  font-weight: 600;
  text-transform: uppercase;
}

.sidebar-links a:hover,
.sidebar-links a:focus {
  background: #bbf7d0;
}

.sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.95rem;
  flex: 0 0 auto;
  margin-right: 12px;
}

/* Icone SVG bianche centrali dentro il cerchio colorato */
.sidebar-icon::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90% 90%;
}


.sidebar-icon--radar::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='none' stroke='white' stroke-width='1.6'><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='3'/></g><path fill='white' d='M12 6a6 6 0 0 1 4.9 9.5l-1.3-1.3A4 4 0 1 0 12 8V6z'/></svg>");
}

.sidebar-icon--video::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='2' y='5' width='14' height='14' rx='2' fill='white'/><path d='M17 9l5-3v12l-5-3z' fill='white'/></svg>");
}

.sidebar-icon--stage::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3l4.5 6-4.5 6L7.5 9 12 3z' fill='white'/><circle cx='12' cy='12' r='1.2' fill='white' opacity='0.6'/></svg>");
}

.sidebar-icon--story::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12c2-4 6-6 10-6-2 4-2 8-6 10-3-1-4-3-4-4z' fill='white'/></svg>");
}

.sidebar-icon--car::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 12s1-4 6-4 6 4 6 4v4H3v-4z' fill='white'/><circle cx='7.5' cy='17' r='1.6' fill='white'/><circle cx='14.5' cy='17' r='1.6' fill='white'/></svg>");
}

.sidebar-icon--event::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='5' width='14' height='14' rx='2' fill='white'/><rect x='3' y='8' width='14' height='2' fill='white' opacity='0.0'/></svg>");
}

.sidebar-icon--settings::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M19.94 12a7.96 7.96 0 0 0-.28-1.86M4.34 9.3A7.96 7.96 0 0 0 4.06 12M12 3v1.5M12 19.5V21'/></g></svg>");
}

.sidebar-icon--plus::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14M5 12h14'/></g></svg>");
}

.sidebar-icon--post::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='4' y='3' width='12' height='18' rx='2' fill='none' stroke='%2394a3b8' stroke-width='1.6'/><path d='M8 7h6' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.sidebar-icon--album::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='5' width='14' height='12' rx='2' fill='none' stroke='%2394a3b8' stroke-width='1.6'/><circle cx='9' cy='11' r='2.2' fill='%2394a3b8'/></svg>");
}

.sidebar-icon--views::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z' fill='none' stroke='%2394a3b8' stroke-width='1.6'/><circle cx='12' cy='12' r='3' fill='%2394a3b8'/></svg>");
}

/* Stili specifici per la sezione Account: icone sottili e testo più chiaro */
.sidebar-section.sidebar-account .sidebar-links a {
  color: #94a3b8;
  font-weight: 500;
}

.sidebar-section.sidebar-account .sidebar-icon {
  width: 56px;
  /* ingrandito 100% */
  height: 56px;
  /* ingrandito 100% */
  margin-right: 12px;
  background: transparent !important;
  color: #94a3b8;
}

.sidebar-section.sidebar-account .sidebar-icon::before {
  width: 36px;
  /* ingrandito 100% */
  height: 36px;
  /* ingrandito 100% */
  background-size: 92% 92%;
}

.sidebar-icon--radar {
  background: #ffb84d;
}

.sidebar-icon--list {
  background: #4a7c59;
  position: relative;
}

/* Stato 1: cerchio bianco (visibile per metà ciclo) */
.sidebar-icon--list::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='7' fill='white'/></svg>");
  animation: mh-annunci-blink-white 1.6s steps(1, end) infinite;
}

/* Stato 2: cerchio verde scuro (sovrapposto, opposto di fase) */
.sidebar-icon--list::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: no-repeat center / 90%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='7' fill='%231b4d2a'/></svg>");
  animation: mh-annunci-blink-green 1.6s steps(1, end) infinite;
}

@keyframes mh-annunci-blink-white {

  0%,
  49.9% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes mh-annunci-blink-green {

  0%,
  49.9% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

.sidebar-icon--video {
  background: #678b3a;
}

.sidebar-icon--stage {
  background: #1e9fff;
}

.sidebar-icon--story {
  background: #8b1a1a;
}

.sidebar-icon--car {
  background: #235b5b;
}

.sidebar-icon--event {
  background: #8b27ff;
}

.sidebar-icon--settings {
  background: #64748b;
}

.sidebar-icon--plus {
  background: #10b981;
}

.sidebar-icon--post {
  background: #2563eb;
}

.sidebar-icon--album {
  background: #8b5cf6;
}

.sidebar-icon--views {
  background: #f97316;
}

.sidebar-panel .sidebar-section:first-child .sidebar-links a:nth-child(-n+4) .sidebar-icon {
  border: 2px solid rgba(255, 255, 255, 0.79);
  box-shadow:
    0 9px 15px rgba(15, 23, 42, 0.31),
    inset 0 2px 5px rgba(255, 255, 255, 0.62),
    inset 0 -3px 7px rgba(0, 0, 0, 0.24);
}

.new-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
}

.main-panel {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 0;
}

.topbar-panel {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #e8fbe8;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #dcfce7;
  border: 1px solid #b7f0c7;
  border-radius: 999px;
  color: #475569;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.status-dot--green {
  background: #16a34a;
}

.status-dot--online {
  background: #22c55e;
}

.search-form {
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  min-height: 54px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid #b7f0c7;
  background: #dcfce7;
  color: #0f172a;
  font-size: 1rem;
}

.search-input::placeholder {
  color: #94a3b8;
}

.live-user-search.is-open .search-input {
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.live-user-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.profile-bio-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.profile-bio-editor textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8dafc;
  border-radius: 6px;
  background: #f2f7ff;
  color: #1f2937;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.55;
  padding: 10px;
  min-height: 240px;
  resize: vertical;
}

.profile-bio-editor__actions {
  display: flex;
  justify-content: flex-end;
}

.profile-bio-editor__save {
  border: 0;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
}

.profile-bio-editor__save:hover,
.profile-bio-editor__save:focus-visible {
  filter: brightness(1.06);
}

.live-user-search-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
}

.live-user-search-item:hover,
.live-user-search-item:focus {
  background: #eff6ff;
}

.live-user-search-item__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #dbeafe;
}

.live-user-search-item__copy {
  display: grid;
  min-width: 0;
}

.live-user-search-item__copy strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.live-user-search-item__copy span {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-user-search-empty {
  padding: 12px;
  color: #64748b;
  font-size: 0.9rem;
}

.live-user-search-empty--loading {
  padding-bottom: 8px;
}

.live-user-search-progress {
  position: relative;
  height: 6px;
  margin: 0 12px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.live-user-search-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transition: width 0.12s linear;
}

.live-user-search-progress-meta {
  margin: 8px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-user-search-progress-meta__text {
  color: #64748b;
  font-size: 0.8rem;
}

.live-user-search-progress-meta__value {
  color: #166534;
  font-size: 0.78rem;
  font-weight: 800;
}

.carousel-section,
.hero-section {
  background: #e8fbe8;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.carousel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.carousel-pill {
  color: #f97316;
  font-weight: 700;
}

.tab-button {
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  cursor: pointer;
}

.tab-button.active {
  color: #0f172a;
}

.carousel-tag {
  margin-left: auto;
  color: #64748b;
  font-weight: 700;
}

.profile-carousel {
  position: relative;
  padding-bottom: 8px;
}

.profile-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

/* hide native scrollbar */
.profile-carousel__track::-webkit-scrollbar {
  height: 8px;
}

.my-photos-page-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #efe7d3 0%, #f6f1e4 45%, #efe7d3 100%);
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  color: #2b2a27;
}

.my-photos-site-header .container-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.my-photos-site-header .primary-bar .container-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "brand actions"
    "menu menu";
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
}

.my-photos-site-header .brand-wrap {
  grid-area: brand;
  min-width: 220px;
}

.my-photos-site-header .brand-logo__img {
  max-height: 64px;
  margin-left: 8px;
}

.my-photos-site-header .page-menu {
  grid-area: menu;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-right: 0;
  justify-content: flex-start;
}

.my-photos-site-header .page-menu::-webkit-scrollbar {
  display: none;
}

.my-photos-site-header .page-menu a {
  font-size: 0.9rem;
  padding: 2px 3px;
  height: 36px;
}

.my-photos-top-actions {
  grid-area: actions;
  margin-left: auto;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.my-photos-top-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  user-select: none;
  pointer-events: none;
}

.my-photos-top-identity__avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.my-photos-top-identity__name {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-photos-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
}

/* Own profile: upscale green header menu controls by 50% vs profile baseline. */
.site-header--member-logged.my-photos-site-header .primary-bar .container-inner {
  column-gap: 12px;
  row-gap: 7px;
}

.site-header--member-logged.my-photos-site-header .brand-logo__img {
  max-height: 77px;
}

.site-header--member-logged.my-photos-site-header .page-menu {
  gap: 10px;
}

.site-header--member-logged.my-photos-site-header .page-menu a {
  font-size: 1.08rem;
  height: 43px;
  padding: 2px 4px;
}

.site-header--member-logged.my-photos-site-header .my-photos-top-actions {
  gap: 10px;
}

.site-header--member-logged.my-photos-site-header .my-photos-top-identity {
  gap: 10px;
  max-width: 264px;
  padding: 4px 10px 4px 5px;
}

.site-header--member-logged.my-photos-site-header .my-photos-top-identity__avatar {
  width: 47px;
  height: 47px;
}

.site-header--member-logged.my-photos-site-header .my-photos-top-identity__name {
  font-size: 0.94rem;
}

.site-header--member-logged.my-photos-site-header .my-photos-top-link {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.89rem;
}

.site-header--member-logged:not(.my-photos-site-header) .page-menu a {
  font-size: 1.32rem;
  height: 53px;
  padding: 4px 7px;
}

.site-header--member-logged:not(.my-photos-site-header) .topbar-profile-mini {
  min-height: 53px;
  padding: 2px 12px 2px 2px;
}

.site-header--member-logged:not(.my-photos-site-header) .topbar-profile-mini img {
  width: 48px;
  height: 48px;
}

.site-header--member-logged:not(.my-photos-site-header) .topbar-profile-mini__name {
  font-size: 0.98rem;
}

.my-photos-top-link.has-notifications {
  gap: 6px;
}

.profile-notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.my-photos-top-link--profile {
  background: rgba(255, 255, 255, 0.14);
}

.my-photos-top-link--logout {
  background: rgba(8, 47, 73, 0.4);
}

.mh-logout-modal-open {
  overflow: hidden;
}

.mh-logout-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(2, 6, 23, 0.52);
  display: grid;
  place-items: center;
  padding: 18px;
  backdrop-filter: blur(3px);
}

.mh-logout-modal[hidden] {
  display: none;
}

.mh-logout-modal__dialog {
  width: min(96vw, 1080px);
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(134, 239, 172, 0.55);
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 58%, #bbf7d0 100%);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  padding: 44px;
}

.mh-logout-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mh-logout-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 78% auto;
  opacity: 0.14;
  pointer-events: none;
}

.mh-logout-modal__dialog>* {
  position: relative;
  z-index: 1;
}

.mh-logout-modal__profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mh-logout-modal__avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(22, 101, 52, 0.35);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.mh-logout-modal__name {
  color: #14532d;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
}

.mh-logout-modal__dialog h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #14532d;
}

.mh-logout-modal__dialog p {
  margin: 10px 0 20px;
  color: #166534;
  font-size: 0.98rem;
}

.mh-logout-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.mh-logout-modal__btn {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mh-logout-modal__btn--cancel {
  background: #14532d;
  color: #ffffff;
}

.mh-logout-modal__btn--confirm {
  background: #dc2626;
  color: #ffffff;
}

.mh-logout-modal__btn[disabled],
.mh-logout-modal__btn.is-loading,
.mh-logout-modal__btn[aria-disabled="true"] {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}

.mh-logout-modal__btn:hover,
.mh-logout-modal__btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.my-photos-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.my-photos-header {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.my-photos-header h1 {
  margin: 0;
  font-size: 32px;
  color: #955d06;
}

.my-photos-header p {
  margin: 8px 0 0;
  font-size: 14px;
}

.my-photos-meter-wrap {
  width: 270px;
  text-align: right;
}

.my-photos-meter-top {
  display: block;
  font-size: 12px;
  color: #7d1e00;
  margin-bottom: 6px;
}

.my-photos-meter {
  position: relative;
  overflow: hidden;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #cfb89c;
  background: #ddd0ba;
}

.my-photos-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #db6e13 0%, #f4a21f 100%);
}

.my-photos-meter-value {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.my-photos-meter-caption {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #6b6458;
}

.my-photos-notice {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.my-photos-notice--error {
  background: #f5d8d8;
  border: 1px solid #d79a9a;
  color: #7f1f1f;
}

.my-photos-notice--success {
  background: #dff1df;
  border: 1px solid #9fc79f;
  color: #1f6f2f;
}

.my-photos-limit-banner {
  margin: 14px 0;
  background: linear-gradient(180deg, #7f0303 0%, #6b0101 100%);
  border: 1px solid #4f0202;
  border-radius: 10px;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-photos-limit-banner h2 {
  margin: 0;
  font-size: 18px;
}

.my-photos-limit-banner button,
.my-photos-limit-banner__cta {
  border: 1px solid #f5cb59;
  background: linear-gradient(180deg, #f7d96e 0%, #d9a62e 100%);
  color: #5c3400;
  font-weight: 700;
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.my-photos-upload-panel {
  background: #fffaf2;
  border: 1px solid #d8c7ab;
  border-radius: 10px;
  padding: 16px;
}

.account-settings-page-body {
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 45%, #eef2ff 100%);
}

.account-settings-hero {
  align-items: flex-end;
}

.account-settings-hero-card {
  min-width: 220px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: right;
}

.account-settings-hero-card span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.78rem;
}

.account-settings-hero-card a {
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.account-settings-form {
  display: block;
}

.account-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.account-settings-main {
  display: grid;
  gap: 16px;
}

.account-settings-side {
  display: grid;
  align-content: start;
}

.account-settings-card {
  background: #fff;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 16px;
}

.account-settings-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eef6;
}

.account-settings-card__header h2 {
  margin: 0;
  font-size: 1rem;
  color: #1e3a8a;
}

.account-settings-card__header span,
.account-settings-card__header a {
  font-size: 0.78rem;
  color: #64748b;
}

.account-settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-settings-field {
  display: grid;
  gap: 6px;
}

.account-settings-field-hint {
  color: #16a34a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.account-settings-field--full {
  grid-column: 1 / -1;
}

.account-settings-field span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.account-settings-field input,
.account-settings-field select,
.account-settings-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  color: #0f172a;
  box-sizing: border-box;
}

.account-settings-field textarea {
  resize: vertical;
  min-height: 140px;
}

.account-settings-photo {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.account-settings-photo__preview {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d8e1ee;
  background: #f8fafc;
}

.account-settings-photo__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-settings-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
}

.account-settings-note {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.account-settings-summary-list {
  display: grid;
  gap: 12px;
}

.account-settings-summary-list div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.account-settings-summary-list span {
  font-size: 0.76rem;
  color: #64748b;
}

.account-settings-summary-list strong,
.account-settings-summary-list a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  word-break: break-word;
}

.account-settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.account-settings-actions button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.2);
}

.account-settings-card--sticky {
  position: sticky;
  top: 18px;
}

.my-photos-upload-panel h2 {
  margin: 0 0 14px;
  color: #995200;
}

.my-photos-upload-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.my-photos-upload-input {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px dashed #c8b08f;
  border-radius: 8px;
  background: #fff;
}

.my-photos-upload-form button {
  border: 1px solid #7d8f2e;
  background: linear-gradient(180deg, #a7c14d 0%, #89a33c 100%);
  color: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
}

.my-photos-upload-form button[disabled],
.my-photos-upload-form input[disabled],
.my-photos-thumb-primary button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.my-photos-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2fr;
  gap: 14px;
}

.my-photos-primary-card {
  position: relative;
  background: #f4e3c1;
  border: 1px solid #cfb17f;
  border-radius: 10px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.my-photos-primary-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.my-photos-primary-marker {
  position: absolute;
  left: 10px;
  bottom: 44px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 24, 39, 0.8);
}

.my-photos-primary-footer {
  padding: 10px;
  text-align: center;
  background: #8e5a16;
  color: #fff;
  font-weight: 700;
}

.my-photos-empty-primary {
  margin: auto;
  color: #856f4c;
  font-weight: 600;
}

.my-photos-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 12px;
  align-content: start;
}

.my-photos-thumb-card {
  position: relative;
  border: 1px solid #d8c7ab;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.my-photos-thumb-card.is-primary {
  border-color: #e08f1e;
  box-shadow: 0 0 0 2px rgba(224, 143, 30, 0.2);
}

.my-photos-thumb-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  background: rgba(14, 116, 144, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
}

.my-photos-thumb-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.my-videos-primary-card video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.my-videos-thumb-card video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.vip-hero {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid #3e8b58;
  background:
    radial-gradient(circle at 85% 10%, rgba(250, 204, 21, 0.24) 0%, rgba(250, 204, 21, 0) 42%),
    linear-gradient(140deg, #064e3b 0%, #0b7a4e 62%, #16a34a 100%);
  color: #f0fdf4;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.28);
}

.vip-hero__kicker {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #14532d;
  background: #fef08a;
}

.vip-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.2;
  color: #ffffff;
}

.vip-hero__lead {
  margin: 0;
  max-width: 920px;
  font-size: 1.03rem;
  line-height: 1.55;
}

.vip-hero__cta-copy {
  margin: 14px 0 0;
  font-weight: 700;
  color: #dcfce7;
}

.vip-highlights,
.vip-no-renew,
.vip-benefits,
.vip-activate {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid #c9e7d1;
  background: #f8fffa;
  padding: 18px;
}

.vip-highlights h2,
.vip-no-renew h2,
.vip-benefits h2,
.vip-activate h2 {
  margin: 0 0 10px;
  color: #14532d;
}

.vip-highlights__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.vip-highlights__list li {
  color: #14532d;
  font-weight: 700;
}

.vip-no-renew p {
  margin: 0;
  line-height: 1.55;
  color: #1f2937;
}

.vip-no-renew__promo {
  margin-top: 10px !important;
  font-weight: 800;
  color: #9a3412 !important;
}

.vip-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.vip-benefit-card {
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.vip-benefit-card h3 {
  margin: 0 0 6px;
  color: #166534;
}

.vip-benefit-card p {
  margin: 0;
  color: #374151;
  line-height: 1.45;
}

.vip-activate p {
  margin: 0;
  color: #1f2937;
  line-height: 1.5;
}

.vip-activate__notice {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.vip-activate__notice--success {
  border: 1px solid #86efac;
  background: #dcfce7;
  color: #14532d;
}

.vip-activate__notice--error {
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}

.vip-status {
  margin-top: 12px;
  border: 1px solid #86efac;
  background: #ecfdf5;
  border-radius: 10px;
  padding: 12px;
}

.vip-status__title {
  margin: 0;
  font-weight: 800;
  color: #14532d;
}

.vip-status__countdown {
  margin-top: 6px !important;
  color: #166534 !important;
  font-weight: 800;
}

.vip-status__meta {
  margin-top: 4px !important;
  color: #374151 !important;
  font-size: 0.92rem;
}

.vip-active-only {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid #86efac;
  background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 55%, #bbf7d0 100%);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.18);
}

.vip-active-only__kicker {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #14532d;
  background: #fef08a;
}

.vip-active-only h1 {
  margin: 0 0 10px;
  color: #14532d;
}

.vip-active-only p {
  margin: 0;
  color: #166534;
  line-height: 1.5;
}

.vip-status--active-page {
  margin-top: 14px;
}

.vip-activate__form {
  margin-top: 14px;
}

.vip-activate__button {
  border: 1px solid #14532d;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-height: 44px;
  padding: 0 20px;
  cursor: pointer;
}

.vip-activate__button:hover,
.vip-activate__button:focus {
  filter: brightness(1.06);
}

.my-photos-thumb-delete {
  position: absolute;
  top: 6px;
  right: 6px;
}

.my-photos-thumb-delete button {
  border: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(120, 0, 0, 0.84);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.my-photos-thumb-primary {
  padding: 8px;
}

.my-photos-thumb-primary button {
  width: 100%;
  border: 1px solid #b49562;
  border-radius: 6px;
  background: #f8edd9;
  color: #6a4a19;
  font-size: 12px;
  padding: 7px;
  cursor: pointer;
}

.my-photos-guidelines {
  margin-top: 18px;
  background: #fdf9ee;
  border: 1px solid #dcc9a3;
  border-radius: 10px;
  padding: 14px;
}

.my-photos-guidelines h3 {
  margin: 0 0 10px;
  color: #955d06;
}

.my-photos-guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.my-photos-guidelines-grid article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 13px;
  color: #4f4638;
}

.my-photos-guidelines-grid strong {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #f0d7a3;
  color: #7a4a00;
}

.my-photos-back-home {
  margin-top: 14px;
  text-align: right;
}

.my-photos-back-home a {
  color: #87500a;
  font-weight: 600;
  text-decoration: none;
}

.friend-request-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.friend-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

@media (max-width: 1240px) {
  .friend-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

.friend-gallery-card {
  border: 1px solid #d8c7ab;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  padding: 8px;
  display: grid;
  gap: 8px;
}

.friend-gallery-thumb-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.friend-gallery-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.friend-gallery-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #1f2937;
}

.friend-gallery-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.friend-gallery-actions--icons {
  justify-content: flex-start;
}

.friend-gallery-actions--icons form {
  margin: 0;
  display: inline-flex;
}

.friend-gallery-actions--forms {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.friend-gallery-actions--forms form {
  margin: 0;
}

.friend-gallery-actions--forms .friend-action-btn {
  min-height: 30px;
  padding: 0 12px;
}

.friend-request-actions form,
.messages-chat-reply-form {
  margin: 0;
}

.friend-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.friend-action-btn--accept {
  background: #16a34a;
  color: #ffffff;
}

.friend-action-btn--reject {
  background: #ef4444;
  color: #ffffff;
}

.friend-action-btn--reject-icon {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.32);
}

.friend-action-btn--reject-icon:hover,
.friend-action-btn--reject-icon:focus-visible {
  background: #dc2626;
  outline: none;
}

.friend-action-btn--profile {
  background: #0f766e;
  color: #ffffff;
  text-decoration: none;
}

.confirmed-friend-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.confirmed-friend-thumb-wrap {
  width: 100%;
}

.confirmed-friend-thumb {
  width: 30%;
  max-width: 220px;
  min-width: 120px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.friend-gallery-card .confirmed-friend-thumb {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 170px;
  aspect-ratio: auto;
}

.confirmed-friend-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.messages-hub-panel {
  margin-top: 16px;
}

.messages-hub-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  min-height: 520px;
}

.messages-thread-list {
  border: 1px solid #d8c7ab;
  border-radius: 12px;
  background: #fff;
  overflow: auto;
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.messages-thread-search {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding-bottom: 6px;
}

.messages-thread-search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8c7ab;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font: inherit;
  color: #0f172a;
  background: #f8fafc;
}

.messages-thread-search input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.messages-thread-empty {
  margin: 8px;
  color: #6b7280;
  font-size: 0.9rem;
}

.messages-thread-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid transparent;
}

.messages-thread-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.messages-thread-item__body {
  display: grid;
  gap: 3px;
}

.messages-thread-item__body strong {
  font-size: 0.92rem;
  color: #0f172a;
}

.messages-thread-item__body span {
  font-size: 0.8rem;
  color: #64748b;
}

.messages-thread-item__badge {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.messages-thread-item__time {
  font-size: 0.7rem;
  color: #94a3b8;
  justify-self: end;
}

.messages-thread-item.is-active {
  border-color: #f59e0b;
  background: #fffbeb;
}

.messages-chat-panel {
  border: 1px solid #d8c7ab;
  border-radius: 12px;
  background: #fff;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
}

.messages-chat-header {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #fbbf24;
}

.messages-chat-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.messages-chat-header strong {
  display: block;
  color: #ffffff;
}

.messages-chat-header a {
  color: #fff8dc;
  font-size: 0.82rem;
  text-decoration: none;
}

.messages-chat-history {
  padding: 14px;
  overflow: auto;
  display: grid;
  gap: 10px;
  align-content: start;
  background: #f8fafc;
}

.messages-chat-placeholder {
  color: #64748b;
  margin: 0;
}

.messages-chat-bubble {
  max-width: min(76%, 520px);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}

.messages-chat-bubble p {
  margin: 0;
  color: #0f172a;
  line-height: 1.45;
  font-size: 0.92rem;
}

.messages-chat-bubble time {
  font-size: 0.72rem;
  color: #64748b;
}

.messages-chat-bubble.is-incoming {
  justify-self: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.messages-chat-bubble.is-outgoing {
  justify-self: end;
  background: #f59e0b;
}

.messages-chat-bubble.is-outgoing p,
.messages-chat-bubble.is-outgoing time {
  color: #ffffff;
}

.messages-chat-reply-form {
  border-top: 1px solid #e5e7eb;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.messages-chat-reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 44px;
  max-height: 140px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: #0f172a;
}

.messages-chat-reply-form textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

@media (max-width: 900px) {
  .my-photos-header {
    flex-direction: column;
  }

  .my-photos-meter-wrap {
    width: 100%;
    text-align: left;
  }

  .my-photos-grid {
    grid-template-columns: 1fr;
  }

  .messages-hub-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .messages-thread-list {
    max-height: 280px;
  }

  .messages-chat-panel {
    min-height: 420px;
  }

  .my-photos-site-header .page-menu {
    display: none;
  }
}

@media (max-width: 1280px) {
  .my-photos-site-header .primary-bar .container-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "actions"
      "menu";
    row-gap: 8px;
  }

  .my-photos-top-actions {
    margin-left: 0;
    justify-self: start;
  }

  .my-photos-top-identity {
    max-width: 180px;
  }

  .my-photos-site-header .page-menu {
    display: flex;
  }

  .my-photos-site-header .brand-wrap {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .my-photos-top-identity__name {
    display: none;
  }

  .my-photos-top-identity {
    padding-right: 4px;
  }
}

.profile-carousel__track::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}

.profile-carousel__track::-webkit-scrollbar-track {
  background: transparent;
}

.profile-card {
  min-width: 140px;
  border-radius: 24px;
  background: linear-gradient(180deg, #dcfce7 0%, #e8fbe8 100%);
  padding: 12px 8px;
  display: grid;
  gap: 8px;
  align-items: start;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.profile-card--annuncio {
  text-decoration: none;
  color: inherit;
}

.profile-card--annuncio:hover {
  transform: translateY(-2px);
}

.activity-feed-section {
  background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.activity-feed-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.activity-feed-header h2 {
  margin: 6px 0 0;
  font-size: var(--mh-main-section-title-size);
  line-height: 1.05;
}

.activity-feed-header p {
  margin: 0;
  max-width: 520px;
  color: #6b7280;
  font-size: 0.98rem;
}

.activity-feed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c2410c;
}

.activity-feed-kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.12);
  animation: mh-live-dot-pulse 1.2s ease-in-out infinite;
}

@keyframes mh-live-dot-pulse {

  0%,
  49% {
    background: #ef4444;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.16);
  }

  50%,
  100% {
    background: #22c55e;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.16);
  }
}

.activity-feed-list {
  max-height: 720px;
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding-right: 6px;
}

.activity-feed-list::-webkit-scrollbar {
  width: 10px;
}

.activity-feed-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}

.activity-feed-item {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.activity-feed-content-link {
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.activity-feed-avatar-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}

.activity-feed-item:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.2), 0 14px 28px rgba(15, 23, 42, 0.08);
}

.activity-feed-avatar-stack {
  width: 80px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-feed-avatar-link:focus-visible,
.activity-feed-content-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 12px;
}

.activity-feed-avatar {
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #eef2ff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.activity-feed-avatar-stack--dual .activity-feed-avatar {
  width: 50px;
  height: 50px;
}

.activity-feed-avatar--secondary {
  width: 50px;
  height: 50px;
  border: 3px solid #ffffff;
}

.activity-feed-avatar-stack--dual {
  justify-content: flex-start;
  gap: 8px;
  width: 112px;
}

.activity-feed-avatar-stack--dual .activity-feed-avatar--secondary {
  position: static;
}

.activity-feed-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.activity-feed-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  color: #111827;
}

.activity-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.activity-feed-type,
.activity-feed-time {
  font-size: 0.88rem;
  color: #6b7280;
}

.activity-feed-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  background: #e5e7eb;
}

.activity-feed-badge--annuncio {
  background: #fee2e2;
  color: #991b1b;
}

.activity-feed-badge--video {
  background: #dcfce7;
  color: #166534;
}

.activity-feed-badge--vip {
  background: #bbf7d0;
  color: #14532d;
}

.activity-feed-badge--photo {
  background: #dbeafe;
  color: #1d4ed8;
}

.activity-feed-badge--message {
  background: #ede9fe;
  color: #5b21b6;
}

.activity-feed-badge--friendship {
  background: #fef3c7;
  color: #92400e;
}

.activity-feed-badge--new-user {
  background: #dcfce7;
  color: #166534;
}

.activity-feed-badge--bacheca {
  background: #fce7f3;
  color: #be185d;
}

.activity-feed-badge--bio {
  background: #dbeafe;
  color: #1d4ed8;
}

.activity-feed-badge--avatar {
  background: #ccfbf1;
  color: #0f766e;
}

.activity-feed-badge--show-created {
  background: #ffe4e6;
  color: #9f1239;
}

.activity-feed-badge--show-photo {
  background: #ccfbf1;
  color: #115e59;
}

.activity-feed-badge--media-comment {
  background: #ffedd5;
  color: #c2410c;
}

.activity-feed-badge--esibizioniste {
  background: #fce7f3;
  color: #be185d;
}

.activity-feed-photo-previews,
.activity-feed-video-previews {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.activity-feed-vip-sticker-wrap {
  margin-top: 10px;
}

.activity-feed-vip-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f0fdf4;
  background:
    radial-gradient(circle at 34% 28%, #86efac 0%, #22c55e 50%, #15803d 100%);
  border: 2px solid #dcfce7;
  box-shadow:
    0 6px 14px rgba(21, 128, 61, 0.34),
    inset 0 -3px 8px rgba(20, 83, 45, 0.32);
  transform: rotate(-10deg);
  text-shadow: 0 1px 2px rgba(20, 83, 45, 0.65);
}

.activity-feed-photo-thumb,
.activity-feed-video-preview,
.activity-feed-video-thumb {
  width: 71px;
  height: 71px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.activity-feed-video-source,
.activity-feed-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-feed-time {
  font-weight: 600;
  color: #2563eb;
}

.activity-feed-empty {
  padding: 24px 18px;
  border-radius: 18px;
  background: #ffffff;
  color: #6b7280;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.mh-search-progress-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 23, 0.52);
}

.mh-search-progress-modal[hidden] {
  display: none;
}

.mh-search-progress-modal__dialog {
  width: min(520px, 94vw);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.3);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.mh-search-progress-modal__dialog h3 {
  margin: 0;
  color: #0f172a;
}

.mh-search-progress-modal__dialog p {
  margin: 0;
  color: #475569;
}

.mh-search-progress-modal__track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
}

.mh-search-progress-modal__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9 0%, #22c55e 100%);
  transition: width 0.2s ease;
}

.mh-search-progress-modal__value {
  justify-self: end;
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.mh-search-progress-modal__actions {
  display: flex;
  justify-content: center;
}

.mh-search-progress-modal__submit {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9 0%, #22c55e 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  min-width: 180px;
  cursor: pointer;
}

.mh-search-progress-modal__submit[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.profile-avatar-card {
  width: 150px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background-color: #e6eefc;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.avatar-vip-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #16a34a;
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.2);
  z-index: 3;
}

.avatar-name {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  font-size: 0.95rem;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
  border-radius: 10px;
}

.profile-card .profile-location {
  display: none;
}

/* carousel nav buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #f43030;
  box-shadow: 0 6px 18px rgba(244, 48, 48, 0.12);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  color: #ffffff;
  z-index: 5;
}

.carousel-nav--left {
  left: -22px;
}

.carousel-nav--right {
  right: -22px;
}

@media (max-width: 980px) {
  .carousel-nav {
    display: none;
  }
}

.profile-card--create {
  justify-items: center;
  text-align: center;
}

.profile-card--create-link {
  text-decoration: none;
  color: inherit;
}

.profile-card--create-link:hover {
  transform: translateY(-2px);
}

.profile-create-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ede9fe;
  color: #7c3aed;
  font-size: 2rem;
}

.profile-name-card {
  font-size: 0.95rem;
  font-weight: 700;
}

.profile-location {
  color: #64748b;
  font-size: 0.85rem;
}

.profile-annuncio-text {
  margin-top: 2px;
  color: #1f2937;
  font-size: 0.78rem;
  line-height: 1.35;
  min-height: 2.15em;
}

.profile-annuncio-timer {
  margin-top: 2px;
  color: #dc2626;
  font-size: 0.76rem;
  font-weight: 700;
}

.last-minute-page-body {
  background: #f2f4f7;
}

.last-minute-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 18px 40px;
}

.last-minute-guest-box {
  max-width: 760px;
  margin: 40px auto;
  background: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.last-minute-guest-box h1 {
  margin: 0 0 10px;
}

.last-minute-guest-box p {
  margin: 0;
  color: #374151;
}

.last-minute-guest-login {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.last-minute-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}

.last-minute-main {
  background: transparent;
}

.last-minute-header {
  border-bottom: 1px solid #cfd5dc;
  padding-bottom: 14px;
}

.last-minute-header h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.7vw, 3.2rem);
  color: #0f172a;
}

.last-minute-header h1 span {
  color: #f59e0b;
}

.last-minute-header p {
  margin: 8px 0 0;
  color: #374151;
  font-size: 1.05rem;
}

.last-minute-form-panel {
  padding-top: 28px;
}

.last-minute-feedback {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.last-minute-feedback--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.last-minute-feedback--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.last-minute-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.last-minute-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, 0.72);
  backdrop-filter: blur(8px);
}

.last-minute-success-modal__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  border-radius: 28px;
  padding: 32px 28px 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(22, 26, 40, 0.98), rgba(10, 12, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.last-minute-success-modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #0b1b12;
  background: linear-gradient(180deg, #8ef0b4, #48cf7e);
  box-shadow: 0 12px 30px rgba(72, 207, 126, 0.35);
}

.last-minute-success-modal__panel h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.last-minute-success-modal__panel p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

.last-minute-success-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #0d1724;
  background: linear-gradient(180deg, #f5f7fb, #dfe7f4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.last-minute-success-modal__button:hover {
  transform: translateY(-1px);
}

.last-minute-clock {
  font-size: 120px;
  line-height: 1;
  text-align: center;
  color: rgba(107, 114, 128, 0.32);
  margin-bottom: 20px;
}

.last-minute-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.last-minute-form-wrap textarea {
  width: 100%;
  min-height: 118px;
  border-radius: 14px;
  border: 1px solid #bcc5d0;
  background: #f7f9fc;
  padding: 14px 16px;
  font: inherit;
  color: #111827;
  box-sizing: border-box;
  resize: vertical;
}

.last-minute-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6b7280;
  font-size: 0.95rem;
}

.last-minute-camera {
  font-size: 1.2rem;
}

.last-minute-submit {
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  padding: 20px 40px;
  cursor: pointer;
}

.last-minute-submit:hover {
  background: #15803d;
}

.last-minute-active-timer {
  margin: 12px 0 0;
  color: #b45309;
  font-weight: 700;
}

.annuncio-detail-panel .last-minute-form-wrap {
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 16px;
}

.annuncio-detail-text {
  margin: 0;
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.55;
}

.annuncio-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 18px 0 6px;
}

.annuncio-detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  color: #0f172a;
  font-family: inherit;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.annuncio-detail-meta-item strong {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.annuncio-detail-meta-item--category {
  border-color: rgba(249, 115, 22, 0.18);
}

.annuncio-detail-meta-item--category strong {
  color: #f97316;
}

.annuncio-detail-meta-item--city {
  border-color: rgba(16, 185, 129, 0.18);
}

.annuncio-detail-meta-item--city strong {
  color: #059669;
}

.annuncio-detail-meta-item--region {
  border-color: rgba(37, 99, 235, 0.18);
}

.annuncio-detail-meta-item--region strong {
  color: #2563eb;
}

.annuncio-detail-meta-item--gender {
  border-color: rgba(219, 39, 119, 0.18);
}

.annuncio-detail-meta-item--gender strong {
  color: #db2777;
}

.annuncio-detail-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
  color: #dc2626;
  font-weight: 700;
}

.annuncio-detail-timer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  font-size: 2.35rem;
  line-height: 1;
  flex: 0 0 auto;
}

.annuncio-detail-timer-text {
  font-size: 0.98rem;
}

.annuncio-detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px 70px;
}

.annuncio-detail-action-form {
  margin: 0;
  display: inline-flex;
}

.last-minute-footnote {
  margin-top: 24px;
  color: #374151;
  font-size: 1.04rem;
}

.last-minute-footnote a {
  color: #2563eb;
}

.last-minute-disclaimer {
  margin-top: 16px;
  color: #8a94a3;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.last-minute-profile-card {
  min-height: 500px;
  border-radius: 34px;
  overflow: hidden;
  padding: 16px;
  display: grid;
  align-content: space-between;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
  position: sticky;
  top: 20px;
}

.last-minute-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.22) 46%, rgba(15, 23, 42, 0.56) 100%);
}

.last-minute-profile-head,
.last-minute-profile-region,
.last-minute-profile-link {
  position: relative;
  z-index: 1;
}

.last-minute-profile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.last-minute-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.84);
}

.last-minute-profile-head strong {
  font-size: 1.7rem;
  line-height: 1;
}

.last-minute-profile-head span {
  font-size: 0.67rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.07em;
}

.last-minute-profile-region {
  justify-self: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.78);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.last-minute-profile-link {
  justify-self: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .last-minute-layout {
    grid-template-columns: 1fr;
  }

  .last-minute-profile-card {
    min-height: 360px;
    position: static;
  }

  .last-minute-profile-head strong {
    font-size: 1.4rem;
  }
}

.vip-badge {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-preview {
  min-height: 360px;
  border-radius: 28px;
  background: url('https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.hero-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fb923c;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.signup-page-body {
  margin: 0;
  min-height: 100vh;
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.38) 0%, rgba(22, 163, 74, 0.28) 100%),
    url('/wp-content/uploads/2026/07/cartina.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #0f172a;
}

.signup-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.signup-panel {
  width: min(100%, 560px);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.12);
}

.signup-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #166534;
  text-decoration: none;
  font-weight: 700;
}

.signup-brand {
  margin: 2px 0 14px;
  text-align: center;
}

.signup-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.signup-brand-text {
  display: inline;
  font-size: 1.3rem;
  font-weight: 800;
  color: #166534;
}

.signup-brand-img {
  display: inline-block;
  width: auto;
  max-height: 67px;
  object-fit: contain;
}

.signup-brand--compact .signup-brand-img {
  max-height: 50px;
}

.signup-brand--compact .signup-brand-text {
  font-size: 1.08rem;
}

.signup-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signup-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.signup-lead {
  margin: 0 0 24px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.signup-switch {
  margin: -8px 0 24px;
  color: #475569;
}

.signup-switch a {
  color: #166534;
  font-weight: 700;
}

.signup-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
}

.signup-notice p {
  margin: 0;
}

.signup-notice p+p {
  margin-top: 8px;
}

.signup-notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.signup-notice--success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

.signup-summary {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.signup-summary__thanks {
  margin: 0 0 10px;
  color: #0f172a;
}

.signup-summary ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
}

.signup-summary li+li {
  margin-top: 6px;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.signup-field {
  display: grid;
  gap: 8px;
}

.signup-field-hint {
  color: #16a34a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.signup-field span {
  font-weight: 700;
}

.signup-field input,
.signup-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 14px 16px;
  background: #ffffff;
  font: inherit;
  color: #0f172a;
}

.password-toggle-wrap {
  position: relative;
}

.password-toggle-wrap input {
  padding-right: 52px;
}

.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
  outline: none;
  background: #e2e8f0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.signup-field input:focus,
.signup-field select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.signup-submit {
  border: none;
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.22);
}

.signup-login-cta {
  margin-top: 16px;
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 640px) {
  .signup-page-body {
    background-attachment: scroll;
  }

  .signup-panel {
    padding: 24px;
    border-radius: 24px;
  }
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  line-height: 1.05;
  color: #0f172a;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #dcfce7;
  color: #0f172a;
  font-size: 1rem;
  cursor: pointer;
}

.hero-arrow--left {
  left: 18px;
}

.hero-arrow--right {
  right: 18px;
}

.widgets-panel .widget-card {
  display: grid;
  gap: 18px;
}

.widgets-panel h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #0f172a;
}

.widgets-panel label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: #475569;
}

.search-filter-select+.search-filter-select {
  margin-top: 5px;
}

.search-filter-select:last-of-type {
  margin-bottom: 10px;
}

.widgets-panel select,
.widgets-panel input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #b7f0c7;
  background: #dcfce7;
  color: #0f172a;
}

.radio-group {
  display: grid;
  gap: 12px;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #b7f0c7;
  background: #e8fbe8;
  color: #0f172a;
}

.search-button {
  margin-top: 7px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  background: #16a34a;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.search-results-section {
  background: #f3f5f8;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.search-results-header h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 600;
  color: #0f172a;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.search-results-title {
  color: #166534;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: var(--mh-main-section-title-size);
}

#risultati-ricerca-title,
#risultati-annunci {
  scroll-margin-top: 132px;
}

.search-results-criteria {
  color: #1d4ed8;
  font-weight: 800;
  font-size: 1.11em;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
}

.search-results-separator {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.84em;
}

.search-results-count {
  color: #b91c1c;
  font-weight: 800;
  font-size: 0.82em;
  font-family: Georgia, "Times New Roman", serif;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 2px 9px;
}

.search-results-count--updating,
.search-results-fallback--updating {
  font-size: 1.23em;
  animation: mh-search-count-blink 0.9s linear infinite;
}

.search-results-fallback.search-results-fallback--updating {
  color: #b91c1c;
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
}

@keyframes mh-search-count-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.search-results-header p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.92rem;
}

.search-results-fallback {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.92rem;
  line-height: 1.4;
}

.search-results-list {
  display: grid;
  gap: 14px;
}

.search-results-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.search-results-pagination__link,
.search-results-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.search-results-pagination__link:hover {
  border-color: #38bdf8;
  color: #0369a1;
}

.search-results-pagination__current {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.search-results-pagination__ellipsis {
  color: #64748b;
  font-weight: 700;
  padding: 0 2px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.search-result-avatar {
  width: 110px;
  height: 130px;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.search-result-avatar-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.search-result-content {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.search-result-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-result-title-row h3 {
  margin: 0;
  color: #0b7fef;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 500;
}

.search-result-tags {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.search-result-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.search-result-chip--video {
  background: #ffe4ef;
  color: #c2185b;
}

.search-result-chip--vip {
  position: absolute;
  right: 6px;
  top: 6px;
  background: #84cc16;
  color: #ffffff;
}

.search-result-chip--online {
  background: #fef08a;
  color: #854d0e;
}

.search-result-location {
  margin: 0;
  color: #5b9c3f;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
}

.search-result-bio {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.45;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #16a34a;
  font-size: 0.92rem;
}

.search-result-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.search-result-action-form {
  margin: 0;
  display: inline-flex;
}

.search-result-action-form.is-submitting .search-result-action-btn {
  opacity: 0.92;
  transform: scale(0.96);
}

.search-result-action-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.search-result-action-btn--friend-active {
  background: radial-gradient(circle at 32% 28%, #ffd2e5 0%, #ff78ae 42%, #ff3f8e 72%, #f01474 100%);
  cursor: help;
  opacity: 0.96;
}

.search-result-friend-hearts {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
}

.search-result-friend-hearts__main,
.search-result-friend-hearts__accent {
  position: absolute;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(131, 24, 67, 0.28);
}

.search-result-friend-hearts__main {
  font-size: 1.55rem;
  left: 1px;
  top: 5px;
}

.search-result-friend-hearts__accent {
  font-size: 1.05rem;
  right: 0;
  top: 0;
}

.search-result-action-btn--friend-pending {
  background: #f59e0b;
  color: #111827;
  cursor: help;
  opacity: 0.96;
}

.search-result-action-btn--friend-rejected {
  background: #ef4444;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.96;
}

.friend-request-popup-modal .guest-action-modal__dialog {
  border: 1px solid #fbcfe8;
  box-shadow: 0 18px 40px rgba(219, 39, 119, 0.18);
}

.friend-request-popup-modal .guest-action-modal__badge {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  color: #ffffff;
}

.search-results-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  color: #64748b;
  background: #ffffff;
}

@media (max-width: 1240px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .primary-bar,
  .secondary-bar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .page-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .search-result-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .search-result-avatar {
    width: 96px;
    height: 116px;
  }

  .search-result-title-row h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 860px) {
  .page-menu {
    display: none;
  }

  .secondary-bar {
    padding: 14px 18px;
  }

  .secondary-actions {
    display: none;
  }

  .page-actions {
    display: flex;
    margin-left: auto;
  }

  .page-actions .icon-button {
    display: none;
  }

  .page-auth-links {
    gap: 8px;
  }

  .auth-link {
    padding: 0 14px;
    font-size: 0.99rem;
  }

  .topbar-profile-mini {
    min-height: 40px;
    padding-right: 6px;
  }

  .topbar-profile-mini__name {
    display: none;
  }
}

@media (max-width: 620px) {

  .primary-bar,
  .secondary-bar {
    gap: 16px;
    padding: 16px;
  }

  .page-menu {
    gap: 10px;
  }

  .profile-carousel {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .hero-card {
    padding: 18px;
  }

  .hero-preview {
    min-height: 280px;
  }

  .search-results-header h2 {
    font-size: 0.92rem;
    gap: 4px;
  }

  .search-result-card {
    grid-template-columns: 1fr;
  }

  .search-result-avatar {
    width: 100%;
    max-width: 190px;
    height: 220px;
  }

  .search-result-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-result-title-row h3 {
    font-size: 1.35rem;
  }

  .search-result-action-btn {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}

.site-footer {
  background: linear-gradient(135deg, #0b7639 0%, #16a34a 45%, #2ae06f 100%);
  color: #ffffff;
  padding: 28px 0 26px;
}

.new-annunci-section {
  background: #e8fbe8;
  border-top: 1px solid #b7f0c7;
  border-bottom: 1px solid #b7f0c7;
  padding: 12px 0 16px;
  font-family: Tahoma, Arial, sans-serif;
}

.new-annunci-section .container-inner {
  max-width: 1024px;
  background: #e8fbe8;
}

.new-annunci-with-banners {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

.new-annunci-center {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1024px;
}

.new-annunci-side-banners {
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  min-width: 0;
}

.new-annunci-side-banners--left {
  order: -1;
}

.new-annunci-side-banners .ad-banner-card--new-section {
  width: 100%;
}

.new-annunci-side-banners .ad-banner-card--new-section .ad-banner-card__image {
  display: block;
  width: 80%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
  height: auto;
}

@media (max-width: 1240px) {
  .new-annunci-with-banners {
    flex-direction: column;
    gap: 20px;
  }

  .new-annunci-side-banners {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .new-annunci-side-banners--left,
  .new-annunci-side-banners--right {
    order: 0;
  }

  .new-annunci-side-banners .ad-banner-card--new-section {
    flex: 0 0 auto;
    width: 184px;
  }
}

@media (max-width: 640px) {
  .new-annunci-side-banners .ad-banner-card--new-section {
    width: calc(50% - 8px);
  }
}

.new-annunci-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #b7f0c7;
}

.new-annunci-title {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 400;
}

.new-annunci-title-main {
  color: #474747;
  font-size: var(--mh-main-section-title-size);
}

.new-annunci-title-accent {
  color: #c865f2;
}

.new-annunci-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
  color: #535353;
}

.new-annunci-region-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: #eb3c43;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.new-annunci-region a {
  color: #815fe4;
  text-decoration: underline;
}

.new-annunci-filters {
  margin: 8px 0 14px;
  color: #222222;
  font-size: 0.95rem;
  line-height: 1.25;
}

.new-annunci-filters a {
  color: #0066d9;
  text-decoration: underline;
  font-weight: 500;
}

.new-annunci-filters a.is-active {
  color: #166534;
  font-weight: 700;
  text-decoration: none;
}

.new-annunci-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.new-annuncio-card {
  background: #dcfce7;
  border-radius: 12px;
  padding: 9px 8px 7px;
  min-height: 186px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  box-shadow: inset 0 0 0 1px #b7f0c7;
}

.new-annuncio-avatar-wrap {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 5px solid #f4f4f4;
  box-shadow: inset 0 0 0 1px #c8c8c8;
  position: relative;
  overflow: visible;
}

.new-annuncio-badge {
  position: absolute;
  right: -4px;
  top: -3px;
  z-index: 2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.new-annuncio-badge--online {
  background: #ffd72f;
  color: #9b6d00;
  font-size: 0.54rem;
  padding: 2px 6px;
  border-radius: 2px;
}

.new-annuncio-badge--vip {
  background: #8bd30e;
  color: #ffffff;
  font-size: 0.76rem;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 2px solid #d6f38f;
  transform: rotate(-10deg);
}

.new-annuncio-badge--esibizioniste {
  background: #ec4899;
  color: #ffffff;
  font-size: 0.62rem;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 2px solid #f9a8d4;
  transform: rotate(-10deg);
}

.new-annuncio-name {
  color: #0067d9;
  font-size: 1.08rem;
  line-height: 1.05;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}

.new-annuncio-name::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: #f49a59;
  box-shadow: 0 7px 0 #f49a59;
  vertical-align: middle;
  color: #f5a267;
}

.new-annuncio-location {
  color: #62bc4f;
  font-size: 1rem;
  line-height: 1.05;
  margin-top: -1px;
}

@media (max-width: 1100px) {
  .new-annunci-title {
    font-size: 1.8rem;
  }

  .new-annunci-region {
    font-size: 0.95rem;
  }

  .new-annunci-filters {
    font-size: 0.88rem;
  }

  .new-annunci-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .new-annuncio-name {
    font-size: 0.98rem;
  }

  .new-annuncio-location {
    font-size: 0.92rem;
  }
}

@media (max-width: 760px) {
  .new-annunci-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .new-annunci-title {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 24px;
  }

  .new-annunci-region {
    font-size: 0.92rem;
  }

  .new-annunci-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .new-annuncio-name {
    font-size: 0.98rem;
  }

  .new-annuncio-location {
    font-size: 0.93rem;
  }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1.15fr 0.95fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 1.44rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 6px 0;
  font-size: 1.044rem;
  line-height: 1.35;
}

.footer-col li::before {
  content: "- ";
  opacity: 0.95;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus {
  text-decoration: underline;
}

.footer-brand {
  text-align: right;
  justify-self: end;
  max-width: 260px;
}

.footer-brand-logo {
  display: inline-flex;
  margin-bottom: 12px;
}

.footer-brand-logo img {
  max-width: 170px;
  width: 100%;
  height: auto;
}

.footer-brand p {
  margin: 4px 0;
  font-size: 1.3rem;
}

@media (max-width: 1100px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .footer-brand {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-col h3 {
    font-size: 1.6rem;
  }

  .footer-col li {
    font-size: 1.1rem;
  }

  .footer-brand p {
    font-size: 1rem;
  }
}

.profile-page-body {
  margin: 0;
  background: #f0f2f6;
  color: #1f2937;
  font-family: Tahoma, Arial, sans-serif;
}

.profile-page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px 24px;
}

.profile-page-shell--not-found {
  max-width: 760px;
  padding-top: 48px;
}

.profile-page-body--esibiz-owner {
  background: #ffffff;
}

.profile-page-shell--esibiz-owner {
  max-width: 980px;
  padding: 0 12px 32px;
}

.esibiz-owner-hero {
  margin: 0 -12px;
  padding: 14px 12px 22px;
  background: linear-gradient(120deg, #9f7aea 0%, #8b5cf6 45%, #a78bfa 100%);
  text-align: center;
}

.esibiz-owner-hero__inner {
  max-width: 620px;
  margin: 0 auto;
}

.esibiz-owner-avatar {
  position: relative;
  width: 276px;
  height: 276px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  background: #e5e7eb;
}

.esibiz-owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esibiz-owner-avatar-upload-form {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.esibiz-owner-avatar-upload-button {
  pointer-events: auto;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11, 16, 35, 0.86);
  color: #f8fafc;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.esibiz-owner-avatar-upload-button:hover,
.esibiz-owner-avatar-upload-button:focus-visible {
  background: rgba(3, 7, 18, 0.95);
}

.esibiz-owner-fans-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0b1023;
  color: #f8d874;
  font-size: 0.94rem;
  font-weight: 800;
}

.esibiz-owner-handle {
  margin: 10px 0 4px;
  color: #ffffff;
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 800;
}

.esibiz-owner-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}

.esibiz-owner-hero-notice {
  margin: 10px auto 0;
  max-width: 520px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 7px 14px;
}

.esibiz-owner-tabs {
  margin: 20px auto 18px;
  width: min(380px, 100%);
  background: #efeaf7;
  border-radius: 999px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.esibiz-owner-tab {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 8px;
  min-height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.esibiz-owner-tab:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.35);
  outline-offset: 2px;
}

.esibiz-owner-tab.is-active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.esibiz-owner-kpi-grid {
  margin: 0 auto 18px;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.esibiz-owner-kpi {
  border-radius: 14px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e9ddff;
  box-shadow: 0 8px 16px rgba(76, 29, 149, 0.08);
  text-align: center;
}

.esibiz-owner-kpi__label {
  display: block;
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.esibiz-owner-kpi__value {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 900;
}

.esibiz-owner-main {
  display: grid;
  gap: 16px;
}

.esibiz-owner-panel {
  display: grid;
  gap: 16px;
}

.esibiz-owner-panel[hidden] {
  display: none !important;
}

.esibiz-owner-block {
  background: #ffffff;
  border: 1px solid #e7e5ef;
  border-radius: 16px;
  padding: 18px;
}

.esibiz-owner-block h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 2.45rem;
}

.esibiz-owner-block--summary p {
  margin: 0;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.55;
}

.esibiz-owner-bacheca {
  background: #ffffff;
  border: 1px solid #ececf1;
  border-radius: 14px;
  padding: 10px 0 0;
}

.esibiz-owner-bacheca h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 3rem;
  line-height: 1.02;
  padding: 0 6px;
}

.esibiz-owner-bacheca p {
  margin: 0 0 18px;
  color: #63666f;
  font-size: 1.55rem;
  font-weight: 700;
  padding: 0 6px;
}

.esibiz-owner-bacheca__notice {
  margin: 0 6px 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #86efac;
  background: #dcfce7;
  color: #166534;
  font-size: 0.95rem;
  font-weight: 700;
}

.esibiz-owner-bacheca__form {
  display: grid;
  gap: 14px;
}

.esibiz-owner-bacheca__form textarea {
  width: 100%;
  min-height: 290px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  font-size: 1rem;
  color: #111827;
  resize: vertical;
  box-sizing: border-box;
}

.esibiz-owner-bacheca__form textarea:focus {
  outline: 3px solid rgba(168, 85, 247, 0.22);
  outline-offset: 2px;
}

.esibiz-owner-bacheca__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 0 2px;
}

.esibiz-owner-bacheca__save {
  min-width: 190px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, #bf2dd8 0%, #a327d9 48%, #d441c7 100%);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

.esibiz-owner-create-show {
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(120deg, #da7dad 0%, #e9ccd7 100%);
}

.esibiz-owner-create-show h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.1;
}

.esibiz-owner-create-show__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 8px;
}

.esibiz-owner-create-show__form input {
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0 16px;
  font-size: 0.96rem;
}

.esibiz-owner-create-show__form button {
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(194, 98, 151, 0.95);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.esibiz-owner-show-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.esibiz-owner-show-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e9d2df;
  border-radius: 14px;
  background: #fff7fb;
  text-decoration: none;
}

.esibiz-owner-show-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4c7d9 0%, #fbe7ef 100%);
  flex-shrink: 0;
}

.esibiz-owner-show-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esibiz-owner-show-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #7f1d54;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.esibiz-owner-show-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.esibiz-owner-show-item strong {
  color: #7f1d54;
  font-size: 1rem;
  line-height: 1.1;
}

.esibiz-owner-show-item span {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.3;
}

.esibiz-owner-show-meta {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.2;
}

.esibiz-owner-show-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.esibiz-owner-show-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid #d1fae5;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 800;
}

.esibiz-owner-show-stat strong {
  color: #166534;
  font-weight: 900;
  line-height: 1;
}

.esibiz-owner-show-stat .media-explorer-like-icon,
.esibiz-owner-show-stat .media-explorer-view-icon {
  width: 16px;
  height: 16px;
}

.esibiz-owner-show-list__empty {
  margin: 0;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.45;
}

.esibiz-owner-show-list__page-link {
  margin-top: 0;
  color: #8a1d73;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}

.esibiz-owner-show-list__page-link:hover,
.esibiz-owner-show-list__page-link:focus-visible {
  text-decoration: underline;
}

.esibiz-owner-show-pagination {
  margin-top: 14px;
}

.esibiz-owner-video-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.esibiz-owner-video-item {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e0d4b8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7ef 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(102, 79, 30, 0.06);
  color: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.esibiz-owner-video-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937 0%, #7c3aed 55%, #ec4899 100%);
  pointer-events: none;
}

.esibiz-owner-video-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.esibiz-owner-video-copy {
  display: grid;
  gap: 2px;
}

.esibiz-owner-video-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  color: #8a1d73;
}

.esibiz-owner-video-stats {
  display: grid;
  gap: 6px;
}

.esibiz-owner-video-stats .profile-media-like-badge,
.esibiz-owner-video-stats .profile-media-view-badge,
.esibiz-owner-video-stats .profile-media-comment-badge {
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.12);
}

.esibiz-owner-video-comment-hotspot {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}

.esibiz-owner-video-comment-hotspot:focus-visible {
  outline: 2px solid rgba(22, 101, 52, 0.35);
  outline-offset: 2px;
}

.mh-show-upload-form {
  margin: 10px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.mh-show-upload-form__input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mh-show-upload-form__pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d5d9e6;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
}

.mh-show-upload-form__pick:hover,
.mh-show-upload-form__pick:focus-visible {
  background: #f8fafc;
}

.mh-show-upload-form__submit {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
}

.mh-show-upload-form__submit:hover,
.mh-show-upload-form__submit:focus-visible,
.mh-show-upload-form__submit:active {
  background: linear-gradient(180deg, #ea8b14 0%, #c45f0d 100%);
  color: #ffffff;
  outline: none;
}

.mh-show-upload-form__filename {
  color: #374151;
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-show-upload-form button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #b45309;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
}

.mh-show-upload-form button:hover,
.mh-show-upload-form button:focus-visible {
  filter: brightness(1.06);
}

.mh-show-photo-strip .profile-photo-slot {
  display: grid;
  gap: 6px;
}

.mh-show-delete-form {
  display: block;
}

.mh-show-delete-button {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: #b91c1c;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.mh-show-delete-button:hover,
.mh-show-delete-button:focus-visible {
  filter: brightness(1.06);
}

.esibiz-owner-media-card {
  border-color: #e7e5ef;
}

.esibiz-owner-upsell {
  border-radius: 14px;
  padding: 22px 18px;
  color: #ffffff;
  background: linear-gradient(120deg, #ff6f8a 0%, #ff6f8a 62%, #ff8499 100%);
}

.esibiz-owner-upsell h2 {
  margin: 0 0 8px;
  font-size: 3rem;
  line-height: 1;
}

.esibiz-owner-upsell p {
  margin: 0 0 12px;
  font-size: 1.48rem;
  line-height: 1.25;
}

.esibiz-owner-upsell a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.profile-hero {
  margin-top: 0;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 52%, #a7f3d0 100%);
  border-bottom: 1px solid #86efac;
  color: #0f172a;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.profile-hero__inner {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
}

.account-settings-grid,
.account-settings-photo,
.account-settings-fields {
  grid-template-columns: 1fr;
}

.account-settings-photo__preview {
  width: 100%;
  max-width: 240px;
}

.account-settings-card--sticky {
  position: static;
}

.profile-avatar-wrap {
  width: 112px;
  height: 112px;
  position: relative;
  border-radius: 50%;
  border: 2px solid #7dd3fc;
  overflow: hidden;
}

.profile-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-vip-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: linear-gradient(180deg, #16a34a 0%, #166534 100%);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  box-shadow: 0 6px 14px rgba(22, 101, 52, 0.3);
  z-index: 2;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #0ea5e9;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-chip-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-chip--vip {
  background: linear-gradient(180deg, #16a34a 0%, #166534 100%);
  color: #ffffff;
  border: 1px solid #bbf7d0;
  letter-spacing: 0.03em;
}

.profile-head-copy h1 {
  margin: 4px 0 3px;
  font-size: 1.9rem;
  line-height: 1;
}

.profile-head-copy p {
  margin: 0;
  color: #14532d;
  font-size: 0.86rem;
}

.profile-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 6px;
}

.profile-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-head-actions button {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 0;
  background: #2563eb;
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  position: relative;
}

.profile-head-action-link {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.profile-head-actions button:nth-child(1) {
  background: #1d4ed8;
}

.profile-head-actions button:nth-child(2) {
  background: #ec4899;
}

.profile-head-action-button--message {
  background: #1d4ed8;
  transition: transform 0.2s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.profile-head-action-button--friend {
  background: #ec4899;
  transition: transform 0.2s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.profile-head-action-button--message:hover,
.profile-head-action-button--message:focus-visible,
.profile-head-action-button--friend:hover,
.profile-head-action-button--friend:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.26);
  filter: saturate(1.08) brightness(1.05);
}

.profile-head-action-button--message:active,
.profile-head-action-button--friend:active {
  transform: translateY(0) scale(0.98);
}

.profile-head-actions button.profile-head-action-button--friend {
  background: #ec4899;
}

.profile-head-action-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.profile-head-actions button:nth-child(3) {
  background: #0f766e;
}

.profile-head-actions button:nth-child(4) {
  background: #f59e0b;
  color: #111827;
}

.profile-create-annuncio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  background: #f59e0b;
  color: #111827;
  font-size: 1.14rem;
  font-weight: 800;
}

.profile-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 18px 12px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 0.78rem;
}

.profile-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.profile-hero-stat[href] {
  text-decoration: none;
  color: inherit;
}

.profile-hero-stat[href]:hover,
.profile-hero-stat[href]:focus-visible {
  color: #4b5563;
}

.profile-hero-stat__icon {
  width: 32px;
  height: 32px;
  font-size: 1.9rem;
  line-height: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.profile-hero-stat--large {
  font-size: 1.326rem;
  gap: 8px;
}

.profile-hero-stat--large .profile-hero-stat__icon {
  width: 54px;
  height: 54px;
  font-size: 3.23rem;
}

.profile-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 12px;
}

.profile-layout--esibizioniste {
  grid-template-columns: minmax(0, 1fr);
}

.profile-main {
  display: grid;
  gap: 10px;
}

/* Keep profile sidebar in column 2; global .widgets-panel uses column 3 in homepage grid. */
.profile-layout>.profile-main {
  grid-column: 1;
}

.profile-layout>.widgets-panel,
.profile-layout>.profile-side {
  grid-column: 2;
  width: 100%;
}

.profile-layout--esibizioniste>.profile-main {
  grid-column: 1;
}

.profile-layout--esibizioniste>.widgets-panel,
.profile-layout--esibizioniste>.profile-side {
  display: none;
}

.profile-card,
.profile-side-card {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.profile-card {
  padding: 10px;
}

.profile-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.profile-card__header h2 {
  margin: 0;
  font-size: 0.94rem;
  color: #2563eb;
  font-weight: 700;
}

.profile-card__header a,
.profile-card__header span {
  color: #9ca3af;
  font-size: 0.74rem;
}

.profile-annuncio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 10px;
}

.profile-annuncio-text {
  border: 1px solid #dbeafe;
  border-radius: 6px;
  background: #f8fbff;
  padding: 10px;
  color: #4b5563;
  font-size: 0.76rem;
  line-height: 1.6;
  min-height: 280px;
}

.profile-annuncio-feed {
  display: grid;
  gap: 8px;
}

.profile-feed-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px;
  background: #ffffff;
}

.profile-feed-item img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-feed-item strong {
  font-size: 0.72rem;
  color: #2563eb;
}

.profile-feed-item p {
  margin: 2px 0 0;
  font-size: 0.68rem;
  color: #6b7280;
  line-height: 1.35;
}

.profile-photo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.profile-video-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.esibiz-owner-media-card .profile-video-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-video-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-video-slot>.profile-media-like-badge,
.profile-video-slot>.profile-media-view-badge {
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.12);
}

.profile-video-thumb {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.profile-video-thumb:disabled {
  cursor: default;
}

.profile-video-thumb:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.45);
  outline-offset: 3px;
}

.profile-video-thumb img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border: 1px solid #d1d5db;
}

.profile-photo-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid #d1d5db;
}

.profile-photo-thumb {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
}

.profile-photo-thumb:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.45);
  outline-offset: 3px;
}

.profile-media-like-badge,
.profile-media-view-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-media-stat-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
}

.profile-media-like-badge .media-explorer-like-icon,
.profile-media-view-badge .media-explorer-view-icon {
  width: 18px;
  height: 18px;
}

.profile-media-like-badge strong,
.profile-media-view-badge strong {
  color: #166534;
  font-weight: 900;
  line-height: 1;
}

.profile-media-like-badge.is-liked {
  border-color: #86efac;
  background: #bbf7d0;
}

.profile-media-comments {
  display: grid;
  gap: 6px;
}

.profile-media-comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-media-comment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-media-comment-icon {
  width: 18px;
  height: 18px;
  background: url('/wp-content/uploads/2026/07/commento.png') center center / contain no-repeat;
  font-size: 0;
  line-height: 0;
}

.profile-media-comment-badge strong {
  color: #9a3412;
  font-weight: 900;
  line-height: 1;
}

.profile-media-comment-trigger {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.3);
}

.profile-media-comment-trigger:hover,
.profile-media-comment-trigger:focus-visible {
  filter: brightness(1.05);
}

.profile-media-comment-trigger.is-locked,
.profile-media-comment-trigger:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  filter: none;
}

.profile-media-comments-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.profile-media-comments-list li {
  font-size: 0.72rem;
  color: #374151;
  line-height: 1.3;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 5px 6px;
}

.profile-media-comment-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-media-comment-form input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0 10px;
  font-size: 0.7rem;
  color: #111827;
  background: #ffffff;
}

.profile-media-comment-form button {
  border: 0;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.profile-media-comment-login-hint {
  margin: 0;
  font-size: 0.7rem;
  color: #6b7280;
}

.profile-media-comment-modal__dialog {
  width: min(460px, calc(100vw - 32px));
}

.profile-media-comment-modal__form {
  display: grid;
  gap: 8px;
}

.profile-media-comment-modal__form textarea {
  width: 100%;
  min-height: 92px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 10px 12px;
  font-size: 0.86rem;
  color: #111827;
  background: #ffffff;
  resize: vertical;
}

.profile-media-comment-modal__meta {
  text-align: right;
  font-size: 0.74rem;
  color: #6b7280;
}

.profile-page-body--own .profile-photo-strip img,
.profile-page-body--own .profile-video-thumb img {
  width: 80%;
  margin: 0 auto;
}

.profile-photo-replace-form {
  display: block;
}

.profile-photo-replace-form select {
  width: 100%;
  max-width: 120px;
  margin-bottom: 6px;
  min-height: 28px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #374151;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
}

.profile-photo-replace-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.profile-photo-replace-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  border: 0;
  background: #c2410c;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  padding: 0 8px;
}

.profile-photo-replace-button:hover,
.profile-photo-replace-button:focus-visible {
  filter: brightness(1.12);
}

.esibiz-owner-video-counter {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1f2937;
}

.esibiz-owner-video-upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 14px;
}

.esibiz-owner-video-help {
  flex-basis: 100%;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #374151;
}

.esibiz-owner-video-pick,
.esibiz-owner-video-submit {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.esibiz-owner-video-pick {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #1f2937;
}

.esibiz-owner-video-pick:hover,
.esibiz-owner-video-pick:focus-visible {
  background: #f8fafc;
}

.esibiz-owner-video-submit {
  border: 0;
  background: #0f766e;
  color: #ffffff;
}

.esibiz-owner-video-filename {
  font-size: 0.94rem;
  font-weight: 600;
  color: #374151;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esibiz-owner-video-limit-note,
.esibiz-owner-video-empty {
  font-size: 0.94rem;
  line-height: 1.45;
}

.profile-photo-modal,
.profile-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* consente scroll verticale nel modal esplora senza toccare gli altri modal */
.profile-photo-modal[data-media-gallery-modal],
.profile-video-modal[data-video-gallery-modal] {
  overflow-y: auto;
  scroll-behavior: smooth;
}

.profile-photo-modal[hidden],
.profile-video-modal[hidden] {
  display: none;
}

.profile-photo-modal__backdrop,
.profile-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 24, 0.78);
  backdrop-filter: blur(10px);
}

.profile-photo-modal__dialog,
.profile-video-modal__dialog {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: min(92vw, 1050px);
  height: min(88vh, 860px);
  margin: 6vh auto 0;
  display: grid;
  place-items: center;
  padding: 52px 22px 22px;
  box-sizing: border-box;
}

.profile-photo-modal__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  background: #111827;
}

.profile-video-modal__player {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  background: #111827;
}

/* Layout dedicato al modal video della galleria RVG (readonly) */
.profile-photo-modal--video .profile-photo-modal__dialog {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
  height: min(80vh, 720px);
  padding: 56px 22px 18px;
}

.profile-photo-modal--video .profile-photo-modal__image {
  grid-row: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.profile-photo-modal--video .media-explorer-modal__likebar {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  grid-row: 2;
  margin-top: 12px;
  justify-content: center;
}

.profile-video-modal__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-video-modal__dialog {
  width: min(90vw, 960px);
  height: min(80vh, 720px);
  margin: 10vh auto 0;
  padding: 56px 22px 18px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
}

.profile-video-modal--show-feed .profile-video-modal__dialog {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
}

/* media div prende il row 1fr; counter e likebar vanno nel row auto */
.profile-video-modal--show-feed .profile-video-modal__media {
  grid-row: 1;
  min-height: 0;
}

.profile-video-modal--show-feed .media-explorer-modal__likebar {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin-top: 12px;
  justify-content: center;
}

.profile-video-modal:not(.profile-video-modal--show-feed):not(.profile-video-modal--palco-feed) .media-explorer-modal__likebar {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin-top: 12px;
  justify-content: center;
  grid-row: 2;
}

.profile-video-modal--palco-feed .profile-video-modal__dialog {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
}

.profile-video-modal--palco-feed .media-explorer-modal__likebar {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin-top: 12px;
  justify-content: center;
}

.profile-photo-modal__close,
.profile-video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.profile-photo-modal__nav,
.profile-video-modal__nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.profile-photo-modal__nav--prev {
  left: 12px;
}

.profile-video-modal__nav--prev {
  left: 12px;
}

.profile-photo-modal__nav--next {
  right: 12px;
}

.profile-video-modal__nav--next {
  right: 12px;
}

.profile-photo-modal__nav:hover,
.profile-photo-modal__nav:focus-visible,
.profile-photo-modal__close:hover,
.profile-photo-modal__close:focus-visible,
.profile-video-modal__nav:hover,
.profile-video-modal__nav:focus-visible,
.profile-video-modal__close:hover,
.profile-video-modal__close:focus-visible {
  background: #ffffff;
  outline: 3px solid rgba(14, 165, 233, 0.35);
  outline-offset: 2px;
}

.profile-photo-modal__counter,
.profile-video-modal__counter {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.my-photos-thumb-option {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.my-photos-thumb-option span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #f5d38b;
  color: #8a5a00;
  font-size: 0.72rem;
  font-weight: 700;
}

body.has-profile-photo-modal-open,
body.has-profile-video-modal-open {
  overflow: hidden;
}

body.has-guest-action-modal-open {
  overflow: hidden;
}

.guest-action-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.profile-action-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
}

.profile-action-feedback-modal[hidden] {
  display: none;
}

.celebration-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 10004;
}

.celebration-popup-modal[hidden] {
  display: none;
}

.celebration-popup-modal .guest-action-modal__dialog {
  width: min(92vw, 460px);
  background: linear-gradient(160deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 24px 70px rgba(217, 119, 6, 0.35);
  padding: 26px 22px 24px;
}

.celebration-popup-modal .guest-action-modal__badge {
  width: 68px;
  height: 68px;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.38);
  animation: celebration-pop 0.55s ease-out;
}

.celebration-popup-modal .guest-action-modal__dialog h3 {
  color: #92400e;
  font-size: 1.55rem;
}

.celebration-popup-modal .guest-action-modal__dialog>p {
  color: #b45309;
  font-weight: 600;
}

.celebration-popup-list {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.celebration-popup-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  color: #78350f;
  font-size: 0.96rem;
}

.celebration-popup-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.celebration-popup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.celebration-popup-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  border: 0;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.32);
}

.celebration-popup-btn:hover,
.celebration-popup-btn:focus {
  background: linear-gradient(135deg, #d97706 0%, #db2777 100%);
  transform: translateY(-1px);
}

@keyframes celebration-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.12);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

.vip-congrats-modal {
  position: fixed;
  inset: 0;
  z-index: 10003;
}

.vip-congrats-modal[hidden] {
  display: none;
}

.vip-congrats-modal__dialog {
  border: 1px solid #f9a8d4;
  background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 48%, #fae8ff 100%);
  box-shadow: 0 22px 60px rgba(157, 23, 77, 0.26);
}

.profile-message-compose-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
}

.profile-message-compose-modal[hidden] {
  display: none;
}

.profile-message-compose-modal__dialog {
  width: min(92vw, 520px);
}

.profile-message-compose-form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.profile-message-compose-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #86efac;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 14px;
  font: inherit;
  color: #14532d;
  resize: vertical;
  min-height: 118px;
}

.profile-message-compose-form textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.guest-action-modal[hidden] {
  display: none;
}

.guest-action-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 34, 17, 0.52);
  backdrop-filter: blur(3px);
}

.guest-action-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 430px);
  margin: 50vh auto 0;
  transform: translateY(-50%);
  border-radius: 18px;
  background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 55%, #bbf7d0 100%);
  border: 1px solid #86efac;
  box-shadow: 0 22px 60px rgba(3, 47, 23, 0.35);
  padding: 22px 20px 20px;
  text-align: center;
}

.guest-action-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #14532d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.guest-action-modal__badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38);
}

.guest-action-modal__dialog h3 {
  margin: 0 0 8px;
  color: #14532d;
  font-size: 1.25rem;
  font-weight: 800;
}

.guest-action-modal__dialog p {
  margin: 0;
  color: #166534;
  font-size: 0.98rem;
  line-height: 1.45;
}

.friend-remove-confirm-modal .guest-action-modal__dialog {
  width: min(94vw, 470px);
}

.friend-remove-confirm-summary {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px;
}

.friend-remove-confirm-summary__avatar {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid #a7f3d0;
}

.friend-remove-confirm-summary__meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.friend-remove-confirm-summary__meta strong {
  color: #14532d;
  font-size: 0.98rem;
}

.friend-remove-confirm-summary__meta span {
  color: #166534;
  font-size: 0.86rem;
  line-height: 1.35;
}

.friend-remove-confirm-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.guest-action-modal__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  background: #ec4899;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.35);
}

.guest-action-modal__login:hover,
.guest-action-modal__login:focus-visible,
.guest-action-modal__close:hover,
.guest-action-modal__close:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.35);
  outline-offset: 2px;
}

.profile-muted {
  margin: 0;
  color: #6b7280;
  font-size: 0.76rem;
}

.profile-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.profile-search-widget {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 10px;
}

.profile-search-widget h3 {
  margin: 0;
  font-size: 0.82rem;
  color: #ec4899;
}

.profile-search-widget form {
  display: grid;
}

.profile-search-widget .search-filter-select+.search-filter-select {
  margin-top: 5px;
}

.profile-search-widget .search-filter-select:last-of-type {
  margin-bottom: 10px;
}

.profile-search-widget select {
  width: 100%;
}

/* ============================================================
 * ADVERTISING BANNERS
 * ============================================================ */

.ad-banner-card {
  display: block;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad-banner-card:hover {
  transform: translateY(-2px);
}

.ad-banner-card__image {
  display: block;
  width: 80%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
}

.sidebar-banner-section {
  display: grid;
  gap: 12px;
  align-content: start;
}

.sidebar-banner-section--left,
.sidebar-banner-section--right {
  width: 100%;
  flex-shrink: 0;
}

.sidebar-panel .sidebar-banner-section {
  margin-top: 14px;
}

.widgets-panel .sidebar-banner-section {
  margin-top: 14px;
}

.sidebar-banner-section--profile {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 992px) {

  .sidebar-banner-section--left,
  .sidebar-banner-section--right {
    width: 100%;
    order: 99;
  }

  .page-layout {
    flex-wrap: wrap;
  }
}

/* Advertiser signup / dashboard shared */
.auth-card,
.adv-dashboard,
.adv-admin {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #d1d5db;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.adv-dashboard,
.adv-admin {
  max-width: 1100px;
}

.adv-dashboard h1,
.adv-admin h1 {
  font-size: 1.6rem;
  margin: 0 0 18px;
  color: #111827;
}

.adv-dashboard h2,
.adv-admin h2 {
  font-size: 1.15rem;
  margin: 28px 0 14px;
  color: #ec4899;
}

.adv-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.adv-stat-ring {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 180px;
  margin: 0 auto;
}

.adv-stat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.adv-stat-ring__bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 10;
}

.adv-stat-ring__fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.adv-stat-ring--clicks .adv-stat-ring__fill {
  stroke: #ec4899;
}

.adv-stat-ring--impressions .adv-stat-ring__fill {
  stroke: #22c55e;
}

.adv-stat-ring--active .adv-stat-ring__fill {
  stroke: #f59e0b;
}

.adv-stat-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.adv-stat-ring__value strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.adv-stat-ring__value span {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .adv-dashboard__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adv-stat-ring__value strong {
    font-size: 1.25rem;
  }
}

.adv-signup-form,
.adv-dashboard__upload form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-field__hint {
  font-size: 0.78rem;
  color: #6b7280;
}

.adv-signup-form input,
.adv-signup-form select,
.adv-dashboard__upload input,
.adv-dashboard__upload select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.button--primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
}

.button--small {
  padding: 6px 10px;
  font-size: 0.8rem;
}

.button--success {
  background: #22c55e;
  color: #ffffff;
}

.button--danger {
  background: #ef4444;
  color: #ffffff;
}

.button--ghost {
  background: #e5e7eb;
  color: #374151;
}

.button:hover {
  filter: brightness(1.05);
}

.form-error,
.form-success {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.adv-admin-page .signup-panel,
.adv-admin-panel {
  width: min(100%, 1100px);
}

.adv-admin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.adv-admin__header h1 {
  margin: 0;
}

.adv-dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.adv-dashboard__header h1 {
  margin: 0;
}

.adv-dashboard__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  font-weight: 700;
  color: #ffffff;
  background: #dc2626;
  border-radius: 10px;
  text-decoration: none;
}

.adv-dashboard__logout:hover {
  background: #b91c1c;
}

.adv-table-wrap {
  overflow-x: auto;
}

.adv-dashboard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.adv-dashboard__table th,
.adv-dashboard__table td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

.adv-dashboard__table th {
  background: #f3f4f6;
  color: #374151;
  font-weight: 700;
}

.adv-dashboard__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.adv-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.adv-status--pending {
  background: #fef3c7;
  color: #b45309;
}

.adv-status--active {
  background: #d1fae5;
  color: #047857;
}

.adv-status--paused,
.adv-status--expired {
  background: #e5e7eb;
  color: #374151;
}

.adv-status--rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.adv-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.button--uppercase {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input[type="password"],
.password-input-wrap input[type="text"] {
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px;
  color: #6b7280;
  transition: color 0.15s ease;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: #ec4899;
}

.page-template-page-adv .brand-logo__text,
.page-template-page-dashboard-adv .brand-logo__text {
  display: none;
}

.page-template-page-adv .brand-logo__img,
.page-template-page-dashboard-adv .brand-logo__img {
  display: block;
  max-height: 42px;
  width: auto;
}

.profile-search-widget select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid #b7f0c7;
  background: #dcfce7;
  color: #0f172a;
}

.profile-search-widget .radio-group {
  display: grid;
  gap: 8px;
}

.profile-search-widget .radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid #b7f0c7;
  background: #e8fbe8;
  color: #0f172a;
  font-size: 0.74rem;
}

.profile-side-card {
  padding: 10px;
}

.profile-side-card h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #ec4899;
}

.profile-side-card label {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: #6b7280;
}

.profile-side-card select {
  width: 100%;
  height: 30px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.74rem;
}

.profile-checks {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.profile-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.profile-side-card button {
  width: 100%;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.78rem;
  cursor: pointer;
}

.profile-mini-list {
  display: grid;
  gap: 7px;
}

.profile-mini-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #374151;
  font-size: 0.72rem;
}

.profile-mini-item img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .esibiz-owner-handle {
    font-size: 2.15rem;
  }

  .esibiz-owner-show-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  @media (max-width: 760px) {
    .esibiz-owner-show-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .esibiz-owner-video-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .esibiz-owner-block h2 {
    font-size: 2rem;
  }

  .esibiz-owner-bacheca h2 {
    font-size: 2.4rem;
  }

  .esibiz-owner-bacheca p {
    font-size: 1.2rem;
  }

  .esibiz-owner-create-show h3 {
    font-size: 1.55rem;
  }

  .esibiz-owner-upsell h2 {
    font-size: 2.35rem;
  }

  .esibiz-owner-upsell p {
    font-size: 1.14rem;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-layout>.widgets-panel,
  .profile-layout>.profile-side,
  .profile-layout>.profile-main {
    grid-column: 1;
  }

  .profile-annuncio-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-video-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-photo-replace-button {
    min-height: 28px;
    font-size: 0.6rem;
  }

  .profile-hero__inner {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .profile-head-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .profile-create-annuncio {
    margin-left: 4px;
  }

  .profile-photo-modal__dialog {
    width: 96vw;
    height: 90vh;
    margin-top: 5vh;
    padding: 44px 12px 12px;
  }

  .profile-video-modal__dialog {
    width: 96vw;
    height: 96vh;
    margin-top: 2vh;
    padding: 44px 12px 10px;
  }

  .profile-photo-modal__close {
    top: 8px;
    right: 8px;
    z-index: 5;
  }

  .profile-video-modal__close {
    top: 8px;
    right: 8px;
  }

  .profile-photo-modal__nav {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .profile-video-modal__nav {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .profile-photo-modal__nav--prev {
    left: 8px;
  }

  .profile-video-modal__nav--prev {
    left: 8px;
  }

  .profile-photo-modal__nav--next {
    right: 8px;
  }

  .profile-video-modal__nav--next {
    right: 8px;
  }

  .profile-photo-modal__counter {
    top: 10px;
    left: 10px;
    font-size: 0.9rem;
  }

  .profile-video-modal__counter {
    top: 10px;
    left: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .esibiz-owner-hero {
    margin: 0 -10px;
  }

  .esibiz-owner-avatar {
    width: 112px;
    height: 112px;
  }

  .esibiz-owner-handle {
    font-size: 1.8rem;
  }

  .esibiz-owner-meta {
    font-size: 0.9rem;
  }

  .esibiz-owner-tabs {
    width: 100%;
  }

  .esibiz-owner-kpi-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .esibiz-owner-tab {
    font-size: 0.82rem;
  }

  .esibiz-owner-block {
    padding: 14px;
  }

  .esibiz-owner-block h2 {
    font-size: 1.6rem;
  }

  .esibiz-owner-bacheca h2 {
    font-size: 2rem;
  }

  .esibiz-owner-bacheca p {
    font-size: 1rem;
  }

  .esibiz-owner-bacheca__form textarea {
    min-height: 220px;
  }

  .esibiz-owner-bacheca__save {
    min-width: 150px;
    height: 44px;
    font-size: 1.06rem;
  }

  .esibiz-owner-create-show {
    padding: 14px;
  }

  .esibiz-owner-create-show h3 {
    font-size: 1.2rem;
  }

  .esibiz-owner-show-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .esibiz-owner-video-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .esibiz-owner-create-show__form {
    grid-template-columns: 1fr;
  }


  .esibiz-owner-upsell h2 {
    font-size: 1.9rem;
  }

  .esibiz-owner-upsell p {
    font-size: 1rem;
  }
}

/* Force identical visual style for requested section titles */
.search-results-title,
.activity-feed-header h2,
.new-annunci-title-main {
  color: #166534 !important;
  font-family: "Segoe UI", Tahoma, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.1 !important;
  font-size: 1.764rem !important;
}

.media-explorer-shell {
  max-width: 1240px;
}

.media-explorer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.media-explorer-header__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 82px;
  border-radius: 16px;
  border: 1px solid #b9efc8;
  background: linear-gradient(180deg, #f3fff6 0%, #deffe9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(22, 101, 52, 0.12);
}

.media-explorer-header__badge strong {
  font-size: 1.45rem;
  color: #166534;
  line-height: 1;
}

.media-explorer-header__badge span {
  margin-top: 4px;
  font-size: 0.76rem;
  color: #3f7c57;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.media-explorer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.media-explorer-card {
  border-radius: 14px;
  border: 1px solid #c6eed0;
  background: #f6fff9;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(22, 101, 52, 0.08);
}

.media-explorer-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  background: #dff8e7;
  cursor: zoom-in;
}

.media-explorer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-explorer-card__media--video {
  aspect-ratio: 4 / 5;
}

.media-explorer-card__media--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.media-explorer-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.media-explorer-card__meta a {
  color: #166534;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-explorer-card__meta span {
  color: #5f8f6f;
  font-size: 0.72rem;
  white-space: nowrap;
}

.media-explorer-card__meta-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.media-explorer-card__excerpt {
  margin: 8px 0 0;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.36;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.media-explorer-card__footer {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.2;
}

.media-explorer-card__actions {
  padding: 0 12px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.media-explorer-card__action-form {
  margin: 0;
  display: inline-flex;
}

.media-explorer-card__likes,
.media-explorer-card__views {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
  font-size: 1.44rem;
  font-weight: 800;
}

.media-explorer-card__likes strong,
.media-explorer-card__views strong {
  color: #166534;
  font-weight: 900;
  font-size: 1.52rem;
  line-height: 1;
}

.media-explorer-like-icon,
.media-explorer-view-icon,
.media-explorer-modal__like-icon {
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.media-explorer-like-icon,
.media-explorer-modal__like-icon {
  background-image: url("/wp-content/uploads/2026/07/pollice.png?v=1");
}

.media-explorer-view-icon {
  position: relative;
}

.media-explorer-view-icon::before {
  content: "\1F441";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.9em;
  line-height: 1;
}

.media-explorer-like-icon {
  width: 30px;
  height: 30px;
}

.media-explorer-view-icon {
  width: 30px;
  height: 30px;
}

.media-explorer-empty {
  text-align: center;
}

.media-explorer-empty h2 {
  margin: 0 0 8px;
  color: #166534;
}

.media-explorer-empty p {
  margin: 0;
  color: #475569;
}

.media-explorer-pagination {
  margin-top: 16px;
}

.media-explorer-modal__close {
  width: auto;
  min-width: 104px;
  height: 40px;
  border: 1px solid #fb923c;
  border-radius: 999px;
  padding: 0 14px;
  background: linear-gradient(180deg, #ff9f1c 0%, #f97316 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.media-explorer-modal__close:hover,
.media-explorer-modal__close:focus-visible {
  background: linear-gradient(180deg, #ffb347 0%, #fb923c 100%);
}

.media-explorer-modal__counter {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.media-explorer-modal__likebar {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-explorer-modal__like-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 900;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.media-explorer-modal__like-btn:hover,
.media-explorer-modal__like-btn:focus-visible {
  background: transparent;
  outline: 2px solid rgba(22, 101, 52, 0.35);
  outline-offset: 2px;
}

.media-explorer-modal__like-btn.is-liked {
  background: transparent;
  color: #ffffff;
}

.media-explorer-modal__like-btn.is-locked {
  opacity: 0.64;
  cursor: not-allowed;
}

.media-explorer-modal__like-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.media-explorer-modal__like-icon {
  width: 86px;
  height: 86px;
}

.media-explorer-modal__like-count {
  display: none;
}

.media-explorer-modal__comment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 4;
  pointer-events: auto;
  box-shadow: none;
}

.media-explorer-modal__comment-icon {
  width: 86px;
  height: 86px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('/wp-content/uploads/2026/07/commento.png?v=1');
}

.media-explorer-modal__comment-btn[hidden] {
  display: none !important;
}

.media-explorer-modal__comment-btn.is-locked,
.media-explorer-modal__comment-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.media-explorer-modal__comment-btn:hover,
.media-explorer-modal__comment-btn:focus-visible {
  background: transparent;
  outline: 2px solid rgba(22, 101, 52, 0.35);
  outline-offset: 2px;
}

.mh-visits-header__badge {
  min-width: 158px;
}

/* ── Owner row nel top del modal video/foto ── */
.media-gallery-modal__owner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 52px;
  min-height: 0;
}

/* position assoluta: si affianca a counter e pulsante X nel padding superiore */
.profile-video-modal--palco-feed .media-gallery-modal__owner-row,
.profile-video-modal--show-feed .media-gallery-modal__owner-row {
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  height: 56px;
  padding: 0;
  z-index: 2;
}

/* SexyStars di Oggi: griglia 4 colonne × 2 righe */
.palco-stars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .palco-stars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .palco-stars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
  }
}

.palco-star-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.palco-star-avatar {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}

.palco-star-avatar:hover {
  transform: scale(1.04);
}

.palco-star-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
}

.palco-star-name:hover {
  text-decoration: underline;
}

.palco-star-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.palco-star-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.palco-star-badge--like {
  background: #fce4ec;
  color: #c2185b;
}

.palco-star-badge--views {
  background: #e3f2fd;
  color: #1565c0;
}

.palco-star-badge--comments {
  background: #e8f5e9;
  color: #2e7d32;
}

.profile-photo-modal .media-gallery-modal__owner-row {
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  height: 52px;
  padding: 0;
  z-index: 2;
}

.media-explorer-modal__owner {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* ── Stats bar nel top del modal esplora ── */
.media-gallery-modal__stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  pointer-events: none;
  flex-shrink: 0;
}

.media-gallery-modal__stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.media-gallery-modal__stat .media-explorer-like-icon,
.media-gallery-modal__stat .media-explorer-view-icon,
.media-gallery-modal__stat .profile-media-comment-icon {
  width: 27px;
  height: 27px;
  background-size: contain;
  flex-shrink: 0;
}

/* ── Pannello commenti sotto il modal esplora ── */
.media-gallery-comments-panel {
  position: relative;
  z-index: 2;
  width: min(92vw, 1050px);
  margin: 0 auto 48px;
  padding: 24px 20px;
  background: rgba(10, 20, 38, 0.88);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  box-sizing: border-box;
}

.media-gallery-comments-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.media-gallery-comments-panel__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.media-gallery-comments-panel__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.media-gallery-comments-panel__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #1f2937;
}

.media-gallery-comments-panel__body {
  flex: 1;
  min-width: 0;
}

.media-gallery-comments-panel__author {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6ee7b7;
  display: block;
}

.media-gallery-comments-panel__date {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-left: 8px;
}

.media-gallery-comments-panel__text {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: #d1d5db;
  word-break: break-word;
  line-height: 1.45;
}

.media-gallery-comments-panel__empty,
.media-gallery-comments-panel__loading {
  font-size: 0.88rem;
  color: #9ca3af;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}

.media-gallery-comments-panel__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.media-gallery-comments-panel__page-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 0.82rem;
  padding: 6px 14px;
  cursor: pointer;
}

.media-gallery-comments-panel__page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.media-gallery-comments-panel__page-btn:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.14);
}

.media-gallery-comments-panel__page-info {
  font-size: 0.82rem;
  color: #9ca3af;
  min-width: 48px;
  text-align: center;
}

.mh-visits-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.mh-visits-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #c6eed0;
  border-radius: 12px;
  background: #f6fff9;
  padding: 10px;
}

.mh-visits-card__avatar {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid #bbf7d0;
  overflow: hidden;
  display: block;
}

.mh-visits-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mh-visits-card__content {
  min-width: 0;
}

.mh-visits-card__name {
  display: block;
  color: #166534;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-visits-card__meta {
  margin: 4px 0 8px;
  color: #4b5563;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-visits-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.mh-visits-card__cta:hover,
.mh-visits-card__cta:focus-visible,
.mh-visits-card__name:hover,
.mh-visits-card__name:focus-visible {
  color: #15803d;
}

.mh-visits-avatar-card {
  text-align: center;
}

.mh-visits-avatar-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.mh-visits-avatar-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid #bbf7d0;
  display: block;
}

.mh-visits-avatar-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #166534;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mh-visits-avatar-card__link:hover .mh-visits-avatar-card__name,
.mh-visits-avatar-card__link:focus-visible .mh-visits-avatar-card__name {
  color: #15803d;
}

@media (max-width: 1024px) {
  .media-explorer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mh-visits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .media-explorer-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-explorer-header__badge {
    min-width: 100%;
    flex-direction: row;
    gap: 8px;
    min-height: 56px;
  }

  .media-explorer-header__badge span {
    margin-top: 0;
  }

  .media-explorer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-explorer-modal__close {
    min-width: 96px;
    height: 36px;
    font-size: 0.72rem;
  }

  .media-explorer-modal__likebar {
    bottom: 8px;
  }

  .media-explorer-modal__like-btn {
    width: 70px;
    height: 70px;
  }

  .media-explorer-modal__comment-btn {
    width: 70px;
    height: 70px;
    font-size: 1.65rem;
  }

  .media-explorer-modal__comment-icon {
    width: 70px;
    height: 70px;
  }

  .media-explorer-modal__like-icon {
    width: 70px;
    height: 70px;
  }

  .media-explorer-card__likes,
  .media-explorer-card__views {
    min-height: 40px;
    padding: 0 10px;
    font-size: 1.12rem;
    gap: 6px;
  }

  .media-explorer-card__likes strong,
  .media-explorer-card__views strong {
    font-size: 1.2rem;
  }

  .media-explorer-like-icon,
  .media-explorer-view-icon {
    width: 22px;
    height: 22px;
  }

  .mh-visits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mh-visits-card {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .mh-visits-card__avatar {
    width: 66px;
    height: 66px;
  }
}