
/* DATE48 V61 — dedicated React desktop composition */

@media (min-width:1200px) {

  html body main.date48-account-page.d48-v62 {
    --p-card:var(--desk-paper,#fffaf8);
    --p-ink:var(--desk-ink,#34252f);
    --p-muted:var(--desk-muted,#887780);
    --p-accent:var(--desk-accent,#983e63);
    --p-line:var(
      --desk-border,rgba(105,66,81,.14)
    );

    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:20px!important;

    width:100%!important;
    max-width:1400px!important;
    min-width:0!important;

    margin:0 auto!important;
    padding:28px 25px 80px!important;

    color:var(--p-ink)!important;
    background:transparent!important;
  }

  html body main.d48-v62 > * {
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
  }

  /* Cover */

  html body .d48-v62-cover {
    position:relative!important;
  }

  html body .d48-v62
  .date48-account-hero {
    display:grid!important;
    grid-template-columns:
      minmax(230px,300px)
      minmax(0,1fr)!important;

    align-items:center!important;
    justify-items:stretch!important;
    gap:42px!important;

    position:relative!important;

    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-height:380px!important;
    height:auto!important;

    margin:0!important;
    padding:28px 34px!important;

    border:1px solid var(--p-line)!important;
    border-radius:26px!important;

    background:var(--p-card)!important;
    box-shadow:
      0 14px 42px rgba(33,19,27,.05)!important;

    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-account-hero::before,
  html body .d48-v62
  .date48-account-hero::after {
    display:none!important;
    content:none!important;
  }

  html body .d48-v62
  .date48-account-hero
  > .date48-account-avatar {
    grid-column:1!important;

    position:relative!important;
    inset:auto!important;
    transform:none!important;

    box-sizing:border-box!important;
    width:100%!important;
    max-width:300px!important;

    height:320px!important;
    min-height:320px!important;

    margin:0!important;
    border-radius:21px!important;
    overflow:hidden!important;

    box-shadow:
      0 15px 35px rgba(30,18,24,.14)!important;
  }

  html body .d48-v62
  .date48-account-avatar__photo {
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  html body .d48-v62
  .date48-account-hero
  > .date48-account-identity {
    grid-column:2!important;

    position:relative!important;
    inset:auto!important;
    transform:none!important;
    translate:none!important;

    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:10px!important;

    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    margin:0!important;
    padding:0 0 20px!important;

    text-align:left!important;
    background:transparent!important;
    color:var(--p-ink)!important;
    text-shadow:none!important;
  }

  html body .d48-v62
  .date48-account-identity h1 {
    font-family:
      Georgia,"Times New Roman",serif!important;

    font-size:clamp(37px,3.2vw,52px)!important;
    font-weight:500!important;
    letter-spacing:-.045em!important;

    color:var(--p-ink)!important;
    text-shadow:none!important;
  }

  html body .d48-v62
  .date48-account-hero-city {
    color:var(--p-muted)!important;
    text-shadow:none!important;
  }

  html body .d48-v62
  .date48-account-kicker {
    color:var(--p-accent)!important;
    text-shadow:none!important;
  }

  html body .d48-v62
  .d48-v62-edit {
    position:absolute!important;
    bottom:35px!important;
    right:36px!important;
    z-index:3!important;

    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;

    min-height:43px!important;
    padding:10px 18px!important;

    border:1px solid var(--p-accent)!important;
    border-radius:999px!important;

    color:var(--p-accent)!important;
    text-decoration:none!important;

    font-size:13px!important;
    font-weight:700!important;
  }

  /* Two genuinely independent React columns */

  html body .d48-v62-story {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
    gap:20px!important;
  }

  html body .d48-v62-column {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:20px!important;

    min-width:0!important;
  }

  /* Shared Date48 card system */

  html body .d48-v62
  :is(
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts,
    .date48-social-library,
    .date48-account-security-teaser,
    .date48-theme-card
  ) {
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;

    border:1px solid var(--p-line)!important;
    border-radius:22px!important;

    background:var(--p-card)!important;
    color:var(--p-ink)!important;
    box-shadow:
      0 7px 28px rgba(34,21,29,.035)!important;
  }

  html body .d48-v62
  :is(
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts
  ) {
    padding:24px!important;
  }

  html body .d48-v62
  :is(
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts
  ) h2 {
    color:var(--p-ink)!important;
    font-family:
      Georgia,"Times New Roman",serif!important;
    font-size:26px!important;
    font-weight:500!important;
    letter-spacing:-.035em!important;
  }

  html body .d48-v62
  .date48-account-param-grid,
  html body .d48-v62
  .date48-seeking-card__grid {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  /* Photo gallery */

  html body .d48-v62
  .date48-account-posts__grid {
    display:grid!important;
    grid-template-columns:
      repeat(4,minmax(0,1fr))!important;
    gap:14px!important;
  }

  html body .d48-v62
  .date48-account-post {
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-account-post img {
    width:100%!important;
    aspect-ratio:3/4!important;
    max-height:310px!important;
    object-fit:cover!important;
  }

  /* Status + moments + saved */

  html body .d48-v62
  .date48-social-core {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    gap:20px!important;

    width:100%!important;
    min-width:0!important;
    padding:0!important;

    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }

  html body .d48-v62
  .date48-social-status-card {
    grid-column:1/-1!important;
    margin:0!important;
    width:100%!important;
    border-radius:22px!important;
  }

  html body .d48-v62
  .date48-social-library {
    padding:22px!important;
  }

  html body .d48-v62
  .date48-social-grid {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  html body .d48-v62
  .date48-social-moment {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-social-moment img,
  html body .d48-v62
  .date48-social-moment video {
    width:100%!important;
    max-height:285px!important;
    object-fit:cover!important;
  }

  /* Settings and owner sections */

  html body .d48-v62-settings,
  html body .d48-v62-management {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
    gap:20px!important;
  }

  html body .d48-v62
  .date48-account-security-teaser,
  html body .d48-v62
  .date48-theme-card {
    padding:22px!important;
  }

  html body .d48-v62-management > * {
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  html body .d48-v62
  .date48-account-actions {
    grid-column:1/-1!important;
    margin:0!important;
  }

  html body .d48-v62
  :is(a,button,input,textarea):focus-visible {
    outline:2px solid var(--p-accent)!important;
    outline-offset:3px!important;
  }
}

/* Date48 dark appearance */

@media (min-width:1200px) {
  html:is(
    .dark,
    .dark-wine,
    .date48-dark,
    [data-theme="dark"],
    [data-date48-theme="dark"]
  ) body .d48-v62,
  body:is(
    .dark,
    .dark-wine,
    .date48-dark,
    [data-theme="dark"],
    [data-date48-theme="dark"]
  ) .d48-v62 {
    --p-card:var(--desk-paper,#292128);
    --p-ink:var(--desk-ink,#f7edf1);
    --p-muted:var(--desk-muted,#baa9b3);
    --p-line:var(
      --desk-border,rgba(244,217,230,.16)
    );
    --p-accent:var(--desk-accent,#e0a0b9);
  }
}

@media (min-width:1200px) and (max-width:1400px) {
  html body .d48-v62
  .date48-account-hero {
    grid-template-columns:
      minmax(200px,250px)
      minmax(0,1fr)!important;
    min-height:330px!important;
    gap:28px!important;
  }

  html body .d48-v62
  .date48-account-hero
  > .date48-account-avatar {
    max-width:250px!important;
    height:270px!important;
    min-height:270px!important;
  }

  html body .d48-v62
  .date48-account-posts__grid {
    grid-template-columns:
      repeat(3,minmax(0,1fr))!important;
  }
}


/*
 DATE48 V62 — FINAL COMPOSITION RULES
 One active desktop profile stylesheet.
 These rules follow all V61 responsive rules.
*/

@media (min-width:1200px) {

  /* Two photos in the personal column */

  html body .d48-v62
  .date48-account-posts__grid {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start!important;
  }

  html body .d48-v62
  .date48-account-post {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    border-radius:15px!important;
    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-account-post img {
    display:block!important;
    width:100%!important;
    height:265px!important;
    max-height:265px!important;
    aspect-ratio:3/4!important;
    object-fit:cover!important;
  }

  /* Moments get more space than saved media */

  html body .d48-v62
  .date48-social-core {
    display:grid!important;
    grid-template-columns:
      minmax(0,1.65fr)
      minmax(0,1fr)!important;
    gap:18px!important;
  }

  html body .d48-v62
  .date48-social-status-card {
    grid-column:1/-1!important;
  }

  /* Three moments fit horizontally */

  html body .d48-v62
  .date48-social-grid {
    display:grid!important;
    grid-template-columns:
      repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:start!important;
  }

  html body .d48-v62
  .date48-social-moment {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-social-moment img,
  html body .d48-v62
  .date48-social-moment video {
    display:block!important;
    width:100%!important;
    max-height:250px!important;
    object-fit:cover!important;
  }

  /* Saved moments have their own compact grid */

  html body .d48-v62
  .date48-social-library:last-of-type
  .date48-social-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
  }

  /* No extra wide gallery section */

  html body .d48-v62
  .date48-account-posts {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    align-self:stretch!important;
  }
}



/*
 DATE48 V63 — PREMIUM PROFILE FINISH

 Reuses the V62 React composition.
 No flowers, illustrations or fabricated data.
 Desktop only, >=1200px.
 Existing Date48 theme variables.
*/

@media (min-width:1200px) {

  /* Clearer hierarchy and quieter surfaces */

  html body main.date48-account-page.d48-v62 {
    gap:24px!important;
    padding-bottom:90px!important;
  }

  html body .d48-v62
  :is(
    .date48-account-hero,
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts,
    .date48-social-library,
    .date48-account-security-teaser,
    .date48-theme-card
  ) {
    border:1px solid var(--p62-border)!important;
    box-shadow:
      0 2px 3px rgba(35,20,28,.012),
      0 12px 36px rgba(35,20,28,.035)!important;
  }

  /* Hero: more emphasis on the actual person */

  html body .d48-v62
  .date48-account-hero {
    min-height:365px!important;
    padding:28px 34px!important;
    gap:44px!important;

    border-radius:27px!important;

    background:linear-gradient(
      115deg,
      var(--p62-paper) 28%,
      color-mix(
        in srgb,
        var(--p62-paper) 95%,
        var(--p62-accent)
      ) 100%
    )!important;
  }

  html body .d48-v62
  .date48-account-hero
  > .date48-account-avatar {
    max-width:295px!important;
    height:305px!important;
    min-height:305px!important;

    border-radius:23px!important;
    box-shadow:
      0 15px 36px rgba(31,17,24,.13)!important;
  }

  html body .d48-v62
  .date48-account-identity h1 {
    font-size:clamp(48px,4.4vw,66px)!important;
    line-height:1.07!important;
    letter-spacing:-.055em!important;
    margin:7px 0 4px!important;
  }

  html body .d48-v62
  .date48-account-hero-city {
    font-size:16px!important;
    line-height:1.5!important;
  }

  html body .d48-v62
  .date48-account-kicker {
    font-size:11px!important;
    letter-spacing:.17em!important;
    font-weight:700!important;
  }

  html body .d48-v62
  .date48-account-trust {
    border-radius:999px!important;
    padding:7px 12px!important;
    background:color-mix(
      in srgb,
      var(--p62-paper) 85%,
      var(--p62-accent)
    )!important;
    color:var(--p62-ink)!important;
    font-size:12px!important;
    text-shadow:none!important;
  }

  html body .d48-v62
  .d48-v62-edit {
    min-height:47px!important;
    padding:12px 22px!important;

    color:var(--p62-paper)!important;
    background:var(--p62-accent)!important;
    border-color:var(--p62-accent)!important;

    font-size:13px!important;
    box-shadow:
      0 8px 20px rgba(91,37,61,.12)!important;
  }

  /* Readable information cards */

  html body .d48-v62
  :is(
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts
  ) {
    padding:26px 27px!important;
    border-radius:22px!important;
  }

  html body .d48-v62
  :is(
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts,
    .date48-social-library
  ) h2 {
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:28px!important;
    line-height:1.2!important;
    font-weight:500!important;
    letter-spacing:-.035em!important;
    color:var(--p62-ink)!important;
  }

  html body .d48-v62
  :is(
    .date48-account-about,
    .date48-account-params,
    .date48-seeking-card,
    .date48-account-interests,
    .date48-account-posts,
    .date48-social-library
  ) p {
    font-size:13px!important;
    line-height:1.58!important;
  }

  html body .d48-v62
  :is(
    .date48-account-section-kicker,
    .date48-social-eyebrow,
    .date48-eyebrow
  ) {
    font-size:10px!important;
    letter-spacing:.15em!important;
    font-weight:700!important;
    color:var(--p62-accent)!important;
  }

  html body .d48-v62
  :is(
    .date48-account-param,
    .date48-seeking-card__item
  ) {
    padding:15px 16px!important;
    border-radius:13px!important;
  }

  html body .d48-v62
  :is(
    .date48-account-param,
    .date48-seeking-card__item
  ) > span {
    font-size:11px!important;
    line-height:1.35!important;
  }

  html body .d48-v62
  :is(
    .date48-account-param,
    .date48-seeking-card__item
  ) > b {
    font-size:14px!important;
    line-height:1.4!important;
    font-weight:650!important;
  }

  html body .d48-v62
  .date48-account-interest-chip {
    min-height:30px!important;
    padding:7px 12px!important;
    font-size:12px!important;
  }

  /* Photos: genuine full-bleed image cards */

  html body .d48-v62
  .date48-account-posts__grid {
    gap:13px!important;
  }

  html body .d48-v62
  .date48-account-post {
    position:relative!important;
    isolation:isolate!important;

    width:100%!important;
    height:auto!important;
    min-height:0!important;

    aspect-ratio:4/5!important;
    padding:0!important;

    border-radius:17px!important;
    background:var(--p62-paper)!important;
    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-account-post > img {
    position:absolute!important;
    inset:0!important;
    z-index:0!important;

    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;

    aspect-ratio:auto!important;
    object-fit:cover!important;
  }

  html body .d48-v62
  .date48-account-post::after {
    content:"";
    position:absolute;
    z-index:1;
    pointer-events:none;
    inset:auto 0 0;
    height:38%;
    background:linear-gradient(
      to bottom,
      transparent,
      rgba(18,12,16,.46)
    );
  }

  html body .d48-v62
  .date48-account-post
  :is(
    .date48-account-post__main,
    .date48-account-post__make-main
  ) {
    position:absolute!important;
    left:11px!important;
    bottom:11px!important;
    top:auto!important;
    right:auto!important;

    z-index:3!important;
    max-width:calc(100% - 22px)!important;
  }

  html body .d48-v62
  .date48-account-post
  > button:not(.date48-account-post__make-main) {
    z-index:4!important;
  }

  /* Moments: photographs fill their tiles */

  html body .d48-v62
  .date48-social-grid {
    gap:12px!important;
  }

  html body .d48-v62
  .date48-social-moment {
    position:relative!important;
    isolation:isolate!important;

    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/5!important;

    border-radius:16px!important;
    overflow:hidden!important;
  }

  html body .d48-v62
  .date48-social-moment > :is(img,video) {
    position:absolute!important;
    inset:0!important;
    z-index:0!important;

    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
  }

  html body .d48-v62
  .date48-social-moment::after {
    content:"";
    position:absolute;
    z-index:1;
    pointer-events:none;
    inset:auto 0 0;
    height:38%;
    background:linear-gradient(
      to bottom,
      transparent,
      rgba(18,12,16,.48)
    );
  }

  html body .d48-v62
  .date48-social-moment__caption {
    position:absolute!important;
    z-index:2!important;

    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;

    box-sizing:border-box!important;
    padding:22px 11px 11px!important;

    color:#fff!important;
    background:transparent!important;
    font-size:12px!important;
    line-height:1.4!important;
  }

  html body .d48-v62
  .date48-social-moment > :is(button,a) {
    z-index:4!important;
  }

  /* Settings as a calm, secondary layer */

  html body .d48-v62-settings {
    gap:18px!important;
  }

  html body .d48-v62-management {
    grid-auto-flow:row dense!important;
    gap:18px!important;
    align-items:start!important;
  }

  html body .d48-v62-management::before {
    content:"ИНСТРУМЕНТЫ И УПРАВЛЕНИЕ";
    grid-column:1/-1;

    display:block;
    padding:14px 2px 0;

    color:var(--p62-accent);
    font-size:11px;
    font-weight:700;
    letter-spacing:.16em;
  }

  html body .d48-v62
  .date48-account-actions {
    display:flex!important;
    flex-wrap:wrap!important;
    gap:12px!important;

    align-items:stretch!important;
    margin:0!important;
  }

  html body .d48-v62
  .date48-account-actions > :is(a,button) {
    box-sizing:border-box!important;
    flex:1 1 220px!important;
    width:auto!important;
    min-width:0!important;
    min-height:46px!important;

    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;

    padding:12px 18px!important;
    border-radius:13px!important;

    font-size:13px!important;
    line-height:1.3!important;
  }
}

/* Slightly narrower desktop — preserve readable spacing */

@media (min-width:1200px) and (max-width:1350px) {
  html body .d48-v62
  .date48-account-hero {
    gap:28px!important;
    padding:24px 28px!important;
  }

  html body .d48-v62
  .date48-account-hero
  > .date48-account-avatar {
    max-width:245px!important;
    height:275px!important;
    min-height:275px!important;
  }

  html body .d48-v62
  .date48-account-identity h1 {
    font-size:47px!important;
  }
}



/*
  DATE48 V65 — SELECTIVE EDITORIAL REPAIR

  Retain V63's reliable component structure.
  Keep the cleaner photo presentation of V64.
  Preserve functional surfaces.

  DESKTOP ONLY.
*/

@media (min-width:1200px) {

  /* Main editorial rhythm */

  html body main.date48-account-page.d48-v62 {
    gap:24px!important;
    background:transparent!important;
  }

  html body .d48-v62-story {
    gap:26px!important;
    align-items:start!important;
  }

  html body .d48-v62-column {
    gap:19px!important;
  }

  /* About and interests — editorial, not boxes */

  html body .d48-v62
  .d48-v62-column
  > :is(
    .date48-account-about,
    .date48-account-interests
  ) {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;

    padding:12px 3px 23px!important;
    margin:0!important;

    border:0!important;
    border-bottom:1px solid
      var(--p62-border)!important;

    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body .d48-v62
  .date48-account-interest-chip {
    background:transparent!important;
    box-shadow:none!important;
  }

  /* Parameters and seeking:
     preserve readable grouped information */

  html body .d48-v62
  .date48-account-params,

  html body .d48-v62
  .date48-seeking-card {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;

    margin:0!important;
    padding:24px!important;

    border:1px solid var(--p62-border)!important;
    border-radius:20px!important;
    background:var(--p62-paper)!important;

    box-shadow:none!important;
  }

  html body .d48-v62
  .date48-account-param-grid,

  html body .d48-v62
  .date48-seeking-card__grid {
    display:grid!important;
    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;
    gap:11px!important;
  }

  /* Reserve clear space for parameter icons. */

  html body .d48-v62
  .date48-account-param {
    box-sizing:border-box!important;
    position:relative!important;

    min-width:0!important;
    min-height:66px!important;

    padding:13px 13px 13px 38px!important;

    border:1px solid var(--p62-border)!important;
    border-radius:13px!important;

    background:color-mix(
      in srgb,
      var(--p62-paper) 96%,
      var(--p62-accent)
    )!important;
    box-shadow:none!important;
  }

  html body .d48-v62
  .date48-seeking-card__item {
    box-sizing:border-box!important;
    min-width:0!important;
    min-height:66px!important;

    padding:13px 15px!important;

    border:1px solid var(--p62-border)!important;
    border-radius:13px!important;

    background:color-mix(
      in srgb,
      var(--p62-paper) 96%,
      var(--p62-accent)
    )!important;
    box-shadow:none!important;
  }

  /* Photos stay full-bleed, with no outer card */

  html body .d48-v62
  .date48-account-posts {
    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    padding:11px 2px!important;
    margin:0!important;

    border:0!important;
    border-radius:0!important;

    background:transparent!important;
    box-shadow:none!important;
  }

  html body .d48-v62
  .date48-account-post {
    box-shadow:none!important;
  }

  /* Status and media collections stay light */

  html body .d48-v62
  .date48-social-status-card {
    box-sizing:border-box!important;

    padding:18px 3px 24px!important;
    margin:0!important;

    border:0!important;
    border-bottom:1px solid
      var(--p62-border)!important;

    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body .d48-v62
  .date48-social-library {
    box-sizing:border-box!important;

    padding:13px 2px 9px!important;

    border:0!important;
    border-radius:0!important;

    background:transparent!important;
    box-shadow:none!important;
  }

  /* Security and theme: useful, quiet controls */

  html body .d48-v62-settings {
    padding-top:15px!important;

    border-top:1px solid
      var(--p62-border)!important;
  }

  html body .d48-v62
  :is(
    .date48-account-security-teaser,
    .date48-theme-card
  ) {
    padding:16px 4px!important;

    border:0!important;
    border-radius:0!important;

    background:transparent!important;
    box-shadow:none!important;
  }

  /* Admin / feedback: preserve clear boundaries
     rather than removing all their surfaces. */

  html body .d48-v62-management {
    align-items:start!important;
    gap:18px!important;
  }

  html body .d48-v62-management::before {
    padding:18px 0 12px!important;

    border-top:1px solid
      var(--p62-border)!important;
  }

  /* Avoid changing button and form internals. */

  html body .d48-v62
  :is(button,a,input,select,textarea):focus-visible {
    outline:2px solid var(--p62-accent)!important;
    outline-offset:3px!important;
  }
}



/*
 DATE48 V66 / 205
 Compact lower profile area.

 Profile hero, gallery and main layout stay V65.
 No decorative backgrounds.
 Desktop only.
*/

@media (min-width:1200px) {

  html body .d48-v62-management {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;

    width:100%!important;
    min-width:0!important;

    gap:0!important;
    margin:0!important;
    padding:4px 0 34px!important;
  }

  html body .d48-v62-management::before {
    content:"НАСТРОЙКИ И ВОЗМОЖНОСТИ"!important;

    display:block!important;
    grid-column:1/-1!important;

    margin:0!important;
    padding:0 0 16px!important;

    border:0!important;
    color:var(--p62-accent)!important;

    font-size:11px!important;
    font-weight:700!important;
    letter-spacing:.15em!important;
  }

  html body .d48-v62-management
  > .d48-v66-fold {
    display:block!important;

    box-sizing:border-box!important;
    grid-column:1/-1!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    border-top:1px solid
      var(--p62-border)!important;

    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;

    color:var(--p62-ink)!important;
    overflow:visible!important;
  }

  html body .d48-v66-fold
  > .d48-v66-head {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;

    gap:20px!important;

    box-sizing:border-box!important;
    width:100%!important;
    padding:20px 4px!important;

    list-style:none!important;
    cursor:pointer!important;

    background:transparent!important;
    color:var(--p62-ink)!important;
  }

  html body .d48-v66-head::-webkit-details-marker {
    display:none!important;
  }

  html body .d48-v66-head::marker {
    content:""!important;
  }

  html body .d48-v66-label {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;

    gap:5px!important;
    min-width:0!important;
  }

  html body .d48-v66-label strong {
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:23px!important;
    font-weight:500!important;
    line-height:1.25!important;

    color:var(--p62-ink)!important;
  }

  html body .d48-v66-label small {
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.5!important;

    color:var(--p62-muted)!important;
  }

  html body .d48-v66-chevron {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    flex:0 0 34px!important;

    width:34px!important;
    height:34px!important;

    border:1px solid
      var(--p62-border)!important;
    border-radius:50%!important;

    color:var(--p62-accent)!important;
    background:transparent!important;

    font-size:22px!important;
    line-height:1!important;

    transition:transform .18s ease!important;
  }

  html body .d48-v66-fold[open]
  .d48-v66-chevron {
    transform:rotate(180deg)!important;
  }

  html body .d48-v66-fold
  > .d48-v66-content {
    display:grid!important;

    grid-template-columns:
      repeat(2,minmax(0,1fr))!important;

    align-items:start!important;
    gap:18px!important;

    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    padding:6px 0 28px!important;
  }

  html body .d48-v66-content > * {
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  html body .d48-v66-account
  > .d48-v66-content {
    grid-template-columns:
      minmax(0,1fr)!important;
  }

  html body .d48-v66-account
  .date48-account-actions {
    display:flex!important;
    flex-wrap:wrap!important;

    gap:12px!important;
    width:100%!important;

    padding:6px 0!important;
    margin:0!important;
  }

  html body .d48-v66-account
  .date48-account-actions
  > :is(button,a) {
    box-sizing:border-box!important;

    flex:1 1 220px!important;
    width:auto!important;
    min-width:0!important;
    min-height:44px!important;
  }

  html body .d48-v66-head:focus-visible {
    outline:2px solid
      var(--p62-accent)!important;
    outline-offset:4px!important;
    border-radius:6px!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  html body .d48-v66-chevron {
    transition:none!important;
  }
}



/*
 DATE48 V67 — Dark profile surface repair.

 Dark appearance only.
 Desktop only.
 Keep V66 layout and interaction unchanged.
*/

@media (min-width:1200px) {

  :is(
    html.dark,
    html.dark-wine,
    html.date48-dark,
    html[data-theme="dark"],
    html[data-date48-theme="dark"],
    body.dark,
    body.dark-wine,
    body.date48-dark,
    body[data-theme="dark"],
    body[data-date48-theme="dark"],
    .dark,
    .dark-wine,
    .date48-dark,
    .theme-dark,
    [data-theme="dark"],
    [data-date48-theme="dark"]
  ) .d48-v62,

  .d48-v62:is(
    .dark,
    .dark-wine,
    .date48-dark,
    [data-theme="dark"],
    [data-date48-theme="dark"]
  ) {

    --p62-paper:var(--desk-paper,#292128);
    --p62-ink:var(--desk-ink,#f7edf1);
    --p62-muted:var(--desk-muted,#bba9b3);
    --p62-accent:var(--desk-accent,#e1a0b9);

    --p62-border:rgba(245,219,232,.15);

    --v67-subtle:rgba(255,255,255,.035);

    /* Hero is the one major visual surface */

    & .date48-account-hero {
      background:var(--p62-paper)!important;
      border:1px solid var(--p62-border)!important;
      border-radius:26px!important;
      box-shadow:none!important;
    }

    /* Main information cards:
       rounded surfaces, never square slabs */

    & :is(
      .date48-account-params,
      .date48-seeking-card
    ) {
      background:var(--p62-paper)!important;
      border:1px solid var(--p62-border)!important;
      border-radius:21px!important;
      box-shadow:none!important;
    }

    /* Editorial sections need no underlays */

    & :is(
      .date48-account-about,
      .date48-account-interests,
      .date48-account-posts,
      .date48-social-core,
      .date48-social-status-card,
      .date48-social-library,
      .date48-account-security-teaser,
      .date48-theme-card
    ) {
      background:transparent!important;
      box-shadow:none!important;
    }

    /* Structural inner wrappers */

    & :is(
      .date48-account-panel-head,
      .date48-account-param-grid,
      .date48-seeking-card__grid,
      .date48-account-interests__head,
      .date48-account-posts__head,
      .date48-social-library__head,
      .date48-account-interest-chips,
      .d48-v62-settings,
      .d48-v62-management,
      .d48-v66-content,
      .d48-v66-head,
      .d48-v66-fold
    ) {
      background:transparent!important;
      box-shadow:none!important;
    }

    /* Facts: soft rounded cells */

    & :is(
      .date48-account-param,
      .date48-seeking-card__item
    ) {
      background:var(--v67-subtle)!important;
      border:1px solid var(--p62-border)!important;
      border-radius:13px!important;
      box-shadow:none!important;
    }

    /* Interest chips */

    & .date48-account-interest-chip {
      background:var(--v67-subtle)!important;
      border:1px solid var(--p62-border)!important;
      border-radius:999px!important;
      box-shadow:none!important;
    }

    /* Photos remain full bleed */

    & :is(
      .date48-account-post,
      .date48-social-moment
    ) {
      border-radius:16px!important;
      overflow:hidden!important;
      box-shadow:none!important;
    }

    /* Round utility icons instead of square blocks */

    & :is(
      .date48-account-security-teaser__icon,
      .date48-theme-card__icon
    ) {
      border-radius:50%!important;
      background:var(--v67-subtle)!important;
      box-shadow:none!important;
    }

    /* Disclosure rows must remain flat */

    & .d48-v66-fold {
      border-radius:0!important;
      border:0!important;
      border-top:1px solid
        var(--p62-border)!important;
    }

    & .d48-v66-chevron {
      border-radius:50%!important;
      background:transparent!important;
    }
  }
}



/*
  DATE48 V68 / 208

  Exact dark theme:
  html.date48-message-life-dark

  Based on actual computed browser styles.
  Remove square background slabs and gradients.

  Only >=1200px.
  No light-theme rules.
  No React changes.
*/

@media (min-width:1200px) {

  /*
    PHOTO GALLERY, MOMENTS AND STATUS

    These were measured with opaque
    background colors and zero radius.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 :is(
    .d48-v62-moments,
    .date48-account-posts,
    .date48-social-status-card,
    .date48-social-library
  ) {
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;

    border:0!important;
    border-radius:0!important;
  }

  /*
    SECURITY AND THEME ROWS

    Remove gradient-filled rectangles.
    Keep icons, labels and controls.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 :is(
    .date48-account-security-teaser,
    .date48-theme-card
  ) {
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;

    border:0!important;
    border-radius:0!important;
  }

  /*
    MAIN INFORMATION WRAPPERS

    Transparent means transparent.
    Do not introduce another dark panel.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 :is(
    .d48-v62-story,
    .d48-v62-column,
    .date48-social-core,
    .d48-v62-settings,
    .d48-v62-management
  ) {
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
  }

  /*
    PARAMETERS

    The ::before radial gradient is
    unnecessary in the dark theme.
    Keep individual parameter cells.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 .date48-account-params::before {
    background:none!important;
    box-shadow:none!important;
  }

  /*
    SEEKING CARD

    Keep this as a legitimate rounded
    component instead of a square slab.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 .date48-seeking-card {
    background-color:rgba(255,255,255,.025)!important;
    background-image:none!important;

    border:1px solid rgba(245,219,232,.13)!important;
    border-radius:21px!important;

    box-shadow:none!important;
  }

  /*
    Preserve photo rounding.
    No changes to their inner overlays.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 :is(
    .date48-account-post,
    .date48-social-moment
  ) {
    border-radius:16px!important;
    overflow:hidden!important;
  }

  /*
    Disclosure rows remain flat.
    No background is added to them.
  */

  html.date48-message-life-dark
  body.d48-desktop-inner-page
  .d48-v62 .d48-v66-fold {
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
  }
}



/*
 DATE48 V69 / STEP 213

 Exact dark-theme About You repair.

 Browser-grounded element:
 section.d48-v13-force-card

 Main issue:
 ::before contains a bright radial gradient.

 Scope:
 desktop only, exact dark theme, exact card.
*/

@media (min-width:1200px) {

  html.date48-message-life-dark body.d48-desktop-inner-page main.date48-account-page.d48-v62 .d48-v62-story > .d48-v62-column:nth-child(2) > section.d48-v13-force-card {
    box-sizing:border-box!important;

    background-color:#1b1519!important;
    background-image:none!important;

    border-radius:27px!important;
    overflow:hidden!important;

    isolation:isolate!important;

    box-shadow:none!important;
  }

  /*
   The reported white shine is created
   by this pseudo-element.
  */

  html.date48-message-life-dark body.d48-desktop-inner-page main.date48-account-page.d48-v62 .d48-v62-story > .d48-v62-column:nth-child(2) > section.d48-v13-force-card::before {
    content:none!important;
    display:none!important;

    background:none!important;
    background-image:none!important;

    opacity:0!important;
    box-shadow:none!important;
    pointer-events:none!important;
  }

  /*
   Clean the exact heading wrapper.
   Keep all real content and controls.
  */

  html.date48-message-life-dark body.d48-desktop-inner-page main.date48-account-page.d48-v62 .d48-v62-story > .d48-v62-column:nth-child(2) > section.d48-v13-force-card .date48-pv3-top {
    background-color:transparent!important;
    background-image:none!important;

    box-shadow:none!important;
    border-radius:0!important;
  }

  /*
   Remove unwanted heading underlays,
   without touching the character scale,
   chips, bars, or edit button.
  */

  html.date48-message-life-dark body.d48-desktop-inner-page main.date48-account-page.d48-v62 .d48-v62-story > .d48-v62-column:nth-child(2) > section.d48-v13-force-card .date48-pv3-top
  :is(h1,h2,h3,p,small,strong) {
    background-color:transparent!important;
    background-image:none!important;

    box-shadow:none!important;
    text-shadow:none!important;
  }
}
