.gallery-welcome {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(6, 8, 12, 0.72);
}

.gallery-welcome[hidden] {
  display: none !important;
}

.gallery-welcome-card {
  width: min(32rem, 94vw);
  padding: 1.4rem 1.5rem 1.25rem;
  background: #12151c;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 12px;
  color: #eef3ee;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.gallery-welcome-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.8rem;
}

.gallery-welcome-card p {
  margin: 0 0 1rem;
  line-height: 1.45;
  color: rgba(238, 243, 238, 0.78);
}

.gallery-welcome-card strong {
  color: #f3d27a;
}

.name-ask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(6, 8, 12, 0.72);
}

.name-ask[hidden] {
  display: none !important;
}

.name-ask-card {
  width: min(26rem, 94vw);
  padding: 1.3rem 1.35rem 1.15rem;
  background: #12151c;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 12px;
  color: #eef3ee;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.name-ask-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}

.name-ask-card p {
  margin: 0 0 0.85rem;
  line-height: 1.45;
  color: rgba(238, 243, 238, 0.78);
}

.name-ask-card label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
}

.name-ask-card input {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.45rem;
  padding: 0.5rem 0.6rem;
  font: inherit;
  color: #eef3ee;
  background: #0e1016;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 6px;
}

.name-ask-status {
  min-height: 1.2em;
  margin: 0 0 0.55rem;
  color: #ff9c8a;
  font-size: 0.85rem;
}

.name-ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-tabs .tab[data-tab],
.kids-tabs .tab[data-tab] {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  white-space: normal !important;
  padding-top: 0.1rem;
}

.site-tabs-more-item[data-tab] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tab-tally {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 0.85em;
  margin: 0 0 0.08rem;
  color: rgba(180, 170, 140, 0.7);
  font-size: 0.66rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.tab-tally.has-opens {
  color: #e8c547;
}

.tab-eye-svg {
  width: 0.78rem;
  height: 0.52rem;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}

.tab-eye-outline {
  fill: none;
  stroke: rgba(160, 150, 120, 0.55);
  stroke-width: 1.35;
}

.tab-eye-iris {
  fill: none;
  stroke: rgba(160, 150, 120, 0.55);
  stroke-width: 1.15;
}

.tab-eye-pupil {
  fill: rgba(160, 150, 120, 0.55);
  stroke: none;
}

.tab-tally.has-opens .tab-eye-outline,
.tab-tally.has-opens .tab-eye-iris {
  stroke: rgba(201, 162, 39, 0.85);
}

.tab-tally.has-opens .tab-eye-pupil {
  fill: #c9a227;
}

.tab-opens {
  color: inherit;
}

.site-tabs-more-item[data-tab] .tab-tally {
  margin: 0.1rem 0 0.15rem;
}

.tab-name {
  white-space: nowrap;
}

.gallery-sales-stat:has(#gallery-checkins-inline) {
  display: none;
}

.gallery-megaphone {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  background: #1a1408;
  color: #f3d27a;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gallery-megaphone:hover {
  background: #c9a227;
  color: #14120f;
}

.gallery-feature {
  position: fixed;
  right: 1rem;
  bottom: 4.4rem;
  z-index: 46;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem 1rem;
  background: #16130f;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 10px;
  color: #ece4d4;
}

.gallery-feature[hidden] {
  display: none !important;
}

.gallery-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.gallery-feature p,
.gallery-feature label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #b9aea0;
}

.gallery-feature input,
.gallery-feature textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.45rem;
  padding: 0.4rem 0.5rem;
  font: inherit;
  color: inherit;
  background: #0c0a08;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.gallery-feature textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.gf-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

#gf-status {
  margin-top: 0.45rem;
  color: #c9a227;
}
