:root {
  --bg-deep: #121810;
  --bg-mid: #1e261c;
  --bg-soft: #2a3224;
  --surface: #0f0f10;
  --card: #161618;
  --text: #f5f5f7;
  --muted: #9a9aa2;
  --line: rgba(255, 255, 255, 0.08);
  --flame-a: #6b8f5e;
  --flame-b: #8fa86b;
  --legs-peach: #ff8c69;
  --accent-rgb: 107, 143, 94;
  --nope: #fd5068;
  --like: #2ee59d;
  --super: #3ca4ff;
  --rewind: #f5c451;
  --boost: #a855f7;
  --radius-card: 14px;
  --actions-bar-height: 82px;
  --safe-top: max(12px, env(safe-area-inset-top));
  --safe-bottom: max(12px, env(safe-area-inset-bottom));
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg-deep);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

body {
  background:
    radial-gradient(1200px 700px at 50% -10%, #354830 0%, transparent 55%),
    radial-gradient(900px 500px at 80% 110%, #283828 0%, transparent 50%),
    linear-gradient(165deg, #0c100c 0%, #141a14 40%, #0c0c10 100%);
}

.stage {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
}

.phone {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, #1c1c1e 0%, #121214 48%, #0d0d0f 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(2px, calc(var(--safe-top) - 10px)) 14px 2px;
  position: relative;
  z-index: 5;
}

.topbar-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo {
  display: block;
  height: 51px;
  width: auto;
  max-width: min(72vw, 440px);
  object-fit: contain;
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 40px;
  justify-content: flex-end;
}

.admin-topbar:not([hidden]) {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

.admin-topbar[hidden] {
  display: none !important;
}

.admin-topbar__link,
.admin-topbar__btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.admin-topbar__link {
  color: var(--flame-a);
  text-decoration: none;
  border: 1px solid rgba(107, 143, 94, 0.3);
  background: transparent;
}

.admin-topbar__link:hover {
  background: rgba(107, 143, 94, 0.14);
  border-color: rgba(107, 143, 94, 0.52);
}

.admin-topbar__btn {
  font: inherit;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-topbar__btn:hover:not(:disabled) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.admin-topbar__btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6e6e76;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.icon-btn:hover {
  color: #cfcfd4;
}

.icon-btn:active {
  transform: scale(0.92);
}

.icon-btn--profile {
  position: relative;
  overflow: hidden;
}

.topbar-profile-photo {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--accent-rgb), 0.45);
}

.topbar-profile-photo[hidden] {
  display: none !important;
}

.topbar-profile-icon {
  display: grid;
  place-items: center;
}

.icon-btn--profile.has-photo .topbar-profile-icon {
  display: none;
}

/* Must follow .icon-btn — higher specificity overrides display: grid */
.icon-btn.panel-close-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(var(--accent-rgb), 0.75);
  background: rgba(var(--accent-rgb), 0.22);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(var(--accent-rgb), 0.28);
}

.phone--panel-open .icon-btn.panel-close-btn {
  display: grid;
}

.icon-btn.panel-close-btn:hover {
  background: rgba(var(--accent-rgb), 0.38);
  border-color: rgba(var(--accent-rgb), 0.95);
  color: #fff;
}

.deck-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0 12px 0;
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px 4px;
  z-index: 4;
}

.filter-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--flame-a);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.filter-toggle:hover {
  background: rgba(var(--accent-rgb), 0.22);
  border-color: rgba(var(--accent-rgb), 0.55);
}

.filter-toggle.is-open,
.filter-toggle.has-active {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: var(--flame-a);
  color: #fff;
}

.browse-view-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.1);
  gap: 2px;
}

.browse-view-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.browse-view-btn:hover {
  color: #fff;
  background: rgba(var(--accent-rgb), 0.18);
}

.browse-view-btn.is-active {
  color: #fff;
  background: rgba(var(--accent-rgb), 0.32);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.filters-panel[hidden] {
  display: none;
}

.filters-panel {
  padding-bottom: 2px;
}

.filterbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 2px 4px;
  z-index: 4;
}

.filter-label {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.country-picker {
  position: relative;
  flex: 0 1 auto;
  max-width: 100%;
}

.country-picker__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background-color: rgba(12, 12, 14, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  padding: 10px 12px 10px 14px;
  font: inherit;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.country-picker__trigger:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.22);
  background-color: rgba(12, 12, 14, 0.48);
}

.country-picker__trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(12, 12, 14, 0.48);
}

.country-picker__trigger:disabled {
  opacity: 0.55;
  cursor: default;
}

.country-picker__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-picker__chevron {
  flex-shrink: 0;
  color: var(--flame-a);
  transition: transform 0.2s;
}

.country-picker.is-open .country-picker__chevron {
  transform: rotate(180deg);
}

.profile-search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background-color: rgba(12, 12, 14, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 10px 0 12px;
  transition: border-color 0.2s, background-color 0.2s;
}

.profile-search:focus-within {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(12, 12, 14, 0.48);
}

.filterbar--advanced {
  padding-top: 0;
  gap: 8px 10px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 120px;
  min-width: 0;
}

.filter-field--range {
  flex: 1 1 150px;
}

.filter-field--sort {
  flex: 1 1 168px;
}

select.filter-field__input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 1px), calc(100% - 11px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}

.profile-grid__photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.72;
  border-radius: 10px;
  overflow: hidden;
}

.profile-grid__photo-wrap .profile-grid__photo,
.profile-grid__photo-wrap .profile-grid__photo.is-empty {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.grid-tile-overlay {
  top: auto;
  bottom: 8px;
  left: 8px;
  right: 8px;
  transform: none;
  align-items: flex-start;
  padding: 5px 8px;
}

.grid-tile-overlay .card-stack-overlay__rank {
  font-size: 0.68rem;
}

.grid-tile-overlay .card-stack-overlay__boost {
  font-size: 0.64rem;
}

.filter-field__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.filter-field__input {
  width: 100%;
  min-width: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.38);
  color: var(--text);
  padding: 8px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
  accent-color: var(--flame-a);
  color-scheme: dark;
}

.filter-field__input[type="number"] {
  -moz-appearance: auto;
}

.filter-field__input[type="number"]::-webkit-inner-spin-button,
.filter-field__input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(36%) sepia(89%) saturate(2878%) hue-rotate(318deg) brightness(99%) contrast(104%);
}

.filter-field__input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(12, 12, 14, 0.48);
}

.filter-field__input:disabled {
  opacity: 0.55;
}

.filter-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-range .filter-field__input {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

.filter-range__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.filter-clear {
  flex: 0 0 auto;
  align-self: flex-end;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--flame-a);
  padding: 8px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-clear:hover:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.28);
}

