:root {
  color-scheme: dark;
  --bg: #090608;
  --panel: rgba(24, 12, 17, .92);
  --panel-2: rgba(41, 22, 30, .94);
  --text: #f7f1f3;
  --muted: #d8c2b7;
  --line: rgba(244, 210, 160, .18);
  --gold: #f4d2a0;
  --gold-deep: #cb9a63;
  --rose: #c98b95;
  --accent: #cb9a63;
  --accent-2: #f4d2a0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(201, 139, 149, .18), transparent 26%),
    radial-gradient(circle at top right, rgba(231, 192, 138, .14), transparent 24%),
    linear-gradient(180deg, #090608 0%, #11080d 48%, #090608 100%);
  color: var(--text);
  font-family: 'Baskerville Old Face', Baskerville, Georgia, 'Times New Roman', serif;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 10px clamp(12px, 4vw, 42px);
  background: linear-gradient(180deg, rgba(24, 12, 17, .98), rgba(41, 22, 30, .98));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.topbar-avatar {
  width: 38px;
  height: 38px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 243, .22);
  background: #0d0a0b;
}

.topbar-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.topbar-avatar:hover {
  border-color: rgba(244, 210, 160, .58);
  box-shadow: 0 0 0 3px rgba(244, 210, 160, .10);
}

.topbar-adult-badge {
  width: 46px;
  height: auto;
  display: block;
  margin-left: auto;
}

.brand-stack {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(78vw, 620px);
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.brand {
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 244, 224, .28),
    0 0 18px rgba(203, 154, 99, .34);
}

.topbar-copyright {
  color: rgba(216, 194, 183, .76);
  font-size: 11px;
  line-height: 1;
}

.brand,
.topbar-copyright {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.actionbar {
  position: sticky;
  top: 64px;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 8px clamp(12px, 4vw, 42px);
  background: rgba(14, 8, 11, .96);
  border-bottom: 1px solid rgba(244, 210, 160, .12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.actionbar a,
.actionbar button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 88px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(36, 19, 27, .72), rgba(17, 9, 13, .76));
  color: var(--gold);
  font-size: 15px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.actionbar-form {
  display: contents;
}

.actionbar button {
  font-family: inherit;
  cursor: pointer;
}

.actionbar svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.message-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #b32121;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(14, 8, 11, .96);
}

.event-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.event-form-wide {
  grid-column: 1 / -1;
}

.event-form .button {
  justify-self: start;
}

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

.event-field-title {
  color: var(--muted);
  font-size: 14px;
}

.event-file-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  cursor: pointer;
}

.event-file-control input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.event-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 210, 160, .34);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(203, 154, 99, .95), rgba(122, 70, 49, .96));
  color: #fff8ed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.event-file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-preview {
  overflow: hidden;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(244, 210, 160, .08), transparent 58%),
    #10090d;
}

.event-preview[hidden] {
  display: none;
}

.event-preview img {
  width: 100%;
  max-height: 240px;
  display: block;
  object-fit: contain;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 19, 27, .92), rgba(17, 9, 13, .94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

.event-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background:
    radial-gradient(circle at center, rgba(244, 210, 160, .08), transparent 58%),
    #10090d;
}

.event-image-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(203, 154, 99, .28), rgba(201, 139, 149, .18)),
    #120b0f;
}

.event-image-placeholder span {
  color: var(--gold);
  font-size: 52px;
  font-weight: 700;
  text-transform: uppercase;
}

.event-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.event-meta a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.account-head {
  align-items: center;
}

.account-view-link {
  flex: 0 0 auto;
  color: #180c11;
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
}

.account-view-link:hover {
  color: #180c11;
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
}

.account-overview {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
}

.account-photo-panel {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 19, 27, .92), rgba(17, 9, 13, .94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

.account-profile-photo-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 210, 160, .20);
  border-radius: 8px;
  background: #10090d;
  cursor: pointer;
}

.account-profile-photo-button img,
.account-photo-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.account-profile-photo-button span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 8px;
  color: #fff3d3;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, .62);
  opacity: 0;
  transition: opacity 160ms ease;
}

.account-profile-photo-button:hover span,
.account-profile-photo-button:focus-visible span {
  opacity: 1;
}

.profile-photo-rules {
  margin-bottom: 0;
  padding: 12px;
}

.account-photo-panel strong {
  display: block;
  color: var(--gold);
  font-size: 22px;
  line-height: 1.1;
}

.account-photo-panel span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.status-date {
  display: block;
  margin-top: 4px;
  color: rgba(216, 194, 183, .72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  text-align: right;
}

.account-status-edit {
  margin-top: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(244, 210, 160, .26);
  border-radius: 6px;
  background: rgba(244, 210, 160, .10);
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.account-status-edit:hover {
  border-color: rgba(244, 210, 160, .46);
  background: rgba(244, 210, 160, .16);
}

.account-status-edit.is-locked {
  color: rgba(255, 255, 255, .58);
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}

.account-status-form,
.account-announcement-form {
  display: grid;
  gap: 12px;
}

.account-status-form textarea,
.account-announcement-form textarea {
  width: 100%;
  resize: vertical;
}

.account-status-error {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 210, 154, .26);
  border-radius: 6px;
  background: rgba(70, 18, 34, .52);
  color: #ffe9bc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.account-action-groups {
  display: grid;
  gap: 14px;
}

.account-group {
  display: grid;
  gap: 10px;
}

.account-group h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 18px;
  line-height: 1.2;
}

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

.account-tile {
  min-height: 78px;
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(34, 18, 26, .90), rgba(16, 9, 13, .92));
  color: var(--text);
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-tile:hover {
  border-color: rgba(244, 210, 160, .34);
  background: linear-gradient(180deg, rgba(48, 26, 36, .94), rgba(24, 13, 18, .94));
}

.account-tile.is-locked {
  color: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
}

.account-tile.admin {
  border-color: rgba(244, 210, 160, .34);
  background: linear-gradient(135deg, rgba(84, 29, 55, .94), rgba(38, 17, 29, .94) 54%, rgba(133, 87, 45, .90));
}

.account-tile-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(244, 210, 160, .12);
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.account-tile strong,
.account-tile small {
  display: block;
}

.account-tile strong {
  color: #fff3d3;
  font-size: 15px;
  line-height: 1.2;
}

.account-tile small {
  margin-top: 3px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.account-relation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.account-relation-section {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.account-relation-section h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 18px;
}

.account-relation-card {
  display: grid;
  gap: 10px;
  position: relative;
  padding: 10px 48px 10px 10px;
  border: 1px solid rgba(244, 210, 160, .14);
  border-radius: 8px;
  background: rgba(18, 9, 14, .78);
}

.account-relation-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.account-relation-photo {
  position: relative;
  display: block;
}

.account-relation-photo img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(244, 210, 160, .24);
}

.account-relation-main strong,
.account-relation-main small {
  display: block;
}

.account-relation-main strong {
  color: #fff3d3;
}

.account-relation-main small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.account-relation-remove-form {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  margin: 0;
}

.relation-trash-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #180c11;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(244, 210, 160, .42);
  border-radius: 999px;
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}

.relation-trash-button:hover {
  color: #180c11;
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  transform: translateY(-1px);
}

.account-placeholder {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.account-edit-form {
  display: grid;
  gap: 18px;
}

.account-edit-section {
  display: grid;
  gap: 12px;
}

.account-edit-section h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 18px;
}

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

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

.account-choice-group {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
}

.account-choice-group legend {
  padding: 0 6px;
  color: var(--gold);
  font-weight: 700;
}

.account-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-preferences-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-delete-link {
  border: 0;
  background: transparent;
  color: #ffb6c4;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.account-delete-link:hover,
.account-delete-link:focus-visible {
  color: #ffd4dd;
}

.account-preferences-form {
  display: grid;
  gap: 14px;
}

.account-status-card,
.account-preference-section {
  display: grid;
  gap: 12px;
}

.account-status-card h2,
.account-preference-section h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 18px;
}

.account-status-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-status-list div {
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(13, 7, 10, .38);
}

.account-status-list .account-status-type {
  grid-column: 1 / -1;
}

.account-status-list dt {
  color: var(--muted);
  font-size: 12px;
}

.account-status-list dd {
  margin: 4px 0 0;
  color: #fff3d3;
  font-weight: 700;
}

.account-payment-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.42;
}

.account-free-reason {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid rgba(95, 205, 137, .28);
  border-radius: 8px;
  background: rgba(48, 126, 77, .20);
  color: #e4ffec;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.38;
}

.account-free-reason.muted {
  border-color: rgba(244, 210, 160, .18);
  background: rgba(255, 236, 204, .05);
  color: var(--muted);
}

.account-payment-box p {
  margin: 0;
}

.account-payment-toggle {
  justify-self: start;
  min-height: 34px;
  padding: 7px 12px;
}

