:root {
  --bg: #7921ff;
  --accent: #002df5;
  --primary: #f7f4fb;
  --ink: #20152e;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px system-ui,
    sans-serif;
  min-height: 100vh;
}
body.dark {
  --primary: #7921ff;
  --bg: #bd94f3;
  --accent: #002df5;
  --ink: #fff;
  color-scheme: dark;
}
main {
  max-width: 520px;
  margin: auto;
  padding: 24px 18px 100px;
}
.brand {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  background: currentColor;
  -webkit-mask: url("/assets/logo.svg") center/contain no-repeat;
  mask: url("/assets/logo.svg") center/contain no-repeat;
}
.card {
  background: var(--primary);
  padding: 22px;
  border-radius: 24px;
  box-shadow: 0 14px 40px #21005d40;
  margin: 18px 0;
}
.dark .card {
  color: #fff;
}
input,
select,
textarea,
button {
  width: 100%;
  padding: 14px;
  margin: 7px 0;
  border: 1px solid #0002;
  border-radius: 14px;
  font: inherit;
}
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 750;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button.secondary,
.button-link.secondary {
  background: transparent;
  color: inherit;
  border: 2px solid var(--accent);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.home-intro {
  margin: 18px 0;
  padding: 22px;
  color: var(--ink);
  background: var(--primary);
  border-radius: 24px;
  box-shadow: 0 14px 40px #21005d40;
}
.home-intro h2 {
  margin: 0 0 12px;
}
.home-intro p {
  margin: 0 0 12px;
  line-height: 1.55;
}
.home-intro p:last-child {
  margin-bottom: 0;
}
.home-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: 1rem;
}
.home-legal-links a { color: inherit; font-weight: 700; }
.maintenance-notice {
  display: grid;
  gap: .35rem;
  margin: 18px 0;
  padding: 18px 20px;
  color: #3a0808;
  background: #ffd7d7;
  border: 3px solid #b50000;
  border-radius: 18px;
  box-shadow: 0 8px 24px #4d000040;
}
.maintenance-notice strong { font-size: 1.25rem; }
.dark .maintenance-notice { color: #fff; background: #620000; border-color: #ff8d8d; }
.dark .home-intro {
  color: #fff;
}
.auth-tab {
  background: transparent;
  color: inherit;
  border: 2px solid var(--accent);
}
.auth-tab.active {
  background: var(--accent);
  color: #fff;
}
.text-button {
  width: auto;
  padding: 6px 0;
  margin: 4px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 4px;
  color: #666;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: currentColor;
  flex: 1;
  opacity: 0.35;
}
.dashboard-menu {
  display: grid;
  gap: 10px;
}
.dashboard-menu .button-link {
  display: block;
  margin: 0;
  text-align: center;
  text-decoration: none;
}
.passkey-list {
  display: grid;
  gap: 8px;
}
.security-notice {
  margin: 18px 0;
  padding: 14px 16px;
  border: 2px solid #b45309;
  border-radius: 14px;
  background: #fff7ed;
  color: #7c2d12;
}
.security-notice h3 {
  margin: 0 0 8px;
}
.security-notice p {
  margin: 0;
}
.passkey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid #0002;
  border-radius: 12px;
}
.passkey-remove {
  width: auto;
  margin: 0;
  padding: 8px 10px;
}
.row {
  display: flex;
  gap: 8px;
}
.row > * {
  flex: 1;
}
.muted {
  opacity: 0.7;
  font-size: 0.9rem;
}
.hidden {
  display: none !important;
}
#toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  z-index: 20;
}
a {
  color: inherit;
}
.account-topbar {
  max-width: 900px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--primary);
  color: var(--ink);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 8px 28px #21005d2b;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}
