:root {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  color: #f5f5f5;
  background: #101010;
  color-scheme: dark;
  --bg: #101010;
  --card: #1c1c1c;
  --line: #383838;
  --accent: #ff4a58;
  --muted: #a9a9a9;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
}

/* Motion: composite-only transitions, with an accessibility override below. */
.screen.is-entering {
  animation: page-in .26s cubic-bezier(.22,1,.36,1) both;
}

.swap-in {
  animation: card-in .25s cubic-bezier(.22,1,.36,1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translate3d(var(--enter-x,12px),5px,0);
  }

  to {
    opacity: 1;
    transform: translate3d(0,0,0);
  }

}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translate3d(0,11px,0) scale(.985);
  }

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

}

.boot {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff23;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

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

}

button,input,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.shell {
  max-width: 480px;
  margin: auto;
  padding: 15px 20px calc(115px + env(safe-area-inset-bottom));
}

.top {
  margin-bottom: 18px;
}

.brand {
  font-weight: 850;
  letter-spacing: -.7px;
  font-size: 22px;
}

.brand .brand-en {
  display: inline-block;
  margin-left: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  vertical-align: middle;
}

h2 {
  font-size: 22px;
  letter-spacing: -.5px;
  margin: 0 0 9px;
}

p {
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.surface {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 50px #00000065;
}

.feed-art {
  height: 225px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 51% 42%,#bd3249,transparent 43%),linear-gradient(145deg,#343434,#171717);
}

.empty-art {
  height: 200px;
  background: radial-gradient(circle at 50% 30%,#ff4a5838,transparent 58%),linear-gradient(145deg,#292929,#1c1c1c);
}

.orbit {
  position: absolute;
  width: 195px;
  height: 195px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  transform: rotate(-27deg) scaleX(1.4);
}

.art-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff40;
  border-radius: 29px;
  background: #ffffff12;
  transform: rotate(-9deg);
  box-shadow: 0 15px 30px #00000066;
}

.art-icon .icon {
  width: 45px;
  height: 45px;
  color: #ffe0e3;
  stroke-width: 1.4;
}

.inner {
  padding: 22px;
}

.inner p {
  font-size: 14px;
}

.inner h2 {
  margin-bottom: 9px;
}

.primary,.secondary {
  width: 100%;
  min-height: 51px;
  border-radius: 15px;
  font-weight: 800;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.primary {
  margin-top: 21px;
  border: 0;
  color: white;
  background: linear-gradient(110deg,#f04450,#ba1933);
  box-shadow: 0 12px 28px #960b2138;
}

.secondary {
  margin-top: 15px;
  border: 1px solid #454545;
  color: #f1f1f1;
  background: var(--card);
}

.primary .icon,.secondary .icon {
  width: 18px;
  height: 18px;
}

.primary,.secondary,.icon-button,.text-button {
  transition: transform .18s ease,background-color .2s ease,box-shadow .2s ease,color .2s ease;
}

.primary:active:not(:disabled),.secondary:active:not(:disabled),.icon-button:active:not(:disabled) {
  transform: scale(.97);
}

.primary:focus-visible,.secondary:focus-visible,.icon-button:focus-visible,.bottom-nav button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (hover:hover) {
  .primary:hover:not(:disabled) {
    box-shadow: 0 15px 32px #960b2155;
    transform: translateY(-2px);
  }

  .secondary:hover:not(:disabled) {
    background: #292929;
  }

  .icon-button:hover:not(:disabled) {
    background: #ffffff20;
  }

}

.plus-hero {
  padding: 27px 23px;
  background: radial-gradient(circle at 85% 0,#c6284166,transparent 47%),linear-gradient(150deg,#353535,#1b1b1b);
  position: relative;
}

.plus-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: #ff5261;
  color: #fff;
  margin-bottom: 26px;
}

.plus-mark .icon {
  width: 32px;
  height: 32px;
}

.plus-hero h2 {
  font-size: 30px;
}

.plus-hero h2 span {
  color: #ff7d87;
}

.pill {
  display: inline-block;
  font-size: 11px;
  padding: 7px 11px;
  border: 1px solid #5a5a5a;
  border-radius: 30px;
  color: #ff949d;
  margin-top: 14px;
}

.benefits {
  padding: 21px 22px;
}

.benefits h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.benefit {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 0;
  color: #ededed;
}

.benefit+.benefit {
  border-top: 1px solid #353535;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  background: #292929;
  color: #ff6774;
}

.benefit strong {
  display: block;
  font-size: 14px;
  margin: 0 0 5px;
}

.benefit p {
  font-size: 12px;
  line-height: 1.5;
  color: #a5a5a5;
}

.plus-note {
  padding: 14px;
  border: 1px solid #414141;
  border-radius: 13px;
  background: #242424;
  color: #bdbdbd;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 11px;
}

.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-video.note {
  width: 160px;
  height: 160px;
  inset: 7px auto auto calc(50% - 80px);
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.photos {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-top: 12px;
}

.photos>div {
  position: relative;
  aspect-ratio: 3/4;
  background: #292929;
  border-radius: 11px;
  overflow: hidden;
}

.photos img,.photos video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photos .note {
  border-radius: 50%;
}

.photos button {
  position: absolute;
  top: 3px;
  right: 3px;
  border: 0;
  border-radius: 50%;
  background: #181818eb;
  color: #fff;
  width: 26px;
  height: 26px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

select {
  width: 100%;
  padding: 14px;
  border: 1px solid #414141;
  border-radius: 13px;
  background: #242424;
  color: #f5f5f5;
}

.profile-cover {
  height: 173px;
  position: relative;
  background: radial-gradient(circle at 75% 20%,#f14b5c66,transparent 42%),linear-gradient(120deg,#3b3b3b,#1c1c1c);
}

.profile-cover:before,.profile-cover:after {
  content: "";
  position: absolute;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  width: 210px;
  height: 210px;
  right: -65px;
  top: -105px;
  pointer-events: none;
}

.profile-cover:after {
  width: 145px;
  height: 145px;
  right: 5px;
  top: -75px;
}

.profile-tools {
  position: absolute;
  z-index: 2;
  right: 13px;
  top: 13px;
  display: flex;
  gap: 5px;
  padding: 4px;
  background: #242424;
  border: 1px solid #ffffff32;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #f5f5f5;
  display: grid;
  place-items: center;
}

.icon-button:hover,.icon-button:focus-visible {
  background: #ffffff20;
  outline: none;
}

.icon-button.danger-icon {
  color: #ff919c;
}

.icon-button .icon {
  width: 19px;
  height: 19px;
}

.avatar {
  width: 84px;
  height: 84px;
  position: absolute;
  left: 21px;
  bottom: -37px;
  border: 5px solid var(--card);
  background: #ff5261;
  color: white;
  border-radius: 25px;
  display: grid;
  place-items: center;
  font-size: 35px;
  font-weight: 900;
}

.profile-body {
  padding: 49px 22px 22px;
}

.profile-name {
  font-size: 27px;
  letter-spacing: -.9px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.admin-crown {
  display: inline-flex;
  vertical-align: middle;
  border: 1px solid #b78a35;
  background: #48351b;
  color: #ffd36a;
  border-radius: 11px;
  padding: 7px;
  margin-left: 8px;
  cursor: pointer;
}

.admin-crown .icon {
  width: 20px;
  height: 20px;
}

.admin-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #383838;
}

.admin-entry span {
  overflow-wrap: anywhere;
}

.admin-entry button {
  border: 1px solid #9a5257;
  background: #352327;
  color: #ffc2c6;
  border-radius: 10px;
  padding: 11px;
  min-height: 44px;
}

.small-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 12px;
  margin-top: 19px;
  margin-bottom: 7px;
}

.small-label .icon {
  width: 16px;
  height: 16px;
}

.bio {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #e9e9e9;
  font-size: 15px;
}

.distance-tag {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 8px 11px;
  border-radius: 12px;
  background: #313131;
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 700;
}

.form-card {
  padding: 23px;
}

.form-card h2 {
  margin-bottom: 7px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 22px 0 9px;
}

input,textarea {
  display: block;
  width: 100%;
  border: 1px solid #414141;
  border-radius: 13px;
  background: #242424;
  color: #f5f5f5;
  padding: 14px;
  outline: none;
}

input:focus,textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #ff4a5825;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input,textarea {
  transition: border-color .2s ease,box-shadow .2s ease;
}

.form-foot {
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
}

.text-button {
  border: 0;
  background: transparent;
  color: #ff9ca5;
  padding: 15px;
  width: 100%;
  font-weight: 700;
}

#status {
  min-height: 20px;
  color: #ff9aa4;
  font-size: 12px;
  line-height: 1.5;
  margin: 13px 3px 0;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%,480px);
  background: #191919;
  border-top: 1px solid #373737;
  padding: 11px 14px calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(20px);
}

.nav-rail {
  position: relative;
  width: 100%;
  height: 55px;
}

.bottom-nav button {
  position: absolute;
  top: 0;
  height: 55px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa;
  border-radius: 12px;
  touch-action: manipulation;
  transition: color .22s ease;
}

.bottom-nav button:before {
  content: "";
  position: absolute;
  left: var(--icon-at);
  top: 0;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}

.bottom-nav button[aria-current=page]:before {
  transform: translateX(-50%) scaleX(1);
}

.bottom-nav button .icon {
  position: absolute;
  z-index: 1;
  left: var(--icon-at);
  top: 50%;
  width: 25px;
  height: 25px;
  transform: translate(-50%,-50%);
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}

.bottom-nav button[aria-current=page] .icon {
  transform: translate(-50%,calc(-50% - 2px)) scale(1.08);
}

.bottom-nav button:active .icon {
  transform: translate(-50%,-50%) scale(.94);
}

.bottom-nav button[aria-current=page] {
  color: #ff6a77;
}

.bottom-nav button[aria-current=page]:after {
  content: "";
  position: absolute;
  left: var(--icon-at);
  top: 50%;
  width: 49px;
  height: 49px;
  border-radius: 12px;
  background: #ff4a581a;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

@media (min-width:540px) {
  .bottom-nav {
    border: 1px solid #373737;
    border-radius: 22px 22px 0 0;
  }

}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

}

.feed-controls {
  display: flex;
  gap: 10px;
  margin-top: 19px;
}

.feed-controls button {
  margin: 0;
  min-width: 0;
  flex: 1;
}

.feed-tools {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  margin-top: 15px;
}

.feed-tools button {
  border: 0;
  background: none;
  color: #aaa;
  padding: 12px;
  font-size: 12px;
}

.feed-tools button:focus-visible {
  outline: 2px solid var(--accent);
}

.feed-notice {
  margin: 14px 3px;
  color: #ff98a1;
  font-size: 13px;
}

.publish-row {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.publish-row label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.publish-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex: none;
}

.publish-row p {
  font-size: 12px;
  margin: 8px 0 0 32px;
}

.match-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px;
  animation: page-in .2s ease both;
}

.match-dialog {
  width: min(100%,410px);
  max-height: 85dvh;
  overflow: auto;
  padding: 29px 22px 24px;
  position: relative;
  box-shadow: 0 25px 70px #000b;
}

.match-close {
  position: absolute;
  right: 12px;
  top: 12px;
}

.match-new {
  text-align: center;
  padding-top: 20px;
}

.match-heart {
  width: 76px;
  height: 76px;
  border-radius: 25px;
  margin: 10px auto 24px;
  background: #ff4a5822;
  color: #ff6a77;
  display: grid;
  place-items: center;
}

.match-heart .icon {
  width: 39px;
  height: 39px;
}

.match-new p {
  font-size: 14px;
}

.match-new .primary {
  margin-top: 26px;
}

.match-list-view p {
  font-size: 13px;
}

.match-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-consent {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
}

.contact-consent input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--accent);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 12px;
  background: #e22d44;
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.match-entry strong {
  display: block;
  margin-bottom: 6px;
}