.account-payment-consent {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .22);
  border-radius: 8px;
  background: rgba(255, 236, 204, .05);
}

.account-payment-consent-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #f4dfbf;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
}

.account-payment-consent-option input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #d7a768;
}

.account-payment-error {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 210, 154, .28);
  border-radius: 6px;
  background: rgba(92, 22, 42, .58);
  color: #ffe9bc;
  font-size: 13px;
  font-weight: 700;
}

.account-payment-details {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(103, 179, 199, .46);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 84, 104, .42), rgba(15, 34, 48, .72));
  box-shadow: inset 0 1px 0 rgba(198, 238, 246, .12);
}

.account-payment-box .account-payment-details {
  border-color: rgba(103, 179, 199, .62);
  background: linear-gradient(180deg, rgba(23, 92, 112, .72), rgba(13, 40, 58, .9));
}

.account-status-list dd .certification-button {
  margin-top: 8px;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
}

.account-preferences-form .button.secondary,
.certification-modal .button.secondary {
  color: #fff3d3;
  border-color: rgba(244, 210, 160, .36);
  background: rgba(62, 32, 43, .96);
}

.account-preferences-form .button.secondary:hover,
.certification-modal .button.secondary:hover {
  color: #180c11;
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
}

.promotion-email-consent {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(103, 179, 199, .30);
  border-radius: 8px;
  background: rgba(23, 92, 112, .16);
}

.promotion-email-consent h3 {
  margin: 0;
  color: #fff3d3;
  font-size: 16px;
}

.promotion-email-consent p,
.promotion-email-consent small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.referral-card {
  border-color: rgba(215, 167, 104, .34);
  background: linear-gradient(180deg, rgba(92, 51, 33, .24), rgba(17, 9, 12, .72));
}

.referral-card p {
  margin: 0;
  color: #f4dfbf;
  font-size: 14px;
  line-height: 1.45;
}

.referral-card label {
  display: grid;
  gap: 6px;
  color: #fff3d3;
  font-size: 13px;
  font-weight: 700;
}

.referral-link-input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 8px;
  background: rgba(10, 5, 8, .72);
  color: #fff3d3;
  padding: 8px 10px;
}

.referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.referral-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.referral-stats div {
  padding: 9px 10px;
  border: 1px solid rgba(244, 210, 160, .15);
  border-radius: 8px;
  background: rgba(13, 7, 10, .36);
}

.referral-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.referral-stats dd {
  margin: 2px 0 0;
  color: #fff3d3;
  font-size: 18px;
  font-weight: 800;
}

.account-security-panel {
  max-width: 620px;
  margin: 0 auto;
}

.account-security-form .button.secondary {
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
}

.account-security-form .button.secondary:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  color: #180c11;
}

.admin-pin-panel {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.admin-pin-panel h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 20px;
}

.admin-pin-panel p {
  margin: 0;
  color: #f4dfbf;
}

.admin-pin-form {
  display: grid;
  gap: 14px;
}

.admin-pin-form input {
  width: 100%;
  min-height: 44px;
  text-align: center;
  letter-spacing: .18em;
  font-size: 20px;
}

.admin-dashboard {
  display: grid;
  gap: 16px;
}

.admin-tool-list {
  display: grid;
  gap: 12px;
}

.admin-tool-card {
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(13, 7, 10, .34);
  overflow: hidden;
}

.admin-tool-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #fff3d3;
  cursor: pointer;
  list-style: none;
}

.admin-tool-card summary::-webkit-details-marker {
  display: none;
}

.admin-tool-card summary::after {
  content: '+';
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(244, 210, 160, .22);
  border-radius: 8px;
  color: #180c11;
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  font-weight: 900;
}

.admin-tool-card[open] summary::after {
  content: '-';
}

.admin-tool-card summary strong,
.admin-tool-card summary small {
  display: block;
}

.admin-tool-card summary small {
  margin-top: 3px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.admin-tool-card > .muted,
.admin-tool-card > .admin-log-table-wrap {
  margin: 0 16px 16px;
}

.admin-profile-foldout {
  margin-top: 14px;
}

.admin-profile-foldout-body {
  display: grid;
  gap: 14px;
  margin: 0 16px 16px;
}

.admin-message-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.admin-message-search label {
  margin: 0;
}

.admin-warning-text {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(236, 99, 132, .34);
  border-radius: 8px;
  background: rgba(130, 34, 61, .28);
  color: #ffe3ec;
}

.admin-conversation-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  overflow-x: auto;
}

.admin-message-thread {
  display: grid;
  gap: 10px;
  min-width: 720px;
}

.admin-message-audit-bubble {
  display: grid;
  gap: 8px;
  max-width: min(760px, 100%);
  padding: 10px 12px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background: rgba(18, 9, 13, .78);
}

.admin-message-audit-bubble.is-peer {
  justify-self: end;
  border-color: rgba(121, 180, 255, .24);
  background: rgba(24, 33, 54, .72);
}

.admin-message-audit-bubble header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  color: #fff3d3;
}

.admin-message-audit-bubble header span,
.admin-message-audit-bubble small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.admin-message-audit-bubble p {
  margin: 0;
  color: #fff8e8;
  overflow-wrap: anywhere;
}

.admin-message-moderation-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(244, 210, 160, .16);
}

.admin-message-moderation-form label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-message-moderation-form input {
  min-height: 36px;
  margin-top: 4px;
}

.admin-message-preview {
  min-width: 220px;
  max-width: 360px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .admin-message-search {
    grid-template-columns: 1fr;
  }

  .admin-message-moderation-form {
    grid-template-columns: 1fr;
  }

  .admin-message-preview {
    min-width: 180px;
  }

  .photo-like-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .photo-like-card .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.admin-tool-card.is-muted {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.admin-tool-card.is-muted strong {
  color: #fff3d3;
}

.admin-profile-link {
  color: #ffe6bb;
  font-weight: 800;
  text-decoration: none;
}

.admin-profile-link:hover,
.admin-profile-link:focus-visible {
  color: #fff3d3;
  text-decoration: underline;
}

.admin-small-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.admin-dashboard .button,
.admin-dashboard .button.secondary,
.admin-decision-actions .button,
.admin-decision-actions .button.secondary {
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .32);
}

.admin-dashboard .button:hover,
.admin-dashboard .button.secondary:hover,
.admin-decision-actions .button:hover,
.admin-decision-actions .button.secondary:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  color: #180c11;
}

.admin-login-result-success {
  border-color: rgba(95, 205, 137, .38);
  background: rgba(48, 126, 77, .34);
  color: #dfffe8;
}

.admin-login-result-invalid,
.admin-login-result-blocked,
.admin-login-result-service_error {
  border-color: rgba(236, 99, 132, .42);
  background: rgba(130, 34, 61, .36);
  color: #ffe3ec;
}

.admin-login-result-email_not_validated {
  border-color: rgba(244, 210, 160, .38);
  background: rgba(141, 94, 39, .34);
  color: #fff1cf;
}

.admin-partner-ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.admin-partner-ad-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background: rgba(13, 7, 10, .34);
}

.admin-partner-ad-card h3 {
  margin: 0;
  color: #fff3d3;
  font-size: 17px;
}

.admin-partner-ad-preview,
.admin-partner-ad-options,
.admin-partner-ad-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-partner-ad-preview figure {
  margin: 0;
  display: grid;
  gap: 5px;
}

.admin-partner-ad-preview img,
.admin-partner-ad-preview figure > span {
  width: 100%;
  aspect-ratio: 1.35;
  display: grid;
  place-items: center;
  object-fit: contain;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 6px;
  background: rgba(0, 0, 0, .28);
  color: rgba(255, 243, 211, .66);
  font-size: 12px;
}

.admin-partner-ad-preview figcaption {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.admin-partner-ad-card label {
  display: grid;
  gap: 5px;
  color: #fff3d3;
  font-size: 13px;
  font-weight: 700;
}

.admin-partner-ad-card input,
.admin-partner-ad-card select {
  min-width: 0;
}

.admin-decision-actions {
  min-width: 250px;
  display: grid;
  gap: 8px;
}

.admin-decision-actions form {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.admin-decision-actions textarea {
  min-height: 34px;
  width: 100%;
  resize: vertical;
  font-size: 13px;
}

.admin-moderation-actions {
  min-width: 360px;
}

.admin-moderation-actions form {
  align-items: stretch;
}

.admin-moderation-actions select {
  min-height: 34px;
  max-width: 210px;
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
  font-size: 13px;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 189, 118, .46);
  border-radius: 999px;
  background: rgba(126, 37, 45, .62);
  color: #ffe6bb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-block-reason {
  display: block;
  margin-top: 5px;
  color: #f4dfbf;
  font-size: 12px;
  line-height: 1.3;
}

.admin-block-form {
  min-width: 300px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.admin-block-form select {
  min-height: 34px;
  width: 100%;
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
  font-size: 13px;
}

.admin-staff-form {
  min-width: 360px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.admin-staff-form select,
.admin-staff-form input {
  min-height: 34px;
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
  font-size: 13px;
}

.admin-staff-form select {
  min-width: 150px;
}

.admin-staff-form input {
  width: 116px;
}

.admin-service-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px));
  gap: 12px;
  padding: 0 16px 16px;
}

