/* ==============================================================
 * MAISON NOIR THEME — OPULENT ROYAL FRENCH VELVET & GOLD EMBOSSED LUXURY
 * ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.tg-public-profile-app.tg-design--maison_noir {
  background: radial-gradient(circle at 50% 0%, #380a19 0%, #17070e 55%, #080205 100%) !important;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-pp__card--maison-noir {
  background: linear-gradient(180deg, rgba(35, 12, 22, 0.96) 0%, rgba(18, 8, 14, 0.98) 100%) !important;
  border: 1.5px solid #e2c077 !important;
  border-radius: 36px !important;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(226, 192, 119, 0.15),
    inset 0 0 25px rgba(226, 192, 119, 0.08) !important;
  overflow: hidden !important;
  color: #f8fafc !important;
  padding: 0 0 24px 0 !important;
  box-sizing: border-box !important;
  position: relative;
}

/* Royal Hero Banner Frame */
.tg-maison-cover-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 2px solid #e2c077;
}
.tg-maison-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.8);
}
.tg-maison-cover-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(35, 12, 22, 0.25) 0%, rgba(18, 8, 14, 0.95) 100%);
}
.tg-maison-crest-emblem {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 22px;
  color: #e2c077;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

/* Octagonal Royal Gold Crest Avatar */
.tg-maison-avatar-container {
  display: flex;
  justify-content: center;
  margin-top: -56px;
  position: relative;
  z-index: 10;
}
.tg-maison-avatar-ring {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  padding: 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff2ce 0%, #e2c077 40%, #b88e36 80%, #fef1c9 100%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(226, 192, 119, 0.4);
  flex-shrink: 0;
}
.tg-maison-avatar-wrap {
  margin: 0 !important;
  width: 98px !important;
  height: 98px !important;
  border-radius: 50% !important;
}
.tg-maison-avatar-wrap .tg-pp__avatar {
  width: 98px !important;
  height: 98px !important;
  border-radius: 50% !important;
  border: 3px solid #1a0810 !important;
  background: #000000 !important;
  object-fit: cover !important;
  display: block;
}

.tg-maison-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px 22px 22px;
  text-align: center;
}

/* Royal Headline Title */
.tg-maison-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 2px;
}
.tg-maison-name {
  font-family: 'Cinzel', 'Playfair Display', serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #e2c077 !important;
  letter-spacing: 0.04em !important;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.tg-maison-badge-wrap {
  display: flex;
  align-items: center;
}
.tg-maison-badge {
  color: #e2c077 !important;
  filter: drop-shadow(0 0 8px rgba(226, 192, 119, 0.6));
}

.tg-maison-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  color: #f1d797 !important;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tg-maison-bio {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #d1b8c4 !important;
  line-height: 1.5;
  max-width: 90%;
  margin-bottom: 26px;
}

/* Section Header Dividers */
.tg-maison-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 34px !important;
}
.tg-maison-section__label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px !important;
}
.tg-maison-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 192, 119, 0.4), transparent);
}
.tg-maison-label-text {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #e2c077;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Quick Action Gold Filigree Plates */
.tg-maison-quick-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
  width: 100%;
  box-sizing: border-box;
}
.tg-maison-quick-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(50, 18, 32, 0.7) 0%, rgba(28, 10, 18, 0.9) 100%);
  border: 1px solid rgba(226, 192, 119, 0.35);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  overflow: hidden;
}
.tg-maison-quick-card:hover {
  background: linear-gradient(135deg, rgba(80, 25, 48, 0.8) 0%, rgba(45, 14, 28, 0.95) 100%);
  border-color: #e2c077;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(226, 192, 119, 0.25);
}
.tg-maison-quick-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226, 192, 119, 0.2) 0%, rgba(184, 142, 54, 0.1) 100%);
  border: 1px solid rgba(226, 192, 119, 0.4);
  color: #e2c077;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tg-maison-quick-card__icon svg {
  width: 22px;
  height: 22px;
}
.tg-maison-quick-card__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}
.tg-maison-quick-card__title {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tg-maison-quick-card__sub {
  font-size: 11px;
  font-weight: 500;
  color: #e2c077;
  opacity: 0.85;
}
.tg-maison-quick-card__corner {
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent #e2c077 transparent transparent;
  opacity: 0.7;
}

/* Curated Links 2-Column Grid */
.tg-maison-links-list {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  width: 100%;
}
.tg-maison-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(226, 192, 119, 0.25);
  text-decoration: none;
  transition: all 0.22s ease;
  box-sizing: border-box;
}
.tg-maison-link-card:hover {
  background: rgba(226, 192, 119, 0.08);
  border-color: rgba(226, 192, 119, 0.6);
  transform: translateX(4px);
}
.tg-maison-link-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(226, 192, 119, 0.12);
  border: 1px solid rgba(226, 192, 119, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2c077;
  flex-shrink: 0;
}
.tg-maison-link-icon-wrap svg {
  width: 18px;
  height: 18px;
}
.tg-maison-link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}
.tg-maison-link-title {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tg-maison-link-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: #d1b8c4;
}
.tg-maison-link-arrow {
  color: #e2c077;
  transition: transform 0.2s ease;
}