.filter-clear[hidden] {
  display: none;
}

.filter-field--city {
  position: relative;
  flex: 1.4 1 180px;
}

.city-autocomplete {
  position: relative;
}

.city-autocomplete__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: min(280px, 40vh);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 18, 0.98);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.city-autocomplete__menu[hidden] {
  display: none;
}

.city-autocomplete__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.city-autocomplete__option:hover,
.city-autocomplete__option:focus-visible {
  background: rgba(var(--accent-rgb), 0.14);
}

.city-autocomplete__name {
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-autocomplete__meta,
.city-autocomplete__count {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.card-price {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.profile-search__icon {
  flex-shrink: 0;
  color: #9a9aa2;
}

.profile-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 0;
  outline: none;
}

.profile-search__input::placeholder {
  color: #6e6e76;
  font-weight: 500;
}

.profile-search__input:disabled {
  opacity: 0.55;
  cursor: default;
}

.profile-search__input::-webkit-search-cancel-button {
  display: none;
}

.profile-search__clear {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcfd4;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.profile-search__clear:hover {
  background: rgba(var(--accent-rgb), 0.22);
  color: #fff;
}

.profile-search__clear[hidden] {
  display: none;
}

.country-picker__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 100%;
  width: max-content;
  max-width: min(92vw, 320px);
  max-height: min(50vh, 320px);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background-color: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.country-picker__menu[hidden] {
  display: none;
}

.country-picker__option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.country-picker__option:hover,
.country-picker__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.country-picker__option.is-selected {
  background: rgba(var(--accent-rgb), 0.16);
  color: #fff;
}

.country-picker__option.is-selected:hover,
.country-picker__option.is-selected:focus-visible {
  background: rgba(var(--accent-rgb), 0.24);
}

.deck-area {
  position: relative;
  flex: 1;
  min-height: 0;
}

.search-results {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
}

.search-results[hidden] {
  display: none;
}

.search-results__count {
  margin: 0 0 4px;
  padding: 0 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.search-results__count[hidden] {
  display: none;
}

.search-results__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-results__empty {
  margin: 24px 12px 0;
  text-align: center;
  font-size: 0.92rem;
}

.search-results__empty[hidden] {
  display: none;
}

.search-results__loading {
  margin: 20px 12px 0;
  text-align: center;
  font-size: 0.92rem;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 3px 8px;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.search-result:hover,
.search-result:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.search-result__photo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  background: #222;
}

.search-result__photo.is-empty {
  background: linear-gradient(145deg, #2a2a30, #18181c);
}

.search-result__body {
  min-width: 0;
  flex: 1;
  padding: 2px 0;
}

.search-result__name {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result__meta {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 900px) {
  .search-results {
    padding: 8px 14px 16px;
  }

  .search-results__count {
    padding: 0 4px 8px;
    font-size: 0.88rem;
  }

  .search-results__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 12px;
  }

  .search-result {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  }

  .search-result:hover,
  .search-result:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(var(--accent-rgb), 0.4);
    transform: translateY(-1px);
  }

  .search-result__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 0;
  }

  .search-result__photo.is-empty {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .search-result__body {
    padding: 10px 12px 12px;
  }

  .search-result__name {
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: normal;
  }

  .search-result__meta {
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.3;
    white-space: normal;
  }
}

@media (min-width: 1200px) {
  .search-results__list {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
    gap: 14px;
  }

  .search-result__name {
    font-size: 1.1rem;
  }
}

@media (min-width: 1600px) {
  .search-results {
    padding: 10px 20px 20px;
  }

  .search-results__list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }

  .search-result__body {
    padding: 12px 14px 14px;
  }

  .search-result__name {
    font-size: 1.15rem;
  }

  .search-result__meta {
    font-size: 0.88rem;
  }
}

.deck {
  position: relative;
  width: 100%;
  height: 100%;
}

.deck[hidden] {
  display: none;
}

.profile-grid {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 2px 2px 4px;
  -webkit-overflow-scrolling: touch;
}

.profile-grid[hidden] {
  display: none;
}

.profile-grid__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-grid__tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.profile-grid__tile:hover,
.profile-grid__tile:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-1px);
  outline: none;
}

.profile-grid__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: #222;
}

.profile-grid__photo.is-empty {
  background: linear-gradient(145deg, #2a2a30, #18181c);
}

.profile-grid__body {
  padding: 10px 10px 12px;
  min-width: 0;
}

.profile-grid__name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.profile-grid__meta {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}

@media (min-width: 520px) {
  .profile-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .profile-grid {
    padding: 8px 14px 16px;
  }

  .profile-grid__list {
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 12px;
  }

  .profile-grid__body {
    padding: 10px 12px 12px;
  }

  .profile-grid__name {
    font-size: 1.05rem;
  }

  .profile-grid__meta {
    font-size: 0.84rem;
  }
}

.card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  will-change: transform;
  cursor: grab;
  touch-action: none;
}

.card:active {
  cursor: grabbing;
}

.card.is-top {
  z-index: 3;
}

.card.is-next {
  z-index: 2;
  transform: scale(0.97) translateY(8px);
}

.card.is-third {
  z-index: 1;
  transform: scale(0.94) translateY(16px);
  opacity: 0.85;
}

.card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #121214;
}

.card-photos {
  position: absolute;
  inset: 0;
  background: #121214;
}

.card-photos .card-photo {
  position: absolute;
  inset: 0;
}

.card-side {
  display: none;
}

.card-photo-empty {
  background:
    radial-gradient(circle at 30% 25%, #3a3a42 0%, transparent 45%),
    #2a2a2e;
}

@media (min-width: 900px) {
  .card-photos.has-sides {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3px;
    padding: 0;
  }

  .card-photos.has-sides .card-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0c0c0e;
  }

  .card-photos.has-sides .card-side {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: #0c0c0e;
    opacity: 0.95;
  }

  .card-photos.has-sides .card-side.is-empty {
    background:
      linear-gradient(180deg, #1a1a1e 0%, #121214 100%);
  }

  .card-photos.is-loading-sides .card-side-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c0c0e;
  }
}

.profile-ripple-loader {
  width: 40px;
  height: 40px;
  display: block;
  overflow: visible;
}

.profile-ripple-loader--large {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
}

.profile-ripple-loader__core {
  fill: rgba(107, 143, 94, 0.42);
}

.profile-ripple-loader__ring {
  fill: none;
  stroke: rgba(143, 166, 107, 0.55);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: profile-ripple-out 2.4s ease-out infinite;
}