.admin-service-settings-form label {
  display: grid;
  gap: 6px;
  color: #fff3d3;
  font-size: 13px;
  font-weight: 800;
}

.admin-service-settings-form input {
  min-height: 38px;
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
}

.admin-service-settings-form .muted,
.admin-service-settings-form .button {
  grid-column: 1 / -1;
}

.admin-account-filter {
  margin: 0 16px 12px;
}

.admin-account-filter input {
  width: min(100%, 360px);
  min-height: 38px;
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
}

.admin-account-form {
  min-width: 300px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.admin-account-form.is-compact {
  min-width: 270px;
}

.admin-account-form select {
  min-height: 34px;
  min-width: 96px;
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
  font-size: 13px;
}

.admin-account-form option:disabled {
  color: rgba(247, 230, 200, .38);
}

.admin-profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(240px, 320px);
  gap: 16px;
  align-items: start;
}

.admin-profile-side,
.admin-profile-main,
.admin-profile-actions {
  display: grid;
  gap: 14px;
}

.admin-inline-form {
  margin: 0;
}

.admin-profile-side img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(244, 210, 160, .22);
  background: rgba(0, 0, 0, .32);
}

.admin-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-profile-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 14px;
}

.admin-profile-meta dt {
  color: #fff3d3;
  font-weight: 800;
}

.admin-profile-meta dd {
  margin: 0;
  color: #f4dfbf;
  overflow-wrap: anywhere;
}

.admin-profile-albums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-profile-albums .button,
.admin-profile-albums .button.secondary {
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .32);
}

.admin-profile-albums .button:hover,
.admin-profile-albums .button.secondary:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  color: #180c11;
}

.admin-profile-email-form {
  display: grid;
  gap: 10px;
}

.admin-profile-email-form label {
  display: grid;
  gap: 6px;
  color: #fff3d3;
  font-size: 13px;
  font-weight: 800;
}

.admin-profile-email-form input,
.admin-profile-email-form textarea {
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
}

.admin-profile-email-form textarea {
  min-height: 130px;
  resize: vertical;
}

.admin-profile-email-form .button {
  width: fit-content;
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .32);
}

.admin-profile-email-form .button:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  color: #180c11;
}

.admin-profile-actions form {
  display: grid;
  gap: 9px;
}

.admin-profile-account-form {
  min-width: 0;
}

.admin-profile-divider {
  height: 1px;
  background: rgba(244, 210, 160, .16);
}

.admin-profile-actions label {
  color: #fff3d3;
  font-size: 13px;
  font-weight: 800;
}

.admin-profile-actions select,
.admin-profile-actions textarea,
.admin-profile-actions input[type="date"] {
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
}

.admin-danger-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #f4dfbf;
  line-height: 1.35;
}

.admin-danger-check input {
  margin-top: 3px;
}

.admin-profile-actions .button.danger {
  border-color: rgba(255, 138, 138, .48);
  background: linear-gradient(180deg, rgba(156, 50, 58, .96), rgba(103, 24, 33, .98));
  color: #fff6ef;
}

.admin-profile-actions .button.danger:hover {
  background: linear-gradient(180deg, rgba(181, 62, 70, .98), rgba(124, 30, 40, .98));
  color: #fff;
}

.admin-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.admin-album-card {
  display: grid;
  gap: 10px;
}

.admin-album-card .album-photo {
  width: 100%;
  aspect-ratio: 1;
}

.admin-album-card form {
  display: grid;
  gap: 8px;
}

.admin-album-card label {
  color: #fff3d3;
  font-size: 13px;
  font-weight: 800;
}

.admin-album-card select,
.admin-album-card textarea {
  border-color: rgba(244, 210, 160, .24);
  background: rgba(18, 9, 14, .84);
  color: #f7e6c8;
}

.admin-album-file {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-pin-code {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 231, 188, .12);
  color: #ffe6bb;
  font-family: Consolas, monospace;
  font-size: 13px;
}

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

.admin-certification-media {
  width: 150px;
  max-width: 26vw;
  height: 110px;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(244, 210, 160, .22);
  border-radius: 8px;
  background: rgba(0, 0, 0, .34);
}

.admin-log-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
}

.admin-log-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: #f4dfbf;
  font-size: 14px;
}

.admin-log-table th,
.admin-log-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(244, 210, 160, .12);
  text-align: left;
  vertical-align: top;
}

.admin-log-table th {
  color: #fff3d3;
  background: rgba(13, 7, 10, .48);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-log-table tbody tr:last-child td {
  border-bottom: 0;
}

.help-head p {
  max-width: 680px;
}

.help-page {
  display: grid;
  gap: 26px;
  line-height: 1.58;
}

.help-intro {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background: rgba(13, 7, 10, .34);
}

.help-intro strong {
  color: #fff3d3;
  font-size: 20px;
}

.help-intro p,
.help-section p,
.help-card p,
.help-note p,
.help-account-list p {
  margin: 0;
  color: #f4dfbf;
}

.help-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.help-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 210, 160, .24);
  border-radius: 8px;
  color: #ffe6bb;
  background: rgba(62, 32, 43, .64);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.help-toc a:hover,
.help-toc a:focus-visible {
  color: #180c11;
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
}

.help-section {
  display: grid;
  gap: 16px;
  scroll-margin-top: 120px;
}

.help-section h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 24px;
}

.help-section h3 {
  margin: 0;
  color: var(--gold);
  font-size: 17px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.help-card,
.help-account-list article,
.help-split > div {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(13, 7, 10, .36);
}

.help-card ol,
.help-steps {
  margin: 0;
  padding-left: 20px;
  color: #f8dfb1;
}

.help-card li,
.help-steps li {
  margin: 5px 0;
}

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

.help-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(109, 63, 38, .28);
}

.help-note.warning {
  border-left-color: #ffb6c4;
  background: rgba(92, 31, 45, .32);
}

.help-note strong {
  color: #fff3d3;
}

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

.terms-page {
  display: grid;
  gap: 24px;
  line-height: 1.6;
}

.terms-meta,
.terms-warning,
.terms-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
}

.terms-meta {
  border: 1px solid rgba(244, 210, 160, .18);
  background: rgba(13, 7, 10, .34);
}

.terms-warning {
  border: 1px solid rgba(255, 182, 196, .32);
  background: rgba(92, 31, 45, .34);
}

.terms-note {
  border-left: 4px solid var(--gold);
  background: rgba(109, 63, 38, .28);
}

.terms-note.warning {
  border-left-color: #ffb6c4;
  background: rgba(92, 31, 45, .32);
}

.terms-meta strong,
.terms-warning strong,
.terms-note strong {
  color: #fff3d3;
}

.terms-meta p,
.terms-warning p,
.terms-note p,
.terms-section p,
.terms-list {
  margin: 0;
  color: #f4dfbf;
}

.terms-section {
  display: grid;
  gap: 12px;
  padding-top: 4px;
  scroll-margin-top: 120px;
}

.terms-section h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 23px;
}

.terms-section h3 {
  margin: 0;
  color: var(--gold);
  font-size: 16px;
}

.terms-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

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

.terms-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(13, 7, 10, .36);
}

.certification-modal {
  max-width: min(96vw, 980px);
}

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

.certification-file-note {
  margin: 0;
  color: #f8dfb1;
  font-size: 13px;
}

.certification-video-preview {
  width: min(100%, 900px);
  max-height: 62vh;
  justify-self: center;
  display: block;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 8px;
  background: #000;
}

.certification-video-preview[hidden] {
  display: none;
}

.certification-canvas {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 62vh;
  aspect-ratio: auto;
}

.certification-modal .button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.button:disabled,
.button.is-disabled {
  opacity: .52;
  cursor: not-allowed;
  pointer-events: none;
}

.single-men-closed {
  color: #ffccd4;
  font-weight: 700;
}

.captcha-panel {
  max-width: 720px;
}

.captcha-form,
.captcha-box {
  display: grid;
  gap: 14px;
}

.captcha-box {
  justify-items: center;
  padding: 16px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background: rgba(244, 210, 160, .07);
  overflow-x: auto;
}

.preference-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.preference-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(13, 7, 10, .36);
  color: #ead8cd;
}

.preference-options input {
  accent-color: #cb9a63;
}

.account-photo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.account-photo-manager {
  margin-bottom: 14px;
}