.match-entry p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.media-picker {
  margin-top: 20px;
}

.media-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.media-title strong {
  font-size: 14px;
}

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

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

.media-actions button {
  border: 1px solid #414141;
  border-radius: 14px;
  background: #282828;
  color: #f1f1f1;
  padding: 12px 3px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  min-height: 68px;
}

.media-actions button:active {
  transform: scale(.96);
  background: #3b3334;
}

.media-actions button svg {
  height: 23px;
  width: 23px;
}

.media-actions button:focus-visible {
  outline: 2px solid var(--accent);
}

.media-hint {
  font-size: 12px;
  color: #aaa;
  margin-top: 9px;
}

.media-progress {
  margin-top: 13px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #ddd;
}

.media-progress progress {
  width: 100%;
  height: 7px;
  accent-color: var(--accent);
}

.photos>div {
  border: 1px solid #444;
}

.photos .media-type {
  position: absolute;
  bottom: 4px;
  left: 4px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #000b;
  color: #fff;
  font-size: 10px;
  pointer-events: none;
}

.media-empty {
  border: 1px dashed #555;
  border-radius: 13px;
  padding: 17px 12px;
  color: #aaa;
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
}

.photos>div button {
  z-index: 2;
  width: 30px;
  height: 30px;
}

.profile-completion {
  font-size: 12px;
  color: #ff9fa8;
  margin: 10px 0 0;
}