.profile-ripple-loader__ring:nth-of-type(1) {
  animation-delay: 0s;
}

.profile-ripple-loader__ring:nth-of-type(2) {
  animation-delay: 0.8s;
}

.profile-ripple-loader__ring:nth-of-type(3) {
  animation-delay: 1.6s;
}

@keyframes profile-ripple-out {
  0% {
    transform: scale(0.5);
    opacity: 0.55;
  }
  100% {
    transform: scale(2.75);
    opacity: 0;
  }
}

.card-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 28%, transparent 52%);
  pointer-events: none;
}

.photo-dots {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.photo-dots span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.photo-dots span.on {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.15);
}

.card-profile-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
}

.card-profile-link:hover {
  background: rgba(var(--accent-rgb), 0.55);
}

.like-tile-link {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 36px;
  z-index: 2;
}

.like-tile-link .card-profile-link {
  margin-top: 0;
  width: 100%;
  justify-content: center;
  font-size: 0.68rem;
  padding: 6px 8px;
}

.card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 18px calc(16px + var(--actions-bar-height));
  z-index: 4;
}

.card-name {
  font-family: "Nunito", sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.card-name span {
  font-weight: 700;
  opacity: 0.95;
}

.card-meta {
  margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-bio {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stamp {
  position: absolute;
  top: 56px;
  padding: 8px 12px;
  border: 4px solid;
  border-radius: 8px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(-18deg) scale(0.9);
  pointer-events: none;
  z-index: 4;
}

.stamp.like {
  left: 18px;
  color: var(--like);
  border-color: var(--like);
  transform: rotate(-18deg) scale(0.9);
}

.stamp.nope {
  right: 18px;
  color: var(--nope);
  border-color: var(--nope);
  transform: rotate(18deg) scale(0.9);
}

.stamp.super {
  left: 50%;
  top: 40%;
  transform: translateX(-50%) rotate(-8deg) scale(0.9);
  color: var(--super);
  border-color: var(--super);
}

.empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
}

.empty-state[hidden] {
  display: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.15);
  }
}

.empty-state h2 {
  font-family: "Nunito", sans-serif;
  font-size: 1.35rem;
}

.empty-state p {
  color: var(--muted);
  font-size: 0.95rem;
}

.reload-btn {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--flame-a), var(--flame-b));
  cursor: pointer;
}

.actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--actions-bar-height);
  padding: 10px 12px 8px;
  z-index: 5;
  background: rgba(12, 12, 14, 0.65);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.actions:not([hidden]) .action {
  pointer-events: auto;
}

.actions[hidden] {
  display: none !important;
}

.action {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #1a1a1c;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.action:active:not(:disabled) {
  transform: scale(0.9);
}

.action:disabled {
  opacity: 0.35;
  cursor: default;
}

.action.rewind {
  width: 44px;
  height: 44px;
  color: var(--rewind);
}
.action.nope {
  width: 60px;
  height: 60px;
  color: var(--nope);
}
.action.super {
  width: 44px;
  height: 44px;
  color: var(--super);
}
.action.like {
  width: 60px;
  height: 60px;
  color: var(--like);
}
.action.boost {
  width: 44px;
  height: 44px;
  color: var(--boost);
}

.action:hover:not(:disabled) {
  background: #222226;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 2px 8px var(--safe-bottom);
  border-top: 1px solid var(--line);
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(12px);
  z-index: 6;
}

.tab {
  position: relative;
  height: 48px;
  border: 0;
  background: transparent;
  color: #5c5c64;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.tab.active {
  color: var(--flame-a);
}

.tab[data-tab="home"].active {
  color: var(--legs-peach);
}

.tab:active {
  transform: scale(0.94);
}

.badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--flame-a), var(--flame-b));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}

.badge.show {
  opacity: 1;
  transform: scale(1);
}

.badge.badge--messages {
  top: 6px;
  bottom: auto;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: linear-gradient(90deg, var(--flame-a), var(--flame-b));
  box-shadow: 0 0 0 2px #121214;
  opacity: 0;
  transform: scale(0.6);
  z-index: 2;
  pointer-events: none;
}

.badge.badge--messages.show {
  opacity: 1;
  transform: scale(1);
}

.panel {
  position: absolute;
  inset: 0;
  top: calc(var(--safe-top) + 56px);
  bottom: calc(56px + var(--safe-bottom));
  z-index: 8;
  background: #121214;
  padding: 8px 20px 20px;
  overflow: auto;
  animation: rise 0.28s ease;
}

/* Sign-up / publish panel: full-screen with logo floating above */
#panel-explore {
  inset: 0;
  top: 0;
  bottom: 0;
  padding: calc(var(--safe-top) + 62px) 20px calc(56px + var(--safe-bottom) + 12px);
  transition: padding 0.28s ease, top 0.28s ease;
}

#panel-explore > h2,
#panel-explore > #publish-intro,
#panel-explore > .publish-mode-tabs {
  transition: opacity 0.24s ease;
}

.publish-chrome--hidden {
  opacity: 0;
}

/* Video ID step — keep camera preview and controls within the viewport */
#panel-explore.panel--video-step:not([hidden]) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#panel-explore.panel--video-step > h2 {
  flex-shrink: 0;
  margin-bottom: 4px;
  font-size: 1.35rem;
}

#panel-explore.panel--video-step > #publish-intro {
  flex-shrink: 0;
  margin-bottom: 8px;
  font-size: 0.88rem;
  line-height: 1.35;
}

#panel-explore.panel--video-step #publish-video {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

#panel-explore.panel--video-step #publish-video > .muted {
  flex-shrink: 0;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}

#panel-explore.panel--video-step .video-id-box {
  flex-shrink: 0;
  padding: 8px 12px;
  margin-bottom: 0;
}

#panel-explore.panel--video-step .video-id-code-val {
  font-size: 1.25rem;
}

#panel-explore.panel--video-step .video-recorder-wrap {
  --video-max-h: min(36dvh, calc(100dvh - var(--safe-top) - var(--safe-bottom) - 17.5rem));
  flex: 1 1 auto;
  min-height: 96px;
  width: min(100%, calc(var(--video-max-h) * 4 / 3));
  max-height: var(--video-max-h);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  margin-bottom: 0;
}

#panel-explore.panel--video-step .video-btn-row {
  flex-shrink: 0;
}

#panel-explore.panel--video-step #video-status {
  flex-shrink: 0;
  margin: 0;
}

/* Profile sign-up / edit — sit below topbar so the main logo stays visible */
#panel-explore.panel--profile-form:not([hidden]) {
  top: calc(var(--safe-top) + 56px);
  bottom: calc(56px + var(--safe-bottom));
  padding: 6px 16px 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #22d3ee transparent;
}