.photo-rules {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-color: rgba(244, 210, 160, .24);
  background:
    linear-gradient(180deg, rgba(48, 26, 36, .90), rgba(20, 10, 15, .94));
}

.photo-rules h2 {
  margin: 0 0 8px;
  color: #fff3d3;
  font-size: 18px;
}

.photo-rules p {
  margin: 6px 0 0;
  color: #ead8cd;
  line-height: 1.45;
}

.photo-upload-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 190px) auto;
  align-items: center;
  gap: 12px;
}

.photo-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.photo-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.photo-picker small {
  min-width: 0;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-preview {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 8px;
  background: rgba(12, 7, 10, .72);
}

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

.account-managed-album {
  margin-top: 0;
}

.managed-photo {
  position: relative;
  display: grid;
}

.photo-delete-form {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  margin: 0;
}

.photo-delete-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 210, 210, .48);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(126, 25, 48, .96), rgba(61, 12, 26, .96));
  color: #fff1f3;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .42);
}

.photo-delete-button:hover {
  border-color: rgba(255, 130, 155, .62);
  background: linear-gradient(180deg, rgba(138, 42, 68, .98), rgba(82, 23, 43, .98));
  color: #fff;
}

.button.danger {
  border-color: rgba(230, 82, 112, .42);
  background: linear-gradient(180deg, rgba(112, 33, 55, .96), rgba(67, 19, 36, .96));
  color: #fff1f3;
}

.button.danger:hover {
  border-color: rgba(255, 130, 155, .62);
  background: linear-gradient(180deg, rgba(138, 42, 68, .98), rgba(82, 23, 43, .98));
  color: #fff;
}

.photo-crop-modal {
  width: min(94vw, 720px);
  max-height: 92vh;
  overflow: auto;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 19, 27, .98), rgba(17, 9, 13, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}

.photo-crop-modal header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff3d3;
}

.photo-crop-modal .album-modal-close {
  position: static;
  flex: 0 0 auto;
}

.photo-crop-canvas {
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: center;
  display: block;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 8px;
  background: #000;
  cursor: move;
  touch-action: none;
}

.photo-crop-canvas.certification-canvas {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.photo-crop-tools {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.photo-crop-tools label {
  display: grid;
  gap: 5px;
  color: var(--muted);
}

.photo-crop-tools input[type="range"] {
  width: 100%;
}

.photo-crop-modal .button.secondary {
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
}

.photo-crop-modal .button.secondary:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  color: #180c11;
}

.work-overlay {
  z-index: 42;
}

.work-modal {
  width: min(92vw, 360px);
  display: grid;
  gap: 8px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(244, 210, 160, .34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(45, 24, 34, .98), rgba(18, 9, 14, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}

.work-modal strong {
  color: #fff3d3;
  font-size: 18px;
}

.work-modal p {
  margin: 0;
  color: var(--muted);
}

.event-card h2 {
  margin: 0;
  color: #fff3d3;
  font-size: 22px;
}

.event-card p {
  margin: 0;
  color: #ead8cd;
  line-height: 1.5;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.event-actions form {
  margin: 0;
}

.actionbar a:hover,
.actionbar button:hover {
  border-color: rgba(244, 210, 160, .34);
  background: linear-gradient(180deg, rgba(50, 27, 37, .82), rgba(24, 12, 17, .84));
}

.shell {
  width: min(1120px, calc(100% - 28px));
  margin: 28px auto;
}

.entry {
  display: grid;
  place-items: center;
  padding: 20px;
}

.entry-panel,
.auth-panel,
.panel {
  background:
    linear-gradient(180deg, rgba(36, 19, 27, .92), rgba(17, 9, 13, .94));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .08),
    0 20px 60px rgba(0, 0, 0, .36);
}

.entry-panel,
.auth-panel {
  width: min(420px, 100%);
}

.login-screen {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  align-items: center;
  gap: 14px 22px;
}

.login-brand {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 8px;
  background-color: #050405;
  background-image:
    linear-gradient(180deg, rgba(10, 8, 9, .08), rgba(10, 8, 9, .70)),
    url("../img/login-background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .08);
}

.login-overlay {
  width: min(360px, 100%);
  padding: 18px;
  backdrop-filter: blur(6px);
}

.login-kicker {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: min(720px, 100%);
  margin: 0;
  color: var(--gold);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.05;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 244, 224, .22),
    0 0 22px rgba(203, 154, 99, .38),
    0 2px 18px rgba(0, 0, 0, .76);
}

.auth-panel h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: .02em;
}

.login-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.login-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.password-reset-screen {
  min-height: calc(100vh - 128px);
  display: grid;
  place-items: center;
  padding: 24px clamp(14px, 4vw, 42px);
}

.password-reset-panel {
  display: grid;
  gap: 12px;
}

.password-reset-help {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.password-rule {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(244, 210, 160, .22);
  border-radius: 6px;
  background: rgba(244, 210, 160, .08);
  color: #fff3d3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.register-screen {
  min-height: calc(100vh - 128px);
  display: grid;
  place-items: start center;
  padding: 24px clamp(12px, 4vw, 42px);
}

.register-panel {
  width: min(1040px, 100%);
  display: grid;
  gap: 14px;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  background: rgba(18, 9, 14, .86);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .36);
}

.register-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.register-step-dot {
  min-height: 34px;
  padding: 6px 8px;
  color: #d8c7b6;
  cursor: default;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 999px;
  background: rgba(30, 16, 22, .86);
  font-size: 12px;
}

.register-step-dot.active {
  color: #180c11;
  border-color: rgba(244, 210, 160, .46);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
}

.register-step {
  display: none;
  gap: 14px;
}

.register-step.active {
  display: grid;
}

.register-step h1,
.register-step h2,
.register-step h3 {
  margin: 0;
  color: #fff3d3;
}

.register-warning-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.register-warning-head img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.register-warning-head strong {
  display: block;
  margin-top: 4px;
  color: #ffb3c1;
}

.register-rules {
  display: grid;
  gap: 9px;
}

.register-rules p,
.register-panel .muted,
.register-panel small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.register-accept {
  padding: 10px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 6px;
  background: rgba(244, 210, 160, .08);
}

.register-promotion-consent {
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(103, 179, 199, .30);
  border-radius: 8px;
  background: rgba(23, 92, 112, .18);
}

.register-promotion-consent > span {
  display: grid;
  gap: 4px;
}

.register-promotion-consent strong {
  color: #fff3d3;
  font-size: 14px;
}

.register-promotion-consent small {
  color: #d8c7b6;
  font-size: 12px;
  line-height: 1.45;
}

.register-grid,
.register-person-grid,
.register-final-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.register-person-grid.single-mode {
  grid-template-columns: minmax(0, 1fr);
}

.register-grid label,
.register-person label,
.register-final-grid label {
  display: grid;
  gap: 6px;
}

.register-person {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .14);
  border-radius: 8px;
  background: rgba(28, 14, 20, .78);
}

.register-person.couple-only {
  display: none;
}

.register-person.couple-only.active {
  display: grid;
}

.register-field-invalid {
  border-color: rgba(255, 91, 124, .75) !important;
  box-shadow: 0 0 0 3px rgba(255, 91, 124, .18);
  background: rgba(117, 33, 47, .26);
}

.register-field-invalid input,
.register-field-invalid select,
.register-field-invalid textarea {
  border-color: rgba(255, 151, 151, .76);
  box-shadow: 0 0 0 2px rgba(255, 91, 124, .16);
}

.register-photo-preview {
  align-self: end;
  width: min(220px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(244, 210, 160, .22);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
}

.register-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-guidance {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 210, 160, .22);
  border-radius: 8px;
  background: rgba(244, 210, 160, .08);
}

.profile-photo-guidance strong {
  color: #fff3d3;
}

.profile-photo-guidance p {
  margin: 0;
  color: #f2dfc9;
  font-size: 13px;
  line-height: 1.45;
}

.announcement-guidance,
.announcement-rule {
  display: grid;
  gap: 4px;
  margin: 6px 0 8px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 210, 160, .24);
  border-radius: 8px;
  background: rgba(244, 210, 160, .09);
  color: #f2dfc9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.announcement-guidance[hidden] {
  display: none;
}

.announcement-guidance strong {
  color: #fff3d3;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
}

.announcement-guidance small,
.announcement-rule {
  color: #f2dfc9;
}

[data-register-announcement-counter],
[data-announcement-counter] {
  color: #ffd6d6;
  font-weight: 700;
}

[data-register-announcement-counter].is-ok,
[data-announcement-counter].is-ok {
  color: #c8f2c1;
}

.register-announcement {
  grid-column: 1 / -1;
}

.register-error {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 151, 151, .38);
  border-radius: 6px;
  color: #ffe2e2;
  background: rgba(117, 33, 47, .55);
}

.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.register-actions .button {
  min-width: 150px;
}