.topbar-logo {
  display: block;
  width: 46px;
  height: 46px;
  background: currentColor;
  -webkit-mask: url("/assets/logo.svg") center/contain no-repeat;
  mask: url("/assets/logo.svg") center/contain no-repeat;
}
.topbar-title {
  font-size: 1.3rem;
}
.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.topbar-coins {
  white-space: nowrap;
}
.topbar-buy,.topbar-install {
  width: auto;
  margin: 0;
  padding: 11px 14px;
  background: #002df5;
  color: #fff;
}
.topbar-imprint {
  padding: 10px 4px;
  white-space: nowrap;
}
.home-app-install{display:flex;justify-content:center;margin:0 auto 1rem}.home-app-install .button-link{width:auto;background:#002df5;color:#fff;font-weight:750}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: var(--primary);
  color: var(--ink);
  border-top: 1px solid #0002;
  justify-content: space-around;
  gap: 0;
  z-index: 9;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
}
.bottom-nav-link {
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  min-width: 60px;
}
.bottom-nav-link.active {
  color: var(--accent);
}
.bottom-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.adsense-banner {
  position: fixed;
  right: 0;
  bottom: calc(67px + env(safe-area-inset-bottom));
  left: 0;
  z-index: 8;
  min-height: 50px;
  max-height: 100px;
  overflow: hidden;
  background: var(--primary);
  border-top: 1px solid #0002;
  text-align: center;
}
.adsense-banner .adsbygoogle {
  display: block;
  width: 100%;
  min-height: 50px;
}
.logged-in .brand,
.logged-in #guest-preferences,
.logged-in .account-summary,
.logged-in #buy-card {
  display: none !important;
}
.full-screen-panel {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 11;
  overflow: auto;
  padding: 18px 18px 110px;
}
.profile-page main > :not(.bottom-nav) {
  display: none;
}
.profile-page > .full-screen-panel {
  position: relative;
  inset: auto;
  z-index: auto;
  min-height: calc(100vh - 92px);
  padding-top: 0;
}
.profile-page #profile-editor {
  position: relative;
  inset: auto;
  z-index: auto;
  min-height: calc(100vh - 92px);
  padding-top: 0;
}
.settings-panel {
  z-index: 12;
}
.panel-card {
  max-width: 520px;
  margin: 0 auto;
}
.profile-detail {
  padding: 0 18px 110px;
}
.profile-detail-card {
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
}
.profile-detail-back {
  text-align: left;
  padding: 0 0 14px;
}
.detail-photo {
  display: block;
  width: 100%;
  max-height: 68vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
}
.detail-photo-stage {
  position: relative;
  touch-action: pan-y;
  cursor: zoom-in;
  user-select: none;
}
.detail-photo-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 64px;
  padding: 0;
  border-radius: 0 16px 16px 0;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}
.detail-photo-prev { left: 0; }
.detail-photo-next { right: 0; border-radius: 16px 0 0 16px; }
.detail-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgb(0 0 0 / 55%);
  color: #fff;
  font-size: .85rem;
}
.detail-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 52px 12px 12px;
  background: rgb(0 0 0 / 94%);
}
.detail-photo-lightbox img { max-width: 100%; max-height: calc(100vh - 64px); object-fit: contain; }
.detail-photo-close {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 22%);
  color: #fff;
  font-size: 30px;
}
.detail-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-attribute {
  padding-top: 4px;
  border-top: 1px solid #002df52b;
}
.detail-attribute h3 {
  margin-bottom: 4px;
}
.detail-attribute p {
  margin-top: 0;
}
.detail-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.detail-actions button,
.detail-actions a {
  width: auto;
  flex: 1;
}
.detail-actions .button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px 0;
  padding: 14px;
  color: #fff;
  border: 0;
  font-weight: 750;
}
.detail-message {
  margin-top: 18px;
  padding-top: 6px;
  border-top: 1px solid #002df52b;
}
.detail-message textarea {
  min-height: 140px;
  resize: vertical;
}
.connections-page {
  padding: 0 18px 110px;
}
.connections-card {
  max-width: 760px;
  margin: 0 auto;
}
.connection-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.connection-tabs button.active,
.connection-tabs .button-link.active {
  background: var(--accent);
  color: #fff;
}
.connections-table {
  width: 100%;
  border-collapse: collapse;
}
.connections-table th,
.connections-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #002df52b;
}
.connections-table th:first-child,
.connections-table td:first-child {
  width: 70px;
}
.connection-thumbnail {
  display: block;
  width: 52px;
  height: 68px;
  border-radius: 9px;
  object-fit: cover;
}
.transactions-card {
  max-width: 1000px;
}
.transaction-tabs .button-link {
  margin: 0;
}
.transactions-table-wrap {
  overflow-x: auto;
}
.transactions-table {
  min-width: 680px;
}
.transactions-table th:first-child,
.transactions-table td:first-child {
  width: 155px;
  white-space: nowrap;
}
.transactions-table .number-cell {
  text-align: right;
  white-space: nowrap;
}
.transactions-empty {
  padding: 22px 0;
  text-align: center;
}
.messages-table tbody tr {
  cursor: pointer;
}
.messages-table tbody tr:hover,
.messages-table tbody tr:focus {
  background: #002df50d;
  outline: 2px solid transparent;
}
.messages-table tr.unread td {
  font-weight: 750;
}
.message-preview {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-reader > header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}
.message-reader h3,
.message-reader time {
  margin: 0;
}
#message-reader-body {
  min-height: 120px;
  padding: 18px;
  border-radius: 14px;
  background: #002df50d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.message-actions .button-link,