.phone--profile-form-open .topbar {
  z-index: 15;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 30, 0.98) 0%,
    rgba(28, 28, 30, 0.92) 72%,
    rgba(28, 28, 30, 0) 100%
  );
  transition: background 0.28s ease;
}

.phone--profile-form-open .topbar .brand-logo {
  height: 48px;
}

#panel-explore.panel--profile-form::-webkit-scrollbar {
  width: 9px;
}

#panel-explore.panel--profile-form::-webkit-scrollbar-track {
  background: transparent;
}

#panel-explore.panel--profile-form::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.88);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

#panel-explore.panel--profile-form::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 1);
  background-clip: padding-box;
}

#panel-explore.panel--profile-form > h2 {
  flex-shrink: 0;
  margin-bottom: 0;
  font-size: 1.45rem;
}

#panel-explore.panel--profile-form > #publish-intro {
  flex-shrink: 0;
  margin-bottom: 4px;
  font-size: 0.84rem;
  line-height: 1.32;
}

#panel-explore.panel--profile-form .publish-mode-tabs {
  flex-shrink: 0;
  margin-bottom: 6px;
  gap: 6px;
}

#panel-explore.panel--profile-form .publish-mode-tab {
  padding: 8px 10px;
  font-size: 0.88rem;
}

#panel-explore.panel--profile-form .publish-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#panel-explore.panel--profile-form .publish-stage > .publish-pane--active {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#panel-explore.panel--profile-form .publish-form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding-bottom: 0;
}

#panel-explore.panel--profile-form #publish-details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #22d3ee transparent;
}

#panel-explore.panel--profile-form #publish-details::-webkit-scrollbar {
  width: 9px;
}

#panel-explore.panel--profile-form #publish-details::-webkit-scrollbar-track {
  background: transparent;
}

#panel-explore.panel--profile-form #publish-details::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.88);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

#panel-explore.panel--profile-form .publish-details-top {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#panel-explore.panel--profile-form .verified-banner {
  margin-bottom: 0;
  padding: 8px 12px;
  gap: 8px;
  font-size: 0.92rem;
}

#panel-explore.panel--profile-form .account-error {
  margin-bottom: 6px;
  padding: 8px 11px;
  font-size: 0.82rem;
}

#panel-explore.panel--profile-form .publish-details-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(152px, 42%);
  gap: 6px 8px;
  align-items: start;
  min-height: 0;
}

#panel-explore.panel--profile-form .publish-details-fields {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
  min-height: 0;
  align-content: start;
}

#panel-explore.panel--profile-form .publish-details-fields > .field:not(.field--full) {
  width: auto;
}

#panel-explore.panel--profile-form .publish-details-side {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 0;
  height: auto;
  max-height: 100%;
  width: 100%;
  gap: 4px;
}

#panel-explore.panel--profile-form #account-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

#panel-explore.panel--profile-form .field {
  gap: 4px;
  font-size: 0.82rem;
}

#panel-explore.panel--profile-form .field em {
  font-size: 0.72rem;
}

#panel-explore.panel--profile-form .field input,
#panel-explore.panel--profile-form .field textarea {
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.88rem;
}

#panel-explore.panel--profile-form .field input[type="file"] {
  padding: 8px;
  font-size: 0.76rem;
}

#panel-explore.panel--profile-form .field-hint {
  margin-top: 2px;
  font-size: 11px;
}

#panel-explore.panel--profile-form .pricing-grid {
  gap: 6px 8px;
  margin-top: 2px;
}

#panel-explore.panel--profile-form .pricing-hint {
  margin-top: 2px;
  font-size: 10px;
}

#panel-explore.panel--profile-form .pricing-currency-picker select {
  padding: 5px 8px;
  font-size: 12px;
}

#panel-explore.panel--profile-form .owner-banner {
  gap: 8px 12px;
  padding: 10px 12px;
}

#panel-explore.panel--profile-form .owner-banner__body {
  gap: 5px;
}

#panel-explore.panel--profile-form .owner-banner__signed-in,
#panel-explore.panel--profile-form .owner-banner p {
  font-size: 0.84rem;
}

#panel-explore.panel--profile-form .owner-verify__text {
  font-size: 0.8rem;
  line-height: 1.45;
}

#panel-explore.panel--profile-form .owner-verify__boost {
  font-size: 0.76rem;
}

#panel-explore.panel--profile-form .owner-verify__badge {
  font-size: 0.88rem;
}

#panel-explore.panel--profile-form .owner-banner .owner-verify__btn {
  padding: 7px 12px;
  font-size: 0.8rem;
}

#panel-explore.panel--profile-form .owner-boost-badge {
  padding: 6px 10px;
  font-size: 0.8rem;
}

#panel-explore.panel--profile-form .field--full {
  grid-column: 1 / -1;
  min-height: auto;
  display: flex;
  flex-direction: column;
}

#panel-explore.panel--profile-form .field--bio textarea {
  flex: 0 0 auto;
  height: 3.25rem;
  min-height: 3.25rem;
  max-height: 3.25rem;
  resize: none;
  overflow-y: auto;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.password-input-wrap input {
  flex: 1 1 auto;
  padding-right: 4.5rem;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 255, 255, 0.9);
  background: rgba(0, 255, 255, 0.1);
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(0, 255, 255, 0.18);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 4px;
}

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing-currency-picker select {
  min-width: 7.5rem;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  font: inherit;
  font-size: 13px;
}

.pricing-hint {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
}

.pricing-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 12, 14, 0.85);
  padding: 0 8px 0 14px;
  color-scheme: dark;
}

.pricing-input-wrap:focus-within {
  border-color: rgba(var(--accent-rgb), 0.55);
}

.pricing-currency-prefix {
  flex: 0 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pricing-field .pricing-input-wrap input {
  flex: 1 1 auto;
  min-width: 0;
  width: 0;
  border: none;
  background: transparent;
  padding: 12px 0;
  box-shadow: none;
}

.pricing-field .pricing-input-wrap input:focus {
  border-color: transparent;
  outline: none;
}

.pricing-field .pricing-input-wrap input[type="number"] {
  padding-right: 0;
}

.pricing-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-field > span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-field--overnight {
  grid-column: 1 / -1;
}

#panel-explore.panel--profile-form .field--pricing {
  min-height: auto;
}

#panel-explore.panel--profile-form .field--photos {
  flex-shrink: 0;
  margin: 0;
}

.photos-file-picker {
  display: flex;
}

.photos-browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

#panel-explore.panel--registration-form .field--photos {
  gap: 4px;
}