/* Social Media Gold Dock */
.tg-maison-social-dock {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
}
.tg-maison-social-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 48px !important;
  background: rgba(226, 192, 119, 0.05) !important;
  border: 1.5px solid rgba(226, 192, 119, 0.3) !important;
  color: #e2c077 !important;
  transition: all 0.22s ease;
}
.tg-maison-social-btn:hover {
  background: linear-gradient(135deg, #fff2ce 0%, #e2c077 50%, #b88e36 100%) !important;
  color: #1a0810 !important;
  border-color: #e2c077 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(226, 192, 119, 0.4);
}
.tg-maison-social-btn svg {
  width: 20px;
  height: 20px;
}

/* Royal Status Ribbon Footer Banner */
.tg-maison-info-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 16px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(50, 18, 32, 0.8) 0%, rgba(25, 8, 16, 0.95) 100%);
  border: 1px solid rgba(226, 192, 119, 0.3);
  box-sizing: border-box;
  margin-top: 10px;
  box-shadow: inset 0 0 15px rgba(226, 192, 119, 0.08);
}
.tg-maison-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2c077;
  text-align: left;
}
.tg-maison-info-item strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.tg-maison-info-item span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #d1b8c4;
}
.tg-maison-info-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(226, 192, 119, 0.4), transparent);
}

.tg-maison-footer {
  border-top: 1px solid rgba(226, 192, 119, 0.2) !important;
  color: rgba(226, 192, 119, 0.7) !important;
}

/* Light Mode Overrides */
.tg-mode--light .tg-pp__card--maison-noir {
  background: #ffffff !important;
  border-color: rgba(226, 192, 119, 0.5) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.1) !important;
  color: #1e1e24 !important;
}
.tg-mode--light .tg-maison-name {
  color: #b88e36 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
}
.tg-mode--light .tg-maison-tagline {
  color: #926f25 !important;
}
.tg-mode--light .tg-maison-bio {
  color: #475569 !important;
}
.tg-mode--light .tg-maison-quick-card {
  background: #fdfbf7 !important;
  border-color: rgba(226, 192, 119, 0.4) !important;
}
.tg-mode--light .tg-maison-quick-card__title {
  color: #1e1e24 !important;
}
.tg-mode--light .tg-maison-link-card {
  background: #fdfbf7 !important;
  border-color: rgba(226, 192, 119, 0.35) !important;
}
.tg-mode--light .tg-maison-link-title {
  color: #1e1e24 !important;
}
.tg-mode--light .tg-maison-social-btn {
  background: #fdfbf7 !important;
  border-color: rgba(226, 192, 119, 0.4) !important;
}
.tg-mode--light .tg-maison-info-card {
  background: #fdfbf7 !important;
  border-color: rgba(226, 192, 119, 0.4) !important;
}
.tg-mode--light .tg-maison-info-item strong {
  color: #1e1e24 !important;
}
