/* Scoped rose-theme cleanup: branding, identity icon and password forms. */
@layer loveclub {
  html[data-loveclub-theme] #app .home-container .clube-nav-brand img.clube-inline-mark {
    width:clamp(260px,82vw,320px) !important;
    max-width:calc(100vw - 42px) !important;
    height:auto !important;
    aspect-ratio:1266 / 198 !important;
    object-fit:contain !important;
    box-sizing:border-box !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    filter:none !important;
  }
  html[data-loveclub-theme] #app .home-container .media-public-top {
    display:block !important;
    padding:16px !important;
  }
  html[data-loveclub-theme] #app .home-container .media-public .media-brand {
    display:block !important;
    width:auto !important;
    max-width:none !important;
    margin:0 0 8px !important;
    padding:0 !important;
    border:0 !important;
  }
  html[data-loveclub-theme] #app .home-container .media-public .media-brand > span {
    display:block !important;
    margin:0 !important;
    color:var(--lc-sub) !important;
    font-size:13px !important;
    line-height:1.6 !important;
  }
  html[data-loveclub-theme] #app .home-container .media-public .media-member-copy {
    padding:0 !important;
    font-size:14px !important;
    line-height:1.6 !important;
    letter-spacing:normal !important;
    text-shadow:none !important;
  }
  html[data-loveclub-theme] #trust-auth-menu .trust-menu-icon {
    border:0 !important;
    border-radius:0 !important;
    background:none !important;
    color:var(--lc-rose) !important;
    box-shadow:none !important;
  }
  html[data-loveclub-theme] #trust-auth-menu .trust-menu-icon svg {
    width:25px !important;
    height:25px !important;
  }
  html[data-loveclub-theme] #trust-auth-menu .trust-id-shield {
    fill:currentColor !important;
    stroke:none !important;
  }
  html[data-loveclub-theme] #trust-auth-menu .trust-id-check {
    stroke:var(--lc-card) !important;
  }

  /* Vue component scope belongs only to the login-password settings page. */
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] > .van-cell-group {
    margin:16px !important;
    overflow:hidden !important;
    border:1px solid var(--lc-line) !important;
    border-radius:12px !important;
  }
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] .van-field {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:7px !important;
    padding:14px !important;
    font-size:14px !important;
    line-height:1.5 !important;
  }
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] .van-field__label {
    flex:none !important;
    width:auto !important;
    margin:0 !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    color:var(--lc-sub) !important;
  }
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] .van-field__value,
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] .van-field__body {
    width:100% !important;
    min-width:0 !important;
  }
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] .van-field__control {
    min-height:44px !important;
    width:100% !important;
    box-sizing:border-box !important;
    padding:10px 12px !important;
    border:1px solid var(--lc-line) !important;
    border-radius:8px !important;
    background:var(--lc-page) !important;
    color:var(--lc-ink) !important;
    font-size:16px !important;
    line-height:1.5 !important;
    letter-spacing:normal !important;
    text-align:left !important;
    text-shadow:none !important;
  }

  /* The existing PIN controller creates this dedicated panel. */
  html[data-loveclub-theme] #app .container .wrapper[data-v-0ee9389c] {
    background:transparent !important;
  }
  html[data-loveclub-theme] #app .pay-fix-panel {
    padding:20px 18px !important;
  }
  html[data-loveclub-theme] #app .pay-fix-group {
    margin:0 0 20px !important;
  }
  html[data-loveclub-theme] #app .pay-fix-group label {
    display:block !important;
    margin:0 0 8px !important;
    color:var(--lc-sub) !important;
    font-size:14px !important;
    line-height:1.5 !important;
    text-align:left !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    letter-spacing:normal !important;
    text-shadow:none !important;
  }
  html[data-loveclub-theme] #app .pay-fix-input {
    height:52px !important;
    padding:0 14px !important;
    border:1px solid var(--lc-line) !important;
    background:var(--lc-card) !important;
    color:var(--lc-ink) !important;
    font-size:20px !important;
    line-height:1.5 !important;
    letter-spacing:.3em !important;
    text-shadow:none !important;
  }
  html[data-loveclub-theme] #app #payFixProof {
    font-size:16px !important;
    letter-spacing:normal !important;
    text-align:left !important;
  }
  html[data-loveclub-theme] #app .pay-fix-hint {
    margin:-4px 0 20px !important;
    font-size:13px !important;
    line-height:1.6 !important;
    text-align:left !important;
  }
  html[data-loveclub-theme] #app .pay-fix-message {
    line-height:1.5 !important;
    overflow-wrap:break-word !important;
  }
  html[data-loveclub-theme] #app .container.page[data-v-026e40fa] .van-field__control::placeholder,
  html[data-loveclub-theme] #app .pay-fix-input::placeholder,
  html[data-loveclub-theme] #fsPage .fs-withdraw-box input::placeholder {
    color:var(--lc-sub) !important;
    opacity:1 !important;
    font-size:14px !important;
    font-weight:400 !important;
    letter-spacing:normal !important;
    text-shadow:none !important;
  }
  html[data-loveclub-theme] #fsPage .fs-withdraw-box label {
    font-size:14px !important;
    line-height:1.5 !important;
    letter-spacing:normal !important;
    text-shadow:none !important;
  }
  html[data-loveclub-theme] #fsPage #fsPayPassword {
    font-size:18px !important;
    letter-spacing:.25em !important;
  }

  /* Keep the established bounded history scroller; only align its contents. */
  html.benefits-four-options[data-loveclub-theme="rose"] #app .record .period {
    align-items:center !important;
    padding:12px var(--lc-gutter) !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app .record .lc-round-label {
    display:none !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app .record .lc-round-current .period-number {
    font-size:18px !important;
    line-height:1.4 !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app .record .lc-round-next {
    gap:0 !important;
    font-size:16px !important;
    line-height:1.4 !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app .record .lc-round-next .van-count-down {
    font-size:18px !important;
    font-weight:600 !important;
    line-height:1.25 !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app #lc-round-history :is(.lc-history-table-heading,.lc-history-row) {
    grid-template-columns:minmax(112px,1.2fr) minmax(0,1.15fr) minmax(0,.85fr) !important;
    min-height:33px !important;
    padding:3px 8px !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app #lc-round-history :is(.lc-history-table-heading,.lc-history-row) > div {
    justify-content:center !important;
    text-align:center !important;
    line-height:27px !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app #lc-round-history :is(.lc-history-table-heading,.lc-history-row) > .lc-history-period {
    justify-content:center !important;
    text-align:center !important;
    font-size:16px !important;
    font-weight:700 !important;
    letter-spacing:normal !important;
  }
  html.benefits-four-options[data-loveclub-theme="rose"] #app #lc-round-history .lc-history-table-heading > :is(.lc-history-side-a,.lc-history-side-b) {
    font-size:12px !important;
    line-height:27px !important;
    letter-spacing:normal !important;
  }
}