#panel-explore.panel--registration-form .photos-browse-btn {
  padding: 9px 14px;
  font-size: 0.88rem;
}

#panel-explore.panel--profile-form .publish-previews-host {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  position: relative;
}

#panel-explore.panel--registration-form .publish-details-grid {
  gap: 4px 6px;
  align-items: stretch;
  min-height: 0;
}

#panel-explore.panel--registration-form .publish-details-side {
  min-height: 0;
}

#panel-explore.panel--registration-form .publish-details-side .field--bio {
  flex-shrink: 0;
  width: 100%;
}

#panel-explore.panel--registration-form .publish-previews-host {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
}

#panel-explore.panel--registration-form .publish-previews {
  height: 100%;
  max-height: none;
}

#panel-explore.panel--registration-form .publish-previews:has(img) {
  max-height: none;
}

#panel-explore.panel--registration-form .publish-previews img {
  max-height: none;
}

#panel-explore.panel--registration-form .publish-details-fields,
#panel-explore.panel--registration-form #account-fields {
  gap: 4px 6px;
}

#panel-explore.panel--registration-form .field input,
#panel-explore.panel--registration-form .field textarea {
  padding: 7px 10px;
}

#panel-explore.panel--registration-form .field--bio textarea {
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
}

#panel-explore.panel--registration-form .profile-photo-drop__overlay {
  padding: 6px;
  font-size: 0.65rem;
  line-height: 1.3;
}

.profile-photo-drop {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.profile-photo-drop[hidden] {
  display: none;
}

.profile-photo-drop:focus-visible {
  outline: none;
}

.profile-photo-drop:focus-visible .profile-photo-drop__figure {
  outline: 2px solid rgba(34, 211, 238, 0.85);
  outline-offset: 2px;
}

.profile-photo-drop__figure {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.18s ease;
}

.profile-photo-drop--dragover .profile-photo-drop__figure {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22);
}

.profile-photo-drop__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24%;
  opacity: 0.5;
  display: block;
  pointer-events: none;
  user-select: none;
}

.profile-photo-drop__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

#panel-explore.panel--profile-form .publish-previews {
  flex: none;
  min-height: 0;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 8px;
  align-content: stretch;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  padding: 6px;
}

#panel-explore.panel--profile-form .publish-previews:has(img) {
  background: transparent;
  border-color: transparent;
  padding: 0;
}

#panel-explore.panel--profile-form .publish-previews:has(> :only-child) {
  grid-template-columns: 1fr;
}

#panel-explore.panel--profile-form .publish-previews > :only-child {
  grid-column: 1 / -1;
}

#panel-explore.panel--profile-form .publish-previews img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

#panel-explore.panel--profile-form .publish-submit-btn {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 0;
  padding: 11px 16px;
  font-size: 0.92rem;
}

#panel-explore.panel--profile-form #publish-status {
  flex-shrink: 0;
  margin: 0 0 2px;
  font-size: 0.84rem;
}

.phone--panel-open .topbar {
  z-index: 20;
  pointer-events: none;
}

.phone--panel-open #btn-profile {
  display: none;
}

.phone--panel-open.phone--profile-form-open .topbar {
  z-index: 30;
}

.phone--panel-open .topbar .brand,
.phone--panel-open .topbar .icon-btn,
.phone--panel-open .topbar .admin-topbar,
.phone--panel-open .topbar .admin-topbar a,
.phone--panel-open .topbar .admin-topbar button {
  pointer-events: auto;
}

.phone--panel-open .panel-close-btn {
  position: relative;
  z-index: 21;
}

.phone--panel-open .tabbar {
  position: relative;
  z-index: 25;
  margin-top: auto;
  flex-shrink: 0;
  pointer-events: auto;
}

.phone--panel-open .tabbar .tab {
  pointer-events: auto;
}

.phone--panel-open .deck-wrap {
  display: none !important;
}

.phone--panel-open .actions {
  display: none !important;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel h2 {
  font-family: "Nunito", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.panel > p,
.muted {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

#panel-chat {
  --accent: #6b8f5e;
  --text-muted: var(--muted);
  --nav-row-height: 0px;
  display: flex;
  flex-direction: column;
  padding: 8px 12px 12px;
  overflow: hidden;
}

#panel-chat > h2 {
  flex-shrink: 0;
  margin: 0 0 8px;
}

#panel-chat .messages-main--embed {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
}

#panel-chat #messages-loading {
  margin: auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

#panel-chat #messages-loading a {
  color: var(--accent);
}

#panel-chat .messages-layout {
  flex: 1;
  min-height: 0;
}

#panel-chat .messages-sidebar {
  max-height: none;
  flex: 0 0 min(240px, 38%);
}

#panel-chat .messages-detail {
  max-height: none;
  flex: 1;
  min-height: 0;
}

@media (max-width: 720px) {
  #panel-chat .messages-layout {
    flex-direction: column;
  }

  #panel-chat .messages-sidebar {
    flex: none;
    max-width: none;
    max-height: 180px;
  }

  #panel-chat .messages-detail {
    flex: 1;
    min-height: 12rem;
  }
}

.publish-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 16px;
}

.publish-mode-tab {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
}

.publish-mode-tab.is-active {
  border-color: rgba(var(--accent-rgb), 0.65);
  background: rgba(var(--accent-rgb), 0.12);
}

.publish-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.publish-pane {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.publish-pane.publish-pane--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.publish-signin {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.owner-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.08);
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.owner-banner__body {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owner-banner__signed-in {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.owner-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.owner-banner .publish-cancel-pay {
  padding: 4px 0;
  flex-shrink: 0;
}

.owner-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

.owner-banner .owner-verify__btn {
  width: auto;
  padding: 8px 14px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.owner-banner .publish-cancel-pay.is-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: wait;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.edit-code-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid rgba(46, 229, 157, 0.35);
  border-radius: 14px;
  background: rgba(46, 229, 157, 0.08);
}

.edit-code-panel[hidden],
.owner-banner[hidden],
.publish-mode-tabs[hidden],
#account-fields[hidden] {
  display: none;
}

.auth-footer-links {
  margin: 0;
  text-align: center;
}

button.linkish {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
}

button.linkish:hover {
  color: var(--text);
}

.publish-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 24px;
}

#publish-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.publish-details-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.publish-details-grid {
  display: contents;
}

.publish-details-fields {
  display: contents;
}

.publish-details-side {
  display: contents;
}

#account-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#publish-details[hidden],
#publish-submit[hidden] {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.field em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}

.field-row {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 10px;
}

.field input,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 12, 14, 0.85);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  outline: none;
  width: 100%;
  color-scheme: dark;
  accent-color: var(--flame-b);
}

