/* Shared nsfwland palette and components. Keep brand color values in this token block. */
:root {
    color-scheme: dark;
    --nsfwland-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --nsfwland-bg: var(--project-page, #130b12);
    --nsfwland-bg-soft: var(--project-surface-muted, #1b101a);
    --nsfwland-panel: var(--project-surface, #241522);
    --nsfwland-panel-2: var(--project-surface-accent, #301c2b);
    --nsfwland-line: var(--project-border, #493044);
    --nsfwland-line-strong: var(--project-border-strong, #68435a);
    --nsfwland-muted: var(--project-text-soft, #c6afbd);
    --nsfwland-subtle: var(--project-text-muted, #a68a9a);
    --nsfwland-ink: var(--project-text, #fff4f7);
    --nsfwland-accent: var(--project-primary, #ed6b91);
    --nsfwland-accent-strong: var(--project-button-primary-background, #c84470);
    --nsfwland-accent-hover: var(--project-link, #ffabc2);
    --nsfwland-accent-contrast: var(--project-button-primary-text, #fff4f7);
    --nsfwland-accent-soft: var(--project-surface-accent, #4a2037);
    --nsfwland-accent-deep: #56243c;
    --nsfwland-accent-deeper: #341b30;
    --nsfwland-warm: #dfb47c;
    --nsfwland-warm-soft: #403020;
    --nsfwland-warm-contrast: #28190a;
    --nsfwland-success: #a4d2b7;
    --nsfwland-info: #c4a6cf;
    --nsfwland-danger: #ef8a87;
    --nsfwland-glass: rgb(19 11 18 / 94%);
    --nsfwland-shadow: rgb(0 0 0 / 18%);
    --nsfwland-accent-shadow: rgb(237 107 145 / 20%);
    --nsfwland-accent-faint: rgb(237 107 145 / 11%);
    --nsfwland-card-glow: rgb(237 107 145 / 8%);
    --nsfwland-promo-glint: rgb(255 244 247 / 18%);
    --nsfwland-category-ai: #de7d9b;
    --nsfwland-category-ai-generators: #c889b5;
    --nsfwland-category-tube: #d79a77;
    --nsfwland-category-cams: #d76d82;
    --nsfwland-category-premium: #dfb47c;
    --nsfwland-category-chat: #be83a1;
    --nsfwland-category-vr: #ad8bbc;
    --nsfwland-category-short-video: #e69b83;
    --nsfwland-category-hookup: #d27ca5;
    --nsfwland-category-amateur: #c89a82;

    /* Legacy directory aliases keep existing server-rendered views on the same palette. */
    --bg: var(--nsfwland-bg);
    --bg-soft: var(--nsfwland-bg-soft);
    --panel: var(--nsfwland-panel);
    --panel-2: var(--nsfwland-panel-2);
    --line: var(--nsfwland-line);
    --line-strong: var(--nsfwland-line-strong);
    --muted: var(--nsfwland-muted);
    --subtle: var(--nsfwland-subtle);
    --ink: var(--nsfwland-ink);
    --accent: var(--nsfwland-accent);
    --accent-strong: var(--nsfwland-accent-strong);
    --accent-hover: var(--nsfwland-accent-hover);
    --accent-contrast: var(--nsfwland-accent-contrast);
    --accent-soft: var(--nsfwland-accent-soft);
    --category-ai: var(--nsfwland-category-ai);
    --category-ai-generators: var(--nsfwland-category-ai-generators);
    --category-tube: var(--nsfwland-category-tube);
    --category-cams: var(--nsfwland-category-cams);
    --category-premium: var(--nsfwland-category-premium);
    --category-chat: var(--nsfwland-category-chat);
    --category-vr: var(--nsfwland-category-vr);
    --category-short-video: var(--nsfwland-category-short-video);
    --category-hookup: var(--nsfwland-category-hookup);
    --category-amateur: var(--nsfwland-category-amateur);
    --warm: var(--nsfwland-warm);
    --warm-soft: var(--nsfwland-warm-soft);
    --warm-contrast: var(--nsfwland-warm-contrast);
    --success: var(--nsfwland-success);
    --info: var(--nsfwland-info);
    --danger: var(--nsfwland-danger);
    --glass: var(--nsfwland-glass);
    --shadow: var(--nsfwland-shadow);
    --accent-shadow: var(--nsfwland-accent-shadow);
    --accent-faint: var(--nsfwland-accent-faint);

    /* Growtype tokens stay authoritative; directory colors are fallbacks only. */
    --theme-color: var(--project-primary, var(--nsfwland-accent));
    --theme-color-dark: var(--project-primary-active, var(--nsfwland-accent-strong));
    --theme-color-soft: color-mix(in srgb, var(--project-primary, var(--nsfwland-accent)) 12%, var(--project-page, var(--nsfwland-bg)));
    --theme-color-glow: color-mix(in srgb, var(--project-primary, var(--nsfwland-accent)) 20%, transparent);
    --toptech-page: var(--nsfwland-bg);
    --toptech-ink: var(--nsfwland-ink);
    --toptech-ink-soft: var(--nsfwland-muted);
    --toptech-muted: var(--nsfwland-muted);
    --toptech-surface: var(--nsfwland-panel);
    --toptech-surface-muted: var(--nsfwland-bg-soft);
    --toptech-surface-lilac: var(--nsfwland-panel-2);
    --toptech-on-dark: var(--nsfwland-ink);
    --toptech-placeholder: var(--nsfwland-subtle);
    --toptech-border: var(--nsfwland-line);
    --toptech-border-strong: var(--nsfwland-line-strong);
    --toptech-text: var(--nsfwland-ink);
    --toptech-text-muted: var(--nsfwland-muted);
    --toptech-shadow-focus: 0 0 0 4px var(--nsfwland-accent-faint);
    --toptech-shadow-sm: 0 6px 22px var(--nsfwland-shadow);
    --toptech-shadow-lg: 0 16px 40px var(--nsfwland-shadow);
    --link-color: var(--project-link, var(--nsfwland-accent-hover));
    --link-color-active: var(--project-link-active, var(--nsfwland-accent-hover));
    --btn-primary-background-color: var(--project-button-primary-background, var(--nsfwland-accent-strong));
    --btn-primary-background-color-active: var(--project-button-primary-active-background, var(--nsfwland-accent));
    --btn-primary-color: var(--project-button-primary-text, var(--nsfwland-accent-contrast));
    --btn-primary-color-active: var(--project-button-primary-active-text, var(--nsfwland-accent-contrast));
    --btn-primary-border-color: var(--project-button-primary-border, var(--nsfwland-accent-strong));
    --btn-primary-border-color-active: var(--project-button-primary-active-border, var(--nsfwland-accent));
    --btn-secondary-background-color: var(--project-button-secondary-background, var(--nsfwland-panel));
    --btn-secondary-background-color-active: var(--project-button-secondary-active-background, var(--nsfwland-panel-2));
    --btn-secondary-color: var(--project-button-secondary-text, var(--nsfwland-ink));
    --btn-secondary-color-active: var(--project-button-secondary-active-text, var(--nsfwland-ink));
    --btn-secondary-border-color: var(--project-button-secondary-border, var(--nsfwland-line-strong));
    --btn-secondary-border-color-active: var(--project-button-secondary-active-border, var(--nsfwland-accent));
}

html:has(body.nsfwland-ui:not(.nsfwland-custom-page)) {
    background: var(--nsfwland-bg);
    scroll-padding-top: 90px;
}

body.nsfwland-ui:not(.nsfwland-custom-page) {
    min-height: 100vh;
    background: var(--nsfwland-bg);
    color: var(--nsfwland-ink);
}

body.nsfwland-ui {
    font-family: var(--nsfwland-font-sans);
}

body.nsfwland-ui.nsfwland-custom-page .legal-layout .prose h1 {
    color: var(--nsfwland-ink);
}

/* Reuse the directory's actual header on Growtype account pages too. */
body.page-gf-auth .toptech-header-promo,
body.page-gf-auth #masthead {
    display: none !important;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo,
body.nsfwland-ui:not(.nsfwland-custom-page) #masthead,
body.nsfwland-ui #site-footer,
body.nsfwland-ui footer.site-footer {
    display: none !important;
}

.nsfwland-directory-chrome,
.nsfwland-directory-chrome * {
    box-sizing: border-box;
}

.nsfwland-directory-chrome {
    font-family: var(--nsfwland-font-sans);
    font-size: 15px;
    line-height: 1.5;
}

.nsfwland-directory-chrome .notice {
    min-height: 32px;
    padding: 7px 16px;
    color: var(--nsfwland-muted);
    background: var(--nsfwland-bg);
    border-bottom: 1px solid var(--nsfwland-line);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.nsfwland-directory-chrome .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    height: 64px;
    align-items: center;
    gap: 24px;
    padding: 0 max(24px, calc((100vw - 1240px) / 2));
    color: var(--nsfwland-ink);
    background: var(--nsfwland-glass);
    border-bottom: 1px solid var(--nsfwland-line);
    box-shadow: none;
    backdrop-filter: blur(15px);
}

.nsfwland-directory-chrome a {
    text-decoration: none;
}

.nsfwland-directory-chrome .brand {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
    color: var(--nsfwland-accent-hover);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.5px;
}

.nsfwland-directory-chrome .brand__mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    color: var(--nsfwland-ink);
    background: linear-gradient(145deg, var(--nsfwland-accent), var(--nsfwland-accent-strong));
    box-shadow: 0 0 20px var(--nsfwland-accent-shadow);
    font-size: 21px;
    font-weight: 800;
}

.nsfwland-directory-chrome .header-search,
.nsfwland-directory-chrome .account-icon {
    position: relative;
    flex: none;
}

.nsfwland-directory-chrome .header-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--nsfwland-line);
    border-radius: 50%;
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel);
    cursor: pointer;
    font: inherit;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.nsfwland-directory-chrome .header-icon:hover,
.nsfwland-directory-chrome .header-icon:focus-visible {
    border-color: var(--nsfwland-accent-strong);
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel-2);
    transform: translateY(-1px);
}

.nsfwland-directory-chrome .header-icon .icon {
    width: 20px;
    height: 20px;
}

.nsfwland-directory-chrome .search-overlay[hidden] {
    display: none;
}

.nsfwland-directory-chrome .search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(92px, 10.5vh, 145px) 24px 32px;
    background: rgb(24 18 28 / 54%);
    backdrop-filter: blur(10px) saturate(.72);
    -webkit-backdrop-filter: blur(10px) saturate(.72);
}

.nsfwland-directory-chrome .search-overlay__close {
    position: fixed;
    top: 24px;
    right: 28px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 56%);
    border-radius: 50%;
    background: rgb(255 255 255 / 10%);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: background-color .18s ease, transform .18s ease;
}

.nsfwland-directory-chrome .search-overlay__close:hover,
.nsfwland-directory-chrome .search-overlay__close:focus-visible {
    background: rgb(255 255 255 / 20%);
    transform: rotate(4deg);
}

.nsfwland-directory-chrome .search-overlay .search-panel {
    width: min(840px, calc(100vw - 48px));
    max-width: none;
    height: 92px;
    flex: none;
    gap: 12px;
    padding: 9px;
    border: 5px solid color-mix(in srgb, var(--nsfwland-accent) 58%, #fff);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 26px 80px rgb(0 0 0 / 24%);
    color: #261b26;
}

.nsfwland-directory-chrome .search-overlay .search-panel:focus-within {
    border-color: var(--nsfwland-accent-hover);
    box-shadow: 0 0 0 4px rgb(255 255 255 / 28%), 0 26px 80px rgb(0 0 0 / 24%);
}

.nsfwland-directory-chrome .search-overlay #directory-search {
    width: auto !important;
    min-height: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #261b26 !important;
    font-size: 18px;
}

.nsfwland-directory-chrome .search-overlay #directory-search::placeholder {
    color: #928a98;
}

.nsfwland-directory-chrome .search-overlay .search-submit {
    display: inline-flex;
    width: auto;
    min-width: 138px;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid var(--btn-primary-border-color);
    border-radius: var(--btn-border-radius, 999px);
    background: var(--btn-primary-background-color);
    box-shadow: var(--project-shadow-sm, 0 6px 20px var(--nsfwland-accent-shadow));
    color: var(--btn-primary-color);
    cursor: pointer;
    font-size: 15px;
    font-weight: 750;
    transition: background-color .18s ease, transform .18s ease;
}

.nsfwland-directory-chrome .search-overlay .search-submit:hover,
.nsfwland-directory-chrome .search-overlay .search-submit:focus-visible {
    border-color: var(--btn-primary-border-color-active);
    background: var(--btn-primary-background-color-active);
    color: var(--btn-primary-color-active);
    transform: translateY(-1px);
}

.nsfwland-directory-chrome .search-overlay .search-submit .icon {
    width: 19px;
    height: 19px;
    color: currentColor;
}

body.search-overlay-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .nsfwland-directory-chrome .search-overlay {
        padding: 94px 14px 24px;
    }

    .nsfwland-directory-chrome .search-overlay__close {
        top: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 25px;
    }

    .nsfwland-directory-chrome .search-overlay .search-panel {
        width: calc(100vw - 28px);
        height: 72px;
        gap: 5px;
        padding: 6px;
        border-width: 4px;
        border-radius: 20px;
    }

    .nsfwland-directory-chrome .search-overlay #directory-search {
        padding: 0 10px !important;
        font-size: 16px;
    }

    .nsfwland-directory-chrome .search-overlay .search-submit {
        min-width: 52px;
        width: 52px;
        height: 52px;
        padding: 0;
    }

    .nsfwland-directory-chrome .search-overlay .search-submit span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.nsfwland-directory-chrome .search {
    display: flex;
    min-width: 0;
    max-width: 680px;
    height: 40px;
    flex: 1;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid var(--nsfwland-line-strong);
    border-radius: 11px;
    color: var(--nsfwland-muted);
    background: var(--nsfwland-bg-soft);
}

.nsfwland-directory-chrome .search:focus-within {
    border-color: var(--nsfwland-accent);
    box-shadow: 0 0 0 3px var(--nsfwland-accent-faint);
}

.nsfwland-directory-chrome .search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--nsfwland-ink);
    background: transparent;
    font: inherit;
}

.nsfwland-directory-chrome .search input::placeholder {
    color: var(--nsfwland-subtle);
}

body.page-gf-auth #directory-search {
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nsfwland-directory-chrome .search button {
    display: grid;
    width: 24px;
    height: 24px;
    flex: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--nsfwland-line);
    border-radius: 6px;
    color: var(--nsfwland-muted);
    background: var(--nsfwland-panel-2);
}

body.page-gf-auth .nsfwland-directory-chrome .search button {
    width: 24px !important;
    height: 24px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-color: var(--nsfwland-line) !important;
    border-radius: 6px !important;
    background: var(--nsfwland-panel-2) !important;
    box-shadow: none !important;
    appearance: none !important;
    line-height: 1 !important;
}

.footer {
    max-width: 1240px;
    margin: 72px auto 0;
    padding: 35px 24px 18px;
    border-top: 1px solid var(--nsfwland-line);
}

.footer > p {
    color: var(--nsfwland-subtle);
    font-size: 13px;
}

.footer__cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 30px;
    margin-top: 27px;
}

.footer__cols strong {
    font-size: 13px;
}

.footer__cols ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.footer__cols a {
    color: var(--nsfwland-muted);
    font-size: 12px;
}

.footer__cols a:hover {
    color: var(--nsfwland-accent-hover);
}

.footer .copyright {
    margin-top: 27px;
    padding-top: 14px;
    border-top: 1px solid var(--nsfwland-line);
    font-size: 11px;
}

.nsfwland-directory-chrome .icon {
    display: block;
    width: 19px;
    height: 19px;
    flex: none;
}

.nsfwland-directory-chrome .search button .icon {
    width: 14px;
    height: 14px;
}

.nsfwland-directory-chrome .header-nav {
    display: flex;
    flex: none;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    color: var(--nsfwland-muted);
}

.nsfwland-directory-chrome .header-nav a {
    color: inherit;
}

.nsfwland-directory-chrome .header-nav > a:first-child {
    font-size: 14px;
}

.nsfwland-directory-chrome .header-nav a:hover,
.nsfwland-directory-chrome .brand:hover {
    color: var(--nsfwland-accent-hover);
}

.nsfwland-directory-chrome .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
    padding: var(--btn-padding-y, 10px) var(--btn-padding-x, 15px);
    border: 1px solid var(--btn-primary-border-color);
    border-radius: var(--btn-border-radius, 999px);
    color: var(--btn-primary-color) !important;
    background: var(--btn-primary-background-color);
    box-shadow: var(--project-shadow-sm, 0 6px 18px var(--nsfwland-accent-shadow));
    font-size: var(--btn-text-font-size, 14px);
    font-weight: 700;
    white-space: nowrap;
    transition: transform .18s ease, filter .18s ease;
}

.nsfwland-directory-chrome .button:hover {
    border-color: var(--btn-primary-border-color-active);
    color: var(--btn-primary-color-active) !important;
    background: var(--btn-primary-background-color-active);
    transform: translateY(-1px);
}

.nsfwland-directory-chrome .menu-toggle,
.nsfwland-directory-chrome .mobile-nav {
    display: none;
}

.nsfwland-directory-chrome .menu-toggle {
    padding: 0;
}

@media (max-width: 1100px) {
    .nsfwland-directory-chrome .site-header {
        gap: 15px;
    }

    .nsfwland-directory-chrome .header-nav {
        gap: 14px;
    }
}

@media (max-width: 800px) {
    .nsfwland-directory-chrome .site-header {
        height: 64px;
        min-height: 64px;
        flex-wrap: nowrap;
        gap: 9px;
        padding: 0 18px;
    }

    .nsfwland-directory-chrome .brand {
        font-size: 18px;
    }

    .nsfwland-directory-chrome .brand__mark {
        width: 30px;
        height: 30px;
    }

    .nsfwland-directory-chrome .header-nav {
        display: none;
    }

    .nsfwland-directory-chrome .header-search {
        margin-left: auto;
    }

    .nsfwland-directory-chrome .menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        flex: none;
        place-items: center;
        margin-left: 0;
        border: 1px solid var(--nsfwland-line);
        border-radius: 50%;
        color: var(--nsfwland-ink);
        background: var(--nsfwland-panel);
    }

    .nsfwland-directory-chrome .mobile-nav {
        position: sticky;
        top: 64px;
        z-index: 19;
        gap: 20px;
        padding: 10px 20px;
        border-bottom: 1px solid var(--nsfwland-line);
        background: var(--nsfwland-panel);
    }

    .nsfwland-directory-chrome .mobile-nav.is-open {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .nsfwland-directory-chrome .notice {
        font-size: 10px;
    }

    .nsfwland-directory-chrome .site-header {
        gap: 8px;
        padding: 0 14px;
    }

    .nsfwland-directory-chrome .brand {
        font-size: 17px;
    }

    .nsfwland-directory-chrome .header-nav .button {
        padding: 8px 10px;
        font-size: 12px;
    }

    .footer {
        margin-top: 48px;
        padding: 28px 14px 16px;
    }

    .footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .footer__cols > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 300px) {
    body.nsfwland-ui.nsfwland-custom-page .nsfwland-directory-chrome .site-header {
        gap: 4px;
        padding-right: 6px;
        padding-left: 6px;
    }

    body.nsfwland-ui.nsfwland-custom-page .nsfwland-directory-chrome .brand__logo {
        width: auto;
        max-width: 76px;
        height: auto;
    }

    body.nsfwland-ui.nsfwland-custom-page .nsfwland-directory-chrome .growtype-listing-account-menu__trigger {
        width: 44px;
        min-width: 44px;
        height: 44px;
        gap: 0;
        padding: 5px;
    }

    body.nsfwland-ui.nsfwland-custom-page .nsfwland-directory-chrome .growtype-listing-account-menu__caret {
        display: none;
    }
}

/* Keep the shared directory header intact on WordPress post pages, where the
   theme's broad button rules would otherwise resize its search and account CTAs. */
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-directory-chrome .site-header {
    box-shadow: none;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-directory-chrome .header-nav a:not(.button) {
    font-size: 15px;
    line-height: 1.5;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-directory-chrome .search #directory-search {
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--nsfwland-ink);
    background: transparent;
    box-shadow: none;
    font: inherit;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-directory-chrome .search button {
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--nsfwland-line);
    border-radius: 6px;
    color: var(--nsfwland-muted);
    background: var(--nsfwland-panel-2);
    box-shadow: none;
    line-height: 1;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-directory-chrome .header-nav .button {
    min-height: 0;
    padding: 10px 15px;
    border: 1px solid var(--nsfwland-accent-strong);
    border-radius: 10px;
    color: #fff;
    background: var(--nsfwland-accent-strong);
    box-shadow: 0 6px 18px var(--nsfwland-accent-shadow);
    line-height: 1.5;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-directory-chrome .menu-toggle {
    width: 42px;
    height: 42px;
    min-height: 0;
    border: 1px solid var(--nsfwland-line);
    border-radius: 50%;
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel);
    padding: 0;
    box-shadow: none;
    line-height: 1;
}

/* Keep the shared directory header identical on WordPress account routes. */
body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .notice {
    min-height: 32px;
    padding: 7px 16px;
    color: var(--nsfwland-muted);
    background: var(--nsfwland-bg);
    border: 0;
    border-bottom: 1px solid var(--nsfwland-line);
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .site-header {
    box-shadow: none;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .brand {
    color: var(--nsfwland-accent-hover);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .brand__logo {
    display: block;
    width: auto;
    max-width: min(168px, 42vw);
    height: 36px;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .header-icon {
    display: grid;
    width: 42px;
    height: 42px;
    min-height: 0;
    flex: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--nsfwland-line);
    border-radius: 50%;
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel);
    box-shadow: none;
    font-weight: 400;
    line-height: 1.5;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .header-nav .button {
    min-height: 0 !important;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .header-icon:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .header-icon:focus-visible,
body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .menu-toggle:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .menu-toggle:focus-visible {
    border-color: var(--nsfwland-accent-strong);
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel-2);
    box-shadow: none;
    filter: none;
}

@media (max-width: 800px) {
    body.nsfwland-ui:not(.nsfwland-custom-page) .nsfwland-directory-chrome .brand__logo {
        max-width: min(144px, 40vw);
        height: 31px;
    }
}

@media (max-width: 800px) {
    .footer__cols {
        grid-template-columns: 1fr 1fr;
    }

    .footer__cols > div:first-child {
        grid-column: 1 / -1;
    }
}

body.nsfwland-ui:not(.nsfwland-custom-page) #page,
body.nsfwland-ui:not(.nsfwland-custom-page) #content,
body.nsfwland-ui:not(.nsfwland-custom-page) .site-content,
body.nsfwland-ui:not(.nsfwland-custom-page) .main-content-wrapper,
body.nsfwland-ui:not(.nsfwland-custom-page) .content-wrapper,
body.nsfwland-ui:not(.nsfwland-custom-page) .site-main {
    background: transparent;
    color: var(--nsfwland-ink);
}

body.nsfwland-ui:not(.nsfwland-custom-page) a {
    color: var(--nsfwland-accent-hover);
}

body.nsfwland-ui:not(.nsfwland-custom-page) a:hover {
    color: var(--nsfwland-ink);
}

body.nsfwland-ui:not(.nsfwland-custom-page) :focus-visible {
    outline: 2px solid var(--nsfwland-accent-hover);
    outline-offset: 3px;
}

/* Shared theme header, announcement, navigation, and footer. */
body.nsfwland-ui:not(.nsfwland-custom-page) .site-header,
body.nsfwland-ui:not(.nsfwland-custom-page) #masthead {
    color: var(--nsfwland-ink);
    background: var(--nsfwland-glass);
    border-bottom: 1px solid var(--nsfwland-line);
    box-shadow: 0 10px 28px var(--nsfwland-shadow);
    backdrop-filter: blur(15px);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .site-header a,
body.nsfwland-ui:not(.nsfwland-custom-page) #masthead a,
body.nsfwland-ui:not(.nsfwland-custom-page) #header-menu li a {
    color: var(--nsfwland-muted);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .site-header a:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) #masthead a:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) #header-menu li a:hover {
    color: var(--nsfwland-accent-hover);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo {
    color: var(--nsfwland-ink);
    background: linear-gradient(105deg, var(--nsfwland-accent-strong), var(--nsfwland-accent-deep) 58%, var(--nsfwland-accent-deeper));
}

body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo::before {
    background: linear-gradient(90deg, transparent, var(--nsfwland-promo-glint), transparent);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo__link,
body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo__label,
body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo__separator,
body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo__message,
body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo__title,
body.nsfwland-ui:not(.nsfwland-custom-page) .toptech-header-promo__arrow {
    color: var(--nsfwland-ink);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .site-footer,
body.nsfwland-ui:not(.nsfwland-custom-page) footer.site-footer {
    color: var(--nsfwland-muted);
    background: var(--nsfwland-bg-soft);
    border-top: 1px solid var(--nsfwland-line);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .site-footer a {
    color: var(--nsfwland-muted);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .site-footer a:hover {
    color: var(--nsfwland-accent-hover);
}

/* Reusable surface treatment for Growtype account and submission forms. */
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-container,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-wrapper,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-account .woocommerce,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce form.login,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce form.register,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce form.edit-account {
    color: var(--nsfwland-ink);
    background: linear-gradient(155deg, var(--nsfwland-card-glow), transparent 42%), var(--nsfwland-panel);
    border: 1px solid var(--nsfwland-line);
    border-top: 3px solid var(--nsfwland-accent);
    border-radius: 16px;
    box-shadow: 0 20px 54px var(--nsfwland-shadow);
}

body.page-gf-auth .growtype-form-auth > .growtype-form-wrapper {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-gf-auth .growtype-form-container .form-wrapper {
    color: var(--nsfwland-ink) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.page-gf-auth .growtype-form-container .form-wrapper::before {
    display: none !important;
}

body.page-gf-auth .growtype-form-container .growtype-form-header h1,
body.page-gf-auth .growtype-form-container .growtype-form-header h2,
body.page-gf-auth .growtype-form-container .form-inner-wrapper label,
body.page-gf-auth .growtype-form-container .growtype-form-footer {
    color: var(--nsfwland-ink) !important;
}

body.page-gf-auth .growtype-form-container input[type="submit"],
body.page-gf-auth .growtype-form-container button[type="submit"] {
    color: #fff !important;
    background: linear-gradient(105deg, var(--nsfwland-accent), var(--nsfwland-accent-strong)) !important;
    border-color: var(--nsfwland-accent) !important;
}

body.page-gf-auth .growtype-form-container a:not(.button) {
    color: var(--nsfwland-accent-hover) !important;
}

body.page-gf-auth .growtype-form-container .form-check-control {
    align-items: flex-start;
    gap: 10px;
}

body.page-gf-auth .growtype-form-container .form-check-input {
    width: 19px !important;
    min-width: 19px !important;
    max-width: 19px !important;
    height: 19px !important;
    min-height: 19px !important;
    flex: 0 0 19px;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    appearance: auto !important;
    accent-color: var(--nsfwland-accent);
}

body.page-gf-auth .growtype-form-container .form-check-control > label {
    flex: 1;
    margin: 0;
}

body.page-gf-auth .growtype-form-container a.btn-growtype-auth--google {
    color: #27212a !important;
    background: #fff !important;
    border-color: #d8d4e4 !important;
}

body.page-gf-auth .growtype-form-container .e-separator span {
    color: var(--nsfwland-muted) !important;
    background: var(--nsfwland-panel) !important;
}

body.nsfwland-ui.woocommerce-account h1,
body.nsfwland-ui.woocommerce-account h2,
body.nsfwland-ui.woocommerce-account h3,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-container h1,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-container h2,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-container h3,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-account h1,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-account h2,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-account h3 {
    color: var(--nsfwland-ink) !important;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-container p,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form-container label,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-account p,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-account label {
    color: var(--nsfwland-muted);
}

body.nsfwland-ui:not(.nsfwland-custom-page) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.nsfwland-ui:not(.nsfwland-custom-page) select,
body.nsfwland-ui:not(.nsfwland-custom-page) textarea,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form input:not([type="checkbox"]):not([type="radio"]),
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form select,
body.nsfwland-ui:not(.nsfwland-custom-page) .growtype-form textarea,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce form .input-text {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--nsfwland-ink);
    background: var(--nsfwland-bg-soft);
    border: 1px solid var(--nsfwland-line-strong);
    border-radius: 10px;
    box-shadow: none;
}

body.nsfwland-ui:not(.nsfwland-custom-page) input::placeholder,
body.nsfwland-ui:not(.nsfwland-custom-page) textarea::placeholder {
    color: var(--nsfwland-subtle);
}

body.nsfwland-ui:not(.nsfwland-custom-page) input:focus,
body.nsfwland-ui:not(.nsfwland-custom-page) select:focus,
body.nsfwland-ui:not(.nsfwland-custom-page) textarea:focus {
    border-color: var(--nsfwland-accent);
    box-shadow: 0 0 0 3px var(--nsfwland-accent-faint);
    outline: none;
}

body.nsfwland-ui:not(.nsfwland-custom-page) input[type="checkbox"],
body.nsfwland-ui:not(.nsfwland-custom-page) input[type="radio"] {
    accent-color: var(--nsfwland-accent);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .button,
body.nsfwland-ui:not(.nsfwland-custom-page) button,
body.nsfwland-ui:not(.nsfwland-custom-page) input[type="submit"],
body.nsfwland-ui:not(.nsfwland-custom-page) .btn-primary,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce button.button,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce a.button {
    min-height: 44px;
    padding: 10px 16px;
    color: var(--btn-primary-color);
    background: var(--btn-primary-background-color);
    border: 1px solid var(--btn-primary-border-color);
    border-radius: var(--btn-border-radius, 999px);
    font-weight: 700;
    box-shadow: var(--project-shadow-sm, 0 8px 24px var(--nsfwland-accent-shadow));
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce a.button {
    text-decoration: none;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .btn-secondary,
body.nsfwland-ui:not(.nsfwland-custom-page) .button-secondary,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce a.button.alt {
    color: var(--btn-secondary-color);
    background: var(--btn-secondary-background-color);
    border-color: var(--btn-secondary-border-color);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .button:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) button:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) input[type="submit"]:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .btn-primary:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce button.button:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce a.button:hover {
    color: var(--btn-primary-color-active);
    background: var(--btn-primary-background-color-active);
    border-color: var(--btn-primary-border-color-active);
    transform: translateY(-1px);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .btn-secondary:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .button-secondary:hover,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce a.button.alt:hover {
    color: var(--btn-secondary-color-active);
    background: var(--btn-secondary-background-color-active);
    border-color: var(--btn-secondary-border-color-active);
}

body.nsfwland-ui:not(.nsfwland-custom-page) .button:disabled,
body.nsfwland-ui:not(.nsfwland-custom-page) button:disabled,
body.nsfwland-ui:not(.nsfwland-custom-page) input[type="submit"]:disabled,
body.nsfwland-ui:not(.nsfwland-custom-page) .btn-primary:disabled {
    color: var(--project-button-primary-disabled-text);
    background: var(--project-button-primary-disabled-background);
    border-color: var(--project-button-primary-disabled-border);
    box-shadow: none;
    cursor: not-allowed;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-info,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-message,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-error,
body.nsfwland-ui:not(.nsfwland-custom-page) .alert,
body.nsfwland-ui:not(.nsfwland-custom-page) .notice {
    color: var(--nsfwland-muted);
    background: var(--nsfwland-panel);
    border-color: var(--nsfwland-line-strong);
    border-radius: 10px;
}

body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-info a,
body.nsfwland-ui:not(.nsfwland-custom-page) .woocommerce-message a,
body.nsfwland-ui:not(.nsfwland-custom-page) .alert a {
    color: var(--nsfwland-accent-hover);
}

/* Account profile: one responsive surface using the project design tokens. */
body.nsfwland-ui.woocommerce-profile .woocommerce {
    width: min(100% - 32px, 1160px);
    margin: 38px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.nsfwland-ui.woocommerce-profile .woocommerce-MyAccount-content > .b-info-header,
body.nsfwland-ui.woocommerce-profile .woocommerce-EditAccountForm {
    width: min(100%, 920px);
    margin-right: auto;
    margin-left: auto;
}

body.nsfwland-ui.woocommerce-profile .woocommerce-MyAccount-content > .b-info-header {
    min-height: 0;
    margin-bottom: 20px;
    padding: 22px 24px;
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel);
    border: 1px solid var(--nsfwland-line);
    border-radius: 14px;
    box-shadow: none;
}

body.nsfwland-ui.woocommerce-profile .woocommerce-MyAccount-content > .b-info-header .e-title {
    margin: 0;
    color: var(--nsfwland-ink) !important;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

body.nsfwland-ui.woocommerce-profile .woocommerce-MyAccount-content > .b-info-header .e-subtitle {
    margin-top: 6px;
    color: var(--nsfwland-muted);
    line-height: 1.5;
}

body.nsfwland-ui.woocommerce-profile .woocommerce-EditAccountForm {
    overflow: hidden;
    padding: 0;
    background: var(--nsfwland-panel);
    border: 1px solid var(--nsfwland-line);
    border-top: 3px solid var(--nsfwland-accent);
    border-radius: 16px;
    box-shadow: 0 20px 54px var(--nsfwland-shadow);
}

body.nsfwland-ui.woocommerce-profile .profile-tabs-container {
    overflow: hidden;
}

body.nsfwland-ui.woocommerce-profile .profile-nav-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 !important;
    padding: 8px !important;
    background: var(--nsfwland-panel-2) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsfwland-line) !important;
    border-radius: 0 !important;
    list-style: none;
}

body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-item {
    min-width: 0;
    margin: 0;
}

body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-link {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    color: var(--nsfwland-muted) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
    transform: none !important;
}

body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-link::after {
    display: none !important;
}

body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-link:hover,
body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-link:focus-visible {
    color: var(--nsfwland-ink) !important;
    background: var(--nsfwland-accent-faint) !important;
    border-color: var(--nsfwland-line-strong) !important;
}

body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-link.active {
    color: var(--nsfwland-accent-hover) !important;
    background: var(--nsfwland-bg-soft) !important;
    border-color: var(--nsfwland-accent) !important;
    box-shadow: 0 8px 24px var(--nsfwland-shadow) !important;
}

body.nsfwland-ui.woocommerce-profile .tab-content,
body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group {
    padding: 0;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-title {
    min-height: 0;
    margin: 0;
    padding: 30px 32px 22px;
    border-bottom: 1px solid var(--nsfwland-line);
}

body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-title .e-title {
    margin: 0;
    color: var(--nsfwland-ink) !important;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-fields {
    display: grid;
    grid-template-columns: minmax(180px, .34fr) minmax(0, .66fr);
    gap: 26px clamp(36px, 7vw, 72px);
    margin: 0;
    padding: 30px 32px 36px;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-fields > .e-wrapper {
    width: auto;
    margin: 0;
    padding: 0;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-fields > .e-wrapper:first-child {
    grid-row: 1 / span 2;
}

body.nsfwland-ui.woocommerce-profile .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--nsfwland-ink) !important;
    font-size: 13px;
    font-weight: 750;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 14px !important;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar > .position-relative,
body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar img,
body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar .avatar {
    width: 78px !important;
    height: 78px !important;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar img,
body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar .avatar {
    border: 2px solid var(--nsfwland-accent);
    border-radius: 50%;
    object-fit: cover;
}

body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar .btn {
    min-height: 42px;
    padding: 9px 16px;
    color: var(--btn-secondary-color) !important;
    background: var(--btn-secondary-background-color) !important;
    border-color: var(--btn-secondary-border-color) !important;
    border-radius: 10px;
    box-shadow: none;
}

body.nsfwland-ui.woocommerce-profile .form-text {
    display: block;
    margin-top: 8px;
    color: var(--nsfwland-subtle) !important;
    font-size: 12px;
    line-height: 1.5;
}

body.nsfwland-ui.woocommerce-profile input.input-text,
body.nsfwland-ui.woocommerce-profile textarea.input-text {
    color: var(--nsfwland-ink) !important;
    background: var(--nsfwland-bg-soft) !important;
    border-color: var(--nsfwland-line-strong) !important;
    border-radius: 11px !important;
}

body.nsfwland-ui.woocommerce-profile textarea.input-text {
    min-height: 150px;
    resize: vertical;
}

body.nsfwland-ui.woocommerce-profile #personal-details .fields-group {
    padding: 30px 32px 36px;
}

body.nsfwland-ui.woocommerce-profile #personal-details .alert {
    position: relative;
    margin: 0 0 26px !important;
    padding: 17px 54px 17px 18px;
    color: var(--nsfwland-muted);
    background: var(--nsfwland-panel-2);
    border: 1px solid var(--nsfwland-line-strong);
    border-radius: 12px;
    line-height: 1.55;
}

body.nsfwland-ui.woocommerce-profile #personal-details .alert::before {
    display: none !important;
    content: none !important;
}

body.nsfwland-ui.woocommerce-profile #personal-details .alert .btn-close {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0;
    padding: 0 !important;
    background-color: transparent !important;
    border: 1px solid var(--nsfwland-line) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    filter: invert(1) opacity(.72);
    transform: none !important;
}

body.nsfwland-ui.woocommerce-profile #personal-details .fields-group-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

body.nsfwland-ui.woocommerce-profile #personal-details .fields-group-fields > .e-wrapper {
    width: auto;
    margin: 0;
    padding: 0;
}

body.nsfwland-ui.woocommerce-profile .row-submit {
    margin: 0 !important;
    padding: 22px 32px !important;
    background: var(--nsfwland-panel-2);
    border-top: 1px solid var(--nsfwland-line);
}

body.nsfwland-ui.woocommerce-profile .row-submit > div {
    justify-content: flex-end;
    padding: 0;
}

body.nsfwland-ui.woocommerce-profile .row-submit .btn {
    min-width: 180px;
    min-height: 46px;
}

@media (max-width: 640px) {
    body.nsfwland-ui.woocommerce-profile .woocommerce {
        width: min(100% - 28px, 1160px);
        margin-top: 24px;
    }

    body.nsfwland-ui.woocommerce-profile .woocommerce-MyAccount-content > .b-info-header {
        padding: 18px;
    }

    body.nsfwland-ui.woocommerce-profile .profile-nav-tabs {
        gap: 4px;
        padding: 6px !important;
    }

    body.nsfwland-ui.woocommerce-profile .profile-nav-tabs .nav-link {
        min-height: 42px;
        padding: 8px 7px;
        font-size: 13px;
    }

    body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-title {
        padding: 24px 20px 18px;
    }

    body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-fields {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px 28px;
    }

    body.nsfwland-ui.woocommerce-profile #creator-profile .fields-group-fields > .e-wrapper:first-child {
        grid-row: auto;
    }

    body.nsfwland-ui.woocommerce-profile #creator-profile .profile-avatar {
        align-items: center !important;
        flex-direction: row;
    }

    body.nsfwland-ui.woocommerce-profile #personal-details .fields-group {
        padding: 24px 20px 28px;
    }

    body.nsfwland-ui.woocommerce-profile #personal-details .fields-group-fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.nsfwland-ui.woocommerce-profile .row-submit {
        padding: 20px !important;
    }

    body.nsfwland-ui.woocommerce-profile .row-submit > div,
    body.nsfwland-ui.woocommerce-profile .row-submit .btn {
        width: 100%;
    }
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-my-listings > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-my-listings h2 {
    margin: 0 0 10px;
    color: var(--nsfwland-ink) !important;
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-my-listings .nsfwland-account-kicker {
    margin: 0 0 8px;
    color: var(--nsfwland-accent-hover);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-my-listings > header p:last-child {
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listings-table {
    border-top: 1px solid var(--nsfwland-line);
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--nsfwland-line);
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row h3 {
    margin: 0 0 6px;
    color: var(--nsfwland-ink) !important;
    font-size: 18px;
    line-height: 1.3;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-status {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--nsfwland-warm);
    border-radius: 999px;
    background: var(--nsfwland-warm-soft);
    color: var(--nsfwland-warm);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row > a {
    grid-row: auto !important;
    color: var(--nsfwland-accent-hover);
    font-weight: 700;
    text-decoration: none;
}

body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row > a:hover,
body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row > a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    body.toptech-listing-management-page.nsfwland-ui .nsfwland-my-listings > header {
        flex-direction: column;
        gap: 18px;
    }

    body.toptech-listing-management-page.nsfwland-ui .nsfwland-my-listings > header .button {
        width: 100%;
        justify-content: center;
    }

    body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 14px;
        align-items: start;
    }

    body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row > div {
        grid-column: 1 / -1;
    }

    body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row > span {
        grid-column: 1;
        grid-row: 2;
    }

    body.toptech-listing-management-page.nsfwland-ui .nsfwland-listing-row > a {
        grid-column: 2;
        grid-row: 2 !important;
        align-self: center;
    }
}

/* Keep the account listing flow on the same dark, rose-accented system as the rest of the site. */
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .b-intro h2,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-steps h3,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-steps li > span {
    color: var(--nsfwland-ink) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .toptech-eyebrow {
    color: var(--nsfwland-accent-hover) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-steps li::before {
    color: var(--nsfwland-accent-contrast) !important;
    background: var(--nsfwland-accent) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-notices .toptech-submission-requirements,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-notices .toptech-submission-review-notice {
    color: var(--nsfwland-muted) !important;
    background: var(--nsfwland-panel) !important;
    border: 1px solid var(--nsfwland-line-strong) !important;
    border-left: 4px solid var(--nsfwland-accent) !important;
    border-radius: 12px;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-notices strong {
    color: var(--nsfwland-ink) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-notices .toptech-submission-review-notice strong {
    color: var(--nsfwland-warm) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .form-wrapper,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .form-inner-wrapper {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.nsfwland-ui .growtype-form-wrapper.nsfwland-listing-submission-form {
    max-width: 920px;
    margin: auto;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .growtype-form-wrapper.nsfwland-listing-submission-form .growtype-form-container {
    margin: 0 auto;
    padding: clamp(20px, 3vw, 32px);
    background: transparent;
    border: 0;
    box-shadow: none;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .growtype-form button[type="submit"],
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .growtype-form input[type="submit"] {
    color: var(--nsfwland-ink) !important;
    background: linear-gradient(105deg, var(--nsfwland-accent), var(--nsfwland-accent-strong)) !important;
    border: 1px solid var(--nsfwland-accent) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px var(--nsfwland-accent-shadow) !important;
    font-weight: 700;
    text-decoration: none;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel input[type="file"]::file-selector-button {
    min-height: 34px;
    margin: 0 10px 0 0;
    padding: 7px 12px;
    color: var(--nsfwland-ink);
    background: var(--nsfwland-panel-2);
    border: 1px solid var(--nsfwland-line-strong);
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .toptech-submission-panel .input-file-wrapper label.btn-secondary {
    min-height: 38px;
    padding: 8px 12px;
    color: var(--nsfwland-ink) !important;
    background: var(--nsfwland-panel-2) !important;
    border: 1px solid var(--nsfwland-line-strong) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-single,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-choices,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-drop {
    color: var(--nsfwland-ink) !important;
    background: var(--nsfwland-bg-soft) !important;
    border-color: var(--nsfwland-line-strong) !important;
    box-shadow: none;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-single span,
body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-results li {
    color: var(--nsfwland-ink) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-results li.highlighted {
    color: var(--nsfwland-ink) !important;
    background: var(--nsfwland-accent-strong) !important;
}

body:is(.toptech-listing-upload-page, .nsfwland-edit-listing-page).nsfwland-ui .chosen-container .chosen-search input {
    color: var(--nsfwland-ink) !important;
    background: var(--nsfwland-panel) !important;
    border-color: var(--nsfwland-line-strong) !important;
}

/* Editorial styling for standard WordPress posts on the dark nsfwland theme. */
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) {
    color: var(--nsfwland-ink);
    background: var(--nsfwland-bg);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .main-content-wrapper,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) main.main {
    min-height: 0 !important;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) h1,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) h2,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) h3,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) h4,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) h5,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) h6 {
    color: var(--nsfwland-ink) !important;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-breadcrumbs {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: 26px 0 12px;
    color: var(--nsfwland-muted);
    font-size: 13px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-breadcrumbs a {
    color: var(--nsfwland-accent-hover);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-post-title {
    width: min(100% - 40px, 920px);
    margin: 0 auto;
    padding: clamp(30px, 5vw, 58px) 0 22px;
    text-align: left;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-post-kicker {
    margin: 0 0 14px;
    color: var(--nsfwland-accent-hover);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-post-title h1 {
    max-width: 850px;
    margin: 0;
    color: var(--nsfwland-ink) !important;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-post-intro {
    max-width: 740px;
    margin: 18px 0 0;
    color: var(--nsfwland-muted);
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.65;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-readingtime {
    width: min(100% - 40px, 920px);
    margin: 0 auto;
    padding: 0 0 3px;
    color: var(--nsfwland-subtle);
    font-size: 12px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-readingtime::after {
    content: "";
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-date {
    width: min(100% - 40px, 920px);
    margin: 0 auto;
    padding: 0 0 22px;
    color: var(--nsfwland-subtle);
    font-size: 12px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper > .container {
    max-width: 760px;
    padding: 0;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content {
    padding: 0 0 34px;
    color: var(--nsfwland-muted);
    font-size: 17px;
    line-height: 1.82;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content p {
    margin: 0 0 20px;
    color: var(--nsfwland-muted);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content h2,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content h3 {
    margin: 38px 0 13px;
    color: var(--nsfwland-ink) !important;
    line-height: 1.2;
    letter-spacing: -.03em;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content h2 {
    font-size: clamp(23px, 3vw, 30px);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content h3 {
    font-size: 21px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content ul,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content ol {
    margin: 0 0 24px;
    padding-left: 24px;
    color: var(--nsfwland-muted);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content li {
    margin: 0 0 8px;
    padding-left: 4px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content a {
    color: var(--nsfwland-accent-hover);
    text-decoration: underline;
    text-decoration-color: var(--nsfwland-line-strong);
    text-underline-offset: 3px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .growtype-post-social-cta-wrapper {
    width: min(100% - 40px, 920px);
    justify-content: flex-start;
    gap: 10px;
    margin: 0 auto;
    padding: 0 0 30px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .growtype-post-social-cta-wrapper .growtype-post-cta {
    display: inline-flex;
    height: 44px;
    min-height: 44px;
    padding: 10px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--nsfwland-accent);
    border-radius: 10px;
    color: var(--nsfwland-ink);
    background: linear-gradient(105deg, var(--nsfwland-accent), var(--nsfwland-accent-strong));
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 24px var(--nsfwland-accent-shadow);
    transition: filter .18s ease, transform .18s ease;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .growtype-post-social-cta-wrapper .growtype-post-cta:hover {
    color: var(--nsfwland-ink);
    filter: brightness(1.1);
    transform: translateY(-1px);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related {
    max-width: 1040px;
    margin: 12px auto 0;
    padding: 34px 20px 42px;
    border-top: 1px solid var(--nsfwland-line);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .e-title-section {
    margin: 0 0 18px;
    color: var(--nsfwland-ink) !important;
    font-size: 25px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .growtype-post-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .growtype-post-single-inner {
    border: 1px solid var(--nsfwland-line);
    border-radius: 14px;
    background: var(--nsfwland-panel);
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .b-content {
    min-height: 190px;
    padding: 18px;
    background: none !important;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .e-title,
body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .e-excerpt {
    color: var(--nsfwland-ink) !important;
}

body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .e-excerpt {
    color: var(--nsfwland-muted) !important;
}

@media (max-width: 640px) {
    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-breadcrumbs,
    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .nsfwland-post-title,
    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-readingtime,
    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-date,
    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .growtype-post-social-cta-wrapper {
        width: min(100% - 32px, 920px);
    }

    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .section-breadcrumbs {
        padding-top: 22px;
    }

    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper {
        padding: 0 16px;
    }

    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .content-wrapper .content {
        font-size: 16px;
        line-height: 1.75;
    }

    body.nsfwland-ui.single-post:not(.nsfwland-custom-page) .s-posts-related .growtype-post-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.nsfwland-ui:not(.nsfwland-custom-page) .site-footer {
        padding-inline: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nsfwland-ui:not(.nsfwland-custom-page) *,
    body.nsfwland-ui:not(.nsfwland-custom-page) *::before,
    body.nsfwland-ui:not(.nsfwland-custom-page) *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