.secret-question {
  padding: 12px;
  border: 1px solid rgba(244, 210, 160, .26);
  border-radius: 8px;
  background: rgba(14, 8, 11, .52);
  color: #fff3d3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.password-reset-cancel {
  display: grid;
  justify-items: center;
  margin: 0;
}

.signup-button {
  min-height: 52px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 6px 14px;
  background: linear-gradient(180deg, rgba(218, 82, 116, .98), rgba(139, 31, 62, .96));
  color: #fff6ef;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 232, .34),
    0 12px 26px rgba(139, 31, 62, .28);
}

.signup-button:hover {
  background: linear-gradient(180deg, rgba(236, 99, 132, 1), rgba(160, 38, 73, .98));
}

.signup-button span,
.signup-button small {
  display: block;
}

.signup-button small {
  color: rgba(255, 246, 239, .82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.forgot-link {
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.forgot-link:hover {
  color: var(--gold);
}

.partner-ads {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(680px, 100%);
  display: grid;
  gap: 10px;
}

.partner-ads h2 {
  margin: 0;
  font-size: 18px;
  color: var(--gold);
}

.partner-carousel-frame {
  position: relative;
  display: block;
  height: clamp(250px, 46vw, 520px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(36, 19, 27, .88), rgba(17, 9, 13, .92));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .07),
    0 14px 34px rgba(0, 0, 0, .24);
}

.partner-carousel-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 900ms ease,
    transform 1400ms ease;
}

.partner-carousel-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .38),
    0 10px 24px rgba(0, 0, 0, .22);
}

.button.secondary {
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.button:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
}

.button.secondary.event-like {
  border-color: rgba(229, 81, 122, .48);
  background: linear-gradient(180deg, rgba(236, 99, 132, .98), rgba(142, 32, 65, .96));
  color: #fff4f7;
}

.button.secondary.event-link {
  border-color: rgba(103, 179, 199, .46);
  background: linear-gradient(180deg, rgba(91, 169, 190, .96), rgba(31, 84, 104, .96));
  color: #f4fdff;
}

.button.secondary.event-like:hover {
  background: linear-gradient(180deg, rgba(255, 123, 154, 1), rgba(166, 43, 78, .98));
  color: #fff;
}

.button.secondary.event-link:hover {
  background: linear-gradient(180deg, rgba(117, 198, 218, 1), rgba(41, 104, 126, .98));
  color: #fff;
}

.button.signup-button {
  min-height: 52px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 6px 14px;
  background: linear-gradient(180deg, rgba(218, 82, 116, .98), rgba(139, 31, 62, .96));
  color: #fff6ef;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 232, .34),
    0 12px 26px rgba(139, 31, 62, .28);
}

.button.signup-button:hover {
  background: linear-gradient(180deg, rgba(236, 99, 132, 1), rgba(160, 38, 73, .98));
}

.button.signup-button span,
.button.signup-button small {
  display: block;
}

.button.signup-button small {
  color: rgba(255, 246, 239, .82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.form,
.filters {
  display: grid;
  gap: 14px;
}

.compact-form {
  gap: 10px;
}

.compact-form input {
  min-height: 38px;
}

.filters {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  margin: 18px 0 24px;
}

.profile-filter {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.profile-filter legend {
  padding: 0 6px;
  color: var(--gold);
  font-weight: 700;
}

.profile-filter-group {
  display: grid;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.check-row input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
  accent-color: #cb9a63;
}

.sexuality-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  padding-left: 24px;
}

.sexuality-filter .check-row {
  min-height: 24px;
  font-size: 13px;
}

.public-photo-filter {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.age-filter-start {
  grid-column-start: 1;
}

.age-match-filter {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #100e0f;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

textarea {
  width: 100%;
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #100e0f;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  resize: vertical;
}

.notice {
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(76, 32, 43, .9);
  border: 1px solid rgba(244, 210, 160, .18);
}

.success-notice {
  background: rgba(36, 91, 54, .74);
  border-color: rgba(144, 224, 159, .28);
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  color: var(--gold);
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
}

.home-feature {
  margin-bottom: 18px;
}

.messages-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.conversation-list,
.message-thread {
  min-width: 0;
}

.conversation-stack {
  display: grid;
  gap: 8px;
}

.conversation-row {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 8px;
  border: 1px solid rgba(244, 210, 160, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  text-decoration: none;
}

.conversation-row:hover,
.conversation-row.is-active {
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(55, 29, 40, .84), rgba(26, 13, 19, .86));
}

.conversation-photo-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  display: block;
}

.conversation-photo-wrap img,
.message-contact img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #100e0f;
  border: 1px solid rgba(247, 241, 243, .18);
}

.conversation-photo-wrap .presence {
  position: absolute;
  right: 1px;
  bottom: 1px;
}

.conversation-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.conversation-main strong {
  color: var(--gold);
}

.conversation-main small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-unread {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #b32121;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.message-thread {
  display: grid;
  gap: 14px;
  scroll-margin-top: 132px;
}

.message-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.message-contact {
  display: inline-grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.message-contact img {
  width: 58px;
  height: 58px;
}

.message-contact span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.message-contact strong {
  color: var(--gold);
  font-size: 22px;
}

.message-contact small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.delete-button {
  min-height: 36px;
  color: var(--gold);
}

.message-list {
  display: grid;
  gap: 10px;
  max-height: min(58vh, 620px);
  overflow: auto;
  padding: 4px 4px 8px;
  scroll-behavior: smooth;
}

.message-thread-warning {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 8px;
  background: rgba(92, 22, 42, .42);
  color: #ffe9bc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.38;
}

.message-bubble {
  width: min(78%, 560px);
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 210, 160, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.message-bubble.is-mine {
  justify-self: end;
  border-color: rgba(244, 210, 160, .30);
  background: linear-gradient(180deg, rgba(203, 154, 99, .24), rgba(72, 42, 31, .28));
}

.message-bubble.is-theirs {
  justify-self: start;
  background: linear-gradient(180deg, rgba(55, 29, 40, .76), rgba(26, 13, 19, .84));
}

.message-bubble strong {
  color: var(--gold);
  font-size: 13px;
}

.message-bubble p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-bubble small {
  color: rgba(216, 194, 183, .78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-align: right;
}

.message-compose {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.message-compose .button {
  justify-self: end;
  min-width: 140px;
}

.message-compose-locked {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(244, 210, 160, .18);
  background: rgba(244, 210, 160, .08);
}

.empty-thread {
  display: grid;
  place-items: center;
  min-height: 280px;
  text-align: center;
}

.message-overlay {
  position: fixed;
  inset: 0;
  z-index: 29;
  background:
    radial-gradient(circle at center, rgba(244, 210, 160, .12), transparent 34%),
    rgba(9, 4, 7, .72);
  backdrop-filter: blur(3px);
}

.toast-message {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(440px, calc(100% - 28px));
  margin: 0;
  padding: 16px 18px;
  transform: translate(-50%, -46%);
  border: 1px solid rgba(244, 210, 160, .38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .96));
  color: #180c11;
  font-weight: 700;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .42),
    0 22px 70px rgba(0, 0, 0, .44);
  animation: toast-enter 280ms ease-out both;
}

.toast-message.is-hiding {
  animation: toast-exit 450ms ease-in both;
}

.toast-message.warning {
  color: #fff6ef;
  border-color: rgba(255, 224, 232, .34);
  background:
    linear-gradient(180deg, rgba(218, 82, 116, .98), rgba(139, 31, 62, .96));
  text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}

.popup-stack {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(460px, calc(100% - 28px));
  display: grid;
  gap: 10px;
  transform: translate(-50%, -50%);
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -38%) scale(.96);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes toast-exit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -58%) scale(.97);
  }
}

.hello-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 42px 12px 12px;
  border: 1px solid rgba(255, 220, 154, .46);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 30, 64, .98), rgba(45, 16, 28, .98) 52%, rgba(191, 132, 62, .94));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .24),
    0 26px 80px rgba(0, 0, 0, .50);
  animation: popup-card-enter 280ms ease-out both;
}

.hello-card.is-hiding {
  animation: popup-card-exit 450ms ease-in both;
}

.trial-notice-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(460px, calc(100% - 28px));
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 220, 154, .50);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 30, 64, .98), rgba(45, 16, 28, .98) 52%, rgba(191, 132, 62, .94));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .24),
    0 26px 80px rgba(0, 0, 0, .50);
  transform: translate(-50%, -50%);
  animation: toast-enter 280ms ease-out both;
}

.trial-notice-modal.is-hiding {
  animation: toast-exit 450ms ease-in both;
}

.trial-notice-modal strong {
  color: #fff3d3;
  font-size: 18px;
}

.trial-notice-modal p {
  margin: 0;
  color: #fff7ee;
  font-size: 14px;
  line-height: 1.5;
}

.account-access-modal {
  width: min(540px, calc(100% - 28px));
  text-align: center;
}