.field input[type="number"] {
  padding-right: 6px;
}

.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
  opacity: 1;
  height: 2.2em;
  margin-left: 6px;
  cursor: pointer;
  filter: brightness(0) invert(0.62);
}

.field input[type="number"]::-webkit-inner-spin-button:hover,
.field input[type="number"]::-webkit-outer-spin-button:hover {
  filter: brightness(0) invert(0.55) sepia(1) saturate(4) hue-rotate(295deg);
}

@supports (-moz-appearance: none) {
  .field input[type="number"] {
    -moz-appearance: auto;
  }
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.55);
}

.field input:read-only {
  opacity: 0.92;
  cursor: default;
  background: rgba(255, 255, 255, 0.04);
}

.field input[type="file"] {
  padding: 10px;
  font-size: 0.82rem;
}

.publish-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.publish-previews img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 10px;
  background: #222;
}

.account-error {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(253, 80, 104, 0.12);
  border: 1px solid rgba(253, 80, 104, 0.35);
  color: #fd5068;
  font-size: 0.88rem;
  line-height: 1.45;
}

.account-error[hidden] {
  display: none;
}

.field-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.field-hint[hidden] {
  display: none;
}

.field-hint.is-checking {
  color: rgba(255, 255, 255, 0.45);
}

.field-hint.is-error {
  color: #fd5068;
}

.field-hint.is-ok {
  color: rgba(120, 220, 160, 0.92);
}

.publish-status {
  margin: 0;
  font-size: 0.9rem;
}

.publish-status--loading,
.publish-card-status.is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
}

.publish-status--success,
.publish-card-status.is-success {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--like);
  text-align: center;
}

.publish-card-status.is-error,
.publish-status--error {
  color: #fd5068;
}

.pay-spinner {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(245, 245, 247, 0.25);
  border-top-color: #f5f5f7;
  border-radius: 50%;
  animation: pay-spin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes pay-spin {
  to {
    transform: rotate(360deg);
  }
}

.publish-card-wrap.is-processing {
  opacity: 0.55;
  pointer-events: none;
}

.publish-pay.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: wait;
}

#signin-status {
  margin: 0.65rem 0 0;
  text-align: center;
}

#signin-status.publish-status--error {
  color: #fd5068;
}

.publish-card-status {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.publish-card-status.is-loading {
  margin-top: 0.85rem;
}

.publish-card-status[hidden] {
  display: none;
}

.publish-status[hidden] {
  display: none;
}

.owner-verify__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.owner-verify__badge.is-verified { color: #2ee59d; }
.owner-verify__badge.is-pending { color: #f5c451; }

.owner-banner .owner-verify__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.owner-verify__text strong { color: #2ee59d; }

.owner-banner .owner-verify__boost {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2ee59d;
  line-height: 1.4;
}

.owner-banner .owner-boost-badge {
  margin: 0;
}

.owner-verify__btn {
  width: 100%;
}

.publish-submit-btn {
  width: 100%;
}

/* Verified / unverified profile tags */
.verify-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.verify-tag--yes {
  background: rgba(46, 229, 157, 0.16);
  color: #2ee59d;
  border: 1px solid rgba(46, 229, 157, 0.4);
}

.verify-tag--no {
  background: rgba(255, 72, 72, 0.18);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.55);
}

.verify-tag--prominent {
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.verify-tag--external {
  background: rgba(110, 181, 255, 0.16);
  color: #8ec5ff;
  border: 1px solid rgba(110, 181, 255, 0.45);
}

.card-stack-overlay {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.card-stack-overlay__rank {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.card-stack-overlay__boost {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(216, 180, 254, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.card-stack-overlay__boost:empty {
  display: none;
}

.card:not(:has(.card-verify-tag)) .card-stack-overlay {
  top: 12px;
}

/* Tag pinned on swipe-deck card photo */
.card-verify-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.card-verify-tag.verify-tag--external,
.card-verify-tag.verify-tag--prominent {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.boost-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.card-boost-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  font-size: 0.78rem;
}

.video-id-box {
  background: rgba(107, 143, 94, 0.1);
  border: 1px solid rgba(107, 143, 94, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 12px;
  text-align: center;
}

.pending-review-box {
  text-align: center;
  padding: 10px 6px 4px;
}

.pending-review-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(245, 196, 81, 0.14);
  color: #f5c451;
  margin-bottom: 12px;
}

.pending-review-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.pending-review-text {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.pending-review-text strong {
  color: var(--text);
}

.video-id-line {
  margin: 2px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.video-id-code-val {
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  color: var(--flame-a);
  margin-top: 4px;
}

.video-id-site {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.video-id-steps {
  margin: 0 0 14px;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: left;
}

.video-id-steps li + li {
  margin-top: 0.35rem;
}

.video-recorder-wrap.is-uploading .video-recorder-preview {
  opacity: 0.45;
}

.video-upload-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: inherit;
  background: rgba(8, 8, 10, 0.72);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.video-upload-overlay[hidden] {
  display: none !important;
}

.video-recorder-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 10px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.video-recorder-wrap.is-recording {
  border-color: #fd5068;
}

.video-recorder-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-rec-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
}

.video-rec-overlay[hidden] {
  display: none;
}

.video-rec-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fd5068;
  box-shadow: 0 0 6px rgba(253, 80, 104, 0.8);
  animation: video-rec-blink 1s steps(1) infinite;
}

@keyframes video-rec-blink {
  50% { opacity: 0.2; }
}

.video-rec-timer {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.video-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.video-btn {
  flex: 1;
  min-width: 110px;
  font-size: 0.88rem;
  padding: 10px 12px;
}

.video-btn--stop {
  background: linear-gradient(90deg, #8f3a3a, #6b2a2a);
}

.verified-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.3);
  color: #2ee59d;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.verified-banner[hidden] {
  display: none !important;
}

.verified-table {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verified-table > div {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(42, 50, 36, 0.55);
  border-radius: 8px;
  font-size: 0.88rem;
}

.verified-table dt {
  color: var(--muted);
  min-width: 88px;
  flex-shrink: 0;
  font-weight: 500;
}

.verified-table dd {
  margin: 0;
  color: var(--text);
  word-break: break-word;
}

.publish-pay {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--flame-a), var(--flame-b));
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.28);
}

.publish-pay:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

.publish-pay--translucent {
  color: rgba(255, 255, 255, 0.96);
  background-color: rgba(var(--accent-rgb), 0.1);
  background-image: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 92%,
    rgba(var(--accent-rgb), 0.22) 97%,
    rgba(var(--accent-rgb), 0.38) 100%
  );
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 3px 1px rgba(var(--accent-rgb), 0.18),
    0 6px 16px rgba(var(--accent-rgb), 0.12);
}

.publish-pay--translucent:hover {
  background-color: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.42);
  background-image: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 92%,
    rgba(var(--accent-rgb), 0.28) 97%,
    rgba(var(--accent-rgb), 0.46) 100%
  );
  box-shadow:
    inset 0 0 4px 1px rgba(var(--accent-rgb), 0.24),
    0 8px 20px rgba(var(--accent-rgb), 0.16);
}

.publish-pay--translucent:active {
  background-color: rgba(var(--accent-rgb), 0.16);
  box-shadow:
    inset 0 0 5px 2px rgba(var(--accent-rgb), 0.28),
    0 4px 12px rgba(var(--accent-rgb), 0.1);
}

.publish-pay--translucent:disabled {
  opacity: 0.5;
  background-image: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 92%,
    rgba(var(--accent-rgb), 0.12) 97%,
    rgba(var(--accent-rgb), 0.22) 100%
  );
  box-shadow: inset 0 0 3px 1px rgba(var(--accent-rgb), 0.1);
}

.publish-pay-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 14, 0.55);
}

.publish-pay-panel.is-loading .crypto-quote,
.publish-pay-panel.is-loading .publish-card-wrap {
  opacity: 0.55;
  pointer-events: none;
}

.pay-panel-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 3rem;
  margin: 0;
}