/* The native file input receives the actual tap. No synthetic input.click() in Telegram WebView. */
.media-actions .media-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  gap: 6px;
  padding: 10px 2px;
  border: 1px solid #414141;
  border-radius: 14px;
  background: #282828;
  font-size: 11px;
  overflow: hidden;
  cursor: pointer;
}

.media-choice .icon {
  height: 23px;
  width: 23px;
}

.media-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.media-choice:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.media-choice:active {
  background: #383838;
}

.media-choice:has(input:disabled) {
  opacity: .45;
  pointer-events: none;
}

.upload-error {
  margin-top: 10px !important;
  color: #ff9aa4 !important;
  font-size: 12px !important;
  line-height: 1.5;
}

.feed-controls {
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: visible;
}

.feed-controls .vote-button {
  height: 64px;
  width: 64px;
  min-width: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid #454545;
  background: #282828;
  color: #fff;
  transition: transform .16s,background .16s;
}

.vote-button .icon {
  height: 28px;
  width: 28px;
}

.vote-button:active {
  transform: scale(.92);
}

.feed-controls .like-vote {
  background: #e22d44;
  border-color: #e22d44;
}

.feed-controls .more-vote {
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex-basis: 48px;
}

.more-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.more-menu {
  position: absolute;
  z-index: 12;
  bottom: calc(100% + 12px);
  right: 0;
  min-width: 202px;
  background: #252525;
  border: 1px solid #505050;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 16px 44px #000a;
}