.account-access-modal.free-limited {
  border-color: rgba(255, 190, 126, .48);
  background:
    linear-gradient(135deg, rgba(85, 22, 38, .98), rgba(24, 9, 15, .98) 56%, rgba(122, 70, 36, .96));
}

.account-access-modal.free-photos {
  border-color: rgba(255, 224, 166, .52);
  background:
    linear-gradient(135deg, rgba(83, 24, 58, .98), rgba(43, 14, 28, .98) 50%, rgba(180, 126, 55, .96));
}

.account-access-modal.upgrade {
  border-color: rgba(255, 230, 172, .62);
  background:
    linear-gradient(135deg, rgba(97, 34, 70, .98), rgba(45, 16, 28, .98) 46%, rgba(205, 149, 70, .98));
}

.account-access-image {
  width: 100%;
  max-height: 165px;
  object-fit: cover;
  border: 1px solid rgba(255, 220, 154, .34);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.account-access-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.account-access-points li {
  position: relative;
  padding: 9px 11px 9px 30px;
  border: 1px solid rgba(255, 225, 161, .24);
  border-radius: 8px;
  background: rgba(20, 9, 14, .34);
  color: #fff7ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.38;
}

.account-access-points li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4c975;
  box-shadow: 0 0 0 3px rgba(244, 201, 117, .14);
}

@keyframes popup-card-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popup-card-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-18px) scale(.97);
  }
}

.hello-card-link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.hello-card-link img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #100e0f;
  border: 2px solid rgba(255, 229, 181, .72);
  box-shadow: 0 0 0 4px rgba(255, 229, 181, .10);
}

.hello-card-link p {
  margin: 0;
  color: #fff7ee;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}

.confirm-card {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(440px, calc(100% - 28px));
  display: grid;
  gap: 12px;
  padding: 18px 42px 18px 18px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 220, 154, .46);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 30, 64, .98), rgba(45, 16, 28, .98) 52%, rgba(191, 132, 62, .94));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .24),
    0 26px 80px rgba(0, 0, 0, .50);
  animation: toast-enter 280ms ease-out both;
}

.confirm-card.is-hiding {
  animation: toast-exit 450ms ease-in both;
}

.confirm-card strong {
  color: #fff3d3;
  font-size: 18px;
}

.confirm-card p {
  margin: 0;
  color: #fff7ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.register-success-modal {
  width: min(500px, calc(100% - 28px));
  padding: 18px;
  text-align: center;
}

.register-success-image {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border: 1px solid rgba(255, 220, 154, .38);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .18);
}

.register-success-modal strong {
  font-family: Georgia, 'Times New Roman', serif;
  color: #ffe1a1;
  font-size: 22px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.register-success-modal p {
  font-size: 15px;
}

.register-photo-rules-modal {
  width: min(560px, calc(100% - 28px));
  padding: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(135, 30, 66, .98), rgba(45, 16, 28, .98) 48%, rgba(201, 144, 70, .95));
}

.register-photo-rules-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1px solid rgba(255, 220, 154, .42);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .18),
    0 12px 36px rgba(0, 0, 0, .30);
}

.register-photo-rules-modal strong {
  color: #ffe1a1;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  line-height: 1.12;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .36);
}

.register-photo-rules-modal p {
  font-size: 15px;
}

.register-photo-rules-modal .register-photo-rules-warning {
  padding: 10px 12px;
  border: 1px solid rgba(255, 229, 158, .38);
  border-radius: 8px;
  background: rgba(35, 11, 20, .46);
  color: #fff0c9;
  font-weight: 700;
}

.moderation-status-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(520px, calc(100% - 28px));
  display: grid;
  gap: 12px;
  padding: 18px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 220, 154, .46);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 30, 64, .98), rgba(45, 16, 28, .98) 52%, rgba(191, 132, 62, .94));
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, .24),
    0 26px 80px rgba(0, 0, 0, .50);
  animation: toast-enter 280ms ease-out both;
}

.moderation-status-modal.is-hiding {
  animation: toast-exit 450ms ease-in both;
}

.moderation-status-modal.blocked {
  border-color: rgba(255, 184, 120, .42);
  background:
    linear-gradient(135deg, rgba(82, 22, 37, .98), rgba(19, 9, 14, .98) 58%, rgba(119, 62, 34, .94));
}

.moderation-status-image {
  width: 100%;
  max-height: 178px;
  object-fit: cover;
  border: 1px solid rgba(255, 220, 154, .34);
  border-radius: 8px;
}

.moderation-status-modal strong {
  color: #ffe1a1;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  line-height: 1.12;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .36);
}

.moderation-status-modal p {
  margin: 0;
  color: #fff7ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.account-delete-modal {
  padding-right: 18px;
}

.account-delete-modal .album-modal-close {
  top: 10px;
  right: 10px;
}

.nav-help-modal {
  width: min(620px, calc(100% - 28px));
  padding-right: 18px;
}

.nav-help-shot {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(244, 210, 160, .20);
  border-radius: 8px;
  background: #160912;
}

.nav-help-top {
  min-height: 48px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
}

.nav-help-avatar,
.nav-help-age,
.nav-help-actions span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 210, 160, .42);
  color: #fff3d3;
  font-weight: 800;
}

.nav-help-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(203, 154, 99, .20);
}

.nav-help-age {
  width: 36px;
  height: 36px;
  justify-self: end;
  border-radius: 50%;
  border-color: rgba(230, 82, 112, .80);
}

.nav-help-brand {
  color: #f4d2a0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.nav-help-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.nav-help-actions span {
  position: relative;
  min-height: 42px;
  border-radius: 6px;
  background: rgba(244, 210, 160, .06);
}

.nav-help-actions b {
  position: absolute;
  top: 4px;
  left: 6px;
  color: #ffccd4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
}

.nav-help-actions svg {
  width: 21px;
  height: 21px;
  fill: #f4d2a0;
}

.nav-help-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 22px;
  color: #fff7ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.nav-help-list strong {
  color: #ffe2a8;
  font-size: inherit;
}

.confirm-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #ffe9bc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.confirm-actions .button {
  min-width: 138px;
}

.hello-card strong {
  color: #ffe2a8;
}

.hello-close {
  position: absolute;
  top: 7px;
  right: 7px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
  text-decoration: none;
  cursor: pointer;
}

.hello-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.member-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  border: 1px solid rgba(244, 210, 160, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.member-marquee::before,
.member-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 58px;
  pointer-events: none;
}

.member-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(24, 12, 17, .96), transparent);
}

.member-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(24, 12, 17, .96), transparent);
}

.member-marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: member-scroll 46s linear infinite;
}

.member-marquee:hover .member-marquee-track {
  animation-play-state: paused;
}

.mini-member {
  width: 86px;
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.mini-member img {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  object-fit: cover;
  background: #100e0f;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .24);
}

.mini-member span {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes member-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.visit-list {
  display: grid;
  gap: 8px;
}

.visit-row {
  display: grid;
  grid-template-columns: 1fr 38px 18px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(244, 210, 160, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.visit-profile-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.visit-profile-link img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #100e0f;
}

.visit-profile-link > span:not(.locked-photo) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.visit-row strong {
  color: var(--gold);
}

.visit-row small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visit-moment {
  display: inline;
}

.hello-form {
  margin: 0;
}

.hello-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 210, 160, .20);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(250, 222, 179, .96), rgba(203, 154, 99, .92));
  color: #180c11;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .30);
}

.hello-button:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
}

.presence {
  width: 12px;
  height: 12px;
  justify-self: end;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .18);
}

.presence.online {
  background: #29b765;
}

.presence.offline {
  background: #9b2d36;
}

.visit-row em {
  font-style: normal;
}

.page-head h1,
.profile-side h1 {
  margin: 0 0 6px;
}

.profile-account-dates {
  display: grid;
  gap: 2px;
  margin: -2px 0 8px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.25;
}

.page-head p,
.muted,
.profile-side p,
.profile-card small,
.profile-card span:not(.name) {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 8px;
}

.list-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--panel-2);
  border-radius: 6px;
  text-decoration: none;
}

.list-row img,
.profile-card img,
.profile-side img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #100e0f;
}

.list-row img {
  border-radius: 50%;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  scroll-margin-top: 132px;
}

.profile-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.profile-card-link {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.profile-extra {
  color: #f4d2a0;
  font-size: 13px;
}

.search-hello-form {
  justify-self: end;
  margin-top: 2px;
}

.profile-card img,
.profile-side img {
  border-radius: 6px;
}

.locked-photo {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: #100e0f;
}

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

.blurred-profile-photo {
  filter: blur(10px) saturate(.78) brightness(.72);
  transform: scale(1.1);
  transform-origin: center;
}

.locked-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 6, 9, .12), rgba(12, 6, 9, .42)),
    rgba(75, 18, 42, .12);
}

