/* Color identity (--accent, --trim, --background, --text, --danger) lives
   in theme.css, per instance — see theme.example.css. */
:root {
  --header-h: 56px;
  --footer-h: 44px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: #ffffff;
  color: #111;
  font-family: Verdana, Geneva, sans-serif;
  overflow: hidden;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--accent);
  border-bottom: 3px solid var(--trim);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
header h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--background);
  text-shadow: 1px 1px 0 var(--text);
  white-space: nowrap;
}
header h1 a {
  color: inherit;
  text-decoration: none;
}
.notif-bell {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
}
.notif-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-sizing: border-box;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.modal {
  position: relative;
  background: var(--background);
  color: var(--text);
  padding: 26px 22px 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 320px;
  border: 3px solid var(--trim);
}
.modal h2 {
  margin: 0 0 16px;
  text-align: center;
  color: var(--accent);
}
.modal input {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 10px;
  border: 1px solid var(--trim);
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
}
.modal textarea {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 10px;
  border: 1px solid var(--trim);
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
}
.password-field {
  position: relative;
  margin-bottom: 10px;
}
.password-field input {
  margin-bottom: 0;
  padding-right: 36px;
}
.toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 4px;
  line-height: 1;
  opacity: 0.6;
}
.toggle-password:hover {
  opacity: 1;
}
.caption-input {
  width: 100%;
  min-height: 20px;
  padding: 9px 10px;
  margin-bottom: 10px;
  border: 1px solid var(--trim);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  color: var(--text);
  outline: none;
  word-break: break-word;
}
.caption-input:focus {
  border-color: var(--accent);
}
.caption-input:empty::before {
  content: attr(data-placeholder);
  color: #999;
  pointer-events: none;
}
.hashtag-token {
  color: var(--accent);
  font-weight: 700;
}
.hashtag-link {
  text-decoration: none;
  white-space: nowrap;
}
.modal button.submit,
.profile-page button.submit {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: var(--background);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.modal button.submit:disabled,
.profile-page button.submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.modal .switch {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
}
.modal .switch a {
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}
.spicy-link {
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}
.notif-actor-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.notif-actor-link:hover {
  text-decoration: underline;
}
.modal .error {
  color: var(--danger);
  font-size: 13px;
  margin-bottom: 10px;
  text-align: center;
  display: none;
}
.rotate-controls {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.rotate-controls[hidden] { display: none; }
.rotate-preview {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #000;
  border-radius: 6px;
  flex: 0 0 auto;
}
.rotate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rotate-btn {
  padding: 7px 10px;
  border: 2px solid var(--trim);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.rotate-btn:hover, .rotate-btn:focus-visible { border-color: var(--accent); }
.rotate-btn:disabled { opacity: 0.5; cursor: default; }
.rotate-status {
  margin: 6px 0 0;
  font-size: 12px;
  width: 100%;
}
.upload-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 10px;
}
.upload-picker-single { grid-template-columns: 1fr; }
.upload-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 4px;
  border: 2px solid var(--trim);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.upload-picker-single .upload-source { flex-direction: row; gap: 8px; }
.upload-source:hover, .upload-source:focus-visible { border-color: var(--accent); }
.upload-source-icon { font-size: 22px; line-height: 1; }
.upload-picker-single .upload-source-icon { font-size: 18px; }
.upload-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  text-align: left;
}
.upload-preview[hidden] { display: none; }
.upload-preview img, .upload-preview video {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
  flex: 0 0 auto;
}
.upload-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
}
.upload-preview-name {
  font-weight: 700;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-progress {
  height: 8px;
  margin: 0 0 12px;
  border-radius: 4px;
  background: var(--trim);
  overflow: hidden;
}
.upload-progress[hidden] { display: none; }
.upload-progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .upload-progress-fill { transition: none; }
}
.upload-resume-btn {
  margin-left: 6px;
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--background);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.upload-notice {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 6px;
}
.upload-notice[hidden] { display: none; }
.modal .close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}
.profile-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  background: var(--trim);
  border: 3px solid var(--trim);
}
.profile-avatar-placeholder {
  background: var(--trim);
}
.profile-name {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px;
}
.profile-username {
  text-align: center;
  font-size: 13px;
  color: var(--text);
  margin: 0 0 8px;
}
.profile-bio {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 16px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.profile-meta {
  text-align: center;
  font-size: 13px;
  margin: 0 0 16px;
  color: var(--text);
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.profile-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--trim);
}
.profile-grid .tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.grid-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--trim);
}
.grid-tile a {
  display: block;
  width: 100%;
  height: 100%;
}
.tile-action {
  position: absolute;
  top: 4px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.tile-edit {
  right: 32px;
}
.tile-delete {
  right: 4px;
}
.status-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  z-index: 1;
}
.status-not_yet {
  background: rgba(165, 124, 94, 0.9);
}
.status-no {
  background: rgba(155, 47, 47, 0.9);
}
.status-reported {
  background: rgba(90, 30, 30, 0.9);
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-h);
  background: var(--trim);
  border-top: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 20;
}
@media (max-width: 480px) {
  footer {
    gap: 10px;
    padding: 0 6px;
  }
  .footer-link {
    font-size: 12px;
  }
}
#accountArea, #footerLinks {
  display: contents;
}
.footer-link {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
#feed {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100 - var(--header-h) - var(--footer-h));
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overflow-anchor: none;
  background: var(--background);
}
.card {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100 - var(--header-h) - var(--footer-h));
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--background);
}
.media {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.like-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}
.like-btn .like-count {
  font-size: 11px;
  font-weight: 700;
}
.like-btn.liked {
  color: var(--accent);
}
.like-error {
  position: absolute;
  right: 14px;
  bottom: 212px;
  max-width: 170px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
.resend-verify-link {
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}
.comment-btn {
  position: absolute;
  right: 14px;
  bottom: 80px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}
.comment-btn .comment-count {
  font-size: 11px;
  font-weight: 700;
}
.share-btn {
  position: absolute;
  right: 14px;
  bottom: 146px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  padding: 0;
}
.share-btn svg {
  width: 20px;
  height: 20px;
}
.share-btn .share-count {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
/* Sits to the left of the share button, so it never covers the buttons. */
.share-toast {
  position: absolute;
  right: 76px;
  bottom: 158px;
  max-width: 220px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  word-break: break-all;
}
.share-toast[hidden] {
  display: none;
}
.comments-modal {
  max-width: 480px;
  width: 92%;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--trim);
  text-align: left;
}
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--trim);
  flex-shrink: 0;
}
.comment-body {
  flex: 1;
  min-width: 0;
}
.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}
.comment-item .comment-owner {
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}
.comment-time {
  font-size: 12px;
  color: var(--text);
  opacity: 0.6;
}
.comment-text {
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.comment-item .comment-delete {
  background: none;
  border: none;
  color: var(--danger, #ff5252);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}
.comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.comment-reply-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  opacity: 0.7;
  cursor: pointer;
  font-family: inherit;
}
.creator-liked-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.comment-like-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 28px;
  background: none;
  border: none;
  padding: 2px 0 0;
  cursor: pointer;
  color: var(--text);
  opacity: 0.7;
  flex-shrink: 0;
  font-family: inherit;
}
.comment-like-btn.liked {
  color: var(--accent);
  opacity: 1;
}
.comment-like-heart {
  font-size: 17px;
  line-height: 1;
}
.comment-like-count {
  font-size: 11px;
  min-height: 13px;
}
/* Replies sit under their top-level comment, indented past its avatar. */
.comment-thread {
  border-bottom: 1px solid var(--trim);
}
.comment-thread > .comment-item {
  border-bottom: none;
}
.comment-replies {
  margin-left: 46px;
}
.comment-reply {
  border-bottom: none;
  padding: 6px 0;
}
.comment-reply .comment-avatar {
  width: 26px;
  height: 26px;
}
.comment-replies-toggle {
  display: block;
  margin: 0 0 10px 46px;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  opacity: 0.6;
  cursor: pointer;
  font-family: inherit;
}
.comment-replies-toggle[hidden] {
  display: none;
}
.replying-to {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: var(--trim);
  font-size: 13px;
  text-align: left;
}
.replying-to[hidden] {
  display: none;
}
.replying-to button {
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}
#commentsList {
  max-height: 55vh;
  overflow-y: auto;
  margin-bottom: 12px;
}
.view-count-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.card-owner-btn {
  position: absolute;
  top: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.card-edit-btn {
  right: 58px;
}
.card-delete-btn {
  right: 14px;
}
.report-btn {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}
.review-card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--trim);
}
.review-card .media {
  position: relative;
  width: 100%;
  min-height: 200px;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.review-card .media img,
.review-card .media video {
  max-width: 100%;
  max-height: 60vh;
  display: block;
}
.review-card .caption {
  max-height: none;
}
.card img, .card video {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}
.caption {
  flex-shrink: 0;
  min-height: 42px;
  max-height: 40%;
  overflow-y: auto;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  overflow-wrap: break-word;
}
.caption-owner {
  white-space: nowrap;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.not-found {
  max-width: 360px;
  margin: 8vh auto 0;
  text-align: center;
  color: var(--text);
}
.not-found-code {
  margin: 0;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1;
  color: var(--accent);
}
.not-found-title {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.not-found-text {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
}
.not-found-path {
  font-family: monospace;
  overflow-wrap: anywhere;
}
.not-found-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--background);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
button.not-found-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
button.not-found-btn:disabled { opacity: 0.5; cursor: default; }
.settings-list {
  max-width: 420px;
  margin: 16px auto 0;
  border-top: 1px solid var(--trim);
}
.settings-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--trim);
  cursor: pointer;
  color: var(--text);
}
.settings-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.settings-title { font-weight: 700; font-size: 14px; }
.settings-hint { font-size: 12px; line-height: 1.45; }
.settings-switch { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--accent); }
.settings-status { text-align: center; font-size: 13px; margin: 12px 0 0; color: var(--text); }
.settings-section-title {
  max-width: 420px;
  margin: 32px auto 0;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  color: var(--text);
}
.settings-account-row { cursor: default; }
.settings-action {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.settings-action.settings-danger {
  border-color: var(--danger);
  color: var(--danger);
}
.settings-delete-confirm {
  max-width: 420px;
  margin: 12px auto 0;
  text-align: left;
  font-size: 13px;
  color: var(--text);
}
.settings-delete-confirm[hidden] { display: none; }
.settings-delete-confirm input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  margin: 8px 0;
  border: 1px solid var(--trim);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.settings-delete-confirm .settings-action { margin: 8px 8px 0 0; }
.settings-goodbye {
  max-width: 420px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.settings-status[hidden] { display: none; }
.verified-badge-row {
  text-align: center;
  margin: 0 0 12px;
}
.verified-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  cursor: default;
}
.setup-card {
  max-width: 340px;
  margin: 0 auto 16px;
  padding: 12px 14px 4px;
  border: 2px solid var(--trim);
  border-radius: 10px;
  text-align: left;
}
.setup-title {
  margin: 0 0 4px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}
.setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.setup-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--trim);
  font-size: 14px;
  color: var(--text);
}
.setup-list li:first-child { border-top: none; }
.setup-list li.done .setup-label { opacity: 0.7; }
.setup-list li:not(.done) .setup-label { font-weight: 700; }
.setup-icon { flex: 0 0 auto; line-height: 1.3; }
.setup-body { flex: 1; min-width: 0; }
.setup-hint {
  margin: 4px 0 8px;
  font-size: 12px;
  line-height: 1.45;
}
.setup-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 13px;
}
.setup-check input { width: auto; margin: 0; }
.profile-page button.submit.setup-btn {
  width: auto;
  padding: 7px 14px;
  font-size: 13px;
  margin: 2px 0 6px;
}
.founding-badge {
  margin-left: 3px;
  font-size: 0.85em;
  cursor: default;
}
#status {
  position: fixed;
  bottom: calc(var(--footer-h) + 14px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: rgba(0,0,0,0.6);
  border-radius: 6px;
  color: #aaa;
  font-size: 13px;
  z-index: 10;
  pointer-events: none;
}
.profile-page {
  position: fixed;
  top: var(--header-h);
  bottom: var(--footer-h);
  left: 0;
  width: 100%;
  overflow-y: auto;
  background: var(--background);
  color: var(--text);
  padding: 24px 16px;
  box-sizing: border-box;
}
.profile-login-prompt {
  text-align: center;
  color: var(--text);
  margin-top: 60px;
}
.profile-login-prompt a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