#payment-wait-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.publish-pay-panel[hidden] {
  display: none;
}

.publish-pay-tabs,
.crypto-chain-tabs {
  display: grid;
  gap: 8px;
}

.publish-pay-tabs {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 4px;
}

.crypto-chain-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.publish-pay-tab,
.crypto-chain-tab {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.55);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.publish-pay-tab.is-active,
.crypto-chain-tab.is-active {
  border-color: rgba(var(--accent-rgb), 0.65);
  background: rgba(var(--accent-rgb), 0.12);
  color: #fff;
}

#publish-pay-card-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.publish-card-wrap {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 12, 14, 0.85);
  padding: 10px 12px;
}

.publish-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.publish-card-actions .publish-pay,
.publish-card-actions .publish-card-cancel {
  flex: 1 1 10rem;
  min-height: 3rem;
  margin: 0;
}

.publish-card-actions .publish-card-cancel {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 20px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.publish-card-actions .publish-card-cancel:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.publish-card-actions .publish-pay.is-loading {
  width: auto;
}

.publish-square-card-container {
  min-height: 5.5rem;
}

.publish-square-card-container .sq-card-iframe-container {
  color-scheme: auto;
}

#publish-pay-card-section[hidden] {
  display: none;
}

#publish-pay-crypto-section[hidden] {
  display: none;
}

.publish-pay-panel .publish-pay {
  width: 100%;
  min-height: 3rem;
  padding: 16px 20px;
  font-size: 1rem;
  box-sizing: border-box;
}

.crypto-quote {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crypto-pay-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 2px auto 4px;
  padding: 12px;
  max-width: 220px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #fff;
}

.crypto-pay-qr__img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.crypto-pay-qr-label {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
}

.crypto-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  align-items: start;
  font-size: 0.86rem;
}

.crypto-row span {
  color: var(--muted);
  padding-top: 4px;
}

.crypto-row strong,
.crypto-row code,
.crypto-value {
  word-break: break-all;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.crypto-value {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 0.86rem;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.crypto-value:hover,
.crypto-value:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.08);
  outline: none;
}

.crypto-value.is-copied {
  border-color: rgba(72, 199, 116, 0.65);
  background: rgba(72, 199, 116, 0.12);
}

.crypto-value--address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.crypto-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
}

.crypto-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
  align-self: start;
}

.crypto-copy:hover,
.crypto-copy:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.1);
  outline: none;
}

.crypto-copy.is-copied {
  border-color: rgba(72, 199, 116, 0.65);
  color: #8ce8a8;
}

.publish-cancel-pay {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.likes-grid--single {
  grid-template-columns: 1fr;
  max-width: 240px;
}

.likes-saved-section + .likes-saved-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.likes-saved-section__head {
  margin-bottom: 10px;
}

.likes-saved-section__title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
}

.likes-saved-section__meta {
  margin: 0 0 10px;
  font-size: 0.78rem;
}

.like-tile__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: inline-size;
}

.like-tile__photo .like-tile__img,
.like-tile__photo img.like-tile__img,
.like-tile__photo .card-photo-empty {
  width: 100%;
  height: 100%;
  display: block;
}

.like-tile__rank-badge,
.like-tile__boost-badge {
  position: absolute;
  z-index: 2;
  max-width: 46%;
  padding: 3.5% 5.5%;
  border-radius: 999px;
  font-size: 8.5cqi;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.like-tile__rank-badge {
  top: 4%;
  left: 4%;
  right: auto;
  color: #dff1ff;
  background: rgba(20, 40, 70, 0.82);
  border: 1px solid rgba(120, 190, 255, 0.35);
}

.like-tile__boost-badge {
  top: 4%;
  right: 4%;
  left: auto;
  color: #ffe9a8;
  background: rgba(70, 48, 8, 0.84);
  border: 1px solid rgba(255, 210, 90, 0.35);
}

.like-tile--boosted .like-tile__name {
  bottom: 10px;
}

.like-tile__name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.likes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.likes-panel-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}

.likes-panel-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.likes-panel-tab.is-active {
  color: var(--text);
  border-color: rgba(60, 164, 255, 0.45);
  background: rgba(60, 164, 255, 0.12);
}

.likes-panel-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(60, 164, 255, 0.22);
  color: #8ec5ff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.likes-view[hidden] {
  display: none !important;
}

.like-tile {
  position: relative;
  aspect-ratio: 0.72;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
}

.like-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #121214;
  filter: brightness(0.92) saturate(1.05);
  transition: filter 0.25s ease;
}

.like-tile__photo .like-tile__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #121214;
  filter: brightness(0.92) saturate(1.05);
  transition: filter 0.25s ease;
}

.like-tile:hover .like-tile__photo .like-tile__img,
.like-tile:hover .like-tile__photo img.like-tile__img {
  filter: brightness(1) saturate(1.1);
}

.like-tile:hover img {
  filter: brightness(1) saturate(1.1);
}

.like-tile span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.chat-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid color-mix(in srgb, var(--flame-a) 60%, transparent);
}

