/* Fans254 V1395: Dating-only visual repairs. Theme follows the in-site html[data-theme],
   never the device's prefers-color-scheme when the user selected an app theme. */

/* Dating admin: readable saved values and finished, compact editable cards. */
.admin-app .f1395-dating-admin {
  --f1395-panel:#fff;
  --f1395-control:#fff;
  --f1395-text:#192034;
  --f1395-muted:#56637b;
  --f1395-border:#e3dfe9;
  --f1395-soft:#faf8fc;
  color:var(--f1395-text);
  min-width:0;
}
html[data-theme="dark"] .admin-app .f1395-dating-admin {
  --f1395-panel:#24262d;
  --f1395-control:#1b1e25;
  --f1395-text:#f3f4f8;
  --f1395-muted:#b6bfcd;
  --f1395-border:#414551;
  --f1395-soft:#21232b;
}
.admin-app .f1395-dating-admin .f254-admin-token-snapshot {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:12px 0 16px;
}
.admin-app .f1395-dating-admin .f254-admin-token-snapshot>div {
  min-width:0;
  padding:15px;
  border-radius:15px;
  background:var(--f1395-panel)!important;
  border:1px solid var(--f1395-border)!important;
  box-shadow:none!important;
  color:var(--f1395-text)!important;
}
.admin-app .f1395-dating-admin .f254-admin-token-snapshot>div:last-child {grid-column:1/-1}
.admin-app .f1395-dating-admin .f254-admin-token-snapshot small {
  color:var(--f1395-muted)!important;
  font-size:12px;
  line-height:1.35;
  opacity:1!important;
}
.admin-app .f1395-dating-admin .f254-admin-token-snapshot strong {
  color:var(--f1395-text)!important;
  font-weight:800;
  font-size:clamp(19px,3.3vw,24px);
  opacity:1!important;
  overflow-wrap:anywhere;
}
.admin-app .f1395-dating-admin .admin-panel {
  border-color:var(--f1395-border)!important;
  background:var(--f1395-panel)!important;
  color:var(--f1395-text)!important;
}
.admin-app .f1395-dating-admin .admin-panel .panel-header p,
.admin-app .f1395-dating-admin .f254-admin-price-grid small,
.admin-app .f1395-dating-admin .f254-admin-token-help {
  color:var(--f1395-muted)!important;
  opacity:1!important;
}
.admin-app .f1395-dating-admin .f254-admin-price-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:12px;
}
.admin-app .f1395-dating-admin .f254-admin-price-grid label {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:15px;
  border-radius:15px;
  border:1px solid var(--f1395-border)!important;
  background:var(--f1395-soft)!important;
  box-shadow:none!important;
  color:var(--f1395-text)!important;
}
.admin-app .f1395-dating-admin .f254-admin-price-grid label>strong {
  font-size:15px;
  color:var(--f1395-text)!important;
  opacity:1!important;
}
.admin-app .f1395-dating-admin .f254-admin-price-grid label>span {
  font-weight:650;
  color:var(--f1395-muted)!important;
}
.admin-app .f1395-dating-admin :is(.f254-admin-price-grid input[type="number"],.f254-admin-pack input[type="number"],.f1369-admin-wallet-fields input[type="number"]) {
  display:block;
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:100%;
  height:45px;
  min-height:45px;
  padding:9px 11px;
  background:var(--f1395-control)!important;
  border:1px solid var(--f1395-border)!important;
  border-radius:11px;
  color:var(--f1395-text)!important;
  -webkit-text-fill-color:var(--f1395-text)!important;
  opacity:1!important;
  font-weight:700;
  box-shadow:none!important;
  color-scheme:normal;
}
.admin-app .f1395-dating-admin .f254-admin-price-grid input[type="number"] {width:110px;max-width:100%}
.admin-app .f1395-dating-admin input[type="number"]:focus-visible {
  outline:2px solid #e72a9c!important;
  outline-offset:2px;
}
.admin-app .f1395-dating-admin .f254-admin-pack-rows {
  gap:10px;
  padding:12px;
}
.admin-app .f1395-dating-admin .f254-admin-pack {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(60px,.55fr);
  align-items:end;
  gap:10px;
  padding:12px;
  border:1px solid var(--f1395-border);
  border-radius:14px;
  background:var(--f1395-soft);
  min-width:0;
}
.admin-app .f1395-dating-admin .f254-admin-pack label {
  min-width:0;
  color:var(--f1395-muted)!important;
  font-size:12px;
  font-weight:750;
}
.admin-app .f1395-dating-admin .f254-admin-pack-active {
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  text-align:center;
  padding-bottom:4px;
  font-size:11px!important;
  line-height:1.25;
}
.admin-app .f1395-dating-admin input[type="checkbox"] {
  accent-color:#e22a97;
  width:18px;
  height:18px;
  opacity:1!important;
}
.admin-app .f1395-dating-admin .f1369-admin-wallet-fields {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:12px 15px 17px;
  align-items:stretch;
}
.admin-app .f1395-dating-admin .f1369-admin-wallet-fields label {
  display:flex;
  flex:1 1 250px;
  gap:9px;
  align-items:center;
  color:var(--f1395-text)!important;
  font-size:13px;
  line-height:1.5;
}
.admin-app .f1395-dating-admin .f1369-admin-wallet-fields label:has(input[type="number"]) {
  align-items:flex-start;
  flex-direction:column;
}
.admin-app .f1395-dating-admin .f1369-admin-wallet-fields input[type="number"] {
  width:100%;
  max-width:300px;
}
@media(max-width:720px) {
  .admin-app .f1395-dating-admin .f254-admin-price-grid {grid-template-columns:1fr}
  .admin-app .f1395-dating-admin .f254-admin-pack {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 62px;
    gap:8px;
    padding:10px;
  }
  .admin-app .f1395-dating-admin .f254-admin-pack-active {font-size:10px!important}
}
@media(min-width:721px) {
  .admin-app .f1395-dating-admin .f254-admin-token-snapshot {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .admin-app .f1395-dating-admin .f254-admin-token-snapshot>div:last-child {grid-column:auto}
}

/* Near-edge Dating cards: use the notifications screen's compact outer gutter,
   not additional nested card margins. Reels/feeds and media object-fit are untouched. */
@media(max-width:760px) {
  .social-shell[data-social-section="dating"] .f254-date-app.f1395-dating-polish {
    padding-inline:6px!important;
  }
  .social-shell[data-social-section="dating"] .f254-dating-start.f732-landing.f1395-dating-polish {
    padding-inline:6px!important;
  }
  .social-shell[data-social-section="dating"] .f1395-dating-polish :is(.f254-date-setup,.f254-date-discover,.f716-scan,.f716-matches-view,.f769-dating-extra) {
    width:100%!important;
    max-width:100%!important;
    margin-inline:0!important;
  }
  .social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-deck {
    max-width:100%!important;
  }
}
/* The original hero forces a 3px white outline and strong colored shadow in dark mode. */
.social-shell[data-social-section="dating"] .f254-dating-start.f1395-dating-polish .f732-landing-hero {
  border:0!important;
  box-shadow:none!important;
  border-radius:30px;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish :is(.f254-date-empty,.f716-scan-card,.f254-date-section,.f769-safety-list li,.f769-alert-item,.f771-my-card) {
  box-shadow:none!important;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish :is(.f254-date-empty,.f254-date-section,.f769-safety-list li,.f769-alert-item) {
  border-color:var(--social-border,#e6dfe9)!important;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f716-scan-card {
  border-color:transparent!important;
}
/* Release empty-state reserved height only; actual image profile cards keep their dimensions. */
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-deck:has(.f254-date-empty:not([hidden])) {
  min-height:0!important;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty {
  min-height:310px;
  padding:24px 18px;
  background:var(--social-surface,#fff)!important;
  border-radius:25px;
  color:var(--social-text,#1a2130)!important;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty h2 {
  color:var(--social-text,#1a2130)!important;
  font-size:clamp(20px,4.4vw,26px);
  line-height:1.2;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty p {
  max-width:360px;
  color:var(--social-muted,#677188)!important;
  font-size:13px;
  line-height:1.55;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty > div {
  display:grid;
  width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:9px;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty > div > button {
  width:100%;
  min-width:0;
  border-radius:50px!important;
  min-height:44px;
  padding-inline:9px;
  font-size:13px;
  white-space:normal;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty .f254-date-button {
  background:#df2798!important;
  border-color:#df2798!important;
  color:#fff!important;
}
.social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty .f254-date-text-button {
  background:var(--social-surface,#fff)!important;
  border:1px solid var(--social-border,#e6dfe9)!important;
  color:var(--social-text,#1a2130)!important;
}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty {
  background:#25212f!important;
  border-color:#44394d!important;
}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty h2 {color:#f8f1fb!important}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty p {color:#b9afc4!important}
html[data-theme="dark"] .social-shell[data-social-section="dating"] .f1395-dating-polish .f254-date-empty .f254-date-text-button {
  background:#352b40!important;
  border-color:#55435f!important;
  color:#f8f1fb!important;
}