.more-menu-title {
  padding: 10px 12px 5px;
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
}

.more-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  width: 100%;
  background: none;
  border: 0;
  color: #eee;
  padding: 9px 12px;
  border-radius: 9px;
  text-align: left;
  font-size: 13px;
}

.more-menu button:active {
  background: #3b3b3b;
}

.more-menu .icon {
  width: 19px;
  height: 19px;
  color: #ff818e;
}

@media (max-width:350px) {
  .feed-controls {
    gap: 11px;
  }

  .feed-controls .vote-button {
    width: 58px;
    height: 58px;
    min-width: 58px;
    flex-basis: 58px;
  }

  .feed-controls .more-vote {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-basis: 48px;
  }

}

/* Settings remain part of the Profile screen, not a sixth navigation tab. */
.settings-card {
  padding: 21px 20px;
}

.settings-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 23px;
}

.settings-top h2 {
  margin: 0;
}

.settings-top .icon {
  transform: rotate(180deg);
}

.settings-section {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #ff818c;
  margin: 24px 0 9px;
}

.settings-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.settings-row strong {
  display: block;
  font-size: 14px;
}

.settings-row small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
}

.settings-row input {
  width: 23px;
  height: 23px;
  padding: 0;
  flex: none;
  accent-color: var(--accent);
}

.settings-hint {
  font-size: 12px;
  line-height: 1.5;
  color: #a9a9a9;
  padding: 10px 0;
}

.settings-delete {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 15px 12px;
  border: 1px solid #53353b;
  border-radius: 13px;
  background: #281b1e;
  color: #ff939e;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
}

#settings-status {
  color: #ff9aa4;
  font-size: 13px;
  margin-top: 15px;
  min-height: 18px;
  line-height: 1.5;
}


/* Accessible safety notice in the existing modal layer. */
.safety-dialog { max-width: 420px; text-align: left; }
.safety-dialog p { line-height: 1.5; }
.safety-check { display: flex; align-items: start; gap: 10px; margin: 16px 0; }
.safety-check input { width: 20px; height: 20px; flex-shrink: 0; }
.safety-dialog .primary { width: 100%; }

/* A subscription badge is not a verification mark or admin privilege. */
.premium-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.premium-title h2 { margin: 0; }

.plus-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid #d7ae62;
  border-radius: 999px;
  background: #39291c;
  color: #f8d999;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: middle;
}

.plus-badge[hidden] { display: none; }

.opener-photo {
  display: block;
  max-width: 100%;
  max-height: 180px;
  border-radius: 13px;
  object-fit: contain;
  margin-top: 10px;
}