.locked-photo-text {
  position: absolute;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.locked-photo-text {
  top: calc(50% + 31px);
  width: min(78%, 180px);
  padding: 5px 8px;
  border: 1px solid rgba(244, 210, 160, .28);
  border-radius: 999px;
  background: rgba(18, 9, 14, .72);
  color: #ffe6bb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.locked-photo-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.locked-photo-mini {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .24);
}

.locked-photo-mini .locked-photo-text {
  top: 50%;
  width: calc(100% - 10px);
  padding: 4px 5px;
  border-radius: 6px;
  font-size: 9px;
  transform: translate(-50%, -50%);
}

.locked-photo-card,
.locked-photo-profile {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
}

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

.pager {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.button.secondary.pager-button,
.button.secondary.account-view-link,
.button.secondary.account-payment-toggle,
.account-edit-actions .button.secondary,
.account-status-modal .button.secondary,
.account-announcement-modal .button.secondary,
[data-profile-crop-modal] .button.secondary,
.account-security-panel .button.secondary {
  border-color: rgba(244, 210, 160, .36);
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
}

.button.secondary.pager-button:hover,
.button.secondary.account-view-link:hover,
.button.secondary.account-payment-toggle:hover,
.account-edit-actions .button.secondary:hover,
.account-status-modal .button.secondary:hover,
.account-announcement-modal .button.secondary:hover,
[data-profile-crop-modal] .button.secondary:hover,
.account-security-panel .button.secondary:hover {
  background: linear-gradient(180deg, rgba(255, 236, 204, 1), rgba(218, 168, 111, .98));
  color: #180c11;
}

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

.album-photo-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(18, 9, 13, .72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.album-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  cursor: zoom-in;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.album-photo-card .album-photo {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.album-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.album-photo:hover {
  border-color: rgba(244, 210, 160, .42);
}

.photo-like-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 7px 10px;
  background: rgba(12, 6, 9, .9);
  color: #ffe8be;
  font-size: 13px;
  font-weight: 800;
}

.profile-photo-like-bar {
  margin-top: 8px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
}

.photo-like-bar form {
  margin: 0;
}

.photo-like-button {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 210, 160, .34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #4b101c;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 244, 224, .32);
}

.photo-like-button:hover,
.photo-like-button:focus-visible,
.photo-like-button.is-liked {
  background: linear-gradient(180deg, rgba(255, 210, 225, .98), rgba(226, 87, 126, .95));
  color: #fff7fb;
}

.photo-like-list {
  display: grid;
  gap: 12px;
}

.photo-like-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(18, 9, 13, .72);
}

.photo-like-card h2,
.photo-like-card p {
  margin: 0;
}

.photo-like-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.photo-like-heart,
.photo-like-thumb {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
}

.photo-like-heart {
  background: rgba(226, 87, 126, .18);
  color: #ffd4df;
  font-size: 20px;
  font-weight: 900;
}

.photo-like-thumb {
  background: rgba(244, 210, 160, .12);
}

.photo-like-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-open {
  overflow: hidden;
}

.album-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at center, rgba(244, 210, 160, .12), transparent 34%),
    rgba(9, 4, 7, .84);
  backdrop-filter: blur(4px);
  animation: modal-backdrop-enter 220ms ease-out both;
}

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

.album-modal-overlay.is-hiding {
  animation: modal-backdrop-exit 260ms ease-in both;
}

.album-modal {
  position: relative;
  max-width: min(100%, 980px);
  max-height: min(100%, 86vh);
  display: grid;
  place-items: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.album-modal img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  border: 1px solid rgba(244, 210, 160, .34);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
  -webkit-touch-callout: none;
  user-select: none;
  pointer-events: none;
}

.album-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 229, 181, .56);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(250, 222, 179, .98), rgba(203, 154, 99, .95));
  color: #180c11;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@keyframes modal-backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-backdrop-exit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.staff-notice {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 210, 160, .38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(250, 222, 179, .16), rgba(203, 154, 99, .08));
  color: #ffe8bd;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .26);
}

.staff-notice.warning {
  border-color: rgba(218, 82, 116, .46);
  background:
    linear-gradient(180deg, rgba(218, 82, 116, .20), rgba(68, 20, 37, .20));
}

.staff-notice strong {
  color: #fff3d3;
  font-size: 15px;
}

.staff-notice span {
  color: #f4d9b4;
  font-size: 13px;
}

.profile-side {
  align-self: start;
}

.profile-status-badges {
  display: grid;
  gap: 6px;
  margin: 8px 0 10px;
}

.profile-status-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .12);
}

.profile-status-badges .good {
  color: #17321e;
  background: #9ee6a8;
}

.profile-status-badges .pending {
  color: #1b1114;
  background: #f4d2a0;
}

.profile-status-badges .neutral {
  color: #f7e6c8;
  background: rgba(255, 255, 255, .12);
}

.profile-status-badges .danger {
  color: #fff1f3;
  background: #c73352;
}

.profile-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.profile-action {
  min-height: 40px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 210, 160, .16);
  border-radius: 8px;
  background: rgba(244, 210, 160, .07);
  color: #f7e1bb;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.profile-action-form {
  margin: 0;
}

.profile-action-form .profile-action {
  width: 100%;
  text-align: left;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.profile-action:hover {
  border-color: rgba(244, 210, 160, .34);
  background: rgba(244, 210, 160, .12);
}

.profile-action.danger {
  color: #ffe8ee;
  border-color: rgba(218, 82, 116, .24);
  background: rgba(218, 82, 116, .09);
}

.profile-action.is-empty {
  color: var(--muted);
}

.profile-action.is-locked {
  border-color: rgba(244, 210, 160, .22);
}

.profile-action-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(250, 222, 179, .96), rgba(203, 154, 99, .92));
  color: #180c11;
  font-size: 16px;
  line-height: 1;
}

.profile-action-icon.favorite {
  color: #8b1f3e;
}

.profile-action-label {
  min-width: 0;
}

.profile-action-mobile-label {
  display: none;
}

.profile-action-state {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #ffe2a8;
  font-size: 10px;
  text-transform: uppercase;
}

.profile-action.is-empty .profile-action-state {
  color: rgba(255, 255, 255, .64);
}

.status {
  margin-bottom: 0;
  font-size: 18px;
}

.status-block {
  display: grid;
  gap: 3px;
}

.details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 210, 160, .18);
  border-radius: 7px;
  background: rgba(244, 210, 160, .08);
  color: #f8dfb1;
  font-size: 13px;
}