.chat-meta strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.chat-meta p {
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-meta .card-profile-link {
  margin-top: 8px;
  font-size: 0.75rem;
  padding: 6px 12px;
}

.match-overlay {
  display: none !important;
}

.like-notify {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(72px + var(--safe-bottom));
  z-index: 55;
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: rgba(18, 18, 20, 0.96);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: likeNotifyIn 0.28s ease;
}

.like-notify[hidden] {
  display: none;
}

@keyframes likeNotifyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.like-notify__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcfd4;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.like-notify__close:hover {
  background: rgba(var(--accent-rgb), 0.25);
  color: #fff;
}

.like-notify__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flame-a);
}

.like-notify__anon {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  padding-right: 24px;
}

.like-notify__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.like-notify__profile:hover .like-notify__name {
  color: var(--flame-a);
}

.like-notify__photo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  background: #222;
}

.like-notify__photo.is-empty {
  background: linear-gradient(145deg, #2a2a30, #18181c);
}

.like-notify__body {
  min-width: 0;
  flex: 1;
  padding-right: 20px;
}

.like-notify__name {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 2px;
}

.like-notify__meta {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
}

.like-notify__bio {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.like-notify__hint {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .like-notify {
    left: auto;
    right: 20px;
    bottom: 24px;
    width: min(380px, calc(100% - 40px));
  }

  .like-notify__photo {
    width: 72px;
    height: 72px;
  }
}

.match-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), transparent 70%);
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
}

.match-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.match-title {
  font-family: "Nunito", sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fff 10%, #c8ddb8 45%, var(--flame-a) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  animation: titlePop 0.5s cubic-bezier(0.2, 1.2, 0.3, 1);
}

@keyframes titlePop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.match-faces {
  display: flex;
  justify-content: center;
  margin: 28px 0 18px;
  position: relative;
  height: 110px;
}

.match-faces img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #fff;
  position: absolute;
  top: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: faceIn 0.55s cubic-bezier(0.2, 1.1, 0.3, 1) both;
}

.match-faces img:first-child {
  left: calc(50% - 90px);
  animation-delay: 0.05s;
}

.match-faces img:last-child {
  left: calc(50% - 10px);
  animation-delay: 0.15s;
}

@keyframes faceIn {
  from {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.match-sub {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.match-primary,
.match-secondary {
  width: min(280px, 100%);
  margin: 0 auto 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.match-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--flame-a), var(--flame-b));
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
}

.match-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(30, 30, 34, 0.95);
  border: 1px solid var(--line);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
  display: block;
}

.toast[hidden] {
  display: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.approval-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;
  background: rgba(255, 214, 64, 0.38);
  color: #1a1208;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.42;
  text-align: center;
  border-bottom: 1px solid rgba(255, 200, 40, 0.22);
  backdrop-filter: blur(4px);
}

.approval-banner[hidden] {
  display: none;
}

.approval-banner p {
  margin: 0;
}

.approval-banner__close {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(26, 18, 8, 0.1);
  color: #1a1208;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.approval-banner__close:hover,
.approval-banner__close:focus-visible {
  background: rgba(26, 18, 8, 0.18);
  outline: none;
}

.session-expired-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.6rem 2.4rem 0.6rem 0.75rem;
  background: rgba(12, 8, 10, 0.55);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  border-bottom: 1px solid rgba(253, 80, 104, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.session-expired-banner[hidden] {
  display: none;
}

.session-expired-banner p {
  margin: 0;
}

.session-expired-banner__close {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.session-expired-banner__close:hover,
.session-expired-banner__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.approval-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

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

.approval-modal__card {
  width: min(22rem, 100%);
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: var(--card-bg, #1e1e1e);
  color: var(--text, #f5f5f5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.approval-modal__card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}

.approval-modal__card > p:first-of-type {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}

.approval-modal__card p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.5;
  opacity: 0.94;
}

.approval-modal__note {
  font-size: 0.92rem;
  opacity: 0.82;
}

.approval-modal__payment {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.approval-modal__tx {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  word-break: break-all;
}

.approval-modal__tx-link {
  color: #7eb8ff;
  font-size: 0.88rem;
  text-decoration: none;
}

.approval-modal__tx-link:hover {
  text-decoration: underline;
}

.approval-modal__card .publish-pay {
  width: 100%;
  margin-top: 0.25rem;
}

.like-message-modal,
.like-guest-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 6, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.like-message-modal[hidden],
.like-guest-modal[hidden] {
  display: none !important;
}

.like-message-modal__card {
  position: relative;
  width: min(100%, 380px);
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.98);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.like-message-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcfd4;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.like-message-modal__close:hover,
.like-message-modal__close:focus-visible {
  background: rgba(var(--accent-rgb), 0.25);
  color: #fff;
}

.like-message-modal__card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.like-message-modal__card .field {
  margin-top: 14px;
}

.like-message-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.like-message-modal__skip {
  flex: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.like-message-modal__skip:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.like-message-modal__actions .publish-pay {
  flex: 1.4;
  margin-top: 0;
}

.like-message-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}

.like-message-tab {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #9a9aa2;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.like-message-tab.on {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.12);
  color: #fff;
}

#like-message-pane-verify .publish-pay {
  width: 100%;
  margin-top: 8px;
}

.like-message-modal__already {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.like-message-modal__status {
  margin: 10px 0 0;
  font-size: 0.85rem;
}

.like-message-modal__status.is-error {
  color: #ff8aa8;
}

.like-notify__anon-hint {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.like-notify__message {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  font-style: italic;
}

.owner-boost-badge {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #f5e6a8;
  background: rgba(245, 196, 81, 0.1);
  border: 1px solid rgba(245, 196, 81, 0.28);
}

.owner-photo-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
}

.owner-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.owner-photo-boost-btn {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(107, 143, 94, 0.95), rgba(74, 118, 66, 0.98));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.owner-photo-boost-btn:hover,
.owner-photo-boost-btn:focus-visible {
  filter: brightness(1.06);
}

.boost-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 6, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.boost-pay-modal[hidden] {
  display: none !important;
}

.boost-pay-modal__card {
  position: relative;
  width: min(100%, 420px);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.98);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.boost-pay-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcfd4;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.boost-pay-modal__close:hover,
.boost-pay-modal__close:focus-visible {
  background: rgba(var(--accent-rgb), 0.25);
  color: #fff;
}

.boost-pay-modal__card h2 {
  margin: 0 28px 8px 0;
  font-size: 1.2rem;
}

.boost-pay-panel {
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

.boost-pay-panel .crypto-quote {
  margin-top: 14px;
}

.boost-pay-panel #boost-payment-wait-status {
  margin-top: 14px;
}

.boost-pay-status.is-error {
  color: #fd5068;
}

.boost-pay-status.is-success {
  color: #2ee59d;
}