.message-actions .danger-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 50px;
}
#message-reply-body {
  min-height: 140px;
  resize: vertical;
}
@media (max-width: 600px) {
  .messages-table th:nth-child(3),
  .messages-table td:nth-child(3) {
    display: none;
  }
}
.plain-fieldset {
  border: 0;
  padding: 0;
}
.auto-width {
  width: auto;
}
.language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 7px 0;
}
.language-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px 5px 11px;
  border: 1px solid #002df555;
  border-radius: 999px;
  background: #002df51a;
  color: inherit;
}
.language-tag button {
  width: 22px;
  min-width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}
.language-entry {
  display: flex;
  gap: 8px;
}
.language-entry input {
  flex: 1;
}
.language-add {
  width: 46px;
  min-width: 46px;
  margin: 0;
  padding: 8px;
}
.photo-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.photo-list img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  object-fit: cover;
  background: #1112;
}
.photo-select {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 12px;
  background: transparent;
}
.photo-select.selected {
  border-color: #002df5;
  box-shadow: 0 0 0 3px #002df533;
}
.photo-select.selected::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #002df5;
  color: white;
  font-weight: 800;
}
#photo-delete {
  margin-bottom: 12px;
}
.photo-choose {
  cursor: pointer;
}
.crop-editor {
  margin-top: 16px;
}
#crop-canvas {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 12px;
  border: 2px solid #002df5;
  border-radius: 18px;
  background: #111;
  touch-action: none;
}
.crop-editor input[type="range"] {
  padding: 0;
}
@media (max-width: 520px) {
  .photo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.button-link {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
}
.settings-link {
  margin-top: 10px;
}
.text-link {
  display: block;
  text-align: center;
  padding: 14px;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.section-separator {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #7775;
}
.confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.confirm-row input {
  margin-top: 4px;
}
.danger-button {
  background: #b00020;
  margin-top: 14px;
}
.discover-page main {
  max-width: 1200px;
}
.discover-section {
  width: 100%;
}
.discover-page .account-card {
  display: none !important;
}
.discover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--primary);
  margin: 0 0 18px;
}
.discover-header h2 {
  margin: 0;
}
.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
}
.icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 18px;
  background: #0009;
}
.modal-card {
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  margin: 0;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal-heading h2 {
  margin: 0;
}
body.modal-open {
  overflow: hidden;
}
#debug-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  color: #e9e9ef;
  font: 12px ui-monospace, SFMono-Regular, Consolas, monospace;
  box-shadow: 0 -4px 24px #0006;
}
.debug-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 38px;
  padding: 0 10px;
  overflow-x: auto;
  border-top: 1px solid #464650;
  background: #202027;
  white-space: nowrap;
}
.debug-toolbar strong {
  margin-right: 8px;
  color: #ffcf33;
}
.debug-toolbar button {
  align-self: stretch;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.debug-toolbar button:hover,
.debug-toolbar button.active {
  border-bottom-color: #7921ff;
  background: #303039;
}
.debug-toolbar #debug-api {
  margin-left: auto;
  color: #b9b9c4;
}
.debug-panel {
  max-height: min(55vh, 520px);
  padding: 14px 18px;
  overflow: auto;
  border-top: 1px solid #464650;
  background: #17171c;
}
.debug-panel pre {
  margin: 0;
  color: #d7e9ff;
  font: inherit;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.debug-panel dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 7px 18px;
  margin: 0;
}
.debug-panel dt { color: #aaaab5; }
.debug-panel dd { margin: 0; }
.filter-card {
  margin-bottom: 0;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 16px;
}
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.profile-tile {
  background: var(--primary);
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px #21005d35;
}
.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ddd;
}
.profile-summary {
  padding: 14px 16px 18px;
}
.profile-name {
  margin: 0 0 5px;
  font-size: 1.2rem;
}
.profile-meta {
  margin: 0;
  opacity: 0.82;
}
.pagination-link {
  max-width: 320px;
  margin: 24px auto;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
}
.payment-notice {
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
}
.payment-notice-card {
  max-width: 480px;
  margin: 0;
}
.payment-refresh {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
}
.imprint-page main {
  padding-bottom: 24px;
}
.legal-document {
  width: min(920px, calc(100% - 32px));
  margin: 32px auto;
  padding: clamp(22px, 5vw, 48px);
  background: var(--primary);
  color: var(--text);
  border-radius: 24px;
  box-shadow: 0 16px 45px #1900442b;
}
.legal-document h1 { margin-top: 0; }
.legal-document h2 { margin: 1.8rem 0 .55rem; font-size: 1.15rem; }
.legal-document p, .legal-document address { line-height: 1.65; }
.legal-document address { font-style: normal; }
.legal-updated { color: var(--muted); }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.legal-actions .button-link { width: auto; }
.legal-footer { margin-top: 24px; }
@media (max-width: 600px) {
  body.discover-page {
    overflow-x: hidden;
  }
  .discover-page main {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .discover-page .account-actions {
    margin-left: 12px;
    margin-right: 12px;
  }
  .discover-header {
    padding: 0 14px;
  }
  .modal {
    align-items: end;
    padding: 0;
  }
  .modal-card {
    width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
  }
  .profile-grid {
    display: block;
  }
  .profile-tile {
    width: 100vw;
    margin: 0 0 16px;
    border-radius: 0;
  }
  .account-topbar {
    padding: 10px 12px;
    gap: 11px;
    font-size: 0.7rem;
  }
  .topbar-brand {
    gap: 7px;
  }
  .topbar-logo {
    width: 32px;
    height: 32px;
  }
  .topbar-title {
    font-size: 0.91rem;
  }
  .topbar-actions {
    gap: 7px;
  }
  .topbar-buy,.topbar-install {
    padding: 8px 10px;
    font-size: 0.7rem;
  }
  .topbar-imprint {
    padding: 7px 3px;
  }
}

/* AdminLTE customization */
.admin-page{--am-admin-primary:#7921ff;--bs-primary:#7921ff;--bs-primary-rgb:121,33,255;--bs-body-color:#17121f;--bs-secondary-color:#51485c;min-height:100vh;color:#17121f}.admin-page .app-main,.admin-page .app-header,.admin-page .card,.admin-page .card-body,.admin-page .card-footer{color:#17121f}.admin-page h1,.admin-page h2,.admin-page h3,.admin-page .card-title,.admin-page label,.admin-page dt,.admin-page .navbar-text{color:#120d18}.admin-page .text-body-secondary,.admin-page .breadcrumb,.admin-page small{color:#51485c!important}.admin-page .form-control,.admin-page .form-select{color:#17121f;background-color:#fff;border-color:#746b7d}.admin-page .form-control::placeholder{color:#655c6e;opacity:1}.admin-page .app-sidebar{--lte-sidebar-width:260px;background:#21152f!important}.admin-page .sidebar-brand{border-bottom:1px solid rgba(255,255,255,.12)}.admin-page .brand-link{display:flex;align-items:center;gap:.65rem;color:#fff;text-decoration:none}.admin-page .brand-image{width:2.1rem;height:2.1rem;fill:#fff}.admin-page .sidebar-menu .nav-link.active{background:#7921ff;color:#fff}.admin-page .nav-icon{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8}.admin-sidebar-toggle{display:inline-flex;align-items:center;justify-content:center}.admin-sidebar-toggle svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:2}.admin-page .app-content>.container-fluid,.admin-page .app-content-header>.container-fluid{max-width:none}.admin-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,38rem),1fr));gap:1.25rem}.admin-report-card{min-width:0;margin:0}.admin-report-card .card-title{font-size:1.05rem}.admin-report-meta{display:grid;grid-template-columns:9rem minmax(0,1fr);gap:.65rem 1rem;margin:0}.admin-report-meta dt{font-weight:700}.admin-report-meta dd{margin:0;overflow-wrap:anywhere}.admin-report-meta small{color:#51485c}.admin-details{white-space:pre-wrap}.admin-status-open{background:#ffc107;color:#212529}.admin-status-reviewing{background:#0d6efd;color:#fff}.admin-status-resolved{background:#198754;color:#fff}.admin-status-dismissed{background:#6c757d;color:#fff}.admin-page textarea{resize:vertical}@media(max-width:575.98px){.admin-report-meta{grid-template-columns:1fr}.admin-report-meta dt:not(:first-child){margin-top:.5rem}.admin-page .app-content{padding-inline:.25rem}}

/* Affiliate marketplace */
.marketplace{width:min(1200px,100%);margin:0 auto}.marketplace-heading{margin:0 0 1.25rem;color:var(--primary)}.marketplace-heading h2{margin-bottom:.35rem}.marketplace-heading p{margin:0;max-width:52rem}.marketplace-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.1rem}.marketplace-shop{display:flex;flex-direction:column;overflow:hidden;padding:0}.marketplace-logo-wrap{display:grid;place-items:center;height:9rem;padding:1.25rem;background:#fff}.marketplace-logo{display:block;max-width:100%;max-height:6.5rem;object-fit:contain}.marketplace-shop-body{display:flex;flex:1;flex-direction:column;padding:1.1rem}.marketplace-category{font-size:.82rem;color:var(--accent)}.marketplace-shop h3{margin:.35rem 0 .65rem}.marketplace-description{flex:1;white-space:pre-line;overflow-wrap:anywhere}.marketplace-coins{margin:1rem 0;font-size:1.05rem}.marketplace-coins strong{font-weight:800}.marketplace-visit{display:block;margin-top:auto;text-align:center}.marketplace-empty{padding:2rem;text-align:center}
.marketplace-search{display:flex;flex-direction:column;gap:.35rem;width:min(44rem,100%);margin:0 auto 1.25rem}.marketplace-search input[type=search]{width:100%;min-width:0;padding:.75rem 1rem;color:#20152e;background:#fff;border:1px solid #20152e33;border-radius:.75rem}.marketplace-search input[type=search]::placeholder{color:#5d526b;opacity:1}.marketplace-search button{width:100%;margin:0;border:0}.dark .marketplace-search input[type=search]{color:#fff;background:#20152e;border-color:#ffffff40}.dark .marketplace-search input[type=search]::placeholder{color:#d8d0df}

.marketplace-visit{background:#002df5;color:#fff;font-weight:750}.marketplace-visit:hover,.marketplace-visit:focus-visible,.topbar-buy:hover,.topbar-buy:focus-visible,.topbar-install:hover,.topbar-install:focus-visible{background:#0025c9;color:#fff}

.admin-shop-table img{display:block;width:4rem;height:3rem;object-fit:contain;background:#fff}.shop-status-new{background:#ffc107;color:#212529}.shop-status-online{background:#198754;color:#fff}.shop-status-inactive{background:#6c757d;color:#fff}.admin-shop-logo{display:grid;place-items:center;min-height:9rem;padding:1rem;background:#fff;border:1px solid #ddd}.admin-shop-logo img{max-width:100%;max-height:7rem;object-fit:contain}.admin-shop-facts{display:grid;grid-template-columns:1fr auto;gap:.45rem .8rem;margin:0}.admin-shop-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.admin-shop-data-header,.admin-shop-edit-box{width:100%;margin-bottom:1.5rem}.admin-shop-facts-wide{grid-template-columns:minmax(9rem,1fr) minmax(8rem,1fr)}.admin-shop-description-field{display:block;clear:both;width:100%;margin-top:1.25rem!important;padding-top:1.25rem;border-top:1px solid #d6d1dc}.admin-shop-description-field textarea{display:block;width:100%;min-height:24rem}@media(max-width:767.98px){.admin-shop-facts-wide{grid-template-columns:1fr auto}.admin-shop-description-field textarea{min-height:18rem}}
.points-help-link{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;margin-left:.25rem;border:1px solid currentColor;border-radius:50%;font-size:.8rem;font-weight:800;line-height:1;text-decoration:none}
.discover-header-actions{display:flex;align-items:center;gap:.5rem}.discover-header-actions .icon-button{box-sizing:border-box;text-decoration:none}