.detail-tags em {
  color: var(--muted);
  font-style: normal;
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .shell {
    width: min(100% - 20px, 1120px);
    margin: 18px auto;
  }

  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .page-head h1 {
    font-size: 22px;
  }

  .page-head p,
  .login-help,
  label,
  .section-title span,
  .visit-row small {
    font-size: 12px;
  }

  .panel,
  .auth-panel,
  .entry-panel {
    padding: 16px;
  }

  .section-title h2,
  .auth-panel h2 {
    font-size: 20px;
  }

  .toast-message {
    font-size: 13px;
    padding: 14px 16px;
  }

  .confirm-card {
    gap: 10px;
    padding: 16px 38px 16px 16px;
  }

  .confirm-card strong {
    font-size: 16px;
  }

  .confirm-card p {
    font-size: 13px;
  }

  .register-success-modal {
    padding: 14px;
  }

  .register-success-image {
    max-height: 150px;
  }

  .register-success-modal strong {
    font-size: 18px;
  }

  .register-photo-rules-modal {
    padding: 14px;
  }

  .register-photo-rules-image {
    max-height: 130px;
  }

  .register-photo-rules-modal strong {
    font-size: 18px;
  }

  .register-photo-rules-modal p {
    font-size: 13px;
  }

  .moderation-status-modal {
    padding: 14px;
  }

  .moderation-status-image {
    max-height: 140px;
  }

  .moderation-status-modal strong {
    font-size: 18px;
  }

  .moderation-status-modal p {
    font-size: 13px;
  }

  .confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .confirm-actions .button {
    width: 100%;
  }

  .detail-tags {
    gap: 5px;
  }

  .detail-tags span {
    min-height: 23px;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 11px;
  }

  .hello-card {
    width: 100%;
    padding: 10px 38px 10px 10px;
  }

  .hello-card-link {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .hello-card-link img {
    width: 44px;
    height: 44px;
  }

  .hello-card-link p {
    font-size: 13px;
  }

  .hello-close {
    width: 28px;
    height: 28px;
  }

  .topbar {
    gap: 10px;
  }

  .topbar-avatar {
    width: 34px;
    height: 34px;
  }

  .topbar-adult-badge {
    width: 40px;
  }

  .brand-stack {
    max-width: calc(100vw - 90px);
  }

  .brand {
    font-size: clamp(15px, 5.1vw, 19px);
    letter-spacing: 0;
  }

  .topbar-copyright {
    font-size: clamp(8px, 2.6vw, 10px);
  }

  .actionbar {
    top: 64px;
    gap: 8px;
    min-height: 44px;
    padding: 7px 10px;
  }

  .actionbar a,
  .actionbar button {
    min-width: 0;
    flex: 1;
    max-width: 118px;
    min-height: 40px;
    padding: 8px;
    font-size: 0;
  }

  .action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .actionbar svg {
    width: 21px;
    height: 21px;
  }

  .filters,
  .account-overview,
  .event-form,
  .messages-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .filters > *,
  .account-overview > *,
  .event-form > *,
  .event-form-wide,
  .age-filter-start,
  .age-match-filter,
  .profile-filter,
  .filters > .button {
    grid-column: 1 / -1;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-form .button {
    width: 100%;
    justify-self: stretch;
  }

  .event-file-control {
    grid-template-columns: 1fr;
  }

  .event-file-button {
    width: 100%;
  }

  .event-preview img {
    max-height: 210px;
  }

  .event-body {
    padding: 13px;
  }

  .event-card h2 {
    font-size: 18px;
  }

  .event-meta {
    display: grid;
    gap: 3px;
    font-size: 12px;
  }

  .filters > .button {
    width: 100%;
  }

  .account-head {
    align-items: stretch;
  }

  .account-view-link {
    width: 100%;
  }

  .account-photo-panel {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    padding: 12px;
  }

  .account-profile-photo-button,
  .account-photo-panel img {
    width: 72px;
  }

  .account-profile-photo-button span {
    opacity: 1;
    font-size: 10px;
    padding: 4px 5px;
  }

  .account-photo-panel strong {
    font-size: 18px;
  }

  .account-actions {
    grid-template-columns: 1fr;
  }

  .account-edit-grid,
  .account-choice-groups {
    grid-template-columns: 1fr;
  }

  .account-edit-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-edit-actions .button {
    width: 100%;
  }

  .account-preferences-actions {
    display: grid;
    gap: 12px;
  }

  .account-delete-link {
    order: 2;
    justify-self: center;
    color: rgba(255, 182, 196, .78);
    font-size: 12px;
    font-weight: 600;
  }

  .account-preferences-actions .account-edit-actions {
    order: 1;
  }

  .account-status-list,
  .preference-options {
    grid-template-columns: 1fr;
  }

  .certification-choice {
    grid-template-columns: 1fr;
  }

  .account-photo-tabs,
  .photo-upload-form,
  .photo-picker {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-photo-tabs {
    justify-content: stretch;
  }

  .photo-picker .button,
  .photo-upload-button {
    width: 100%;
  }

  .photo-crop-modal {
    width: min(96vw, 520px);
    padding: 12px;
  }

  .photo-crop-tools {
    grid-template-columns: 1fr;
  }

  .account-tile {
    min-height: 68px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .account-tile-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .messages-layout {
    gap: 12px;
  }

  .conversation-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    min-height: 58px;
    gap: 8px;
  }

  .conversation-photo-wrap {
    width: 46px;
    height: 46px;
  }

  .conversation-main strong,
  .message-bubble p,
  .message-compose textarea {
    font-size: 13px;
  }

  .conversation-main small,
  .message-contact small,
  .message-bubble small {
    font-size: 11px;
  }

  .message-thread-head {
    align-items: flex-start;
    gap: 10px;
  }

  .message-contact {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .message-contact img {
    width: 46px;
    height: 46px;
  }

  .message-contact strong {
    font-size: 18px;
  }

  .delete-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .message-list {
    max-height: none;
  }

  .message-bubble {
    width: 92%;
    padding: 9px 10px;
  }

  .message-compose .button {
    justify-self: stretch;
  }

  .profile-filter {
    padding: 10px;
  }

  .sexuality-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding-left: 18px;
  }

  .staff-notice {
    padding: 10px 12px;
  }

  .staff-notice strong {
    font-size: 13px;
  }

  .staff-notice span {
    font-size: 12px;
  }

  .profile-actions {
    grid-template-columns: repeat(6, minmax(42px, 54px));
    justify-content: center;
    gap: 8px;
  }

  .profile-action {
    position: relative;
    min-height: 44px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    padding: 6px;
  }

  .profile-action-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .profile-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .profile-action-mobile-label {
    display: none;
  }

  .profile-action[href*="album"] {
    min-height: 54px;
    grid-template-rows: 30px auto;
    align-content: center;
  }

  .profile-action[href*="album"] .profile-action-mobile-label {
    display: block;
    color: #f8dfb1;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .profile-action-state {
    position: absolute;
    right: -5px;
    top: -5px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    font-size: 9px;
  }

  .profile-action[href*="album"] .profile-action-state {
    min-width: 18px;
    padding: 0;
    color: #12351d;
    background: #61d379;
    font-size: 0;
    font-weight: 900;
  }

  .profile-action[href*="album"] .profile-action-state::before {
    content: attr(data-mobile-state);
    font-size: 12px;
    line-height: 1;
    text-transform: none;
  }

.profile-action[href*="album"].is-empty .profile-action-state {
    color: #fff1f3;
    background: #c73352;
  }

  .profile-action[href*="album"].is-locked:not(.is-empty) .profile-action-state {
    color: #180c11;
    background: #f4d2a0;
  }

  .login-screen {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .member-marquee-track {
    gap: 10px;
    animation-duration: 38s;
  }

  .mini-member {
    width: 74px;
    font-size: 11px;
  }

  .mini-member img {
    width: 58px;
    height: 58px;
  }

  .visit-row {
    grid-template-columns: 1fr 34px 16px;
    gap: 10px;
    padding: 8px;
  }

  .visit-profile-link {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .visit-profile-link img {
    width: 44px;
    height: 44px;
  }

  .visit-row strong {
    font-size: 13px;
  }

  .hello-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .login-brand {
    min-height: 0;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .login-kicker {
    font-size: 20px;
    letter-spacing: .03em;
  }

  .login-overlay {
    margin-top: 0;
  }

  .login-overlay h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .login-overlay {
    width: min(330px, 100%);
    padding: 14px;
  }

  .compact-form input {
    min-height: 36px;
  }

  .partner-ads {
    grid-column: 1;
    width: 100%;
  }

  .partner-carousel-frame {
    height: clamp(230px, 74vw, 440px);
  }

  .register-screen {
    padding: 12px 10px 22px;
  }

  .register-panel {
    gap: 12px;
    padding: 12px;
  }

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

  .register-step-dot {
    min-height: 30px;
    padding: 5px 6px;
    font-size: 10px;
  }

  .register-warning-head {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .register-warning-head img {
    width: 54px;
    height: 54px;
  }

  .register-grid,
  .register-person-grid,
  .register-final-grid {
    grid-template-columns: 1fr;
  }

  .register-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .register-actions .button {
    width: 100%;
  }

  .help-page {
    gap: 18px;
    padding: 14px;
  }

  .help-intro {
    padding: 12px;
  }

  .help-intro strong {
    font-size: 17px;
  }

  .help-toc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-toc a {
    min-height: 34px;
    justify-content: center;
    padding: 7px 8px;
    font-size: 12px;
    text-align: center;
  }

  .help-section {
    gap: 12px;
    scroll-margin-top: 104px;
  }

  .help-section h2 {
    font-size: 19px;
  }

  .help-section h3 {
    font-size: 15px;
  }

  .help-grid,
  .help-grid.compact,
  .help-split,
  .help-account-list {
    grid-template-columns: 1fr;
  }

  .help-card,
  .help-account-list article,
  .help-split > div,
  .help-note {
    padding: 12px;
  }

  .help-card ol,
  .help-steps {
    padding-left: 18px;
    font-size: 13px;
  }

  .terms-page {
    gap: 18px;
    padding: 14px;
  }

  .terms-meta,
  .terms-warning,
  .terms-note,
  .terms-grid article {
    padding: 12px;
  }

  .terms-section {
    gap: 10px;
    scroll-margin-top: 104px;
  }

  .terms-section h2 {
    font-size: 19px;
  }

  .terms-section h3 {
    font-size: 15px;
  }

  .terms-list {
    padding-left: 18px;
    font-size: 13px;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .visit-row small {
    display: grid;
    gap: 2px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .visit-moment {
    display: block;
  }
}

@media (max-width: 420px) {
  .profile-actions {
    grid-template-columns: repeat(3, 54px);
  }
}

@media (max-width: 380px) {
  .brand-stack {
    max-width: calc(100vw - 78px);
  }

  .brand {
    font-size: clamp(13px, 4.7vw, 16px);
  }

  .topbar-copyright {
    font-size: 8px;
  }

  .topbar-avatar {
    width: 30px;
    height: 30px;
  }

  .topbar-adult-badge {
    width: 34px;
  }
}
