:root {
    /* Solid Colors */
    --color-000: #000;
    --color-0000: #000000;
    --color-111: #111;
    --color-111827: #111827;
    --color-1ca662: #1ca662;
    --color-1da1f2: #1da1f2;
    --color-222: #222;
    --color-2d2a32: #2d2a32;
    --color-305afe: #305afe;
    --color-333: #333;
    --color-37474f: #37474f;
    --color-3898ec: #3898ec;
    --color-41d1ff: #41d1ff;
    --color-444: #444;
    --color-4da6ff: #4da6ff;
    --color-4f46e5: #4f46e5;
    --color-555: #555;
    --color-615e64: #615e64;
    --color-61dafb: #61dafb;
    --color-6b7280: #6b7280;
    --color-6c696f: #6c696f;
    --color-8c52ff: #8c52ff;
    --color-939195: #939195;
    --color-a34ee2: #a34ee2;
    --color-bcbabd: #bcbabd;
    --color-dad9da: #dad9da;
    --color-dcdcdc: #dcdcdc;
    --color-e0e0e0: #e0e0e0;
    --color-e57373: #e57373;
    --color-ec4899: #ec4899;
    --color-eff0ef: #eff0ef;
    --color-f0f2f5: #f0f2f5;
    --color-f3f4f6: #f3f4f6;
    --color-f5efe6: #f5efe6;
    --color-f5f5f5: #f5f5f5;
    --color-f6f6f6: #f6f6f6;
    --color-fa5128: #fa5128;
    --color-fcd293: #fcd293;
    --color-fd99c0: #fd99c0;
    --color-fed217: #fed217;
    --color-ff5c5c: #ff5c5c;
    --color-ff6f61: #ff6f61;
    --color-ff8c42: #ff8c42;
    --color-ffd93b: #ffd93b;
    --color-4f86f7: #4f86f7;
    --color-fab429: #fab429;
    --color-f65169: #f65169;
    --color-0095f6: #0095f6;
    --color-007ed9: #007ed9;
    --color-fff: #fff;
    --color-ffffff: #ffffff;
    /* RGBA Colors */
    --rgba-2: rgba(0, 0, 0, 0.05);
    --rgba-10: rgba(0, 0, 0, 0.3);
    --rgba-11: rgba(0, 0, 0, 0.08);
    --rgba-12: rgba(0, 0, 0, 0.25);
    --rgba-18: rgba(245, 239, 230, 0.5);
    --rgba-29: rgba(255, 255, 255, 1);
    --rgba-34: rgba(0, 0, 0, 0.02);
    --rgba-35: rgba(0, 0, 0, 0.6);
    --rgba-37: rgba(50, 50, 93, 0.25);
    --rgba-38: rgba(255, 255, 255, 0.1);
    --rgba-41: rgba(0, 0, 0, 0.1);
    --rgba-53: rgba(0, 0, 0, 0.4);
    --rgba-62: rgba(0, 0, 0, 0.5);
}


/* ==========================================
   Dark Theme (opt-in)
   Usage options:
   - Add data-theme="dark" to <html> or <body>
   - Or add class "theme-dark" to <html> or <body>
   ========================================== */

:root[data-theme="dark"],
body.theme-dark,
html.theme-dark {
    /* Base surfaces (ChatGPT-like) */
    --bg-base: #0b0f14;
    /* main background */
    --bg-color: var(--bg-base);
    --bg-muted: #12161c;
    /* subtle muted area */
    --bg-elevated: #202123;
    /* cards/panels */
    --surface: var(--bg-elevated);
    --hover-bg-color: rgba(255, 255, 255, 0.06);
    /* Text & icons */
    --text-primary: #e5e7eb;
    /* near slate-200 */
    --text-dark: #e5e7eb;
    --text: #cfd3da;
    /* general text */
    --text-secondary: #c4ccd4;
    /* secondary */
    --text-muted: #b7c1cc;
    /* muted */
    --text-gray: #b7c1cc;
    /* Legacy variables used across styles */
    --primary-text: var(--text-primary);
    --secondary-text: var(--text-secondary);
    --icon-color: #ffffff;
    --eye-color: #ffffff;
    --svg-color: #c0c8d0;
    /* Controls */
    --btn-primary-bg: var(--button-blue-color);
    --btn-primary-text: var(--white);
    --button-dark-bg: #1a1d21;
    --input-bg: #303030;
    /* inputs (ChatGPT-like) */
    --border-subtle: rgba(255, 255, 255, 0.08);
    /* Accents keep brand */
    --accent: var(--button-blue-color);
    --link-color: var(--button-blue-color);
    /* Shadows */
    --box-shadow: var(--rgba-41);
    /* Alerts */
    --alert-info-bg: var(--color-accent-blue-a30);
    --alert-info-text: var(--text-primary);
    --alert-info-border: var(--color-blue-500);
    /* Settings dashboard */
    --sd-admin-text-primary: var(--text-primary);
    --sd-admin-text-muted: var(--text-muted);
    --sd-admin-link: var(--button-blue-color);
    --sd-admin-bg-blue-soft: var(--color-indigo-500-a16);
    --sd-admin-bg-blue-softer: var(--color-indigo-500-a25);
    --sd-admin-bg-teal-soft: var(--color-emerald-500-a12);
    --sd-admin-bg-coral-soft: var(--color-amber-500-a15);
    --sd-admin-bg-danger-soft: var(--color-red-500-a18);
    --sd-admin-bg-posts-soft: var(--color-slate-900-a12);
    --sd-admin-bg-offwhite: var(--bg-elevated);
    --sd-admin-hover-bg: var(--hover-bg-color);
    --sd-admin-hover-bg-subtle: var(--white-04);
    --rgba-18: rgba(30, 35, 43, 0.65);
    --rgba-12: rgba(12, 14, 20, 0.4);
    --rgba-29: rgba(23, 30, 40, 0.9);
}

:root[data-theme="dark"] .security-dashboard .status-pill--off,
html.theme-dark .security-dashboard .status-pill--off,
body.theme-dark .security-dashboard .status-pill--off {
    background: var(--color-slate-900-a20);
    border-color: var(--color-slate-900-a35);
    color: var(--sd-admin-text-primary);
}

:root[data-theme="dark"] .security-dashboard .security-empty,
html.theme-dark .security-dashboard .security-empty,
body.theme-dark .security-dashboard .security-empty {
    background: var(--color-slate-900-a15);
    border-color: var(--color-slate-900-a35);
}


/* Prefer system dark if not explicitly set */


/* Buttons that should invert on Dark (white bg, dark text) */

:root[data-theme="dark"] .pp-save,
html.theme-dark .pp-save,
body.theme-dark .pp-save {
    background: var(--white) !important;
    color: var(--black) !important;
}

:root[data-theme="dark"] .live-ended-actions .btn-go,
html.theme-dark .live-ended-actions .btn-go,
body.theme-dark .live-ended-actions .btn-go {
    background: var(--white) !important;
    color: var(--black) !important;
}

:root[data-theme="dark"] .tips-cta,
html.theme-dark .tips-cta,
body.theme-dark .tips-cta {
    background: var(--white) !important;
    color: var(--black) !important;
}


/* Hover states for inverted buttons */

:root[data-theme="dark"] .pe-save:hover,
html.theme-dark .pe-save:hover,
body.theme-dark .pe-save:hover,
:root[data-theme="dark"] .pp-save:hover,
html.theme-dark .pp-save:hover,
body.theme-dark .pp-save:hover,
:root[data-theme="dark"] .peb-copy:hover,
html.theme-dark .peb-copy:hover,
body.theme-dark .peb-copy:hover,
:root[data-theme="dark"] .live-ended-actions .btn-go:hover,
html.theme-dark .live-ended-actions .btn-go:hover,
body.theme-dark .live-ended-actions .btn-go:hover,
:root[data-theme="dark"] .tips-cta:hover,
html.theme-dark .tips-cta:hover,
body.theme-dark .tips-cta:hover {
    background: var(--hover-bg-color) !important;
    color: var(--text-dark) !important;
}


/* Accent focus ring for inputs/buttons */

.text-field:focus,
.pp-input:focus,
.pe-text:focus,
.textarea textarea:focus,
.tips-input:focus,
.tips-select:focus {
    box-shadow: var(--focus);
}

.margin-bottom-0 {
    margin-bottom: 0px !important;
}


/* Accessible-only label utility (shared with admin) */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* Unified Pagination (shared styles) */

.dz-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    width: 100%;
}

.dz-pagination .page-core {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 100%;
}

.dz-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle, var(--rgba-11));
    color: var(--text-dark, var(--color-111));
    text-decoration: none;
    background: var(--bg-base, var(--bg-color));
    font-size: 13px;
    font-weight: 600;
}

.dz-pagination .page-btn:hover {
    background: var(--sd-admin-hover-bg);
}

.dz-pagination .page-btn.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.dz-pagination .page-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 6px;
    padding: 0;
    line-height: 1;
    font-size: 0;
}

.dz-pagination .page-list li {
    list-style: none;
    background: none !important;
    background-image: none !important;
    padding: 0;
    margin: 0;
}

.dz-pagination .page-list li::before {
    display: none !important;
}

.dz-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle, var(--rgba-11));
    text-decoration: none;
    color: var(--text-dark, var(--color-111));
    background: var(--bg-base, var(--bg-color));
    font-size: 13px;
    font-weight: 600;
}

.dz-pagination .page-link:hover {
    background: var(--sd-admin-hover-bg);
}

.dz-pagination .page-link.is-active {
    background: var(--color-slate-650);
    color: var(--white);
    border-color: var(--color-slate-650);
}

.dz-pagination .page-ellipsis {
    color: var(--text-gray, var(--color-6b7280));
    padding: 0 6px;
}

.dz-pagination .page-goto {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.dz-pagination .goto-input {
    width: 80px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle, var(--rgba-11));
    padding: 0 10px;
    background: var(--bg-base, var(--bg-color));
    color: var(--text-dark, var(--color-111));
}

.dz-pagination .goto-btn {
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--color-brand-blue);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.ads-sidebar,
.sponsor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.ads-sidebar__header,
.sponsor-sidebar__header {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gray, #6b7280);
}

.ads-sidebar__cards,
.sponsor-sidebar__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ads-card,
.sponsor-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
    border-radius: 16px;
    background: var(--surface, #ffffff);
    box-shadow: var(--shadow-2-6-08, none);
    overflow: hidden;
}

.ads-card-media,
.sponsor-card-media {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--grey-light, #f3f4f6);
}

.ads-card-media::after,
.sponsor-card-media::after {
    content: "";
    display: block;
    padding-bottom: 56%;
}

.ads-card-media>*,
.sponsor-card-media>* {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ads-card-image,
.sponsor-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ads-card-video,
.sponsor-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    background: #000;
}

.ads-card-body,
.sponsor-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.ads-card-badge,
.sponsor-card-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gray, #6b7280);
}

.ads-card-title,
.sponsor-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark, #111827);
    text-decoration: none;
}

.ads-card-title:hover,
.sponsor-card-title:hover {
    color: var(--button-blue-color);
}

.ads-card [data-ad-placeholder="1"],
.sponsor-card [data-ad-placeholder="1"] {
    pointer-events: none;
    cursor: default;
}

.ads-card-description,
.sponsor-card-description {
    font-size: 13px;
    color: var(--text-gray, #6b7280);
    line-height: 1.5;
    margin: 0;
}

.ads-card-cta,
.sponsor-card-cta {
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--button-blue-color);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ads-card-cta:hover,
.sponsor-card-cta:hover {
    background: var(--button-blue-hover-color, #2563eb);
}

.ads-card-cta:focus-visible,
.sponsor-card-cta:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.ads-sponsored {
    width: 100%;
}

.ads-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
    border-radius: 18px;
    background: var(--surface, #ffffff);
    box-shadow: var(--shadow-2-6-08, none);
}

.ads-frame__badge {
    position: absolute;
    top: 14px;
    left: 18px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
}

.ads-frame__media {
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.ads-frame__media video,
.ads-frame__media img,
.ads-frame__video {
    width: 100%;
    display: block;
    object-fit: cover;
    border: none;
}

.ads-frame__link {
    display: block;
}

.ads-frame__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ads-frame__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ads-frame__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark, #111827);
    text-decoration: none;
}

.ads-frame__title:hover {
    color: var(--button-blue-color);
}

.ads-frame__description {
    margin: 0;
    font-size: 14px;
    color: var(--text-gray, #6b7280);
    line-height: 1.6;
    white-space: pre-line;
}

.ads-frame__cta {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--button-blue-color);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ads-frame__cta:hover {
    background: var(--button-blue-hover-color, #2563eb);
}

.ads-frame__cta:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.ads-card+.ads-card,
.ads-card+.sponsor-card,
.sponsor-card+.ads-card,
.sponsor-card+.sponsor-card {
    margin-top: 0;
}

.ads-range-btn {
    color: var(--white);
    padding: 5px 12px;
    background-color: var(--button-dark-bg);
    border: 1px solid var(--border-color);
    outline: none;
    cursor: pointer;
    border-radius: 10px;
}

.ads-range-btn:hover {
    background-color: var(--hover-bg-color);
}

.dz-pagination .goto-btn:hover {
    opacity: .9;
}


/* Responsive behavior */

:root {
    /* System Variables */
    --bg-color: var(--color-f5efe6);
    --primary-color: var(--color-ff5c5c);
    --primary-text: var(--color-000);
    --secondary-text: var(--color-444);
    --muted-text: var(--color-333);
    --hero-tag-bg: var(--color-fcd293);
    --button-dark-bg: var(--color-222);
    --button-blue-color: var(--color-0095f6);
    --button-blue-hover-color: var(--color-007ed9);
    --button-text: var(--color-fff);
    --box-shadow: var(--rgba-41);
    --icon-color: var(--color-ffffff);
    --eye-color: var(--color-ffffff);
    --verified-color: var(--color-1da1f2);
    --text-dark: var(--color-111827);
    --text-gray: var(--color-6b7280);
    --bg-light: var(--color-eff0ef);
    --btn-dark: var(--color-111827);
    --text: var(--color-2d2a32);
    --white: var(--color-ffffff);
    --black: var(--color-2d2a32);
    --grey-on-white: var(--color-6c696f);
    --grey-light: var(--color-eff0ef);
    --grey-background: var(--color-dad9da);
    --grey-on-black: var(--color-bcbabd);
    --grey-light-text: var(--color-939195);
    --grey-on-grey: var(--color-615e64);
    --blue: var(--color-305afe);
    --orange-red: var(--color-fa5128);
    --gold: var(--color-fed217);
    --light-pink: var(--color-fd99c0);
    --green: var(--color-1ca662);
    --warning: var(--color-e57373);
    /* Char Colors (Sticker?) */
    --charColor1: var(--color-ffd93b);
    --charColor2: var(--color-ff8c42);
    --charColor3: var(--color-ff6f61);
    --charColor4: var(--color-8c52ff);
    --charColor5: var(--color-00c49a);
    --charColor6: var(--color-4da6ff);
    /* Fonts */
    --GaphikFont: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --PlatformSansSerif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --fontApple: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* Additional Icon Colors */
    --icon-color-white: var(--color-ffffff);
    --cancel-button: var(--color-37474f);
    /*Icon and Menu Hover BackgroundColor*/
    --hover-bg-color: var(--color-e0e0e0);
    /*Global SVG Color*/
    --svg-color: var(--color-333);
    --toggle-width: 72px;
    --toggle-height: 40px;
    --thumb-size: 32px;
    --radius: 999px;
    /* Light theme colors (OFF state like screenshot #1) */
    --track-off: #e5e9ef;
    /* soft gray */
    --track-on: #4f86f7;
    /* primary when ON */
    --thumb: #ffffff;
    --shadow: 0 1px 3px var(--rgba-15);
    --focus: 0 0 0 3px var(--button-blue-a35);
    --dark: var(--color-0000);
    /* Generic overlays / borders used in video editor & swiper */
    --rgba-0: rgba(0, 0, 0, 0);
    --rgba-8: rgba(0, 0, 0, 0.08);
    --rgba-15: rgba(0, 0, 0, 0.15);
    --rgba-25: rgba(0, 0, 0, 0.25);
    --rgba-35: rgba(0, 0, 0, 0.35);
    --rgba-55: rgba(0, 0, 0, 0.55);
    --rgba-80: rgba(0, 0, 0, 0.8);
    /* Whites with alpha for text/lines over video */
    --white-70: rgba(255, 255, 255, 0.7);
    --white-85: rgba(255, 255, 255, 0.85);
    --white-90: rgba(255, 255, 255, 0.9);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-25: rgba(255, 255, 255, 0.25);
    /* Solid colors used in this range */
    /* Note: if --black / --white / --color-111 already exist, keep them. */
    --color-111: #111;
    /* dark border on handles */
    --toast-error: #f44336;
    /* toast error */
    --toast-success: #4caf50;
    /* toast success */
    --toast-info: #2196f3;
    /* toast info */
    /* Additional Colors and Shadows */
    --color-e6e6e6: #e6e6e6;
    --color-bbb: #bbb;
    --color-ddd: #ddd;
    --color-00c49a: #00c49a;
    --color-4ea3ff: #4ea3ff;
    --color-7db3ff: #7db3ff;
    --color-777: #777;
    /* Extended palette */
    --color-emerald-900: #0b6b2b;
    --color-emerald-700: #047857;
    --color-emerald-500: #10b981;
    --color-emerald-50: #f0fdf4;
    --color-mint-50: #e6f4ea;
    --color-cyan-600: #0891b2;
    --color-cyan-500: #0bb0c0;
    --color-cyan-400: #24b8c7;
    --color-teal-500: #14b8a6;
    --color-green-600: #16a34a;
    --color-green-500: #22c55e;
    --color-slate-950: #0b1120;
    --color-slate-940: #0b1220;
    --color-slate-900: #0f172a;
    --color-ink-950: #10131a;
    --color-midnight-900: #111b2e;
    --color-gray-800: #1f2937;
    --color-gray-700: #374151;
    --color-slate-650: #4b5563;
    --color-slate-600: #475569;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    --color-gray-50: #f9fafb;
    --color-charcoal-900: #202123;
    --color-facebook-primary: #1877f2;
    --color-facebook-shadow: #0f5fcc;
    --color-twitter-blue: #1d9bf0;
    --color-twitter-deep: #1a8cd8;
    --color-brand-blue: #1f4bd8;
    --color-blue-650: #274bcc;
    --color-blue-600: #1d4ed8;
    --color-blue-500: #2563eb;
    --color-blue-300: #8ab6ff;
    --color-blue-200: #b7d0ff;
    --color-indigo-700: #4338ca;
    --color-indigo-500: #6366f1;
    --color-indigo-50: #f5f3ff;
    --color-violet-500: #7c3aed;
    --color-orange-500: #f97316;
    --color-orange-450: #f77737;
    --color-orange-400: #fb923c;
    --color-orange-gradient-mid: #f56040;
    --color-amber-700: #b45309;
    --color-amber-500: #f59e0b;
    --color-amber-400: #ffb300;
    --color-rose-600: #e11d48;
    --color-rose-50: #fff1f2;
    --color-red-700: #b00020;
    --color-red-600: #b91c1c;
    --color-red-500: #fd1d1d;
    --color-coral-500: #ff6b60;
    --color-sky-50: #e8f5fd;
    --color-sky-100: #f0f9ff;
    /* RGB channel tokens */
    --black-rgb: 0, 0, 0;
    --button-blue-rgb: 0, 149, 246;
    --color-slate-500-rgb: 107, 114, 128;
    --color-slate-950-rgb: 11, 17, 32;
    --color-slate-400-rgb: 148, 163, 184;
    --color-slate-900-rgb: 15, 23, 42;
    --color-emerald-500-rgb: 16, 185, 129;
    --ink-900-rgb: 17, 17, 26;
    --color-gray-900-rgb: 17, 24, 39;
    --color-midnight-900-rgb: 17, 27, 46;
    --color-slate-300-rgb: 203, 213, 225;
    --color-slate-200-rgb: 226, 232, 240;
    --color-gray-200-rgb: 229, 231, 235;
    --color-red-500-rgb: 239, 68, 68;
    --color-amber-500-rgb: 245, 158, 11;
    --color-slate-50-rgb: 248, 250, 252;
    --color-gray-50-rgb: 249, 250, 251;
    --white-rgb: 255, 255, 255;
    --color-green-500-rgb: 28, 166, 98;
    --color-twitter-blue-rgb: 29, 161, 242;
    --color-brand-blue-rgb: 31, 75, 216;
    --color-royal-500-rgb: 48, 90, 254;
    --color-sky-500-rgb: 59, 130, 246;
    --color-accent-blue-rgb: 79, 134, 247;
    --color-indigo-600-rgb: 79, 70, 229;
    --color-mint-500-rgb: 80, 205, 137;
    --color-indigo-500-rgb: 99, 102, 241;
    /* Semi-transparent tokens */
    --button-blue-a15: rgba(var(--button-blue-rgb), 0.15);
    --button-blue-a25: rgba(var(--button-blue-rgb), 0.25);
    --button-blue-a35: rgba(var(--button-blue-rgb), 0.35);
    --color-accent-blue-a06: rgba(var(--color-accent-blue-rgb), 0.06);
    --color-accent-blue-a08: rgba(var(--color-accent-blue-rgb), 0.08);
    --color-accent-blue-a12: rgba(var(--color-accent-blue-rgb), 0.12);
    --color-accent-blue-a18: rgba(var(--color-accent-blue-rgb), 0.18);
    --color-accent-blue-a30: rgba(var(--color-accent-blue-rgb), 0.3);
    --color-accent-blue-a35: rgba(var(--color-accent-blue-rgb), 0.35);
    --color-accent-blue-a40: rgba(var(--color-accent-blue-rgb), 0.4);
    --color-accent-blue-a50: rgba(var(--color-accent-blue-rgb), 0.5);
    --color-amber-500-a15: rgba(var(--color-amber-500-rgb), 0.15);
    --color-brand-blue-a11: rgba(var(--color-brand-blue-rgb), 0.11);
    --color-emerald-500-a08: rgba(var(--color-emerald-500-rgb), 0.08);
    --color-emerald-500-a12: rgba(var(--color-emerald-500-rgb), 0.12);
    --color-emerald-500-a18: rgba(var(--color-emerald-500-rgb), 0.18);
    --color-emerald-500-a35: rgba(var(--color-emerald-500-rgb), 0.35);
    --color-gray-200-a90: rgba(var(--color-gray-200-rgb), 0.9);
    --color-gray-50-a90: rgba(var(--color-gray-50-rgb), 0.9);
    --color-gray-900-a12: rgba(var(--color-gray-900-rgb), 0.12);
    --color-green-500-a25: rgba(var(--color-green-500-rgb), 0.25);
    --color-indigo-500-a06: rgba(var(--color-indigo-500-rgb), 0.06);
    --color-indigo-500-a08: rgba(var(--color-indigo-500-rgb), 0.08);
    --color-indigo-500-a12: rgba(var(--color-indigo-500-rgb), 0.12);
    --color-indigo-500-a15: rgba(var(--color-indigo-500-rgb), 0.15);
    --color-indigo-500-a16: rgba(var(--color-indigo-500-rgb), 0.16);
    --color-indigo-500-a25: rgba(var(--color-indigo-500-rgb), 0.25);
    --color-indigo-500-a35: rgba(var(--color-indigo-500-rgb), 0.35);
    --color-indigo-500-a45: rgba(var(--color-indigo-500-rgb), 0.45);
    --color-indigo-600-a05: rgba(var(--color-indigo-600-rgb), 0.05);
    --color-indigo-600-a12: rgba(var(--color-indigo-600-rgb), 0.12);
    --color-midnight-900-a08: rgba(var(--color-midnight-900-rgb), 0.08);
    --color-midnight-900-a22: rgba(var(--color-midnight-900-rgb), 0.22);
    --color-mint-500-a12: rgba(var(--color-mint-500-rgb), 0.12);
    --color-red-500-a18: rgba(var(--color-red-500-rgb), 0.18);
    --color-royal-500-a22: rgba(var(--color-royal-500-rgb), 0.22);
    --color-royal-500-a28: rgba(var(--color-royal-500-rgb), 0.28);
    --color-sky-500-a08: rgba(var(--color-sky-500-rgb), 0.08);
    --color-sky-500-a15: rgba(var(--color-sky-500-rgb), 0.15);
    --color-sky-500-a18: rgba(var(--color-sky-500-rgb), 0.18);
    --color-slate-200-a60: rgba(var(--color-slate-200-rgb), 0.6);
    --color-slate-200-a70: rgba(var(--color-slate-200-rgb), 0.7);
    --color-slate-200-a85: rgba(var(--color-slate-200-rgb), 0.85);
    --color-slate-200-a90: rgba(var(--color-slate-200-rgb), 0.9);
    --color-slate-300-a35: rgba(var(--color-slate-300-rgb), 0.35);
    --color-slate-300-a90: rgba(var(--color-slate-300-rgb), 0.9);
    --color-slate-400-a08: rgba(var(--color-slate-400-rgb), 0.08);
    --color-slate-400-a25: rgba(var(--color-slate-400-rgb), 0.25);
    --color-slate-400-a35: rgba(var(--color-slate-400-rgb), 0.35);
    --color-slate-400-a45: rgba(var(--color-slate-400-rgb), 0.45);
    --color-slate-400-a70: rgba(var(--color-slate-400-rgb), 0.7);
    --color-slate-400-a90: rgba(var(--color-slate-400-rgb), 0.9);
    --color-slate-50-a70: rgba(var(--color-slate-50-rgb), 0.7);
    --color-slate-500-a16: rgba(var(--color-slate-500-rgb), 0.16);
    --color-slate-500-a18: rgba(var(--color-slate-500-rgb), 0.18);
    --color-slate-900-a07: rgba(var(--color-slate-900-rgb), 0.07);
    --color-slate-900-a08: rgba(var(--color-slate-900-rgb), 0.08);
    --color-slate-900-a10: rgba(var(--color-slate-900-rgb), 0.1);
    --color-slate-900-a12: rgba(var(--color-slate-900-rgb), 0.12);
    --color-slate-900-a15: rgba(var(--color-slate-900-rgb), 0.15);
    --color-slate-900-a18: rgba(var(--color-slate-900-rgb), 0.18);
    --color-slate-900-a20: rgba(var(--color-slate-900-rgb), 0.2);
    --color-slate-900-a25: rgba(var(--color-slate-900-rgb), 0.25);
    --color-slate-900-a35: rgba(var(--color-slate-900-rgb), 0.35);
    --color-slate-950-a28: rgba(var(--color-slate-950-rgb), 0.28);
    --color-twitter-blue-a25: rgba(var(--color-twitter-blue-rgb), 0.25);
    --ink-900-a05: rgba(var(--ink-900-rgb), 0.05);
    --ink-900-a10: rgba(var(--ink-900-rgb), 0.1);
    --rgba-black-18: rgba(var(--black-rgb), 0.18);
    --rgba-black-20: rgba(var(--black-rgb), 0.2);
    --rgba-black-28: rgba(var(--black-rgb), 0.28);
    --rgba-black-65: rgba(var(--black-rgb), 0.65);
    --rgba-black-75: rgba(var(--black-rgb), 0.75);
    --white-04: rgba(var(--white-rgb), 0.04);
    --white-12: rgba(var(--white-rgb), 0.12);
    --white-20: rgba(var(--white-rgb), 0.2);
    --white-22: rgba(var(--white-rgb), 0.22);
    --white-75: rgba(var(--white-rgb), 0.75);
    --white-80: rgba(var(--white-rgb), 0.8);
    --white-95: rgba(var(--white-rgb), 0.95);
    --link-blue: var(--color-7db3ff);
    --danger: #e53935;
    --danger-alt: #ef4444;
    --danger-hover: #dc2626;
    /* Toast v2 palette */
    --toast-bg: var(--color-111);
    --toast-bg-success: #0f5132;
    --toast-bg-error: #842029;
    --toast-bg-info: #0d6efd;
    --toast-shadow: 0 8px 24px var(--rgba-black-20);
    /* Alerts palette */
    --alert-error-bg: #fde8e8;
    --alert-error-text: #7f1d1d;
    --alert-error-border: #fecaca;
    --alert-success-bg: #ecfdf5;
    --alert-success-text: #065f46;
    --alert-success-border: #a7f3d0;
    --alert-info-bg: #eff6ff;
    --alert-info-text: #1e3a8a;
    --alert-info-border: #bfdbfe;
    /* Additional alphas */
    --white-18: rgba(255, 255, 255, 0.18);
    --rgba-30: rgba(0, 0, 0, 0.12);
    /* Shadow presets */
    --shadow-2-6-08: 0 2px 6px var(--rgba-11);
    --shadow-4-10-12: 0 4px 10px var(--rgba-30);
    --shadow-4-12-20: 0 4px 12px var(--rgba-black-20);
    --shadow-6-16-10: 0 6px 16px var(--rgba-41);
    --shadow-8-24-10: 0 8px 24px var(--rgba-41);
    --shadow-8-24-20: 0 8px 24px var(--rgba-black-20);
    --shadow-20-40-25: 0 20px 40px var(--rgba-12);
    --shadow-soft: var(--ink-900-a10) 0px 4px 16px, var(--ink-900-a05) 0px 8px 32px;
    --shadow-8-24-35: 0 8px 24px var(--rgba-35);
    /*Range Border*/
    --range-blue: var(--range-blue);
    --range-color-1: #c0ccda;
    --range-color-2: #d3dce6;
    --range-color-3: #fdd835;
    --range-color-4: #b0d7f5;
    --range-color-5: #13ce66;
    --range-color-6: #a1efc4;
    --range-color-7: #ff4949;
    --range-color-8: #f9b3b3;
    --range-color-9: #fbeac1;
    /*Like SVG color*/
    --post-like-color: #d32f2f;
    /* Semantic aliases */
    --text-primary: var(--text);
    --text-secondary: var(--secondary-text);
    --text-muted: var(--muted-text);
    --text-inverse: var(--white);
    --bg-base: var(--bg-color);
    --bg-muted: var(--bg-light);
    --bg-elevated: var(--white);
    --surface: var(--white);
    --border-subtle: var(--color-e6e6e6);
    --overlay-dim: var(--rgba-62);
    --accent: var(--button-blue-color);
    --accent-hover: var(--button-blue-hover-color);
    --link-color: var(--link-blue);
    --btn-primary-bg: var(--button-blue-color);
    --btn-primary-text: var(--white);
    --btn-primary-hover-bg: var(--accent-hover);
    --input-bg: var(--color-f0f2f5);
    /* Minor alphas */
    --rgba-03: rgba(0, 0, 0, 0.03);
    --rgba-45: rgba(0, 0, 0, 0.45);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-60: rgba(255, 255, 255, 0.6);
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Local Inter font (variable preferred, fallback static) */

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html,
body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary, var(--text-dark));
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-base, var(--bg-color));
}

.full-width {
    width: 100%;
}

.gap {
    gap: 10px;
}

.gap-root {
    gap: 1px;
}

.column-gap {
    column-gap: 10px;
}

.none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.transition {
    -webkit-transition: all 0.25s ease;
    -moz-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    transition: all 0.25s ease;
}

.cursor-point {
    cursor: pointer;
}

header {
    padding: 30px 60px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-weight: bold;
    font-size: 18px;
}

nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    justify-content: center;
    align-items: center;
}

nav a {
    color: var(--primary-text);
    text-decoration: none;
}

.auth-buttons button {
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.auth-buttons .login {
    background: none;
    margin-right: 10px;
}

.auth-buttons .signup {
    background: var(--button-dark-bg);
    color: var(--button-text);
    padding: 8px 16px;
    border-radius: 20px;
}

.hero {
    text-align: center;
    background: var(--bg-color);
    padding: 30px 20px 0;
}

.hero .tag {
    display: inline-block;
    background: var(--hero-tag-bg);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    color: var(--secondary-text);
    margin-top: 15px;
}

.carousel-wrapper {
    width: 100vw;
    perspective: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.21);
}

.carousel {
    position: relative;
    width: 300px;
    height: 450px;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 0.4s ease-out;
    user-select: none;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.6s ease;
    opacity: 1;
    transform-origin: center center;
}

.carousel-item:hover {
    opacity: 1;
    box-shadow: var(--rgba-37) 0px 50px 100px -20px, var(--rgba-10) 0px 30px 60px -30px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotateY(180deg);
}

.view-count {
    position: absolute;
    bottom: 10px;
    right: 12px;
    /* 12px from the right edge */
    display: flex;
    align-items: center;
    background-color: var(--rgba-62);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-fff);
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(2px);
    transform: rotateY(180deg);
    /* fix mirroring */
}

.carousel-item.no-view-metric .view-count {
    display: none;
}

.username-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: var(--rgba-53);
    color: var(--color-fff);
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(2px);
    transform: rotateY(180deg);
    /* mirror correction */
    display: flex;
    align-items: center;
    justify-content: center;
}

.verified-badge {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
}

.eye-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    align-items: center;
    justify-content: center;
    color: var(--color-fff);
    transform: rotateY(180deg);
}

.eye-icon svg,
.eye-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.view-number {
    margin-left: 6px;
}

.image-list {
    display: none;
}

.cta {
    background: var(--bg-color);
    text-align: center;
    padding: 40px 20px 60px;
}

.cta .btn-wrapper {
    position: relative;
    display: inline-block;
}

.cta .btn-wrapper a {
    background: var(--primary-color);
    color: var(--button-text);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px var(--box-shadow);
    display: inline-block;
}

.cta .btn-wrapper span {
    position: absolute;
    left: -70px;
    bottom: -25px;
    font-size: 12px;
    color: var(--muted-text);
    transform: rotate(-10deg);
}

.cta .btn-wrapper .arrow {
    width: 40px;
    height: 30px;
    border-left: 2px solid var(--muted-text);
    border-bottom: 2px solid var(--muted-text);
    transform: rotate(-45deg);
    position: absolute;
    left: 45px;
    bottom: 10px;
}

header {
    width: 100%;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.relative {
    position: relative;
    overflow: hidden;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.3s ease;
    padding-left: 20px;
    padding-right: 20px;
}

body.nav-locked {
    overflow: hidden;
}

.wrapper {
    background-image: url('imgs/blur-bg.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
}

.main-header-inner {
    width: 100%;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: var(--rgba-18);
    border-radius: 100px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    inset: 20px 4% auto;
    transition: border-radius 0.2s ease;
}

:root[data-theme="dark"] .main-header-inner,
html[data-theme="dark"] .main-header-inner,
body[data-theme="dark"] .main-header-inner,
html.theme-dark .main-header-inner,
body.theme-dark .main-header-inner {
    background-color: var(--bg-elevated) !important;
    color: var(--text-primary);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

html.theme-dark .main-header-inner h1,
html.theme-dark .main-header-inner h2,
html.theme-dark .main-header-inner h3,
html.theme-dark .main-header-inner h4,
html.theme-dark .main-header-inner h5,
html.theme-dark .main-header-inner h6,
body.theme-dark .main-header-inner h1,
body.theme-dark .main-header-inner h2,
body.theme-dark .main-header-inner h3,
body.theme-dark .main-header-inner h4,
body.theme-dark .main-header-inner h5,
body.theme-dark .main-header-inner h6,
:root[data-theme="dark"] .main-header-inner h1,
:root[data-theme="dark"] .main-header-inner h2,
:root[data-theme="dark"] .main-header-inner h3,
:root[data-theme="dark"] .main-header-inner h4,
:root[data-theme="dark"] .main-header-inner h5,
:root[data-theme="dark"] .main-header-inner h6 {
    color: var(--text-primary);
}

html.theme-dark .main-header-inner p,
body.theme-dark .main-header-inner p,
:root[data-theme="dark"] .main-header-inner p {
    color: var(--text-secondary);
}

.theme-toggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-dark);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft, var(--box-shadow));
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 1100;
}

.theme-toggle:hover {
    transform: translateY(-2px);
}

:root[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .theme-toggle,
html.theme-dark .theme-toggle,
body.theme-dark .theme-toggle {
    background: var(--color-slate-900-a20);
    color: var(--text-primary);
    border-color: var(--color-slate-900-a35);
}

:root[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:hover,
body[data-theme="dark"] .theme-toggle:hover,
html.theme-dark .theme-toggle:hover,
body.theme-dark .theme-toggle:hover {
    background: var(--color-slate-900-a35);
}

.container-nav {
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    display: flex;
    position: relative;
    gap: 20px;
}

.nav-cluster {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    box-sizing: border-box;
}

.primary-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.12));
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark, #111827);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--color-305afe, #305afe);
    outline-offset: 2px;
}

:root[data-theme="dark"] .nav-toggle,
html.theme-dark .nav-toggle,
body.theme-dark .nav-toggle {
    background: var(--color-slate-900-a50, rgba(15, 23, 42, 0.5));
    color: var(--text-primary, #f8fafc);
    border-color: var(--color-slate-900-a35, rgba(15, 23, 42, 0.35));
}

.nav-toggle__box {
    width: 22px;
    height: 16px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.nav-toggle__line {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-header.menu-open .nav-toggle__line--top {
    transform: translateY(7px) rotate(45deg);
}

.main-header.menu-open .nav-toggle__line--middle {
    opacity: 0;
}

.main-header.menu-open .nav-toggle__line--bottom {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle__label {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.container-nav nav a {
    margin-left: 0;
}

nav .menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

nav .menu-item + .menu-item {
    margin-left: 12px;
}

nav .menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--menu-underline-color, currentColor);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease, background-color 0.22s ease;
    border-radius: 999px;
    opacity: 0.95;
}

nav .menu-item:hover::after,
nav .menu-item:focus-visible::after {
    transform: scaleX(1);
}

nav .menu-item:hover,
nav .menu-item:focus-visible {
    opacity: 1;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.site-logo img {
    width: auto;
    height: 35px;
}


/* Logo theme/viewport variants */

.logo-image {
    display: none !important;
    height: 35px;
    width: auto;
}


/* Default to light theme (unless system/explicit dark overrides) */

.logo--for-light {
    display: inline !important;
}

.logo--for-dark {
    display: none !important;
}


/* Desktop by default; switch to mobile on small screens */

.logo--desktop {
    display: inline !important;
}

.logo--mobile {
    display: none !important;
}


/* Explicit theme overrides via data-theme / classes (Desktop only) */

:root[data-theme="dark"] .logo--desktop.logo--for-light,
html.theme-dark .logo--desktop.logo--for-light,
body.theme-dark .logo--desktop.logo--for-light {
    display: none !important;
}

:root[data-theme="dark"] .logo--desktop.logo--for-dark,
html.theme-dark .logo--desktop.logo--for-dark,
body.theme-dark .logo--desktop.logo--for-dark {
    display: inline !important;
}

:root[data-theme="light"] .logo--desktop.logo--for-light,
html.theme-light .logo--desktop.logo--for-light,
body.theme-light .logo--desktop.logo--for-light {
    display: inline !important;
}

:root[data-theme="light"] .logo--desktop.logo--for-dark,
html.theme-light .logo--desktop.logo--for-dark,
body.theme-light .logo--desktop.logo--for-dark {
    display: none !important;
}


/* System preference when explicit theme is not set or set to auto */

@media (prefers-color-scheme: dark) {
     :root:not([data-theme]) .logo--desktop.logo--for-light,
     :root[data-theme="auto"] .logo--desktop.logo--for-light {
        display: none !important;
    }
     :root:not([data-theme]) .logo--desktop.logo--for-dark,
     :root[data-theme="auto"] .logo--desktop.logo--for-dark {
        display: inline !important;
    }
}

@media (max-width: 640px) and (prefers-color-scheme: dark) {
    /* Mobile auto/system */
     :root:not([data-theme]) .has-mobile-logo .logo--mobile.logo--for-light,
     :root[data-theme="auto"] .has-mobile-logo .logo--mobile.logo--for-light {
        display: none !important;
    }
     :root:not([data-theme]) .has-mobile-logo .logo--mobile.logo--for-dark,
     :root[data-theme="auto"] .has-mobile-logo .logo--mobile.logo--for-dark {
        display: inline !important;
    }
    /* Also force-hide desktop variants in auto/system dark on mobile */
     :root:not([data-theme]) .has-mobile-logo .logo--desktop.logo--for-light,
     :root[data-theme="auto"] .has-mobile-logo .logo--desktop.logo--for-light,
     :root:not([data-theme]) .has-mobile-logo .logo--desktop.logo--for-dark,
     :root[data-theme="auto"] .has-mobile-logo .logo--desktop.logo--for-dark {
        display: none !important;
    }
}

.logo-light {
    font-weight: 400;
}

.work-example {
    border-radius: 40px;
    width: 160px;
    max-width: none;
    height: auto;
}

img {
    vertical-align: middle;
    display: inline-block;
}

img {
    border: 0;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

:root[data-theme="dark"] nav a,
html.theme-dark nav a,
body.theme-dark nav a {
    color: var(--text-primary);
}

.btn-call {
    background: var(--color-fff);
    border-radius: 9999px;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 1px 3px var(--rgba-11);
    border: 1px solid var(--color-e5e7eb);
    transition: 0.2s ease;
}

.btn-call:hover {
    background: var(--color-f3f4f6);
}

:root[data-theme="dark"] .btn-call,
html.theme-dark .btn-call,
body.theme-dark .btn-call {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px var(--color-slate-900-a25);
}

:root[data-theme="dark"] .btn-call:hover,
html.theme-dark .btn-call:hover,
body.theme-dark .btn-call:hover {
    background: var(--color-slate-900-a30);
}

.recent-work h2 {
    color: var(--text-dark);
    text-align: center;
    letter-spacing: -0.01em;
    /*margin-bottom: 20px;*/
    font-family: var(--PlatformSansSerif);
    font-size: 60px;
    font-weight: 500;
    line-height: 94%;
    z-index: 2;
}

.recent-work .max-width-640px {
    margin-left: auto;
    margin-right: auto;
}

.recent-work p {
    color: var(--text-dark);
    text-align: center;
    max-width: 680px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    line-height: 30px;
    font-family: var(--GaphikFont);
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 0px);
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-top-space {
    padding-top: 180px;
}

.hero h1 {
    max-width: 1300px;
    text-align: center;
    line-height: 94%;
    letter-spacing: -0.01em;
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 130px;
    font-weight: 900;
    color: var(--text);
    font-family: var(--PlatformSansSerif);
}

.hero .hero-bg {
    position: absolute;
    z-index: -1;
    left: 0;
    height: 100%;
    width: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.btn-start {
    padding: 14px 28px;
    background: var(--btn-dark);
    color: var(--color-fff);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: 0.2s ease;
    position: relative;
    z-index: 1;
    margin-top: -50px;
}

.ghost {
    position: absolute;
    width: 150px;
    z-index: 0;
    will-change: transform;
}

.ghost-left-top {
    top: 30px;
    left: 15%;
    transform: rotate(-6deg);
}

.ghost-left-bottom {
    bottom: 80px;
    left: 20%;
    transform: rotate(-4deg);
}

.ghost-right-top {
    top: 50px;
    right: 15%;
    transform: rotate(6deg);
}

.ghost-right-bottom {
    bottom: 80px;
    right: 20%;
    transform: rotate(5deg);
}

.ghost-center-top {
    top: 10px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 0;
}


/* Animasyonlar */

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInDZ {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Classes */

.fade-down {
    animation: fadeDown 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomInDZ 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.4s;
}

.delay-2 {
    animation-delay: 0.8s;
}

.delay-3 {
    animation-delay: 1.2s;
}

.delay-4 {
    animation-delay: 1.6s;
}

.delay-5 {
    animation-delay: 2s;
}

.delay-6 {
    animation-delay: 2.4s;
}

.delay-7 {
    animation-delay: 2.8s;
}

.delay-8 {
    animation-delay: 3.2s;
}

@keyframes slideInUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate__slideInUp {
    animation-name: slideInUp;
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__delay-2s {
    animation-delay: 2s;
}

.fade-down,
.zoom-in {
    animation-fill-mode: forwards;
}

.hero-title {
    background: linear-gradient( 90deg, var(--color-4f46e5), var(--color-ec4899), var(--color-4f46e5));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite, zoomInDZ 0.6s ease-out forwards;
    animation-delay: 0s, 0.8s;
    font-weight: 900;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.1;
    margin: 20px auto 40px;
    text-align: center;
    opacity: 0;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.converted {
    position: absolute;
    bottom: 0px;
    margin: 0;
    padding: 0;
    display: inline-block;
    line-height: 0;
    font-size: 0;
}

.converted img {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    vertical-align: bottom;
}

.converted_mirror {
    position: absolute;
    top: 0px;
    margin: 0;
    padding: 0;
    display: inline-block;
    line-height: 0;
    font-size: 0;
    z-index: 0;
}

.converted_mirror img {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    vertical-align: bottom;
    opacity: 0.3;
    filter: blur(12px);
    -webkit-filter: blur(12px);
    /* for Safari */
}

.section {
    position: relative;
    background: var(--bg-color);
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.marquee-slider {
    width: 100%;
    grid-column-gap: 1.6rem;
    grid-row-gap: 1.6rem;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
}

.marquee-slider__list {
    grid-column-gap: 1.6rem;
    grid-row-gap: 1.6rem;
    flex: none;
    z-index: 1;
    display: flex;
    flex-flow: row;
    align-items: stretch;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.38, 1.399);
}

.marquee-slider__list--item {
    color: var(--color-555);
    grid-column-gap: 0.6rem;
    border-radius: 30px;
    flex: none;
    display: flex;
    padding: 10px;
    position: relative;
    align-items: center;
    grid-row-gap: 1.6rem;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--rgba-11);
    background-image: linear-gradient(135deg, var(--rgba-34), var(--rgba-11));
    font-size: 14px;
    font-weight: 500;
}

html.theme-dark .marquee-slider__list--item,
body.theme-dark .marquee-slider__list--item {
    color: #fff;
}

.marquee-slider__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rgba-34);
    box-shadow: inset 0 0 0 1px var(--rgba-22);
}

.marquee-slider__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.work-example {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.features-section {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.features-title {
    font-size: 42px;
    font-weight: 800;
    font-family: var(--PlatformSansSerif);
    color: var(--color-1e1e1e);
    margin-bottom: 10px;
}

:root[data-theme="dark"] .features-title,
html.theme-dark .features-title,
body.theme-dark .features-title {
    color: var(--text-primary);
}

.features-subtitle {
    font-size: 18px;
    color: var(--color-555);
    margin-bottom: 60px;
    font-family: var(--GaphikFont);
}

:root[data-theme="dark"] .features-subtitle,
html.theme-dark .features-subtitle,
body.theme-dark .features-subtitle {
    color: rgba(255, 255, 255, 0.86);
}

.features-container {
    max-width: 860px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
}

.w-layout-blockcontainer {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.w-container:before,
.w-container:after {
    content: ' ';
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.benefit-cards {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    flex-flow: wrap;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: row;
    display: grid;
}

#w-node-aea8b5ca-52a4-8b83-6b6f-c151ec2e246f-d11c69fb {
    grid-area: span 2 / span 1 / span 2 / span 1;
}

.card.black {
    background-color: var(--black);
}

.card {
    background-color: var(--bg-elevated);
    border-radius: 40px;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    min-width: 320px;
    padding: 40px;
    display: flex;
    text-align: left;
}

#w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb {
    grid-area: 3 / 2 / 5 / 3;
}

.card.grey {
    background-color: var(--grey-background);
}

:root .benefit-cards .card.black,
:root .benefit-cards .card.grey,
body .benefit-cards .card.black,
body .benefit-cards .card.grey,
html .benefit-cards .card.black,
html .benefit-cards .card.grey {
    background-color: var(--bg-elevated);
}

:root[data-theme="dark"] .card,
html.theme-dark .card,
body.theme-dark .card {
    background-color: var(--bg-elevated);
    color: var(--text-secondary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .benefit-cards .card.black,
:root[data-theme="dark"] .benefit-cards .card.grey,
html.theme-dark .benefit-cards .card.black,
html.theme-dark .benefit-cards .card.grey,
body.theme-dark .benefit-cards .card.black,
body.theme-dark .benefit-cards .card.grey {
    background-color: var(--bg-elevated);
}

:root[data-theme="dark"] .card.black,
html.theme-dark .card.black,
body.theme-dark .card.black {
    background-color: #272a33;
}

:root[data-theme="dark"] .card.grey,
html.theme-dark .card.grey,
body.theme-dark .card.grey {
    background-color: #1f2329;
}

:root[data-theme="dark"] .card.black.flex-vertical-40px,
html.theme-dark .card.black.flex-vertical-40px,
body.theme-dark .card.black.flex-vertical-40px {
    background-color: var(--bg-elevated);
}

:root[data-theme="dark"] .card h3,
html.theme-dark .card h3,
body.theme-dark .card h3 {
    color: var(--text-primary);
}

:root[data-theme="dark"] .card p,
html.theme-dark .card p,
body.theme-dark .card p {
    color: var(--text-secondary);
}

:root[data-theme="dark"] .card .feature-heading-icon,
html.theme-dark .card .feature-heading-icon,
body.theme-dark .card .feature-heading-icon {
    color: var(--accent);
}

:root[data-theme="dark"] .feature-heading-icon--text,
html.theme-dark .feature-heading-icon--text,
body.theme-dark .feature-heading-icon--text {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

:root[data-theme="dark"] .card-black-heading,
html.theme-dark .card-black-heading,
body.theme-dark .card-black-heading {
    color: var(--text-primary) !important;
}

:root[data-theme="dark"] .card-black-text,
html.theme-dark .card-black-text,
body.theme-dark .card-black-text {
    color: var(--text-secondary) !important;
}

.benefit-cards .card-black-heading {
    color: var(--text-dark) !important;
}

.benefit-cards .card-black-text {
    color: var(--grey-on-white) !important;
}

:root[data-theme="dark"] .benefit-cards .card-black-heading,
html.theme-dark .benefit-cards .card-black-heading,
body.theme-dark .benefit-cards .card-black-heading {
    color: var(--text-primary) !important;
}

:root[data-theme="dark"] .benefit-cards .card-black-text,
html.theme-dark .benefit-cards .card-black-text,
body.theme-dark .benefit-cards .card-black-text {
    color: var(--text-secondary) !important;
}

html.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb,
body.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb,
#w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb[data-theme="dark"],
html[data-theme="dark"] #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

html.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb h3,
body.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb h3,
#w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb[data-theme="dark"] h3,
html[data-theme="dark"] #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb h3 {
    color: var(--text-primary);
}

html.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb p,
body.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb p,
#w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb[data-theme="dark"] p,
html[data-theme="dark"] #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb p {
    color: var(--text-secondary);
}

html.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb .feature-heading-icon,
body.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb .feature-heading-icon,
#w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb[data-theme="dark"] .feature-heading-icon,
html[data-theme="dark"] #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb .feature-heading-icon {
    color: var(--accent);
}

html.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb .feature-heading-icon--text,
body.theme-dark #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb .feature-heading-icon--text,
#w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb[data-theme="dark"] .feature-heading-icon--text,
html[data-theme="dark"] #w-node-_60d4259f-237b-0bfc-b28c-409ccff0396f-d11c69fb .feature-heading-icon--text {
    background: rgba(79, 134, 247, 0.22);
    color: var(--button-blue-color);
}

.feature-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    vertical-align: middle;
    color: var(--color-4f86f7);
}

.feature-heading-icon svg,
.feature-heading-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.feature-heading-icon--text {
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    background: var(--maintenance-card-border);
}

.card.black .feature-heading-icon {
    color: var(--white);
}

.card.black .feature-heading-icon--text {
    background: var(--white-20);
    color: var(--white);
}

.card.grey .feature-heading-icon--text {
    background: var(--color-gray-900-a12);
    color: var(--sd-admin-text-primary);
}

.benefit-cards .card .feature-heading-icon--text {
    background: rgba(79, 134, 247, 0.14);
    color: var(--button-blue-color);
}

:root[data-theme="dark"] .benefit-cards .card .feature-heading-icon--text,
html.theme-dark .benefit-cards .card .feature-heading-icon--text,
body.theme-dark .benefit-cards .card .feature-heading-icon--text {
    background: rgba(79, 134, 247, 0.22);
    color: var(--button-blue-color);
}

.card-black-heading {
    color: var(--grey-light) !important;
}

.card-black-text {
    color: var(--grey-on-black) !important;
}

.card.black p {
    letter-spacing: -0.01em;
    margin-bottom: 0px;
    font-family: var(--GaphikFont);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.card h3 {
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin-top: 0px;
    margin-bottom: 12px;
    font-family: var(--GaphikFont);
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.card p {
    color: var(--grey-on-white);
    letter-spacing: -0.01em;
    margin-bottom: 0px;
    font-family: var(--GaphikFont);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.features-tags-section {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.features-tags-title {
    position: relative;
    font-size: 42px;
    font-weight: 800;
    max-width: 900px;
    margin: 0px auto;
    font-family: var(--PlatformSansSerif);
    color: var(--color-1e1e1e);
    margin-bottom: 50px;
}

:root[data-theme="dark"] .features-tags-title,
html.theme-dark .features-tags-title,
body.theme-dark .features-tags-title {
    color: var(--text-primary);
}

.features-tags-subtitle {
    max-width: 760px;
    margin: 30px auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--grey-on-white);
}

:root[data-theme="dark"] .features-tags-subtitle,
html.theme-dark .features-tags-subtitle,
body.theme-dark .features-tags-subtitle {
    color: var(--text-secondary);
}

.features-tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    margin-top: 40px;
}

.tag.narrow {
    text-align: center;
    flex: 0 auto;
    min-width: 0;
    padding: 32px 40px;
}

.tag.wide {
    text-align: center;
    flex: 1 1 360px;
    min-width: 320px;
    padding: 32px 40px;
}

.tag {
    background-color: var(--bg-elevated);
    border-radius: 40px;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    min-width: 320px;
    padding: 40px;
    display: flex;
}

.tag h3 {
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 0px;
    font-family: var(--GaphikFont);
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.work-texture {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
}

.work-texture img {
    width: 100px;
    height: auto;
}

.work-texture-bottom {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 2;
}

.work-texture-bottom img {
    width: 100px;
    height: auto;
}


/* =========================================================
   Settings tables — responsive scroll containment & no-wrap guard
   Applies to settings area tables (.subscription-table, .payments-table, .bank-table, .settings-table)
   ========================================================= */

:is(.settings-section,
.settings-dashboard) .table-card {
    max-width: 100%;
    overflow: hidden;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}


/* Scope guard to neutralize global word-breaking inside the scroller only */

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table * {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table th,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table td {
    min-width: 0;
    vertical-align: middle;
    word-break: normal;
    overflow-wrap: normal;
}


/* Shared column sizing to trigger scroll before wrapping */

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter {
    min-width: 220px;
    white-space: nowrap;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-status,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .subscription-status-cell {
    min-width: 140px;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-type,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .subscription-plan-cell {
    min-width: 120px;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .subscription-amount-cell,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .amount-mono,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .table-invoice-link {
    white-space: nowrap;
}

.subscription-supporter-cell {
    min-width: 220px;
}

.subscription-date-cell {
    min-width: 120px;
}

.subscription-plan-cell {
    min-width: 120px;
}

.subscription-amount-cell {
    min-width: 110px;
}

.subscription-status-cell {
    min-width: 140px;
}

.subscription-provider-cell {
    min-width: 180px;
    white-space: nowrap;
}

.subscription-actions {
    min-width: 80px;
}


/* Creator cell: prevent vertical stacking & allow safe ellipsis */

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__link,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__link--static {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
    vertical-align: middle;
    white-space: nowrap;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__avatar {
    flex: 0 0 auto;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__names {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: 320px;
    white-space: nowrap;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__display,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__username {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Long provider reference: shorten with ellipsis but no wrap */

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-reference {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-reference span:first-child {
    flex: 0 0 auto;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-reference span:last-child,
.subscription-provider-id {
    display: inline-block;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Status badge always stays on one line */

:is(.settings-section,
.settings-dashboard) .table-card__scroll .earnings-table .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: nowrap;
    line-height: 1.2;
    padding: 6px 10px;
    text-align: center;
}


/* Bank history table keeps dates on one line */

:is(.settings-section,
.settings-dashboard) .table-card__scroll .bank-table__cell {
    white-space: nowrap;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .bank-table__cell--id {
    min-width: 160px;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .bank-table__cell--amount {
    min-width: 120px;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .bank-table__cell--status {
    min-width: 140px;
}

:is(.settings-section,
.settings-dashboard) .table-card__scroll .bank-table__cell--requested,
:is(.settings-section,
.settings-dashboard) .table-card__scroll .bank-table__cell--processed {
    min-width: 140px;
}


/* Narrow viewports: keep everything on one line and use x-scroll */

@media (max-width: 1280px) {
    /* widened by 1px to include the edge case */
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table th,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table td {
        white-space: nowrap !important;
    }
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__names,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__display,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .earnings-supporter__username,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .earnings-reference,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .amount-mono,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .subscription-date-cell,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .subscription-provider-cell,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .subscription-provider-label,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .subscription-provider-id,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table .status-badge,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .bank-table__cell {
        white-space: nowrap !important;
    }
}


/* Tighten default padding inside the table for narrow screens */


/* Column pruning for smaller widths — hide least-important columns */

@media (max-width: 820px) {
    .subscription-table th:nth-child(4),
    .subscription-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 720px) {
    .subscription-table th:nth-child(5),
    .subscription-table td:nth-child(5) {
        display: none;
    }
}


/* Ensure surrounding cards never push the viewport horizontally */

.settings-section,
.settings-dashboard {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}


/*Pricing*/

.pricing-cards {
    gap: 20px;
    flex-direction: column;
    display: flex;
}

.pricing-card {
    gap: 20px;
    flex-direction: row;
    flex: 1 1 0%;
    justify-content: space-between;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 0px;
    display: flex;
}

.pricing-card.grey {
    background-color: var(--grey-background);
    border-radius: 40px;
}

html.theme-dark .pricing-card.grey,
body.theme-dark .pricing-card.grey,
.pricing-card.grey[data-theme="dark"],
html[data-theme="dark"] .pricing-card.grey {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

html.theme-dark .pricing-card.grey h3,
body.theme-dark .pricing-card.grey h3,
.pricing-card.grey[data-theme="dark"] h3,
html[data-theme="dark"] .pricing-card.grey h3 {
    color: var(--text-primary);
}

html.theme-dark .pricing-card.grey p,
body.theme-dark .pricing-card.grey p,
.pricing-card.grey[data-theme="dark"] p,
html[data-theme="dark"] .pricing-card.grey p {
    color: var(--text-secondary);
}

html.theme-dark .pricing-card.grey .card.grey,
body.theme-dark .pricing-card.grey .card.grey,
.pricing-card.grey[data-theme="dark"] .card.grey,
html[data-theme="dark"] .pricing-card.grey .card.grey {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

html.theme-dark .pricing-card.grey .card.grey h3,
body.theme-dark .pricing-card.grey .card.grey h3,
.pricing-card.grey[data-theme="dark"] .card.grey h3,
html[data-theme="dark"] .pricing-card.grey .card.grey h3 {
    color: var(--text-primary);
}

html.theme-dark .pricing-card.grey .card.grey p,
body.theme-dark .pricing-card.grey .card.grey p,
.pricing-card.grey[data-theme="dark"] .card.grey p,
html[data-theme="dark"] .pricing-card.grey .card.grey p {
    color: var(--text-secondary);
}

.pricing-card--pair {
    flex-direction: row;
}

.pricing-card--pair .card {
    flex: 1 1 0%;
}

.pricing-card--single {
    flex-direction: column;
}

.pricing-card-buttons {
    margin-top: 12px;
}

.button-large.is-secondary {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.pricing-yearly-note {
    margin-top: 6px;
    font-size: 16px;
    color: var(--grey-on-white);
}

.pricing-card-title {
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    background-color: var(--grey-light);
    border-radius: 999px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: flex-start;
    align-items: center;
    padding: 7px 20px 7px 8px;
    display: flex;
}

html.theme-dark .pricing-card-title,
body.theme-dark .pricing-card-title,
.pricing-card-title[data-theme="dark"],
html[data-theme="dark"] .pricing-card-title {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

html.theme-dark .pricing-card-title .badge,
body.theme-dark .pricing-card-title .badge,
.pricing-card-title[data-theme="dark"] .badge,
html[data-theme="dark"] .pricing-card-title .badge {
    color: var(--text-primary);
}

h4 {
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: var(--GaphikFont);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.card.flex-vertical-40px {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    align-items: flex-start;
}

.profilephoto {
    border-radius: 999px;
    width: 32px;
    height: 32px;
}

.pricing-cost {
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    font-family: var(--GaphikFont);
    font-size: 42px;
    font-weight: 500;
    line-height: 42px;
}

.pricing-card-buttons {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    text-align: center;
    flex-direction: column;
    width: 100%;
    display: flex;
}

.button-large {
    border: 2px none var(--grey-light);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    letter-spacing: -0.01em;
    border-radius: 100px;
    padding: 20px 30px;
    font-family: var(--GaphikFont);
    font-size: 20px;
    font-weight: 500;
    transition: transform 0.2s;
    display: block;
}

.w-button {
    color: var(--color-fff);
    line-height: inherit;
    cursor: pointer;
    background-color: var(--color-3898ec);
    border: 0;
    border-radius: 0;
    padding: 9px 15px;
    text-decoration: none;
    display: inline-block;
}

.button-large {
    border: 2px none var(--grey-light);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    letter-spacing: -0.01em;
    border-radius: 100px;
    padding: 20px 30px;
    font-family: var(--GaphikFont);
    font-size: 20px;
    font-weight: 500;
    transition: transform 0.2s;
    display: block;
}

.earnings-simulator {
    --simulator-accent: var(--color-ff5c5c);
    --simulator-accent-soft: rgba(255, 92, 92, 0.25);
    --simulator-accent-shadow: rgba(255, 92, 92, 0.3);
    --earnings-card-bg: var(--grey-light);
    --earnings-card-border: rgba(17, 24, 39, 0.08);
    padding: 0;
}

:root[data-theme="dark"] .earnings-simulator,
html.theme-dark .earnings-simulator,
body.theme-dark .earnings-simulator {
    --earnings-card-bg: #262b36;
    --earnings-card-border: rgba(255, 255, 255, 0.05);
}

@supports (color: color-mix(in srgb, red 30%, transparent)) {
    .earnings-simulator {
        --simulator-accent-soft: color-mix(in srgb, var(--simulator-accent) 30%, transparent);
        --simulator-accent-shadow: color-mix(in srgb, var(--simulator-accent) 40%, transparent);
    }
}

.earnings-simulator__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.earnings-simulator__title {
    margin-bottom: 16px;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.earnings-simulator__subtitle {
    margin: 0 auto 24px;
    max-width: 680px;
    font-size: 18px;
    color: var(--grey-on-white);
}

html.theme-dark .earnings-simulator__subtitle,
body.theme-dark .earnings-simulator__subtitle,
.earnings-simulator__subtitle[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__subtitle {
    color: var(--text-secondary);
}

.earnings-simulator__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 24px;
    align-items: flex-start;
    text-align: left;
}

.earnings-simulator__column {
    background: var(--earnings-card-bg);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--earnings-card-border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

html.theme-dark .earnings-simulator__column,
body.theme-dark .earnings-simulator__column,
.earnings-simulator__column[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__column {
    background: var(--bg-elevated);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.04);
}

.earnings-simulator__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    margin-bottom: 12px;
}

.earnings-simulator__label-text {
    font-size: 16px;
    color: var(--text-dark);
}

html.theme-dark .earnings-simulator__label-text,
body.theme-dark .earnings-simulator__label-text,
.earnings-simulator__label-text[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__label-text {
    color: var(--text-primary);
}

.earnings-simulator__icons {
    display: flex;
    gap: 8px;
    font-size: 18px;
    opacity: 0.85;
}

.earnings-simulator__icons svg {
    width: 20px;
    height: 20px;
}

.earnings-simulator__icon-fallback {
    display: inline-flex;
    align-items: center;
    color: var(--text-dark);
}

html.theme-dark .earnings-simulator__icon-fallback,
body.theme-dark .earnings-simulator__icon-fallback,
.earnings-simulator__icon-fallback[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__icon-fallback {
    color: var(--text-primary);
}

.earnings-simulator__currency {
    font-size: 18px;
    color: var(--simulator-accent);
    font-weight: 600;
}

.earnings-simulator__slider {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    width: 100%;
}

.earnings-simulator__slider input[type="range"] {
    flex: 1 1 auto;
    height: 6px;
    background: transparent;
    -webkit-appearance: none;
}

.earnings-simulator__slider input[type="range"]:focus {
    outline: none;
}

.earnings-simulator__slider input[type="range"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus);
    border-radius: 999px;
}

.earnings-simulator__slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--simulator-accent) 0%, var(--simulator-accent-soft) 100%);
}

.earnings-simulator__slider input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--simulator-accent) 0%, var(--simulator-accent-soft) 100%);
}

.earnings-simulator__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--simulator-accent);
    border: 3px solid var(--white);
    box-shadow: 0 6px 12px var(--simulator-accent-shadow);
    margin-top: -8px;
}

.earnings-simulator__slider input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--simulator-accent);
    box-shadow: 0 6px 12px var(--simulator-accent-shadow);
}

.earnings-simulator__slider input[type="range"]::-moz-focus-outer {
    border: 0;
}

.earnings-simulator__value {
    font-weight: 600;
    font-size: 18px;
    min-width: 96px;
    text-align: right;
    margin-left: auto;
    color: var(--text-dark);
}

html.theme-dark .earnings-simulator__value,
body.theme-dark .earnings-simulator__value,
.earnings-simulator__value[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__value {
    color: var(--text-primary);
}

.earnings-simulator__result {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

html.theme-dark .earnings-simulator__result,
body.theme-dark .earnings-simulator__result,
.earnings-simulator__result[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__result {
    color: var(--text-primary);
}

.earnings-simulator__amount {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: var(--simulator-accent);
    display: inline-block;
    margin: 0 12px;
}

.earnings-simulator__disclaimer,
.earnings-simulator__note {
    font-size: 14px;
    color: var(--grey-on-white);
    margin: 0;
    line-height: 1.5;
}

.earnings-simulator__disclaimer {
    margin-bottom: 12px;
}

.earnings-simulator__summary {
    background: var(--earnings-card-bg);
    border-radius: 28px;
    padding: 32px 36px;
    text-align: center;
    border: 1px solid var(--earnings-card-border);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

html.theme-dark .earnings-simulator__summary,
body.theme-dark .earnings-simulator__summary,
.earnings-simulator__summary[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__summary {
    background: var(--bg-elevated);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.form-input-wrapper .form-text {
    font-size:13px;
    font-weight: 400;
}

html.theme-dark .earnings-simulator__disclaimer,
body.theme-dark .earnings-simulator__disclaimer,
.earnings-simulator__disclaimer[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__disclaimer,
html.theme-dark .earnings-simulator__note,
body.theme-dark .earnings-simulator__note,
.earnings-simulator__note[data-theme="dark"],
html[data-theme="dark"] .earnings-simulator__note {
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .earnings-simulator__controls {
        grid-template-columns: 1fr;
    }

    .earnings-simulator__value {
        min-width: 0;
        text-align: left;
        margin-left: 0;
    }

    .earnings-simulator__slider {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .earnings-simulator__summary {
        padding: 28px;
    }
}

@media (max-width: 600px) {
    .earnings-simulator {
        padding: 56px 0;
    }

    .earnings-simulator__title {
        font-size: 30px;
    }

    .earnings-simulator__amount {
        font-size: 38px;
    }
}

.divider {
    background-color: var(--grey-on-black);
    width: 100%;
    height: 1px;
}

.button-link {
    border: 2px none var(--grey-light);
    color: var(--text-dark);
    text-align: center;
    letter-spacing: -0.01em;
    background-color: var(--color-000) 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-family: var(--GaphikFont);
    font-size: 18px;
    font-weight: 400;
    text-decoration: underline;
    display: inline-block;
}

.pricing-card-list {
    margin-bottom: 0;
    color: var(--text-dark);
}

ul {
    color: var(--grey-on-white);
    margin-top: 0;
    margin-bottom: 10px;
    padding-left: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

.pricing-card-list-item {
    letter-spacing: -0.01em;
    background-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%206l2.5%202.5L7%203.5'%20stroke='%23111111'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M5%207l2%202%204-5'%20stroke='%23111111'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: 0 14px;
    font-family: var(--GaphikFont);
    font-size: 18px;
}

.pricing-card-list li {
    color: var(--text-dark);
}

li {
    background-image: url('../icons/tick_double.svg');
    background-position: 0 14px;
    background-repeat: no-repeat;
    background-size: 12px;
    background-attachment: scroll;
    margin-bottom: 4px;
    padding-left: 20px;
    list-style-type: none;
}

.admin_li_icon {
    background-image: url('../icons/send_comment.svg') !important;
    background-position: 0 5px !important;
}

.pricing-card-list.light-grey {
    color: var(--grey-on-black);
}

.pricing-description {
    padding: 10px 0;
}

:root[data-theme="dark"] .pricing-card-list,
html.theme-dark .pricing-card-list,
body.theme-dark .pricing-card-list {
    color: var(--text-primary);
}

:root:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-list-item,
html:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-list-item {
    color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%206l2.5%202.5L7%203.5'%20stroke='%23ffffff'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M5%207l2%202%204-5'%20stroke='%23ffffff'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

:root:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-cost,
html:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-cost {
    color: var(--white);
}

:root:not([data-theme="dark"]):not(.theme-dark) .card.black .black-text,
html:not([data-theme="dark"]):not(.theme-dark) .card.black .black-text {
    color: var(--white);
}

:root:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-title .black-text,
html:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-title .black-text {
    color: var(--text-dark);
}

:root:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-cost .white-text,
html:not([data-theme="dark"]):not(.theme-dark) .card.black .pricing-card-cost .white-text {
    color: var(--white);
}

:root[data-theme="dark"] .pricing-card-list-item,
html.theme-dark .pricing-card-list-item,
body.theme-dark .pricing-card-list-item {
    color: var(--text-primary);
    background-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%206l2.5%202.5L7%203.5'%20stroke='%23ffffff'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M5%207l2%202%204-5'%20stroke='%23ffffff'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

.button-large.w-button {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.button-link.w-button {
    color: var(--grey-light);
}

.button-large:hover {
    transform: scale(1.05);
}

.pricing-cost.white {
    color: var(--grey-light);
}

.pricing-small-print {
    gap: 40px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    align-self: center;
    padding: 0px 40px;
    display: block;
}

#w-node-_68ff8981-ffc2-3c5c-7203-f6a1d626881e-d11c69fb {
    grid-row-start: span 1;
    grid-column-start: span 2;
    grid-row-end: span 1;
    grid-column-end: span 2;
}

.paragraph-small {
    color: var(--grey-light-text);
    font-size: 16px;
}

:root[data-theme="dark"] .paragraph-small,
html.theme-dark .paragraph-small,
body.theme-dark .paragraph-small {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-small-print p {
    color: var(--grey-on-white);
    letter-spacing: -0.01em;
    margin-bottom: 0px;
    font-family: var(--GaphikFont);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.no-hassle-section {
    padding: 100px 20px;
    text-align: center;
}

.big-bold-list {
    color: var(--text-dark);
    text-align: center;
    letter-spacing: -0.01em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: var(--PlatformSansSerif);
    font-size: clamp(36px, 6vw, 76px);
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    line-height: 1.05;
}

.text-centered {
    text-align: center;
}

.w-layout-blockcontainer-paragraph {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.faq-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 40px;
    background: var(--color-fff);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.faq-question {
    width: 100%;
    padding: 32px 40px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    -webkit-text-stroke-color: var(--text-dark);
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--GaphikFont);
}

.faq-answer {
    max-height: 0;
    padding: 0 32px;
    font-size: 15px;
    overflow: hidden;
    color: var(--color-555);
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 12px 32px 28px;
}

.faq-question span {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question span {
    transform: rotate(0deg);
}

.faq-answer p {
    color: var(--grey-on-white);
    letter-spacing: -0.01em;
    margin-bottom: 0px;
    font-family: var(--GaphikFont);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    margin-bottom: 40px;
}

html.theme-dark .faq-item,
body.theme-dark .faq-item,
.faq-item[data-theme="dark"],
html[data-theme="dark"] .faq-item {
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

html.theme-dark .faq-question,
body.theme-dark .faq-question,
.faq-question[data-theme="dark"],
html[data-theme="dark"] .faq-question {
    color: var(--text-primary);
}

html.theme-dark .faq-answer,
body.theme-dark .faq-answer,
.faq-answer[data-theme="dark"],
html[data-theme="dark"] .faq-answer {
    color: var(--text-secondary);
}

html.theme-dark .faq-answer p,
body.theme-dark .faq-answer p,
.faq-answer[data-theme="dark"] p,
html[data-theme="dark"] .faq-answer p {
    color: var(--text-secondary);
}

.footer {
    z-index: -1;
    background-color: var(--black);
    padding-top: 140px;
    padding-bottom: 60px;
    position: static;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: -80px;
}

.wave-transition {
    background-color: var(--bg-color);
    height: 80px;
    border-bottom-right-radius: 80px;
    border-bottom-left-radius: 80px;
    z-index: 5;
    position: relative;
}

.container.hero-copy {
    text-align: center;
    max-width: 1300px;
    padding: 160px 60px;
}

.container h1 {
    color: var(--grey-light);
    text-align: center;
    letter-spacing: -0.01em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: var(--PlatformSansSerif);
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
}

.p-intro.max-width-680px.light-grey {
    color: var(--grey-light);
    max-width: 680px;
}

.p-intro {
    color: var(--grey-light);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    font-family: var(--GaphikFont);
    font-size: 22px;
    line-height: 32px;
}

.button-hero.light-grey {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.button-hero {
    border: 2px none var(--grey-light);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    letter-spacing: -0.01em;
    border-radius: 100px;
    padding: 24px 40px;
    font-family: var(--GaphikFont);
    font-size: 20px;
    font-weight: 500;
    transition: transform 0.2s;
    display: inline-block;
}

.button-hero:hover {
    transform: scale(1.05);
}

.footer .button-hero {
    padding: 12px 40px;
    font-size: 15px;
}

:root[data-theme="dark"] .button-hero.light-grey,
html.theme-dark .button-hero.light-grey,
body.theme-dark .button-hero.light-grey {
    background-color: var(--white);
    color: var(--black);
}

:root[data-theme="dark"] .button-hero.light-grey:hover,
html.theme-dark .button-hero.light-grey:hover,
body.theme-dark .button-hero.light-grey:hover {
    background-color: var(--grey-light);
    color: var(--black);
}

.footer-small-print {
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.white-text {
    color: var(--grey-light);
    letter-spacing: -0.01em;
    margin-bottom: 0;
    display: inline-block;
}

.footer-links {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    flex-flow: wrap;
    justify-content: flex-end;
    display: flex;
}

.footer-link {
    color: var(--grey-on-black);
    letter-spacing: -0.01em;
    font-family: var(--GaphikFont);
    font-size: 18px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer-small-print {
        flex-direction: column;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-small-print .button-hero {
        width: 100%;
        max-width: 280px;
    }

    .footer-links {
        justify-content: center;
    }
}


/*****************************/


/**********LOADER*************/


/*****************************/

.loading-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--rgba-29);
    border-radius: 15px;
    -webkit-border-radius: 15px;
}

.loading-text {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 400;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.click-box-loader {
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
}

.click-box-loader__panel {
    width: 100%;
    max-width: 260px;
    background-color: var(--rgba-29);
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08));
    box-sizing: border-box;
}

.click-box-loader__panel .loader {
    width: 64px;
    height: 64px;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border: 3px solid;
    border-radius: 50%;
    opacity: 0;
    animation: pulse-loader 1.2s linear infinite;
    transform-origin: center center;
    box-sizing: border-box;
    background: transparent;
    transform: var(--base-transform);
}

@keyframes pulse-loader {
    0% {
        transform: var(--base-transform) scale(1);
        opacity: 0;
    }
    40% {
        transform: var(--base-transform) scale(2);
        opacity: 1;
    }
    100% {
        transform: var(--base-transform) scale(1);
        opacity: 0;
    }
}

.loader div {
    transform: var(--base-transform);
}

.loader div:nth-child(1) {
    --base-transform: rotate(0deg) translate(30px);
    animation-delay: 0s;
    border-color: var(--charColor1);
}

.loader div:nth-child(2) {
    --base-transform: rotate(30deg) translate(30px);
    animation-delay: 0.1s;
    border-color: var(--charColor2);
}

.loader div:nth-child(3) {
    --base-transform: rotate(60deg) translate(30px);
    animation-delay: 0.2s;
    border-color: var(--charColor3);
}

.loader div:nth-child(4) {
    --base-transform: rotate(90deg) translate(30px);
    animation-delay: 0.3s;
    border-color: var(--charColor4);
}

.loader div:nth-child(5) {
    --base-transform: rotate(120deg) translate(30px);
    animation-delay: 0.4s;
    border-color: var(--charColor5);
}

.loader div:nth-child(6) {
    --base-transform: rotate(150deg) translate(30px);
    animation-delay: 0.5s;
    border-color: var(--charColor6);
}

.loader div:nth-child(7) {
    --base-transform: rotate(180deg) translate(30px);
    animation-delay: 0.6s;
    border-color: var(--charColor1);
}

.loader div:nth-child(8) {
    --base-transform: rotate(210deg) translate(30px);
    animation-delay: 0.7s;
    border-color: var(--charColor2);
}

.loader div:nth-child(9) {
    --base-transform: rotate(240deg) translate(30px);
    animation-delay: 0.8s;
    border-color: var(--charColor3);
}

.loader div:nth-child(10) {
    --base-transform: rotate(270deg) translate(30px);
    animation-delay: 0.9s;
    border-color: var(--charColor4);
}

.loader div:nth-child(11) {
    --base-transform: rotate(300deg) translate(30px);
    animation-delay: 1s;
    border-color: var(--charColor5);
}

.loader div:nth-child(12) {
    --base-transform: rotate(330deg) translate(30px);
    animation-delay: 1.1s;
    border-color: var(--charColor6);
}

/****************************************/


/************Login & Register************/


/****************************************/

.login-container {
    width: 100%;
    max-width: 830px;
    margin: 0px auto;
    padding: 0px 20px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.login-container .site-logo {
    font-size: 50px;
}

.login-form {
    width: 100%;
    margin-top: 30px;
    padding: 30px 40px;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    display: flex;
    flex-direction: column;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: var(--rgba-18);
    box-shadow: var(--rgba-12) 0px 25px 50px -12px;
    padding-bottom: 30px;
}

.register-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
    padding-bottom: 10px;
    gap: 20px;
}

.form-register-box {
    width: 100%;
    display: flex;
    gap: 20px;
}

.form-container {
    width: 100%;
    display: flex;
    padding: 20px 0px;
    padding-bottom: 10px;
    gap: 20px;
}

.form-input-wrapper {
    width: 100%;
}

.form-input-wrapper label {
    text-align: left;
    font-weight: 500;
    display: flex;
    padding-left: 5px;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    outline: none;
    border: 2px solid var(--border-subtle);
    border-radius: 15px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-base, var(--bg-color));
    padding: 15px;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-input:focus,
.form-input:active {
    border: 2px solid var(--black);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

:root[data-theme="dark"] .form-input,
html.theme-dark .form-input,
body.theme-dark .form-input {
    color: var(--white);
    border-color: var(--border-subtle);
    background: var(--surface);
}

:root[data-theme="dark"] .form-input:focus,
:root[data-theme="dark"] .form-input:active,
html.theme-dark .form-input:focus,
html.theme-dark .form-input:active,
body.theme-dark .form-input:focus,
body.theme-dark .form-input:active {
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35);
}

.login-submit,
.register-submit {
    border: 2px none var(--grey-light);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    letter-spacing: -0.01em;
    border-radius: 100px;
    font-family: var(--GaphikFont);
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.2s;
    display: block;
    padding: 15px;
    width: 100%;
    cursor: pointer;
}

.login-submit {
    margin-top: 30px;
}

.btn-hover:hover {
    transform: scale(1.05);
}

.btn-hover:active {
    transform: scale(1);
}

.login-form-not {
    text-align: left;
    padding-top: 20px;
}

.login-form-not h2 {
    font-family: var(--PlatformSansSerif);
    margin-bottom: 30px;
    font-size: 40px;
}

.login-form-not p {
    text-align: left;
    margin: 0px !important;
    font-size: 18px;
    margin-top: 20px !important;
}

.login-form a {
    text-decoration: none;
    color: var(--text-dark);
    width: max-content;
    padding-right: 10px;
}

.form-not {
    width: 100%;
    font-size: 14px;
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    padding-left: 10px;
}

.form-not-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.form-not-group .form-not {
    width: auto;
    padding-left: 0;
    margin-bottom: 0;
    text-align: center;
}

.form-not-group .form-not a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--color-emerald-500);
    color: var(--color-emerald-700);
    background-color: var(--color-emerald-50);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.form-not-group .form-not a:hover,
.form-not-group .form-not a:focus {
    background-color: var(--color-emerald-500);
    border-color: var(--color-emerald-500);
    color: var(--white);
}

.login-action-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.login-action-links .form-not {
    width: auto;
    padding-left: 0;
    margin-bottom: 0;
    text-align: center;
}

.login-action-links .form-not a {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}


.contact-page {
    padding: 64px 24px 88px;
    display: flex;
    justify-content: center;
}

.contact-page .contact-card {
    width: 100%;
    max-width: 780px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-radius: 32px;
    box-shadow: var(--rgba-12) 0 28px 48px -18px;
    padding: 36px;
    gap: 28px;
}

.contact-page .card-header h1 {
    font-size: 34px;
    margin-bottom: 12px;
}

.contact-page .card-header p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dark);
}

.contact-page .form-input-wrapper {
    margin-bottom: 18px;
}

.contact-select {
    appearance: none;
    background-color: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(17, 24, 39, 0.55);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.705 1.293a1 1 0 0 0-1.41 1.414l6.414 6.414a1 1 0 0 0 1.414 0l6.414-6.414a1 1 0 1 0-1.414-1.414L8 6.586 1.705 1.293Z' fill='%234336CA'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-select:focus {
    border-color: rgba(17, 24, 39, 0.75);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.18);
    background-color: var(--bg-base, var(--bg-color));
}

.theme-dark .contact-select {
    background-color: rgba(15, 23, 42, 0.82);
    color: var(--white);
    border-color: rgba(229, 231, 235, 0.6);
}

.theme-dark .contact-select:focus {
    border-color: rgba(229, 231, 235, 0.85);
    box-shadow: 0 0 0 4px rgba(229, 231, 235, 0.18);
    background-color: rgba(15, 23, 42, 0.92);
}

.contact-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: var(--color-neutral-900, #111827);
    color: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(17, 24, 39, 0.35);
    filter: brightness(1.05);
}

.contact-submit:active {
    transform: translateY(0);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.28);
    filter: brightness(0.95);
}

.contact-submit[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 900px) {
    .login-container {
        max-width: 680px;
        padding: 0 20px;
    }

    .login-form {
        padding: 28px 24px;
        border-radius: 32px;
    }

    .login-form-not h2 {
        font-size: 34px;
    }

    .register-form-container,
    .form-container,
    .form-register-box {
        gap: 18px;
    }

    .contact-page {
        padding: 54px 20px 72px;
    }

    .contact-page .contact-card {
        padding: 32px;
        border-radius: 28px;
        gap: 22px;
    }

    .contact-page .card-header h1 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .login-container {
        max-width: 100%;
        padding: 0 16px;
    }

    .login-form {
        padding: 26px 20px;
        border-radius: 28px;
    }

    .login-form-not h2 {
        font-size: 30px;
    }

    .login-form-not p {
        font-size: 16px;
    }

    .form-container,
    .form-register-box {
        flex-direction: column;
        gap: 14px;
    }

    .register-form-container {
        gap: 14px;
    }

    .social-login-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .social-login-wrapper .social-btn {
        width: 100%;
        justify-content: center;
    }

    .login-action-links,
    .form-not-group {
        gap: 10px;
    }

    .contact-page {
        padding: 44px 16px 60px;
    }

    .contact-page .contact-card {
        padding: 26px 22px;
        border-radius: 26px;
    }

    .contact-page .card-header h1 {
        font-size: 28px;
    }

    .contact-page .card-header p {
        font-size: 14px;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .login-container .site-logo {
        font-size: 36px;
    }

    .login-form {
        padding: 22px 16px;
        border-radius: 24px;
    }

    .login-form-not {
        padding-top: 12px;
    }

    .login-form-not h2 {
        font-size: 26px;
    }

    .login-form-not p {
        font-size: 15px;
    }

    .form-input-wrapper label {
        font-size: 14px;
    }

    .login-action-links,
    .form-not-group {
        flex-direction: column;
    }

    .login-action-links .form-not a,
    .form-not-group .form-not a {
        width: 100%;
    }

    .contact-page {
        padding: 34px 14px 48px;
    }

    .contact-page .contact-card {
        padding: 22px 18px;
        border-radius: 22px;
        gap: 18px;
    }

    .contact-page .card-header h1 {
        font-size: 24px;
    }

    .contact-select {
        padding-right: 42px;
        background-position: right 14px center;
    }
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 40px 0;
    width: 100%;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--hover-bg-color);
}

.form-divider-text {
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--GaphikFont);
    text-transform: uppercase;
    color: var(--text-dark);
    white-space: nowrap;
}

.social-login-wrapper {
    width: 100%;
    padding: 0px 0px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--GaphikFont);
    border: 1px solid var(--color-dcdcdc);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    background-color: transparent;
    transition: transform 0.2s, background-color 0.3s ease;
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    background-color: var(--color-f6f6f6);
}

.google-btn:hover {
    background-color: var(--color-f8f9fa);
}

.facebook-btn:hover {
    background-color: var(--color-f0f2f5);
}

.twitter-btn:hover {
    background-color: var(--color-sky-50);
}

.form-not-register {
    width: 100% !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    padding-top: 20px;
}

.form-not-register a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    display: inline-block;
}

.login-wraning {
    width: 100%;
    font-weight: 500;
    font-size: 13px;
    background-color: var(--warning);
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: var(--white);
}

.login-alert {
    width: 100%;
    max-width: 360px;
    font-weight: 500;
    font-size: 13px;
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.login-alert--success {
    background-color: var(--color-mint-50);
    color: var(--color-emerald-900);
}

.divid {
    flex: 1 2 auto;
}


/****************************************/


/***********404 Page Not Found***********/


/****************************************/

.login-form-not-404 h2 {
    font-size: 68px;
    font-weight: 900;
    margin-bottom: 20px;
}

.login-form-not-404 p {
    font-size: 23px;
    line-height: 1.6;
    margin-bottom: 0px;
    margin-top: 40px;
}

.page-404-box {
    width: 100%;
    margin-top: 30px;
    padding: 30px 40px;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    display: flex;
    flex-direction: column;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: var(--rgba-18);
    box-shadow: var(--rgba-12) 0px 25px 50px -12px;
    padding-bottom: 30px;
}

.back-to-home {
    border: 2px none var(--grey-light);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    letter-spacing: -0.01em;
    border-radius: 100px;
    font-family: var(--GaphikFont);
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.2s;
    display: block;
    padding: 15px;
    width: 100%;
    cursor: pointer;
}

.back-to-home a {
    width: 100% !important;
    text-decoration: none;
    color: var(--white) !important;
    padding-right: 10px;
}


/****************************************/


/***********Privacy & Policies***********/


/****************************************/

.privacy-section {
    padding: 60px 20px;
    padding-top: 140px;
    color: var(--color-333);
    text-align: left !important;
}

.privacy-section .container p {
    margin: 0px !important;
}

.privacy-section .container p a {
    color: var(--charColor3);
}

.privacy-section .container {
    max-width: 800px;
    margin: auto;
}

.policy-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000000 !important;
}

:root[data-theme="dark"] .policy-title,
html.theme-dark .policy-title,
body.theme-dark .policy-title {
    color: var(--white) !important;
}

.policy-description {
    font-size: 16px;
    margin-bottom: 40px;
}

.policy-heading {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--color-111);
}

.policy-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-list li {
    margin-bottom: 10px;
}

:root:not([data-theme="dark"]) .policy-list li,
html:not([data-theme="dark"]) .policy-list li {
    background-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%206l2.5%202.5L7%203.5'%20stroke='%23111111'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M5%207l2%202%204-5'%20stroke='%23111111'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] .policy-list li,
html.theme-dark .policy-list li,
body.theme-dark .policy-list li {
    color: var(--white);
}


/**********************************/


/***********Terms of Use***********/


/**********************************/

.terms-section {
    padding: 60px 20px;
    padding-top: 140px;
    color: var(--color-333);
    text-align: left;
}

.terms-section .container {
    max-width: 800px;
    margin: auto;
}

.terms-section .container .terms-title {
    text-align: left;
}

.terms-section .container p {
    margin: 0px !important;
}

.terms-section .container p a {
    color: var(--charColor3);
}

.terms-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000000 !important;
}

:root[data-theme="dark"] .terms-title,
html.theme-dark .terms-title,
body.theme-dark .terms-title {
    color: var(--white) !important;
}

.terms-description {
    font-size: 16px;
    margin-bottom: 40px;
    margin-left: 0px !important;
}

.terms-heading {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--color-111);
}

.terms-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.terms-list li {
    margin-bottom: 10px;
}

:root:not([data-theme="dark"]) .terms-list li,
html:not([data-theme="dark"]) .terms-list li {
    background-image: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%206l2.5%202.5L7%203.5'%20stroke='%23111111'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M5%207l2%202%204-5'%20stroke='%23111111'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] .terms-list,
html.theme-dark .terms-list,
body.theme-dark .terms-list,
:root[data-theme="dark"] .terms-list li,
html.theme-dark .terms-list li,
body.theme-dark .terms-list li {
    color: var(--white);
}

.footer-out {
    margin-top: 0px !important;
    padding: 60px !important;
}


/*******************************/


/***********Main Page***********/


/*******************************/

.hero-title-main {
    background: linear-gradient( 90deg, var(--color-4f46e5), var(--color-ec4899), var(--color-4f46e5));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite;
    animation-delay: 0s, 0.8s;
    font-weight: 900;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.1;
    margin: 20px auto 40px;
    text-align: center;
}

.upload-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.upload-ui {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--rgba-38);
    border: 2px solid var(--color-61dafb);
    border-radius: 40px;
    padding: 14px 20px;
    max-width: 720px;
    width: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px var(--rgba-41);
}

.upload-label {
    flex-grow: 1;
    cursor: pointer;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-input {
    display: none;
}

.btn-start-ai {
    background: linear-gradient(90deg, var(--color-a34ee2), var(--color-41d1ff));
    border: none;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    margin-left: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-start-ai:hover {
    transform: scale(1.05);
}

.sparkle {
    font-size: 18px;
}

.upload-ui label span {
    color: var(--text-gray);
}

.modal-wrapper {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--rgba-35);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-elevated);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 10px 40px var(--rgba-10);
    font-family: var(--PlatformSansSerif);
}

.modal-title h2 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-title p {
    font-size: 16px;
    color: var(--text-gray);
    font-family: var(--GaphikFont);
    margin-bottom: 30px;
}

.modal-content-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.icon-btn {
    position: relative;
    padding-left: 44px;
    padding-right: 16px;
    height: 48px;
    line-height: 48px;
    background-color: var(--btn-dark);
    color: var(--white);
    font-weight: 400;
    font-size: 14px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: calc(50% - 10px);
    text-align: left;
    transition: transform 0.2s ease;
    font-family: var(--GaphikFont);
}

.icon-btn.camera::before,
.icon-btn.gallery::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--icon-color-white);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.icon-btn.camera::before {
    -webkit-mask-image: url('icons/camera.svg');
    mask-image: url('icons/camera.svg');
}

.icon-btn.gallery::before {
    -webkit-mask-image: url('icons/image.svg');
    mask-image: url('icons/image.svg');
}

.icon-btn:hover {
    transform: scale(1.05);
}

.close-modal {
    background: var(--cancel-button);
    color: var(--white);
    margin-top: 30px;
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
    transition: transform 0.2s ease;
}

.close-modal:hover {
    opacity: 0.9;
    transform: scale(1.03);
}


/***************************************************/


/***********User Created Stickers Gallery***********/


/***************************************************/

.sticker-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(clamp(120px, 25vw, 180px), 1fr));
    gap: 16px;
    justify-items: center;
    margin-top: 40px;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 960px;
}

.sticker-item {
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 12px;
    box-shadow: 0 4px 12px var(--rgba-2);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sticker-item:hover {
    transform: scale(1.05);
}

.sticker-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.main-footer {
    margin-top: 0px !important;
}


/***************************************/


/***********Earning Simulator***********/


/***************************************/

.simulator-section {
    text-align: center;
    padding: 80px 20px;
}

.simulator-title {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--PlatformSansSerif);
    color: var(--primary-color);
}

.simulator-subtitle {
    font-size: 1rem;
    color: var(--color-777);
    margin-top: 10px;
    margin-bottom: 40px;
}

.simulator-box {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.simulator-sliders {
    width: 100%;
    display: flex;
    gap: 25px;
}

.simulator-item {
    width: 100%;
}

.simulator-sliders label {
    margin-bottom: 5px;
    display: block;
    text-align: left;
    font-family: var(--PlatformSansSerif);
}

.simulator-icons i {
    margin-left: 8px;
    color: var(--color-4f86f7);
}

input[type='range'] {
    width: 100%;
    height: 28px;
    -webkit-appearance: none;
    outline: none;
    background-color: transparent !important;
    border: 0;
    padding: 0 8px;
    margin: 8px 0;
}

.simulator-value {
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 5px;
}

.simulator-result {
    margin-top: 40px;
    font-size: 1.2rem;
}

.text-highlight {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.6rem;
}


/*RANGE*/

input[type='range'] {
    width: 100%;
    height: 28px;
    /* thumbHeight + (2 x thumbBorderWidth)*/
    -webkit-appearance: none;
    /*remove the line*/
    outline: none;
    background-color: transparent !important;
    border: 0;
    /*for firefox on android*/
    padding: 0 8px;
    /*for IE*/
    margin: 8px 0;
}


/*chrome and opera*/

input[type='range']::-webkit-slider-runnable-track {
    background: var(--rgba-12);
    /*trackColor*/
    height: 8px;
    /*trackHeight*/
    border-radius: 8px;
    /*trackHeight*/
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

input[type='range']:hover::-webkit-slider-runnable-track,
input[type='range']:focus::-webkit-slider-runnable-track {
    background: var(--rgba-12);
    /*activeTrackColor*/
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--black);
    /*thumbColor*/
    width: 30px;
    /* thumbHeight + (2 x thumbBorderWidth)*/
    height: 30px;
    /* thumbHeight + (2 x thumbBorderWidth)*/
    border-radius: 50%;
    margin-top: -10px;
    /* -[thumbHeight + (2 x thumbBorderWidth) - trackHeight]/2*/
    cursor: pointer;
    border: 1px solid var(--rgba-18);
    /*border-width should be equal to thumbBorderWidth if you want same border width across all browsers and border-color should match the background*/
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

input[type='range']:hover::-webkit-slider-thumb,
input[type='range']:focus::-webkit-slider-thumb {
    background: var(--black);
    transform: scale(1.1);
    box-shadow: var(--box-shadow);
    /*activeThumbColor*/
}


/*firefox*/

input[type='range']::-moz-focus-outer {
    border: 0;
}

input[type='range']::-moz-range-track {
    background: var(--color-f0f2f5);
    /*trackColor*/
    height: 4px;
    /*trackHeight*/
    border-radius: 4px;
    /*trackHeight*/
    /*background isn't animatable, so can't use transition*/
}

input[type='range']:hover::-moz-range-track,
input[type='range']:focus::-moz-range-track {
    background: var(--color-f0f2f5);
    /*activeTrackColor*/
}

input[type='range']::-moz-range-thumb {
    background: var(--color-fab429);
    /*thumbColor*/
    width: 10px;
    /*thumbHeight*/
    height: 10px;
    /*thumbHeight*/
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid var(--color-ffffff);
    /*border-width = thumbBorderWidth, border-color should match the background*/
}

input[type='range']:hover::-moz-range-thumb,
input[type='range']:focus::-moz-range-thumb {
    background: var(--color-f65169);
    /*activeThumbColor*/
}

input[type='range']::-moz-range-progress {
    background: var(--color-f65169);
    /*thumbColor*/
    border-radius: 4px;
    /*trackHeight*/
    height: 4px;
    /*trackHeight*/
}

input[type='range']:hover::-moz-range-progress,
input[type='range']:focus::-moz-range-progress {
    background: var(--color-fab429);
    /*activeThumbColor*/
}


/*edge and IE*/

input[type='range']::-ms-track {
    background: var(--color-f0f2f5);
    /*trackColor*/
    height: 4px;
    /*trackHeight*/
    border-radius: 4px;
    /*trackHeight*/
    border: none;
    color: transparent;
}

input[type='range']:hover::-ms-track,
input[type='range']:focus::-ms-track {
    background: var(--color-fab429);
    /*activeTrackColor*/
}

input[type='range']::-ms-thumb {
    background: var(--color-f65169);
    /*thumbColor*/
    width: 10px;
    /*thumbHeight*/
    height: 10px;
    /*thumbHeight*/
    border-radius: 50%;
    border: none;
    margin: 0 4px 0;
    /*0 thumbBorderWidth 0*/
    box-shadow: 0 0 0 4px var(--color-ffffff);
    /*0 0 0 thumbBorderWidth #fff, box-shadow color should match the background*/
    /*cursor:pointer; doesn't work*/
}

input[type='range']:hover::-ms-thumb,
input[type='range']:focus::-ms-thumb {
    background: var(--color-fab429);
    /*activeThumbColor*/
}

input[type='range']::-ms-tooltip {
    display: none;
    /*tooltip makes thumb sliding lagy*/
}

input[type='range']::-ms-fill-lower {
    background: var(--color-f65169);
    /*thumbColor*/
    border-radius: 4px;
    /*trackHeight*/
}

input[type='range']:hover::-ms-fill-lower,
input[type='range']:focus::-ms-fill-lower {
    background: var(--color-fab429);
    /*activeThumbColor*/
}

.vertically-stacked-slider {
    padding: 8px;
}

.vertically-stacked-slider>input[type='range'] {
    padding: 0;
}

.horizontally-stacked-slider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.horizontally-stacked-slider>input[type='range'] {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}


/*************************************/


/***************CONTAINER***************/


/*************************************/

.site_container {
    width: 100%;
    height: 100%;
}

.flex {
    display: flex;
    display: -moz-flex;
    display: -o-flex;
    display: -ms-flex;
}

.inline-flex {
    display: inline-flex;
}

.align_items_justify_content {
    justify-content: center;
    align-items: center;
}

.space_between {
    justify-content: space-between;
}

.align_items {
    align-items: center;
}

.justify_content {
    justify-content: center;
}

.flex_start {
    justify-content: flex-start;
}

.flex_end {
    justify-content: flex-end;
}

.stretch {
    align-items: stretch;
}

.truncated {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flexBoxColumn {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}


/*************************************/


/***************HEADER***************/


/*************************************/

.site-announcement {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 5vh, 32px);
    background: var(--rgba-55);
    z-index: 99999;
}

.site-announcement__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

.site-announcement__dialog {
    position: relative;
    width: min(560px, 100%);
    max-width: min(640px, 100%);
    max-height: min(92vh, 720px);
    background: var(--white);
    color: var(--color-111827);
    border-radius: 20px;
    box-shadow: 0 28px 60px var(--color-slate-900-a25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    border-color: none;
    outline: none;
}

.site-announcement__media {
    flex: 0 1 auto;
    width: 100%;
    height: clamp(140px, 36vh, 360px);
    min-height: 120px;
    max-height: 420px;
    display: flex;
    overflow: hidden;
}

.site-announcement__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.site-announcement__content {
    padding: clamp(20px, 4vh, 28px) clamp(20px, 6vw, 32px) 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.site-announcement__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: inherit;
}

.site-announcement__body {
    font-size: 1rem;
    line-height: 1.6;
    color: inherit;
    overflow-wrap: anywhere;
}

.site-announcement__body .ann-bg-black,
.site-announcement__body .ann-bg-slate,
.site-announcement__body .ann-bg-blue,
.site-announcement__body .ann-bg-cyan,
.site-announcement__body .ann-bg-green,
.site-announcement__body .ann-bg-amber,
.site-announcement__body .ann-bg-rose,
.site-announcement__body .ann-bg-purple {
    display: inline;
    padding: 0 0.25em;
    border-radius: 0.35em;
    font-weight: 600;
}

.site-announcement__body .ann-bg-black {
    background-color: var(--color-slate-900);
    color: var(--color-gray-50);
}

.site-announcement__body .ann-bg-slate {
    background-color: var(--color-slate-100);
    color: var(--color-slate-900);
}

.site-announcement__body .ann-bg-blue {
    background-color: var(--color-blue-500);
    color: var(--white);
}

.site-announcement__body .ann-bg-cyan {
    background-color: var(--color-cyan-600);
    color: var(--color-sky-100);
}

.site-announcement__body .ann-bg-green {
    background-color: var(--color-emerald-500);
    color: var(--color-emerald-50);
}

.site-announcement__body .ann-bg-amber {
    background-color: var(--color-amber-500);
    color: var(--text-dark);
}

.site-announcement__body .ann-bg-rose {
    background-color: var(--color-rose-600);
    color: var(--color-rose-50);
}

.site-announcement__body .ann-bg-purple {
    background-color: var(--color-violet-500);
    color: var(--color-indigo-50);
}

.site-announcement__body .ann-bg-black a,
.site-announcement__body .ann-bg-slate a,
.site-announcement__body .ann-bg-blue a,
.site-announcement__body .ann-bg-cyan a,
.site-announcement__body .ann-bg-green a,
.site-announcement__body .ann-bg-amber a,
.site-announcement__body .ann-bg-rose a,
.site-announcement__body .ann-bg-purple a {
    color: inherit;
}


/* Announcement inline text color utilities (placed after backgrounds so they win the cascade) */

.site-announcement__body .ann-text-black {
    color: var(--text-dark);
}

.site-announcement__body .ann-text-white {
    color: var(--white);
}

.site-announcement__body .ann-text-slate {
    color: var(--color-slate-600);
}

.site-announcement__body .ann-text-blue {
    color: var(--color-blue-500);
}

.site-announcement__body .ann-text-cyan {
    color: var(--color-cyan-600);
}

.site-announcement__body .ann-text-green {
    color: var(--color-emerald-500);
}

.site-announcement__body .ann-text-amber {
    color: var(--color-amber-500);
}

.site-announcement__body .ann-text-rose {
    color: var(--color-rose-600);
}

.site-announcement__body .ann-text-purple {
    color: var(--color-violet-500);
}

.site-announcement__body .ann-underline {
    text-decoration: underline;
}

.site-announcement__body p {
    margin: 0;
}

.site-announcement__body p+p {
    margin-top: 0.6rem;
}

.site-announcement__body a {
    color: var(--color-305afe);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-announcement__body a:hover,
.site-announcement__body a:focus-visible {
    color: var(--color-4f86f7);
}

.site-announcement__body ul,
.site-announcement__body ol {
    margin: 0.6rem 0 0 1.25rem;
    padding-left: 1.25rem;
}

.site-announcement__body li+li {
    margin-top: 0.35rem;
}

.site-announcement__body blockquote {
    margin: 0.6rem 0 0;
    padding-left: 1rem;
    border-left: 3px solid var(--color-slate-900-a15);
    color: inherit;
}

.site-announcement__body strong,
.site-announcement__body b {
    font-weight: 600;
}

.site-announcement__body em,
.site-announcement__body i {
    font-style: italic;
}

.site-announcement__footer {
    padding: clamp(20px, 4vh, 28px) clamp(20px, 6vw, 32px) clamp(20px, 6vh, 32px) clamp(20px, 6vw, 32px);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.site-announcement__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    min-height: 40px;
    border-radius: 999px;
    background: var(--color-305afe);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-announcement__cta:hover,
.site-announcement__cta:focus-visible {
    background: var(--color-4f86f7);
    transform: translateY(-1px);
}

.site-announcement__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    min-height: 40px;
    border-radius: 999px;
    background: var(--color-slate-900-a10);
    color: inherit;
    border: 0;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-announcement__close:hover,
.site-announcement__close:focus-visible {
    background: var(--color-slate-900-a20);
    transform: translateY(-1px);
}

@media (max-height: 560px) {
    .site-announcement__media {
        height: clamp(120px, 32vh, 260px);
    }
    .site-announcement__content {
        padding-top: 20px;
    }
    .site-announcement__footer {
        padding-top: 20px;
        padding-bottom: 24px;
    }
}

.site-announcement--hidden {
    display: none !important;
}

:root[data-theme="dark"] .site-announcement,
body.theme-dark .site-announcement,
html.theme-dark .site-announcement {
    background: var(--rgba-black-75);
}

:root[data-theme="dark"] .site-announcement__dialog,
body.theme-dark .site-announcement__dialog,
html.theme-dark .site-announcement__dialog {
    background: var(--bg-elevated, var(--color-charcoal-900));
    color: var(--text-primary);
    box-shadow: 0 32px 70px var(--rgba-55);
}

:root[data-theme="dark"] .site-announcement__close,
body.theme-dark .site-announcement__close,
html.theme-dark .site-announcement__close {
    background: var(--white-12);
}

:root[data-theme="dark"] .site-announcement__close:hover,
:root[data-theme="dark"] .site-announcement__close:focus-visible,
body.theme-dark .site-announcement__close:hover,
body.theme-dark .site-announcement__close:focus-visible,
html.theme-dark .site-announcement__close:hover,
html.theme-dark .site-announcement__close:focus-visible {
    background: var(--white-22);
}

:root[data-theme="dark"] .site-announcement__cta,
body.theme-dark .site-announcement__cta,
html.theme-dark .site-announcement__cta {
    background: var(--primary-color, var(--color-4f86f7));
}

:root[data-theme="dark"] .site-announcement__body a,
body.theme-dark .site-announcement__body a,
html.theme-dark .site-announcement__body a {
    color: var(--primary-color, var(--color-blue-300));
}

:root[data-theme="dark"] .site-announcement__body a:hover,
:root[data-theme="dark"] .site-announcement__body a:focus-visible,
body.theme-dark .site-announcement__body a:hover,
body.theme-dark .site-announcement__body a:focus-visible,
html.theme-dark .site-announcement__body a:hover,
html.theme-dark .site-announcement__body a:focus-visible {
    color: var(--primary-color-strong, var(--color-blue-200));
}

.site_header {
    width: 100%;
    padding: 15px 15px 0px 15px;
}

.site_header_container {
    width: 100%;
    padding: 10px 20px 10px 20px;
    background-color: var(--bg-elevated);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.site_header_container a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site_header_container a img {
    height: 35px;
    width: auto;
    object-fit: contain;
    display: block;
}


/* Header mobile controls */

.header_left {
    gap: 10px;
}

.btn-icon {
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--hover-bg-color);
}

.mobile-nav-btn-left,
.mobile-nav-btn-right {
    display: none;
}

.mobile-search-toggle {
    display: none;
}

.mobile-nav-btn-left svg,
.mobile-nav-btn-left img,
.mobile-nav-btn-right img,
.mobile-nav-btn-right svg {
    width: 25px;
    height: 25px;
}

:root[data-theme="dark"] .mobile-nav-btn-left svg,
html.theme-dark .mobile-nav-btn-left svg,
body.theme-dark .mobile-nav-btn-left svg {
    color: var(--white);
    fill: currentColor;
    stroke: currentColor;
}

:root[data-theme="dark"] .mobile-nav-btn-right svg,
html.theme-dark .mobile-nav-btn-right svg,
body.theme-dark .mobile-nav-btn-right svg {
    color: var(--white);
    fill: currentColor;
    stroke: currentColor;
}


/* Hide right mobile toggle when there is no right panel */

.mobile-nav-btn-right.is-hidden {
    display: none !important;
}

.header_search_wrapper {
    flex: 1;
    padding: 0 15px;
}

.search_bar_container {
    width: 100%;
    margin: 0px auto;
    max-width: 400px;
}

.search_input {
    outline: none;
    width: 100%;
    border-radius: 15px;
    font-size: 14px;
    color: var(--primary-text) !important;
    font-family: var(--fontApple);
    background-color: var(--bg-color);
    border: none;
    padding: 10px;
}


/* Improve search usability on mobile/tablet */

.search_input:focus {
    box-shadow: 0 0 0 2px var(--border-subtle) inset;
}

.header_right {
    min-width: 120px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.user_avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.header_icon_group {
    gap: 15px;
}

.header-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-auth-link--signin {
    color: var(--primary-text);
    border-color: var(--border-subtle, var(--color-midnight-900-a08));
    background: transparent;
}

.header-auth-link--signin:hover {
    background: var(--hover-bg-color, var(--sd-admin-hover-bg));
}

.header-auth-link--signup {
    background: var(--btn-primary-bg, var(--color-305afe));
    color: var(--btn-primary-text, var(--white));
}

.header-auth-link--signup:hover {
    background: var(--btn-primary-hover-bg, var(--color-blue-650));
}

.header_language_switcher_wrapper,
.welcome_language_switcher_wrapper,
.auth_language_switcher_wrapper,
.maintenance-language-switcher {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header_language_switcher,
.welcome_language_switcher,
.auth_language_switcher {
    appearance: none;
    background: transparent;
    border-radius: 12px;
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.12));
    padding: 0 14px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header_language_switcher__label,
.welcome_language_switcher__label,
.auth_language_switcher__label {
    letter-spacing: 0.04em;
}

.language_switcher_text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header_language_switcher .language_switcher_icon svg,
.header_language_switcher .language_switcher_icon img,
.welcome_language_switcher .language_switcher_icon svg,
.welcome_language_switcher .language_switcher_icon img,
.auth_language_switcher .language_switcher_icon svg,
.auth_language_switcher .language_switcher_icon img {
    width: 20px;
    height: 20px;
}

.header_language_switcher,
.welcome_language_switcher {
    color: var(--white, #ffffff);
    border-color: rgba(255, 255, 255, 0.32);
}

.theme-light .header_language_switcher,
:root[data-theme="light"] .header_language_switcher,
html[data-theme="light"] .header_language_switcher,
body[data-theme="light"] .header_language_switcher,
:root:not([data-theme]) .header_language_switcher,
html:not([data-theme]) .header_language_switcher,
body:not([data-theme]) .header_language_switcher {
    color: var(--text-dark, #111827);
    border-color: rgba(0, 0, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.8);
}

.theme-light .header_language_switcher:hover,
:root[data-theme="light"] .header_language_switcher:hover,
html[data-theme="light"] .header_language_switcher:hover,
body[data-theme="light"] .header_language_switcher:hover,
:root:not([data-theme]) .header_language_switcher:hover,
html:not([data-theme]) .header_language_switcher:hover,
body:not([data-theme]) .header_language_switcher:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.header_language_switcher:hover,
.welcome_language_switcher:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.auth_language_switcher {
    color: var(--primary-text, #1f1f2c);
}

.theme-light .welcome_language_switcher,
:root[data-theme="light"] .welcome_language_switcher,
html[data-theme="light"] .welcome_language_switcher,
body[data-theme="light"] .welcome_language_switcher,
:root:not([data-theme]) .welcome_language_switcher,
html:not([data-theme]) .welcome_language_switcher,
body:not([data-theme]) .welcome_language_switcher {
    color: var(--text-dark, #111827);
    border-color: rgba(0, 0, 0, 0.12);
}

.theme-light .welcome_language_switcher:hover,
:root[data-theme="light"] .welcome_language_switcher:hover,
html[data-theme="light"] .welcome_language_switcher:hover,
body[data-theme="light"] .welcome_language_switcher:hover,
:root:not([data-theme]) .welcome_language_switcher:hover,
html:not([data-theme]) .welcome_language_switcher:hover,
body:not([data-theme]) .welcome_language_switcher:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.auth_language_switcher:hover {
    background: rgba(0, 0, 0, 0.05);
}

.auth_language_switcher_wrapper {
    margin-top: 18px;
}

.header_language_switcher_wrapper {
    margin-right: 12px;
}

.welcome_language_switcher_wrapper {
    margin-left: 0;
}

.maintenance-language-switcher {
    margin-left: auto;
}

.icon_button {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.icon_button:hover {
    background-color: var(--hover-bg-color);
}

.icon_button img,
.icon_button svg {
    width: 20px;
    height: 20px;
}


/* Header badge: show only when .is-on, pulse animation optional */

.has_badge .badge_count {
    position: absolute;
    top: 0px;
    right: 4px;
    background-color: var(--orange-red);
    color: var(--white);
    border-radius: 999px;
    line-height: 1;
    width: 10px;
    height: 10px;
    padding: 0;
    z-index: 2;
    box-shadow: 0 0 0 2px var(--bg-color);
    display: none;
    /* hidden by default — appears only on new items */
}

.has_badge .badge_count.is-on {
    display: inline-block;
}

.has_badge .badge_count.pulse {
    animation: badge-pulse 1.2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(0.85);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(0.85);
    }
}

.user_dropdown {
    background-color: var(--bg-color);
    border-radius: 999px;
    padding: 6px 10px;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.user_dropdown:hover {
    background-color: var(--hover-bg-color);
}

.user_dropdown .avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.user_dropdown .username {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.dropdown_arrow {
    width: 12px;
    height: 12px;
}

.click_box {
    position: absolute;
    width: auto;
    max-width: 90vw;
    padding: 0;
    padding-top: 10px;
    z-index: 9999;
    display: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: var(--fontApple);
}

.click_box.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.click_box_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Dropdown panel: constrain to viewport height, let inner list scroll */

.click_box_wrapper {
    width: 400px;
    max-width: 90vw;
    background-color: var(--bg-elevated);
    box-shadow: 0 8px 25px var(--box-shadow);
    border-radius: 15px;
    /* The panel itself should not scroll horizontally; inner content will */
    overflow: hidden;
    /* Grow until (viewport - 10px); then stop. */
    max-height: calc(100vh - 10px);
    /* Make header stay at top while list area becomes flexible */
    display: flex;
    flex-direction: column;
}


/* Use modern dynamic viewport units when supported (iOS Safari, mobile UI chrome) */

@supports (max-height: 100dvh) {
    .click_box_wrapper {
        max-height: calc(100dvh - 90px);
    }
}

.click_box_header {
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.arrow {
    width: 100%;
    height: 1px;
    background-color: var(--border-subtle);
}

.click_box_results {
    width: 100%;
    /* scrolling is vertical; allow it to expand under wrapper constraints */
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
    font-family: var(--fontApple);
}

.click_box_recent_searches,
.click_box_new_search_results {
    width: 100%;
    padding: 15px 5px;
    gap: 5px;
}

._padding {
    padding: 0px 5px !important;
}

.activity-page {
    width: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-page__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-page__heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

.activity-page__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-page__card {
    max-height: none;
}

.activity-page__card .activity-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
}

.activity-page__sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-page__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-page__section+.activity-page__section {
    border-top: 1px solid var(--sd-admin-border);
    padding-top: 16px;
}

.activity-page__section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sd-admin-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-page__empty {
    padding: 48px 16px;
    text-align: center;
    color: var(--sd-admin-text-muted);
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.activity-page__empty-icon svg,
.activity-page__empty-icon img {
    width: 38px;
    height: 38px;
}

.notif-section {
    margin-bottom: 5px;
}

.notif-section-title {
    font-weight: 700;
    font-size: 18px;
    margin: 5px 10px;
}


/* Make the message list scroll within the dropdown, not the page */

.click_box_new_search_results {
    flex: 1 1 auto;
    /* take remaining space under header */
    min-height: 0;
    /* allow flex child to actually shrink */
    overflow-y: auto;
    /* vertical scroll when needed */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* smooth on iOS */
    overscroll-behavior: contain;
    /* don’t scroll the page when hitting ends */
    padding-bottom: 10px;
    /* visual gap to bottom edge */
    scrollbar-gutter: stable both-edges;
    /* avoid layout jump when scrollbar appears */
}

.click_box_wrapper.settings-menu-dropdown {
    width: 360px;
}

.click_box_new_search_results.settings-menu-dropdown__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.settings-menu-dropdown__profile-section {
    padding: 18px 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-menu-dropdown__profile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark, var(--color-111));
}

.settings-menu-dropdown__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.settings-menu-dropdown__identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-menu-dropdown__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark, var(--color-111));
}

.settings-menu-dropdown__hint {
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

.settings-menu-dropdown__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.settings-menu-dropdown__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--hover-bg-color, rgba(0, 0, 0, 0.04));
    color: var(--text-dark, var(--color-111));
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.settings-menu-dropdown__card--action:hover {
    background: var(--rgba-11, rgba(0, 0, 0, 0.08));
}

.settings-menu-dropdown__card--metric {
    cursor: default;
}

.settings-menu-dropdown__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-muted, rgba(0, 0, 0, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.settings-menu-dropdown__card-icon svg {
    width: 20px;
    height: 20px;
}

.settings-menu-dropdown__card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.settings-menu-dropdown__card-label {
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

.settings-menu-dropdown__card-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark, var(--color-111));
}

.settings-menu-dropdown__divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 8px 20px;
}

.settings-menu-dropdown__links {
    padding: 10px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.settings-menu-dropdown__links .settings_sidebar__menu_box {
    width: 100%;
    border-radius: 0;
}

.box_title {
    width: 100%;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
    cursor: pointer;
    width: 100%;
    /* ensure item doesn't exceed container */
    min-width: 0;
    /* allow children to shrink */
    max-width: 100%;
}

.search-result-item:hover {
    background: var(--hover-bg-color);
}

.search-result-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-result-avatar img {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    /* take remaining space */
    min-width: 0;
    /* KEY: enables ellipsis inside */
}

.search-result-username {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    display: flex;
    align-items: center;
}

.search-result-fullname {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 2px;
}

.search-result-fullname .search-result-dot {
    display: inline-block;
    margin: 0 6px;
    color: inherit;
}

.search-result-fullname .search-result-meta {
    color: inherit;
    font-size: inherit;
}

.search-result-fullname-message {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 400;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 2px;
    min-width: 0;
    /* allow line to shrink within flex */
}

.search-result-fullname-message .last-text {
    flex: 1 1 auto;
    min-width: 0;
    /* enables ellipsis inside flex */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* show … when text is long */
}

.search-result-fullname-message .last-time {
    flex: 0 0 auto;
    /* do not shrink the time */
    white-space: nowrap;
    margin-left: 6px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    color: var(--verified-color);
}

.verified-badge img,
.verified-badge svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.no-seached-yet {
    width: 100%;
    font-weight: 600;
    padding: 30px;
    text-align: center;
    gap: 20px;
}

.no-seached-yet img,
.no-seached-yet svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.no-search-result {
    width: 100%;
    font-weight: 600;
    gap: 20px;
    color: var(--text-gray);
}

.no-search-result img,
.no-search-result svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.s_result {
    display: none;
}

.create_new_btn_box {
    padding: 20px;
    border-radius: 12px;
    transition: background 0.2s ease;
    cursor: pointer;
    gap: 10px;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-dark);
}

.create_new_btn_box img,
.create_new_btn_box svg {
    width: 25px;
    height: 25px;
    color: var(--svg-color);
}

.create_new_btn_box:hover {
    background: var(--hover-bg-color);
}

.create_new_btn_box.is-disabled,
.create_new_btn_box[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    background: transparent;
}


/*************************************/


/***************SIDEBAR***************/


/*************************************/

.sidebar_container {
    width: 100%;
    height: 100%;
}

.sidebar {
    width: 100%;
    max-width: 300px;
    height: 100%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar__inner {
    width: 100%;
    background-color: var(--bg-elevated);
    border-radius: 15px;
    height: 100%;
    box-shadow: var(--box-shadow);
}

.sidebar__inner button {
    border: none;
    background-color: transparent;
}

.settings-menu-dropdown__links button {
    border: none;
    background-color: transparent;
}

.sticky_top {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
}

.sidebar_scroll {
    overflow: hidden;
    overflow-y: scroll;
}

.sidebar__menu_wrapper {
    padding: 10px;
    gap: 5px;
}

.sidebar__menu_box {
    padding: 10px;
    color: var(--text-dark);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    font-family: var(--fontApple);
}

.sidebar__menu_box:hover {
    background-color: var(--hover-bg-color);
}

.sidebar__menu_box span {
    margin-right: 8px;
}

.sidebar__menu_lang_label {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.profile img {
    overflow: hidden;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.home_page,
.list_menu,
.reels,
.images,
.explore,
.premium,
.profile,
.creators,
.dashboard_user,
.bookmarks,
.messages,
.lives,
.advertisements,
.settings,
.activity,
.switch_apperange,
.logout,
.my_profile,
.security,
.preferences,
.password,
.subscription,
.super_thanks,
.bank,
.payments,
.payout_methods,
.subscription_fees,
.blocked,
.profilephoto--icon {
    color: var(--svg-color);
}

.home_page svg,
.home_page img,
.list_menu svg,
.list_menu img,
.reels svg,
.reels img,
.images svg,
.images img,
.explore svg,
.explore img,
.premium svg,
.premium img,
.profile svg,
.profile img,
.creators svg,
.creators img,
.dashboard_user svg,
.dashboard_user img,
.bookmarks svg,
.bookmarks img,
.messages svg,
.messages img,
.lives svg,
.lives img,
.advertisements svg,
.advertisements img,
.settings svg,
.settings img,
.trending svg,
.trending img,
.activity svg,
.activity img,
.switch_apperange svg,
.switch_apperange img,
.logout svg,
.logout img,
.my_profile svg,
.my_profile img,
.security svg,
.security img,
.preferences svg,
.preferences img,
.password svg,
.password img,
.subscription svg,
.subscription img,
.super_thanks svg,
.super_thanks img,
.bank svg,
.bank img,
.payments svg,
.payments img,
.payout_methods svg,
.payout_methods img,
.subscription_fees svg,
.subscription_fees img,
.blocked svg,
.blocked img,
.walletTopup svg,
.walletTopup img,
.language_switcher_icon svg,
.language_switcher_icon img {
    width: 26px;
    height: 26px;
}

.profilephoto--icon svg,
.profilephoto--icon img {
    width: 32px;
    height: 32px;
}

.sidebar__footer {
    margin-top: auto;
    padding: 10px;
    position: sticky;
    position: -webkit-sticky;
    bottom: 0px;
    background-color: var(--bg-elevated);
}

.sidebar_hide_more_menu_box {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: 10px;
    margin: 5px 0px;
}

.more_active {
    background-color: var(--hover-bg-color);
}


/*************************************/


/*************CROP IMAGE**************/


/*************************************/

.popUp-container {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: var(--rgba-10);
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* use stretch instead of flex-start */
    min-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.popup-wrapper {
    width: 100%;
    max-width: 720px;
    background: var(--bg-elevated);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin: auto;
}

.create-new-modal-container {
    align-items: center;
    padding: 24px 12px;
}

.create-new-modal {
    max-width: 420px;
    width: min(420px, 100%);
    background: var(--bg-elevated, var(--bg-color));
    border-radius: 18px;
    padding: 0 0 0px;
    position: relative;
    box-shadow: var(--shadow-elevated, 0 24px 48px rgba(15, 23, 42, 0.18));
}

.create-new-modal__close {
    background: transparent;
    border: 0;
    color: var(--text-muted, var(--color-slate-500));
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.create-new-modal__close:hover,
.create-new-modal__close:focus-visible {
    color: var(--text-dark, #0f172a);
    outline: none;
}

.create-new-modal .click_box_header {
    padding: 24px 28px 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.create-new-modal__title {
    flex: 1;
}

.create-new-modal .arrow {
    height: 1px;
    width: 100%;
    background: var(--border-subtle);
    margin: 0;
}

.create-new-modal__body {
    width: 100%;
    padding: 16px 24px 24px;
    gap: 14px;
}

.create-new-modal__body .create_new_btn_box {
    width: 100%;
}

.create-new-modal__body .create_new_btn_box.flexBoxColumn {
    gap: 14px;
    align-items: stretch;
}

.create-new-modal__body .create_ads_btns {
    gap: 12px;
}

.create-new-modal__body .create_ads {
    justify-content: center;
}

.auth-required-container {
    justify-content: center;
    padding: 24px;
}

.auth-required-popup {
    max-width: 420px;
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.confirm-popup-container {
    justify-content: center;
    padding: 24px;
}

.confirm-popup {
    max-width: 440px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    background: var(--bg-elevated, var(--color-ink-950));
    border-radius: 18px;
    border-top: 4px solid transparent;
    box-shadow: 0 24px 48px var(--color-slate-900-a18);
    overflow: visible;
    backdrop-filter: blur(6px);
}

.confirm-popup--neutral {
    border-top-color: var(--color-305afe);
}

.confirm-popup--info {
    border-top-color: var(--color-1da1f2);
}

.confirm-popup--success {
    border-top-color: var(--color-1ca662);
}

.confirm-popup--warning {
    border-top-color: var(--color-amber-500);
}

.confirm-popup__close {
    top: 18px;
    right: 18px;
    background: transparent;
    color: var(--text-tertiary, var(--color-slate-400-a90));
    font-size: 20px;
    line-height: 1;
    padding: 6px;
    transition: color 0.2s ease;
}

.confirm-popup__close:hover,
.confirm-popup__close:focus {
    color: var(--text-primary, var(--color-slate-50));
}

.confirm-popup__head {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.confirm-popup__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    background: var(--color-305afe);
    color: var(--color-ffffff, var(--white));
    box-shadow: 0 16px 32px var(--color-royal-500-a22);
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.confirm-popup__icon:focus,
.confirm-popup__icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px var(--color-royal-500-a28);
}

.confirm-popup--info .confirm-popup__icon,
.confirm-popup--neutral .confirm-popup__icon {
    background: var(--color-1da1f2);
    box-shadow: 0 16px 32px var(--color-twitter-blue-a25);
}

.confirm-popup--success .confirm-popup__icon {
    background: var(--color-1ca662);
    box-shadow: 0 16px 32px var(--color-green-500-a25);
}

.confirm-popup--warning .confirm-popup__icon {
    background: var(--black);
    color: var(--white);
}

.confirm-popup__head-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: left;
}

.confirm-popup__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary, var(--color-slate-50));
    margin: 0;
}

.confirm-popup__message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary, var(--color-slate-200-a85));
}

.confirm-popup__actions {
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.confirm-popup__btn {
    min-width: 150px;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.confirm-popup__btn--confirm {
    background: var(--btn-dark, var(--color-midnight-900));
    color: var(--white);
    border: none;
    box-shadow: 0 12px 24px var(--color-midnight-900-a22);
}

.confirm-popup__btn--confirm:hover,
.confirm-popup__btn--confirm:focus {
    background: var(--btn-dark-hover, var(--color-slate-950));
    transform: translateY(-1px);
    box-shadow: 0 16px 28px var(--color-slate-950-a28);
}

.confirm-popup__btn--cancel {
    background: transparent;
    color: var(--text-secondary, var(--color-slate-200-a85));
    border: 1px solid var(--border-subtle, var(--color-slate-400-a25));
    box-shadow: none;
}

.confirm-popup__btn--cancel:hover,
.confirm-popup__btn--cancel:focus {
    color: var(--text-primary, var(--color-slate-50));
    border-color: var(--color-slate-400-a45);
    background: var(--color-slate-400-a08);
}

.auth-required-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.auth-required-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, var(--color-ffffff));
}

.auth-required-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-required-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    min-width: 120px;
}

.auth-required-btn--login {
    background: var(--color-4f46e5);
    color: var(--color-ffffff);
}

.auth-required-btn--login:hover,
.auth-required-btn--login:focus {
    background: var(--color-305afe);
    color: var(--color-ffffff);
}

.auth-required-btn--register {
    border: 1px solid var(--rgba-38);
    color: var(--black);
    background: var(--hover-bg-color);
}

.auth-required-btn--register:hover,
.auth-required-btn--register:focus {
    background: var(--black);
    color: var(--white);
}


/* Live popup specific tweaks (Envato-safe, no inline styles) */

.live-popup {
    max-width: 640px;
}

.live-create {
    padding: 28px 24px 16px;
}

.live-icon {
    margin-bottom: 18px;
}

.live-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 6px;
}

.live-desc {
    justify-content: center;
    text-align: center;
    margin-bottom: 16px;
}

.live-input-holder {
    width: 100%;
    max-width: 420px;
}

.live-input-holder+.live-input-holder {
    margin-top: 14px;
}

.live-audience-title {
    margin-bottom: 8px;
    text-align: center;
}

.live-select {
    width: 100%;
    overflow: visible;
    position: relative;
}

.live-select-toggle {
    width: 100%;
    justify-content: space-between;
}

.live-select-toggle .chev {
    margin-left: 8px;
}

.audience-menu {
    list-style: none;
    margin: 6px 0 0;
    padding: 6px 0;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--bg-elevated);
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 5;
}

.audience-option {
    padding: 10px 12px;
    cursor: pointer;
}

.audience-option:hover {
    background: var(--hover-bg-color);
}


/* Audience sheet (Instagram-like) */

.aud-sheet-container {
    width: 100%;
    max-width: 420px;
    padding: 12px;
}

.aud-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.aud-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
}

.aud-item:hover {
    background: var(--hover-bg-color);
}

.aud-sep {
    height: 1px;
    background: var(--border-subtle);
}

.aud-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.aud-cancel:hover {
    background: var(--hover-bg-color);
}


/* Live page layout */

.pad-24 {
    padding: 24px;
}

.live-header {
    padding: 14px 16px;
    gap: 12px;
}

.live-subtext {
    font-size: 12px;
    opacity: .7;
}

.live-owner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.ml-6 {
    margin-left: 6px;
}

.live-stage {
    padding: 12px 16px;
}

.live-player {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}

.live-video-host {
    position: absolute;
    inset: 0;
}

.live-player-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.live-muted {
    opacity: .8;
}

.max-860 {
    max-width: 860px;
    width: 100%;
}

.justify-end {
    justify-content: flex-end;
}

.btn-danger {
    background: var(--danger-alt);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--danger-hover);
}

.text-center {
    text-align: center;
}


/* Top-right chips over the player */

.live-chips {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 6;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-4-12-20);
}

.chip .icon svg,
.chip .icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.chip-blue {
    background: var(--accent);
}

.chip-blue:hover {
    background: var(--accent-hover);
}

.chip-red {
    background: var(--danger-alt);
}

.chip-red:hover {
    background: var(--danger-hover);
}


/* Meta block under video */

.live-meta {
    padding: 12px 0 0;
}

.live-title-bar {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 12px 0;
}

.channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.channel-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

.channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.channel-name {
    font-weight: 700;
    color: var(--text-dark);
}

.channel-sub {
    font-size: 12px;
    color: var(--text-gray);
}

.channel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--hover-bg-color);
    color: var(--text-dark);
    font-weight: 600;
}

.stat-chip svg,
.stat-chip img {
    width: 16px;
    height: 16px;
}

.follow-btn {
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--hover-bg-color);
    font-weight: 500;
    color: var(--text-dark);
}

.donate-btn {
    padding: 6px 14px;
    border-radius: 10px;
    background: var(--button-blue-color);
    color: var(--white);
    font-weight: 500;
}

.donate-btn:hover {
    background: var(--accent-hover);
}


/* clickable stat chip */

.stat-chip.clickable {
    cursor: pointer;
}

.stat-chip.clickable:hover {
    filter: brightness(0.98);
}


/* Live two-column layout (YouTube-like) */

.live-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 16px;
    padding: 0 16px 24px;
}

.live-left {
    min-width: 0;
}

.live-right {
    min-width: 0;
}

.live-right.sticky {
    position: sticky;
    align-self: start;
    height: 100%;
}

.live-player--wide {
    aspect-ratio: 16 / 9;
}


/* Live like button + flying hearts (bottom-right) */

.live-like-ctrl {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    z-index: 5;
}

.live-like-btn {
    pointer-events: auto;
    background: var(--rgba-38);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.live-like-btn:hover {
    background: var(--white-18);
}

.live-like-count {
    min-width: 28px;
    text-align: right;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    text-shadow: 0 1px 2px var(--rgba-62);
}

.live-heart-stream {
    position: absolute;
    right: 4px;
    bottom: 64px;
    /* above button */
    width: 120px;
    height: 0;
    /* we position children absolutely */
    pointer-events: none;
    overflow: visible;
}

.live-tip-stream {
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 60%;
    max-width: 520px;
    pointer-events: none;
    z-index: 9999;
}

.tip-toast {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rgba-35);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 10px;
    margin-top: 8px;
    transform: translateY(10px);
    opacity: 0;
    animation: tipToastIn .25s ease forwards;
}

.tip-toast .tip-name {
    font-weight: 700;
}

.tip-toast .tip-amount {
    font-weight: 800;
}

@keyframes tipToastIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Simple confetti */

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 12px;
    opacity: .9;
    will-change: transform, opacity;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: .95;
    }
    100% {
        transform: translateY(260px) rotate(720deg);
        opacity: 0;
    }
}

.live-heart-stream .f-heart {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22px;
    height: 22px;
    opacity: 0.95;
    animation: liveHeartUp var(--dur, 1600ms) ease-in forwards;
    transform: translate(0, 0) scale(var(--scale, 1));
}

.live-heart-stream .f-heart svg,
.live-heart-stream .f-heart img {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes liveHeartUp {
    0% {
        transform: translate(0, 0) scale(0.9);
        opacity: .95;
    }
    25% {
        transform: translate(calc(var(--tx, -16px) * .35), -60px) scale(1);
    }
    60% {
        transform: translate(calc(var(--tx, -16px) * .75), -125px) scale(1.05);
        opacity: .9;
    }
    100% {
        transform: translate(var(--tx, -16px), -180px) scale(1.1);
        opacity: 0;
    }
}

.live-chat {
    background: var(--bg-elevated);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.live-chat-header {
    padding: 12px 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-subtle);
}

.live-chat-body {
    padding: 12px 14px;
    overflow-y: auto;
    max-height: 65vh;
    min-height: 360px;
}

.live-chat-msg {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.live-chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 28px;
}

.live-chat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.live-chat-msg .from {
    font-weight: 600;
    margin-right: 6px;
}

.live-chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

.live-chat-input .text-field {
    flex: 1 1 auto;
    min-width: 0;
}

.live-chat--disabled {
    justify-content: flex-start;
    padding-bottom: 18px;
    height: auto;
}

.live-chat-disabled-copy {
    padding: 12px 14px 18px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.create_media_box {
    width: 100%;
    height: 100%;
    padding: 200px 0px;
    gap: 20px;
    font-weight: 500;
    font-size: 17px;
}

.icon_upload {
    color: var(--svg-color);
}

.create_media_box svg,
.create_media_box img {
    width: 60px;
    height: 60px;
}

.crop-container {
    width: 100%;
    height: 100%;
    display: none;
}

.crop-frame {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.crop-image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.crop-image img {
    position: absolute;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    transition: transform 0.2s;
}

.crop-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crop-controls button {
    width: 30px;
    height: 30px;
    background-color: var(--rgba-10);
    border: none;
    color: var(--white);
    padding: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999999;
    background-image: linear-gradient(to right, var(--white-30) 1px, transparent 1px), linear-gradient(to bottom, var(--white-30) 1px, transparent 1px);
    background-size: 33.33% 100%, 100% 33.33%;
}


/* Profile – lightweight crop frame variants */

.pcrop-frame--square {
    aspect-ratio: 1 / 1;
}

.pcrop-frame--wide {
    aspect-ratio: 16 / 9;
}


/* Cover safe-area (YouTube channel art guide) */

.pcrop-safe {
    position: absolute;
    box-sizing: border-box;
    border: 2px dashed var(--white-80);
    background: var(--white-04);
    pointer-events: none;
    z-index: 2;
}


/* Cover cropping viewport confined to safe-area only */

.pcrop-viewport {
    position: absolute;
    overflow: hidden;
    z-index: 1;
}


/* Settings – Profile hero */

.profile-hero {
    position: relative;
    margin: 12px 0 72px;
    width: 100%;
}

.profile-hero .hero-cover {
    position: relative;
    border-radius: 16px;
    overflow: visible;
    background: var(--bg-muted);
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-8-24-10);
    max-height: 240px;
    width: 100%;
}

.profile-hero .hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-hero .hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--rgba-0) 65%, var(--rgba-black-28));
    opacity: 0;
    transition: opacity .15s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.profile-hero .hero-cover:hover::after {
    opacity: 1;
}

.profile-hero .hero-edit-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rgba-55);
    color: var(--white);
    border: 1.5px solid var(--white-90);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
    opacity: 0;
    z-index: 2;
}

.profile-hero .hero-cover:hover .hero-edit-btn,
.profile-hero .hero-edit-btn:focus-visible {
    opacity: 1;
}

.profile-hero .hero-edit-btn:hover {
    transform: scale(1.05);
    background: var(--rgba-black-65);
}

.profile-hero .hero-edit-btn span {
    display: none;
}

.profile-hero .hero-edit-btn svg,
.profile-hero .hero-edit-btn img {
    width: 18px;
    height: 18px;
    color: var(--white);
}

.profile-hero .hero-safe {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    aspect-ratio: 1546 / 423;
    border-top: 2px dashed var(--white-95);
    border-bottom: 2px dashed var(--white-95);
    display: none;
    pointer-events: none;
}

.profile-hero.is-show-guides .hero-safe {
    display: block;
}

.profile-hero .hero-cover .hero-avatar {
    position: absolute;
    left: 50%;
    bottom: -58px;
    transform: translateX(-50%);
    width: 116px;
    height: 116px;
    border-radius: 50%;
    border: 4px solid var(--bg-elevated);
    overflow: hidden;
    background: var(--bg-muted);
    box-shadow: 0 8px 24px var(--rgba-black-18);
    z-index: 5;
}

.profile-hero .hero-cover .hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-hero .hero-cover .hero-avatar .hero-edit-btn {
    width: 34px;
    height: 34px;
    inset: 0;
    margin: auto;
    opacity: 1;
    border-width: 1px;
    background: var(--rgba-62);
}

@media (hover: none) and (pointer: coarse) {
    .profile-hero .hero-edit-btn {
        opacity: 1;
    }
}


/* Hide hero safe guides and toggle if present */

.profile-hero .hero-safe,
.hero-toggles {
    display: none !important;
}


/* ============ Settings Profile (remove inline styles) ============ */

.settings-profile {
    gap: 16px;
}

.settings-section-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.sp-form {
    gap: 14px;
    max-width: 680px;
}

.sp-field {
    gap: 6px;
}

.sp-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.sp-actions {
    justify-content: flex-start;
    gap: 10px;
}

.sp-hint {
    margin-top: 4px;
    color: var(--text-gray);
}


/* Generic placeholder for empty settings pages */

.settings-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 28px;
    padding-left: 40px;
    background: var(--bg-elevated, #fff);
    border: 1px dashed var(--border-subtle, rgba(15, 23, 42, 0.12));
    border-radius: 18px;
}

.settings-placeholder::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 18px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--button-blue-color, #0ea5e9), var(--color-4f86f7, #6366f1));
    opacity: 0.85;
}

.settings-placeholder > * {
    position: relative;
    z-index: 1;
}

.settings-placeholder .title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark, var(--color-1a1a1a));
    line-height: 1.4;
}

.settings-placeholder .desc {
    color: var(--text-gray, rgba(71, 85, 105, 0.95));
    font-size: 15px;
    line-height: 1.7;
    max-width: 640px;
}

.settings-placeholder .desc a {
    color: var(--button-blue-color, #0ea5e9);
    text-decoration: none;
    font-weight: 600;
}

.settings-placeholder .desc a:hover,
.settings-placeholder .desc a:focus {
    text-decoration: underline;
}

.settings-prompt-list {
    margin: 4px 0 0;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.settings-prompt-list li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.crop_setting_buttons {
    position: absolute;
    left: 10px;
    top: 10px;
    gap: 10px;
    z-index: 99;
}

.filter-container {
    position: relative;
}

.filter-wrapper {
    position: relative;
    display: inline-block;
}

.open-filters {
    padding: 10px;
    background: var(--rgba-35);
    border-radius: 8px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    color: var(--svg-color);
}

.open-filters img,
.open-filters svg {
    width: 20px;
    height: 20px;
}

.filter-buttons {
    position: absolute;
    top: -40px;
    left: 45px;
    background: var(--rgba-35);
    border-radius: 16px;
    box-shadow: var(--shadow-8-24-10);
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 200px;
    z-index: 99;
    overflow: hidden;
}

.filter-buttons.hidden {
    display: none;
}

.filter-buttons .filter-btn {
    all: unset;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 15px;
    color: var(--white);
}

.filter-buttons .filter-btn:hover {
    background-color: var(--rgba-38);
}

.filter-buttons .filter-btn.active {
    background-color: var(--rgba-38);
    font-weight: 500;
}

.filter-buttons .filter-btn.delete {
    color: var(--white);
}

.filter-buttons .filter-btn.delete:hover {
    background-color: var(--rgba-38);
}

.upload-btn {
    padding: 10px 18px;
    background-color: var(--button-blue-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.upload-btn:hover {
    background-color: var(--accent-hover);
}

.upload-text {
    font-family: var(--fontApple);
    margin-top: 10px;
    font-size: 17px;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

.original_view {
    z-index: 99;
    color: var(--white);
    top: 60px;
    left: 10px;
}

.original_view button {
    padding: 8px;
    border: none;
    outline: none;
    border-radius: 8px;
    background-color: var(--rgba-35);
    color: var(--white);
    cursor: pointer;
}

.original_view button svg,
.original_view button img {
    width: 25px;
    height: 25px;
}

.restove_view {
    z-index: 99;
    color: var(--white);
    top: 140px;
    left: 10px;
}

.restove_view button {
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 8px;
    background-color: var(--rgba-35);
    color: var(--white);
    cursor: pointer;
}

.restove_view button svg,
.restove_view button img {
    width: 20px;
    height: 20px;
}

.prev_button,
.next_button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: var(--white);
    z-index: 1;
    background-color: var(--rgba-35);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    border: none;
    cursor: pointer;
}

.prev_button svg,
.prev_button img,
.next_button svg,
.next_button img {
    width: 15px;
    height: 15px;
}

.prev_button {
    left: 5px;
}

.next_button {
    right: 5px;
}

.fileInputMore {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
}

.add-more-btn {
    padding: 11px;
    background-color: var(--rgba-35);
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
}

.add-more-btn svg,
.add-more-btn img {
    width: 18px;
    height: 18px;
}

.goNext,
.finishPost {
    outline: none;
    margin-left: auto;
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
    border: 0px;
    background-color: transparent;
    cursor: pointer;
    /* Prevent label from breaking into two lines (e.g., "Go Live") */
    white-space: nowrap;
}

.goNext.disabled {
    color: var(--text-gray);
    opacity: .5;
    cursor: not-allowed;
}

.goBack {
    outline: none;
    margin-left: 0px;
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
    border: 0px;
    background-color: transparent;
    cursor: pointer;
}

.crop-finish-and-post,
.finish_video_container {
    width: 100%;
    padding: 15px;
    gap: 25px;
}

.post-text {
    width: 100%;
    position: relative;
    padding: 10px 20px;
    font-weight: 400;
    font-size: 16px;
}

.ads-post-text {
    width: 100%;
    position: relative;
    font-weight: 400;
    font-size: 16px;
}

.create_text {
    border: 2px solid var(--border-subtle);
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    outline: none;
    resize: none;
    border-radius: 15px;
    padding: 15px;
    min-height: 125px;
}


/* Generic single-line text input for popups */

.text-field {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--border-subtle);
    padding: 12px 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    outline: none;
}

.text-field::placeholder {
    color: var(--text-gray);
}

.text-field:focus {
    border-color: #000;
}


/* Ensure live-create overrides base padding */

.create_media_box.live-create {
    padding: 28px 24px 56px !important;
}

.advanced_settings_box {
    gap: 15px;
}


/* Visibility pills row: wrap and center on small screens */

.advanced_settings_box .visibility-options {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 10px;
}

.post-settings-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-gray);
}

.advanced_settings_title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.advanced_sttings_switch {
    margin-left: auto;
}


/* Setting row: title left, switch right; stack and center switch on mobile */

.advanced_settings_box .setting-row {
    flex-wrap: wrap;
}


/* Prevent iOS Safari auto-zoom on form fields by ensuring >=16px font on small screens */

.advanced_settings_description {
    position: relative;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-gray);
}

.post-visiblity {
    border-radius: 30px;
    -webkit-border-radius: 30px;
    padding: 8px 12px;
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
    cursor: pointer;
}

.post-visiblity.active {
    background-color: var(--hover-bg-color);
}

.post-visiblity:hover {
    background-color: var(--hover-bg-color);
}

.svg_ {
    color: var(--text-dark);
}

.svg_ svg,
.svg_ img {
    width: 20px;
    height: 20px;
}

.post-price {
    font-weight: 600;
}

.set-price-popup {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--rgba-10);
    z-index: 99999;
}

.set-price-popup-container {
    width: 100%;
    max-width: 450px;
    background-color: var(--bg-elevated);
    border-radius: 15px;
    -webkit-border-radius: 15px;
}

.set-price-popup-title {
    width: 100%;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.set-price-container {
    padding: 15px;
}

.set-price-area {
    width: 100%;
}

.set-price {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--border-subtle);
    padding: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    padding-left: 35px;
    outline: none;
}

.set-price:focus {
    border: 2px solid var(--black);
    outline: none;
    box-shadow: none;
}

.price_svg {
    position: absolute;
    padding: 11px 0px 0px 10px;
    left: 0px;
    top: 0px;
    z-index: 1;
    color: var(--text-gray);
}

.price_svg svg,
.price_svg img {
    width: 20px;
    height: 20px;
}

.form-warning {
    font-weight: 600;
    color: var(--warning) !important;
}

.set-price-footer {
    padding: 8px 10px;
}

.set-price-clear {
    margin-left: 0px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    border-radius: 30px;
    -webkit-border-radius: 30px;
    box-shadow: var(--box-shadow);
    background-color: var(--cancel-button);
    cursor: pointer;
}

.set-price-done {
    padding: 8px 18px;
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    border-radius: 30px;
    -webkit-border-radius: 30px;
    box-shadow: var(--box-shadow);
    background-color: var(--button-blue-color);
    margin-left: auto;
    cursor: pointer;
}

.original_view:hover,
.add-more-btn:hover,
.restove_view:hover,
.open-filters:hover,
.goNext:hover,
.finishPost:hover,
.set-price-done:hover,
.set-price-clear:hover,
.close_pop:hover {
    opacity: 0.8;
}

.close_pop {
    top: 10px;
    right: 10px;
    z-index: 99;
    color: var(--blue);
    border: none;
}

.click_box_header .close_pop {
    position: static;
    margin-left: auto;
    background: transparent;
    padding: 0;
}

.close_pop svg,
.close_pop img {
    width: 18px;
    height: 18px;
}

.close_pop {
    outline: none;
    margin-left: auto;
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
    border: 0px;
    background-color: transparent;
    cursor: pointer;
    white-space: nowrap;
    padding-left: 10px !important;
}


/***************************************/


/*************MAIN CONTENT**************/


/***************************************/

.main-content {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    padding: 15px;
    box-sizing: border-box;
}

.content-area {
    width: 100%;
    height: 100%;
    min-width: 0;
}

.content-left {
    width: 100%;
    max-width: 70%;
    height: 100%;
}

.content-left-container {
    width: 100%;
    max-width: 700px;
    margin: 0px auto;
}


/* Mobile: remove outer padding for edge-to-edge look */


/* Responsive: hide sidebars and use off-canvas drawers on mobile */


/* Mobile overlay */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--rgba-53);
    z-index: 1995;
    display: none;
}

.mobile-overlay.show {
    display: block;
}

.post_ {
    border-radius: 15px;
    background-color: var(--bg-elevated);
    overflow: hidden;
}

.post_header {
    padding: 12px;
}

.post_owner_avatar {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.post-owner-data {
    flex: 1 1 auto;
    min-width: 0;
    gap: 3px;
}

.post-owner-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    column-gap: 5px;
}

.post-owner-name a {
    color: var(--text-dark);
    text-decoration: none;
}

.post-owner-name a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.post-owner-name-img {
    color: var(--verified-color);
}

.post-owner-name svg,
.post-owner-name img {
    width: 15px;
    height: 15px;
}

.post-share-time {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 400;
}

.walletTopup.icon_button {
    position: relative;
}

.walletTopup.icon_button svg,
.walletTopup.icon_button img {
    width: 20px;
    height: 20px;
}

.post-settings-btn-box {
    flex: 0 0 auto;
    min-width: 45px;
    margin-left: auto;
}

.post-settings-btn {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    transition: background 0.3s ease;
    cursor: pointer;
    color: var(--svg-color);
}

:root[data-theme="dark"] .post-settings-btn,
html.theme-dark .post-settings-btn,
body.theme-dark .post-settings-btn {
    background: var(--color-slate-900-a15);
    color: var(--svg-color);
}

.post-settings-btn svg,
.post-settings-btn img {
    width: 18px;
    height: 18px;
}

.post-settings-btn:hover {
    background-color: var(--hover-bg-color);
}

:root[data-theme="dark"] .post-settings-btn:hover,
html.theme-dark .post-settings-btn:hover,
body.theme-dark .post-settings-btn:hover {
    background-color: var(--color-slate-900-a35);
}


/* Post settings popup (sheet-style) */

.pm-message {
    padding: 15px;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

.post-menu-popup {
    position: fixed;
    inset: 0;
    background: var(--rgba-10);
    z-index: 2147482000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-sheet-container {
    width: 100%;
    max-width: 420px;
    padding: 12px;
}

.pm-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pm-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
}

.pm-item.is-danger {
    color: var(--danger);
}

.pm-item:hover {
    background: var(--hover-bg-color);
}

.pm-item.is-disabled,
.pm-item[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
}

.language-switch-wait {
    margin: 12px auto 0;
    padding: 10px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--hover-bg-color);
    border-radius: 12px;
}

.language-switch-wait[hidden] {
    display: none;
}

.pm-sep {
    height: 1px;
    background: var(--border-subtle);
}

.pm-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.pm-cancel:hover {
    background: var(--hover-bg-color);
}


/* Post & Comment report reasons popup (sheet-style) */

.post-report-popup,
.comment-report-popup {
    position: fixed;
    inset: 0;
    background: var(--rgba-10);
    z-index: 2147482001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-sheet-container,
.cr-sheet-container {
    width: 100%;
    max-width: 480px;
    padding: 12px;
}

.pr-sheet,
.cr-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pr-header,
.cr-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg-color);
}

.pr-title,
.cr-title {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
}

.pr-sub,
.cr-sub {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

.pr-list,
.cr-list {
    display: block;
    max-height: 56vh;
    overflow-y: auto;
}

.pr-item,
.cr-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
}

.pr-item:hover,
.cr-item:hover {
    background: var(--hover-bg-color);
}

.pr-sep,
.cr-sep {
    height: 1px;
    background: var(--border-subtle);
}

.pr-cancel,
.cr-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.pr-cancel:hover,
.cr-cancel:hover {
    background: var(--hover-bg-color);
}


/* Post visibility popup (owner) */

.post-visibility-popup {
    position: fixed;
    inset: 0;
    background: var(--rgba-10);
    z-index: 2147482001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-sheet-container {
    width: 100%;
    max-width: 480px;
    padding: 12px;
}

.pv-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pv-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg-color);
}

.pv-title {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
}

.pv-sub {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

.pv-list {
    display: block;
    max-height: 56vh;
    overflow-y: auto;
}

.pv-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
}

.pv-item:hover {
    background: var(--hover-bg-color);
}

.pv-item.is-active {
    background: var(--hover-bg-color);
}

.pv-sep {
    height: 1px;
    background: var(--border-subtle);
}

.pv-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.pv-cancel:hover {
    background: var(--hover-bg-color);
}


/* Premium price popup */

.post-price-popup {
    position: fixed;
    inset: 0;
    background: var(--rgba-10);
    z-index: 2147482002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-sheet-container {
    width: 100%;
    max-width: 420px;
    padding: 12px;
}

.pp-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pp-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg-color);
}

.pp-title {
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
}

.pp-sub {
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
    color: var(--text-gray);
}

.pp-body {
    padding: 14px 16px;
}

.pp-input {
    width: 100%;
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    outline: none;
    background: var(--input-bg);
    color: var(--text-primary);
}

.pp-input:focus {
    border-color: #000;
}

.pp-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-gray);
}

.pp-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.pp-save {
    background: var(--btn-dark);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.pp-save:hover {
    opacity: .92;
}

.pp-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.pp-cancel:hover {
    background: var(--hover-bg-color);
}


/* Edit post popup */

.post-edit-popup,
.comment-edit-popup {
    position: fixed;
    inset: 0;
    background: var(--rgba-10);
    z-index: 2147482002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-embed-popup {
    position: fixed;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--rgba-10);
    z-index: 2147482002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pe-sheet-container,
.ce-sheet-container,
.cd-sheet-container {
    width: 100%;
    max-width: 520px;
    padding: 12px;
}

.pe-sheet,
.ce-sheet,
.cd-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pe-header,
.ce-header,
.cd-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg-color);
}

.pe-title,
.ce-title,
.cd-title {
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
}

.pe-sub,
.ce-sub,
.cd-sub {
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
    color: var(--text-gray);
}

.pe-body,
.ce-body {
    padding: 14px 16px;
}

.pe-text,
.ce-text {
    width: 100%;
    min-height: 120px;
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    outline: none;
    resize: vertical;
    background: var(--input-bg);
    color: var(--text-primary);
}

.pe-text::placeholder,
.ce-text::placeholder {
    color: var(--text-gray);
}

.pe-text:focus,
.ce-text:focus {
    border-color: #000;
}

.pe-actions,
.ce-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    gap: 10px;
}

.pe-save,
.ce-save {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.pe-save:hover,
.ce-save:hover {
    background: var(--btn-primary-hover-bg);
}

.pe-cancel,
.ce-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.pe-cancel:hover,
.ce-cancel:hover {
    background: var(--hover-bg-color);
}


/* Embed popup specifics */

.post-embed-popup .peb-code {
    width: 100%;
    min-height: 110px;
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    color: var(--text-dark);
    background: var(--input-bg);
    outline: none;
    resize: vertical;
}

.post-embed-popup .peb-code:focus {
    border-color: #000;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
    outline: none;
}

.post-embed-popup .peb-copy {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.post-embed-popup .peb-copy:hover {
    background: var(--btn-primary-hover-bg);
}

.post-embed-popup .peb-copy.is-copied {
    background: var(--green);
}

.post-embed-popup .peb-copy.is-copied::before {
    content: '✓';
    display: inline-block;
    font-weight: 900;
    margin-right: 6px;
}


/* ====== EMBED PAGE (no inline CSS) ====== */

.embed-page {
    background: var(--dark);
    color: var(--white);
    min-height: 100vh;
    overflow: hidden;
}

.embed-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

.embed-frame {
    width: min(100vw, 420px);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    margin: 0;
}

.embed-card {
    width: 100%;
    max-width: 420px;
    background: var(--color-111);
    color: var(--color-f5f5f5);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-8-24-35);
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.embed-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 8px;
}

.embed-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid var(--white-08);
}

.embed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.embed-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.embed-uname {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embed-time {
    font-size: 12px;
    color: var(--color-bbb);
}

.embed-media {
    background: var(--dark);
    display: block;
    min-height: 0;
}

.embed-media img,
.embed-media video {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--dark);
    object-fit: contain;
}

.embed-body {
    display: none;
}

.embed-body a {
    color: var(--link-blue);
    text-decoration: none;
}

.embed-caption {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.embed-footer {
    padding: 8px 12px 12px;
    display: flex;
    justify-content: flex-end;
}

.embed-viewlink {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-weight: 800;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}

.embed-viewlink:hover {
    background: var(--btn-primary-hover-bg);
}

.embed-placeholder {
    max-width: 90%;
    text-align: center;
    color: var(--color-ddd);
    font: 500 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, Helvetica, sans-serif;
}

.embed-brand {
    margin-top: 8px;
    font-size: 12px;
    opacity: .7;
}

.embed-owner {
    opacity: .8;
    font-size: 12px;
    margin-top: 4px;
}


/* Delete confirm popup */

.post-delete-popup,
.comment-delete-popup {
    position: fixed;
    inset: 0;
    background: var(--rgba-10);
    z-index: 2147482003;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-sheet-container,
.cd-sheet-container {
    width: 100%;
    max-width: 420px;
    padding: 12px;
}

.pd-sheet,
.cd-sheet {
    background: var(--bg-elevated);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pd-header,
.cd-header {
    padding: 16px;
    border-bottom: 1px solid var(--bg-color);
    text-align: center;
}

.pd-title,
.cd-title {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
}

.pd-sub,
.cd-sub {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.pd-actions,
.cd-actions {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    justify-content: center;
}

.pd-actions .pd-confirm,
.cd-actions .cd-confirm {
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.pd-actions .pd-cancel,
.cd-actions .cd-cancel {
    background: var(--bg-elevated);
    color: var(--text-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.pd-actions .pd-confirm:hover,
.cd-actions .cd-confirm:hover {
    opacity: .92;
}

.pd-actions .pd-cancel:hover,
.cd-actions .cd-cancel:hover {
    background: var(--hover-bg-color);
}

.post-media-swiper {
    width: 100%;
    overflow: hidden;
}

.post-media-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rgba-2);
}

.post-media-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.post-media-swiper .swiper-pagination {
    bottom: 8px !important;
}

.post-media-swiper .swiper-pagination-bullet {
    opacity: 0.5;
}

.post-media-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}


/* Dear customer: These rules refine the look and click area of the nav buttons inside a post. */

.post-media-swiper .swiper-button-next,
.post-media-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rgba-35);
    backdrop-filter: blur(2px);
}

.post-media-swiper .swiper-button-next::after,
.post-media-swiper .swiper-button-prev::after {
    font-size: 16px;
    /* default is larger; feel free to adjust */
    color: var(--white);
}


/* Slight padding so buttons don’t stick to edges */

.post-media-swiper .swiper-button-prev {
    left: 8px;
}

.post-media-swiper .swiper-button-next {
    right: 8px;
}


/* Video container inside popup */

.set_video_container {
    width: 100%;
    background-color: var(--dark);
    min-height: 300px;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    /* Account for header and bottom spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.set_video_container .loading-container {
    border-radius: 0px;
    -webkit-border-radius: 0px;
}


/* Video stage */

.video-edit-stage {
    width: 100%;
    height: fit-content;
    max-width: 600px;
    /* Adjust to popup content */
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Video element */

.edit-video {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    background: var(----color-000);
    object-fit: contain;
    /* Prevent overflow; preserve aspect ratio */
}


/* Set video container acts as positioning context for absolute controls */

.set_video_container {
    position: relative;
    overflow: hidden;
    /* prevent overflow */
}


/* Controls bar pinned to bottom, full-width overlay */

.ve-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 12px 14px;
    box-sizing: border-box;
    background: linear-gradient( 180deg, var(--rgba-0) 0%, var(--rgba-55) 40%, var(--rgba-80) 100%);
    color: var(--color-fff);
}


/* Timeline strip */

.ve-timeline {
    user-select: none;
}

.ve-track {
    position: relative;
    height: 36px;
    background: var(--black);
    /* until frames load */
}

.ve-canvas {
    display: block;
    width: 100%;
    height: 100%;
}


/* Range visuals */

.ve-shade {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--rgba-35);
    pointer-events: none;
}

.ve-shade-left {
    left: 0;
    width: 0;
}

.ve-shade-right {
    right: 0;
    left: auto;
}

.ve-range-outline {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 10px;
    pointer-events: none;
}


/* Handles */

.ve-handle {
    position: absolute;
    top: 0;
    width: 10px;
    height: 100%;
    border-radius: 6px;
    cursor: ew-resize;
    background: var(--color-fff);
    border: 1px solid var(--color-111);
    box-shadow: 0 0 0 2px var(--rgba-8);
}

.ve-handle-start {
    left: 0;
}

.ve-handle-end {
    right: 0;
}


/* Ticks + fields */

.ve-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--white-85);
    margin-top: 6px;
}

.ve-fields {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.ve-label {
    font-size: 12px;
    color: var(--white-90);
    width: 100%;
}

.ve-fields input[type='number'] {
    width: 90px;
    padding: 6px 8px;
    border: 1px solid var(--white-25);
    background: var(--rgba-25);
    color: var(--color-fff);
    border-radius: 8px;
}

.ve-fields .ve-play-range {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--white-30);
    background: var(--rgba-35);
    color: var(--color-fff);
    cursor: pointer;
}

.ve-play-range svg {
    width: 18px;
    height: 18px;
}


/* Video fits the popup without overflow (earlier rule you added) */

.video-edit-stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: var(--color-000);
    border-radius: 6px;
}

.ve-start-number,
.ve-end-number {
    display: none;
}


/* Marker class to fully hide native video UI */

.no-native-controls::-webkit-media-controls-enclosure {
    display: none !important;
}

.no-native-controls::-webkit-media-controls {
    display: none !important;
}

.no-native-controls::-webkit-media-controls-panel {
    display: none !important;
}

.no-native-controls::-webkit-media-controls-play-button {
    display: none !important;
}

.no-native-controls::-webkit-media-controls-start-playback-button {
    display: none !important;
}


/* Mac/iOS Safari fallback for overlay z-index issues: */

.no-native-controls {
    -webkit-touch-callout: none;
}


/* ==== Toast Genel ==== */

.ve-toast {
    position: fixed;
    /* If inside popup, you can use absolute */
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    max-width: 90%;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 4px 12px var(--rgba-15);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}


/* While toast is closing */

.ve-toast.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
}


/* ==== Toast Renkleri ==== */

.ve-toast-error {
    background-color: var(--toast-error);
    color: var(--color-fff);
}

.ve-toast-success {
    background-color: var(--toast-success);
    color: var(--color-fff);
}

.ve-toast-info {
    background-color: var(--toast-info);
    color: var(--color-fff);
}


/* Toast content */

.ve-toast-body {
    word-break: break-word;
}

.ve-track,
.ve-handle {
    touch-action: none;
}


/* prevent page scroll during drag */

.ve-handle {
    position: absolute;
}

.ve-handle::before {
    content: '';
    position: absolute;
    top: -18px;
    bottom: -18px;
    left: -18px;
    right: -18px;
    /* invisible larger hit area */
}


/* Playhead line */

.ve-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-ffffff);
    border-radius: 1px;
    box-shadow: 0 0 0 2px var(--rgba-15);
    pointer-events: none;
}


/* Tick dots container (absolute dots under the track within a relative wrapper) */

.ve-tick-dots {
    position: relative;
    height: 10px;
    margin-top: 6px;
}

.ve-tick-dots .ve-dot {
    position: absolute;
    top: 0;
    width: 3px;
    height: 3px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--white-70);
}

.ve-playhead.is-hidden {
    opacity: 0;
}

.ve-playhead {
    transition: opacity 0.15s linear;
}

.post-footer-buttons {
    padding: 15px;
    column-gap: 8px;
}

.post-button-box {
    padding: 0px;
    column-gap: 5px;
}

.post-button-heart,
.post-button-comment,
.post-button-send,
.post-button-super-thanks {
    padding: 5px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    transition: background 0.3s ease;
}

.post-button-box:hover .post-button-heart,
.post-button-box:hover .post-button-comment,
.post-button-box:hover .post-button-send,
.post-button-box:hover .post-button-super-thanks {
    background-color: var(--hover-bg-color);
}

.p_like,
.p_comment,
.p_send,
.p_super_thanks,
.p_save,
.p_saved {
    color: var(--svg-color);
}

.p_super_thanks_live {
    color: var(--white);
}

.p_unlike {
    color: var(--post-like-color);
}

.p_like svg,
.p_unlike svg,
.p_comment svg,
.p_send svg,
.p_send img,
.p_super_thanks svg,
.p_save svg,
.p_saved svg,
.p_super_thanks img,
.p_comment img,
.p_unlike img,
.p_like img,
.p_save img,
.p_saved img,
.p_super_thanks_live svg,
.p_super_thanks_live img {
    width: 25px;
    height: 25px;
}

.total-like,
.total-comment,
.total-send {
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--fontApple);
    font-size: 13px;
}

.metric-label {
    padding-left: 3px;
}

.pm-header {
    font-weight: 600;
    font-size: 18px;
    padding: 10px;
    border-bottom: 1px solid var(--border-subtle);
}


/* Hide the text labels next to counts on small screens */

.post-button-box-super-thanks {
    padding: 0px 5px;
    padding-right: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.post-button-box-super-thanks:hover {
    background-color: var(--hover-bg-color);
}

.button-save {
    margin-left: auto;
}

.post-comments {
    padding: 0px 5px 0px 15px;
}

.post-comment {
    padding: 5px;
    margin-bottom: 10px;
}

.post-comment-owner-avatar {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    margin-right: 15px;
}

.post-comment-owner-avatar-container {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.post-comment-owner-avatar-container img {
    width: 100%;
    height: 100%;
}

.comment-container {
    font-size: 13px;
    color: var(--text-dark);
    font-family: var(--fontApple);
}

.comment-container a {
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
}

.comment-container a span {
    margin-left: 0px !important;
}

.comment-container a img,
.comment-container a svg {
    width: 13px;
    height: 13px;
}

.comment-data {
    margin-top: 5px;
    column-gap: 5px;
    row-gap: 6px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-actions {
    display: flex;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    flex-wrap: wrap;
}

.comment-data-box {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-gray);
    font-family: var(--fontApple);
    opacity: 0.7;
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.comment-data-box:focus {
    outline: none;
    opacity: 1;
}

.comment-data-box:disabled {
    pointer-events: none;
    opacity: 0.4;
}

.comment-time {
    font-weight: 300 !important;
}

.comment-like:hover,
.comment-reply:hover,
.comment-report:hover,
.comment-edit:hover,
.comment-delete:hover {
    color: var(--text-dark);
    opacity: 1;
}

.comment-report.is-reported {
    color: var(--accent, var(--button-blue-color));
    opacity: 1;
}

.comment-edited {
    font-size: 12px;
    color: var(--text-gray);
    opacity: 0.8;
}

.comment-edit-popup .ce-actions {
    justify-content: flex-end;
}

.c-like {
    padding: 8px;
    color: var(--svg-color);
}

.c-like svg,
.c-like img {
    width: 15px;
    height: 15px;
}

.make-comment {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 99;
    background-color: var(--rgba-53);
}

.make-comment-area {
    padding: 8px;
    margin-top: auto;
    background-color: var(--bg-elevated);
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


/* Comment textareas: disable manual resize + prepare for auto-grow */

.textarea textarea {
    width: 100%;
    box-sizing: border-box;
    resize: none;
    overflow-y: hidden;
    min-height: 90px;
    max-height: 200px;
    line-height: 1.4;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--fontApple);
}

.textarea textarea::placeholder {
    color: var(--text-gray);
}


/* Focus state for visual clarity */

.textarea textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: none;
}

.make-comment-emoji-list {
    margin-top: 8px;
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.make-comment-emoji-list .emoji {
    font-size: 30px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.make-comment-emoji-list .emoji:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
    background-color: var(--hover-bg-color);
}

.make-comment-emoji-list h3 {
    font-size: 14px;
    position: sticky;
    top: -15px;
    padding: 8px 0px;
    background-color: var(--bg-color);
}

.make-comment-btns {
    padding: 0px 0px;
}

.make-comment-emojis {
    padding: 5px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    color: var(--text-gray);
    background-color: var(--bg-color);
}

.make-comment-emojis svg,
.make-comment-emojis img {
    width: 21px;
    height: 21px;
}

.make-comment-emojis:hover {
    background-color: var(--hover-bg-color);
}

.make-send-comment {
    margin-left: auto;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    background-color: var(--bg-color);
}

.make-send-comment:hover {
    background-color: var(--hover-bg-color);
}

.make-send-comment svg,
.make-send-comment img {
    width: 12px;
    height: 12px;
    margin-left: 2px;
}

.make-comment-area-top-arrow {
    padding: 0px 0px 5px 0px;
}

.top-arrow {
    max-width: 80px;
    height: 5px;
    background-color: var(--black);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    margin: 0px auto;
}

.content-right {
    width: 100%;
    max-width: 30%;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 100%;
}
.content-right.flex.align_items {
    align-items: stretch;
}

.post-media-single {
    width: 100%;
}

.post-media-single img {
    width: 100%;
    padding: 0px;
    margin: 0px;
    display: inline-block;
}

.visibility-warning {
    min-height: 300px;
}

.unlock-icon {
    /* Keep a stable box so text below doesn't jump */
    width: 90px;
    height: 90px;
    margin: 20px auto;
    /* vertical spacing without affecting inner stacking */
    color: var(--svg-color);
    position: relative;
}

.unlock-icon img,
.unlock-icon svg {
    width: 90px;
    height: 90px;
    display: block;
}


/* Stack both states on top of each other and fade between them */

.unlock-icon .locked,
.unlock-icon .unlock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .15s ease;
}

.unlock-icon .unlock {
    opacity: 0;
}


/* Post view: change only opacity, not layout */

.visibility-warning:hover .unlock-icon .locked {
    opacity: 0;
}

.visibility-warning:hover .unlock-icon .unlock {
    opacity: 1;
}


/* Grid tile overlay: button/overlay hover swaps opacity (no reflow) */

.tile-overlay--interactive:hover .unlock-icon .locked {
    opacity: 0;
}

.tile-overlay--interactive:hover .unlock-icon .unlock {
    opacity: 1;
}

.tile-overlay--interactive:has(.unlock-price:hover) .unlock-icon .locked {
    opacity: 0;
}

.tile-overlay--interactive:has(.unlock-price:hover) .unlock-icon .unlock {
    opacity: 1;
}

.post-media-video {
    position: relative;
}

.post-media-video video {
    width: 100%;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 9 / 16;
    /* Keep aspect ratio in modern browsers */
    max-height: 80vh;
    /* Limit height to 80% of viewport */
    overflow: hidden;
    position: relative;
    background: var(--dark);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill while preserving aspect ratio (may crop) */
    display: block;
}


/* Play Icon shown when video is paused */

.video-wrapper.is-paused::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: url('icons/play.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 1;
}


/* Pause Icon shown when video is playing (optional) */

.video-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: url('icons/pause.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-wrapper.is-paused::after {
    opacity: 1;
}

.video-sound-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background-color: var(--rgba-62);
    background-image: url('../css/icons/sound-off.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px 16px;
    z-index: 10;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 5px;
    border-radius: 50%;
    box-sizing: content-box;
    opacity: 0.8;
}

.video-sound-toggle.sound-on {
    background-image: url('../css/icons/sound-on.svg');
}

.video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: var(--range-color-3);
    transition: width 0.25s linear;
    z-index: 4;
}

.video-time-label {
    position: absolute;
    bottom: 6px;
    left: 10px;
    font-size: 12px;
    color: var(--white);
    background: var(--rgba-10);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: sans-serif;
    z-index: 5;
}


/***************************/


/*******POST LIKE***********/


/***************************/


/* ===================== LIKE HEART FX (SVG) ===================== */

.like-fx-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 3;
}


/* Overlay covering the whole post; centers heart */

.like-heart-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(0);
}

.like-heart-wrap.run {
    animation: heartFloat 1000ms ease-in forwards;
}


/* Fixed box for the heart to avoid clipping */

.like-heart-box {
    width: 130px;
    height: 130px;
}


/* Fit SVG to box (override inline width/height) */

.like-heart-svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    transform: translateX(0);
    overflow: visible;
    /* <-- kesilmeyi engeller */
    will-change: transform, opacity;
}

.like-heart-sway {
    will-change: transform;
}


/* sway driven by JS */


/* Random tilt applied here (configured via JS var) */

.like-heart-tilt {
    transform-origin: 50% 60%;
    transform: rotate(var(--tilt, 0deg));
}


/* Bounce core */

.like-heart-core {
    transform-origin: 50% 60%;
    transform: scale(0.3) rotate(-2deg);
}

.like-heart-core.run {
    animation: heartBounce 480ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes heartBounce {
    0% {
        opacity: 0.9;
        transform: scale(0.3) rotate(-2deg);
    }
    40% {
        transform: scale(1.08) rotate(0deg);
    }
    65% {
        transform: scale(0.95) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes heartFloat {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-260px);
    }
    /* longer flight */
}

@keyframes heartSway {
    0% {
        transform: translateX(0);
    }
    16.6% {
        transform: translateX(12px);
        animation-timing-function: ease-in-out;
    }
    33.3% {
        transform: translateX(0);
        animation-timing-function: ease-in-out;
    }
    50% {
        transform: translateX(-12px);
        animation-timing-function: ease-in-out;
    }
    66.6% {
        transform: translateX(0);
        animation-timing-function: ease-in-out;
    }
    83.3% {
        transform: translateX(10px);
        animation-timing-function: ease-in-out;
    }
    100% {
        transform: translateX(0);
    }
}


/* Like button icons toggle */

.p_like .icon-liked {
    display: none;
}

.p_like .icon-unliked {
    display: inline-flex;
}

.p_like.is-liked .icon-liked {
    display: inline-flex;
    color: var(--post-like-color);
}

.p_like.is-liked .icon-unliked {
    display: none;
}


/* Toast positioning container */

.dz-toast-container {
    position: fixed;
    right: 16px;
    top: 16px;
    z-index: 2147483000;
    /* above modals */
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    /* allow clicks through gaps */
}


/* Toast base */

.dz-toast {
    min-width: 160px;
    max-width: 360px;
    background: var(--toast-bg);
    color: var(--white);
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: var(--toast-shadow);
    font-size: 13px;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: auto;
    /* allow hover/copy if needed */
}


/* Enter/leave state */

.dz-toast.is-shown {
    opacity: 1;
    transform: translateY(0);
}


/* Variants */

.dz-toast.is-success {
    background: var(--toast-bg-success);
}

.dz-toast.is-error {
    background: var(--toast-bg-error);
}

.dz-toast.is-info {
    background: var(--toast-bg-info);
}


/* Tips inline tooltip (single area inside tips modal) */

.tips-alert,
.wallet-topup-alert {
    display: none;
    margin: 10px 16px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.tips-alert svg,
.tips-alert img,
.wallet-topup-alert svg,
.wallet-topup-alert img {
    width: 18px;
    height: 18px;
}

.tips-alert a,
.wallet-topup-alert a {
    font-weight: 500;
    color: var(--link-color);
}

.tips-alert.is-open,
.wallet-topup-alert.is-open {
    display: block;
}

.tips-alert.is-shown,
.wallet-topup-alert.is-shown {
    display: block;
}

.tips-alert.is-error,
.wallet-topup-alert.is-error {
    background: var(--alert-error-bg);
    color: var(--alert-error-text);
    border: 1px solid var(--alert-error-border);
}

.tips-alert.is-success,
.wallet-topup-alert.is-success {
    background: var(--alert-success-bg);
    color: var(--alert-success-text);
    border: 1px solid var(--alert-success-border);
}

.tips-alert.is-info,
.wallet-topup-alert.is-info {
    background: var(--alert-info-bg);
    color: var(--alert-info-text);
    border: 1px solid var(--alert-info-border);
}


/* Live ended modal */

.live-ended-overlay {
    position: fixed;
    inset: 0;
    background: var(--rgba-45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147482000;
}

.live-ended-modal {
    width: 90%;
    max-width: 420px;
    background: var(--bg-elevated);
    border-radius: 14px;
    box-shadow: var(--shadow-20-40-25);
    padding: 20px;
    text-align: center;
}

.live-ended-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.live-ended-desc {
    color: var(--text-gray);
    margin-bottom: 14px;
}

.live-ended-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-ended-actions .btn-go {
    background: var(--btn-dark);
    color: var(--white);
    border: 0;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.live-ended-actions .btn-go:hover {
    opacity: .92;
}

.show-other-comments {
    padding: 10px;
    background-color: var(--hover-bg-color);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    margin-bottom: 10px;
}

.show-other-comments:hover {
    color: var(--white);
    background-color: var(--black);
}

.show-other-comments a {
    color: var(--text-dark);
}

.show-other-comments:hover a {
    color: var(--white);
}

.transition_background_color {
    -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
    -moz-transition: background-color 0.3s ease, -moz-transform 0.3s ease;
    -ms-transition: background-color 0.3s ease, -ms-transform 0.3s ease;
    -o-transition: background-color 0.3s ease, -o-transform 0.3s ease;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.c-like .icon-liked {
    display: none;
}

.c-like .icon-unliked {
    display: inline-flex;
}

.c-like.is-liked .icon-liked {
    display: inline-flex;
    color: var(--post-like-color);
}

.c-like.is-liked .icon-unliked {
    display: none;
}

.book_post.p_save .icon-saved {
    display: none;
}

.book_post.p_saved .icon-save {
    display: none;
}

.book_post .icon-save,
.book_post .icon-saved {
    pointer-events: none;
}


/*********************************/


/*********CONTENT RIGHT***********/


/*********************************/

.content-right-container {
    width: 100%;
    min-height: 1px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    display: flex;
    flex-direction: column;
}


/*********************************/


/*********EXPLORE PAGE ***********/


/*********************************/

#explore-sentinel.io-sentinel {
    display: block;
    width: 100%;
    height: 1px;
    /* avoid 0px */
}

.explore-grid {
    display: grid;
    gap: 0.1rem;
}

.explore-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 0.1rem;
}

.explore-block.is-right {
    grid-template-areas: 'a b V' 'c d V';
}

.explore-block.is-left {
    grid-template-areas: 'V a b' 'V c d';
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.tile--square {
    aspect-ratio: 1 / 1;
}

.tile--tall {
    grid-row: span 2;
}

.area-a {
    grid-area: a;
}

.area-b {
    grid-area: b;
}

.area-c {
    grid-area: c;
}

.area-d {
    grid-area: d;
}

.area-V {
    grid-area: V;
}

.tile img,
.tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.explore-area {
    width: 100%;
}

.explore-left {
    width: 100%;
    height: 100%;
}

.explore-left-container {
    width: 100%;
    max-width: 967px;
    margin: 0px auto;
}

.tile--ghost {
    visibility: hidden;
}

.tile {
    position: relative;
}

.tile-meta {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 12px;
    background: var(--rgba-62);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 6px;
    pointer-events: none;
}

.tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tile {
    position: relative;
}

.tile-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    color: var(--white);
}

.tile-badge svg {
    width: 25px;
    height: 25px;
}

.tile-badge svg {
    display: block;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: var(--rgba-35);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.tile:hover .tile-overlay {
    opacity: 1;
}


/* Make lock/CTA overlays clickable and always visible */

.tile-overlay--interactive {
    opacity: 1 !important;
    pointer-events: auto;
    z-index: 3;
    flex-direction: column;
}

.tile-overlay--interactive .unlock-price {
    margin-top: 8px;
}

.metric {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--white);
}

.metric-value {
    line-height: 1;
}

.metric-icon {
    color: var(--white);
}

.metric-icon svg {
    width: 25px;
    height: 25px;
}

.tile .loading-container {
    background-color: var(--rgba-35);
}

.full-post-container {
    position: fixed;
    inset: 0;
    background-color: var(--rgba-10);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-post-wrapper {
    padding: 10px;
    max-width: 700px;
    width: min(700px, 100vw);
    max-height: 100dvh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: block;
}

.full-post-wrapper>* {
    max-width: 100%;
}

.nav-buttons {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
    pointer-events: auto;
}

.post-nav {
    appearance: none;
    border: none;
    background: var(--bg-3, var(--rgba-35));
    color: var(--text-on-3, var(--white));
    border-radius: 50%;
    -webkit-border-radius: 50%;
    padding: 12px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.post-nav:hover {
    opacity: 0.9;
}

.post-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.post-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1001;
    color: var(--white);
    background-color: var(--rgba-10);
    padding: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    cursor: pointer;
}

.post-close:hover {
    background-color: var(--rgba-35);
}

.post-close svg,
.post-close img {
    width: 18px;
    height: 18px;
}

.full-post-inner {
    position: relative;
    overscroll-behavior: contain;
}


/* Safari-specific scroll lock removed */


/* Removed hard freeze classes to keep interactions responsive on desktop */

.full-post-inner .loading-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Removed container freeze */

.icon-arrow-down,
.icon-arrow-up {
    color: var(--white);
}

.icon-arrow-down svg,
.icon-arrow-down img,
.icon-arrow-up svg,
.icon-arrow-up img {
    width: 18px;
    height: 18px;
}


/* Removed global body scroll lock */


/* Removed sidebar scroll freeze */


/*********************************/


/********** REELS PAGE ***********/


/*********************************/

.reels_container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    width: 100%;
    max-width: 935px;
    margin: 0 auto;
    border-radius: 12px;
    -webkit-border-radius: 12px;
}


/* Reels page: 4 → 3 (tablet) → 2 (mobile) */

.reels_container>.empty-state {
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    text-align: center;
    padding: 80px 0;
}

.reels_post_wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* square tiles */
    overflow: hidden;
}

.reels_post_wrapper_reels {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reels_post_wrapper .post-media,
.reels_post_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop center to square */
    object-position: center center;
    display: block;
}

.reels_post_wrapper_reels .post-media,
.reels_post_wrapper_reels img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop center to square */
    object-position: center center;
    display: block;
}


/* Fallback for browsers without aspect-ratio support */

@supports not (aspect-ratio: 1 / 1) {
    .reels_post_wrapper {
        height: 0;
        padding-top: 100%;
    }
    .reels_post_wrapper .post-media,
    .reels_post_wrapper img {
        position: absolute;
        inset: 0;
    }
}


/*********************************/


/********** LIVES PAGE ***********/


/*********************************/

.lives-page {
    width: 100%;
    gap: 24px;
}

.lives-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.lives-grid>.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 72px 0;
}

.live-card {
    display: flex;
    flex-direction: column;
    background: var(--surface, var(--white));
    border-radius: 20px;
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08));
    box-shadow: 0 18px 38px var(--rgba-37);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    min-height: 100%;
}

.live-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 44px rgba(15, 23, 42, 0.22);
}

.live-card__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-222);
}

.live-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.live-card__cover--fallback {
    background: linear-gradient(135deg, var(--button-blue-color), var(--color-4f86f7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-card__cover-icon svg {
    width: 56px;
    height: 56px;
    color: var(--white);
    opacity: 0.9;
}

.badge-live {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--button-blue-color), var(--color-4f86f7));
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.badge-live__icon svg {
    width: 16px;
    height: 16px;
}

.badge-live__label {
    display: inline-block;
}

.live-card__body {
    display: flex;
    gap: 16px;
    padding: 20px 20px 0;
    align-items: center;
}

.live-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--surface, var(--white));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.live-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--primary-text, var(--text-dark, #111));
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.live-card__owner {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted, #6b7280);
    text-decoration: none;
}

.live-card__owner:hover {
    color: var(--link-color);
}

.live-card__footer {
    margin-top: auto;
    padding: 20px;
}

.live-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--accent, var(--button-blue-color));
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 149, 246, 0.28);
}

.live-card__cta:hover {
    background: var(--accent-hover, var(--button-blue-hover-color, #2563eb));
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 149, 246, 0.32);
}

.live-card__cta:focus-visible {
    outline: 2px solid var(--accent, var(--button-blue-color));
    outline-offset: 3px;
}

.reels_post_wrapper:hover .tile-overlay {
    opacity: 1;
}

.reels_post_wrapper:hover .tile-total-view {
    display: none;
}

.reels_post_wrapper:hover .multi-image-indicator {
    display: none;
}

.main-content {
    height: max-content;
}

.tile-total-view {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
    gap: 5px;
}

.view-svg {
    color: var(--white);
}

.view-svg svg,
.view-svg img {
    width: 16px;
    height: 16px;
}

.view-total {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.multi-image-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    color: var(--white);
}

.multi-image-indicator svg,
.multi-image-indicator img {
    width: 16px;
    height: 16px;
}


/************************************/


/********** CREATORS PAGE ***********/


/************************************/

.creators-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: 100%;
}

.creator-wrapper {
    padding: 10px;
    min-height: 400px;
}

.creator-avatar-container {
    z-index: 1;
}

.creator-avatar {
    width: 80px;
    height: 80px;
    margin: 0px auto;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    overflow: hidden;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
}

.creator-info-wrapper {
    width: 100%;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    margin-top: -40px;
    padding-top: 55px;
    background-color: var(--bg-elevated);
    gap: 3px;
    font-family: var(--fontApple);
}


/* Tighter cards on tablet/mobile: smaller avatar and adjusted header spacing */

.creator-name-username {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.creator-username {
    font-weight: 400;
    font-size: 13px;
    color: var(--grey-on-black);
}

.creators-bio {
    font-size: 14px;
    color: var(--secondary-text);
    text-align: center;
    padding: 8px 0px;
}

.creator-post-following-followers {
    padding: 8px 0px;
    gap: 4px;
}

.creator-pff-wrapper {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    gap: 4px;
}

.creator-pff-wrapper>div {
    text-align: center;
}

.ppf-count {
    font-weight: 400;
}


/* --- Latest 3 posts: always perfect squares --- */

.creator-las-three-post {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}


/* Each cell becomes a square box */

.creator-latest-post {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--rgba-10);
}


/* Image fills and crops to cover, preserving center focus */

.creator-latest-post img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@supports not (aspect-ratio: 1 / 1) {
    .creator-latest-post {
        position: relative;
    }
    .creator-latest-post::before {
        content: '';
        display: block;
        padding-top: 100%;
    }
    .creator-latest-post img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.creator-follow-btn-wrapper {
    padding: 8px 8px;
    gap: 8px;
}

.follow_user {
    width: 100%;
    background-color: var(--button-blue-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.message_user {
    width: 100%;
    background-color: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.follow_user:hover {
    background-color: var(--accent-hover);
}

.message_user:hover {
    background-color: var(--cancel-button);
}

.follow_me,
.message_me {
    color: var(--white);
    margin-right: 5px;
}

.message_me svg,
.message_me img {
    width: 20px;
    height: 20px;
}

.creator-follow-btn-wrapper svg,
.creator-follow-btn-wrapper img {
    width: 18px;
    height: 18px;
}

.follow_user.is-following {
    background-color: var(--black);
    opacity: 0.9;
}

.follow_user[data-loading='1'] {
    pointer-events: none;
    opacity: 0.6;
}

.creator-latest-post--placeholder {
    position: relative;
    background-color: var(--input-bg);
    border: 1px dashed var(--rgba-30);
}

.creator-latest-post--placeholder .creator-latest-post__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--secondary-text);
    opacity: 0.6;
}

.creator-latest-post--placeholder:hover {
    filter: brightness(1.01);
}

.creator-wrapper:hover .creator-info-wrapper {
    transform: scale(1.04);
    box-shadow: var(--rgba-62);
}

#creators-loading {
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: var(--secondary-text);
}

.none {
    display: none !important;
}

.no-post-shared-yet {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
    background-color: var(--white-60);
}

.no-post-icon {
    color: var(--grey-light-text);
}

.no-post-icon svg,
.no-post-icon img {
    width: 40px;
    height: 40px;
}

.no-post-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
}


/************************************/


/********** MESSAGES BOX ***********/


/************************************/

.messages_box_wrapper {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 99;
    transition: opacity 160ms ease;
}

@supports (bottom: calc(10px + env(safe-area-inset-bottom))) {
    .messages_box_wrapper {
        bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

html.media-viewer--locked .messages_box_wrapper,
body.media-viewer--locked .messages_box_wrapper {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
}

.messages_box_wrapper--viewer-lock {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
}

.messages_box_container {
    min-width: 200px;
    padding: 8px 15px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    background-color: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.messages_box_container:hover {
    background-color: var(--hover-bg-color);
}

.messages_icon {
    color: var(--svg-color);
}

.messages_icon svg,
.messages_icon img {
    width: 21px;
    height: 21px;
}

.message_title {
    font-weight: 600;
    font-size: 17px;
    color: var(--text-dark);
    font-family: var(--fontApple);
}


/* Recent DM avatars in floating Messages bubble */

.messages_icon_title_latest_chat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.messages_icon_title_latest_chat.full-width {
    width: 100%;
}

.latest_chat_avatars {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
}

.latest_chat_avatars .avatar_ring {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
    background: var(--white);
    box-shadow: var(--shadow-2-6-08);
    cursor: pointer;
    position: relative;
    transition: transform .12s ease, box-shadow .12s ease;
}

.latest_chat_avatars .avatar_ring+.avatar_ring {
    margin-left: -8px;
}

.latest_chat_avatars .avatar_ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest_chat_avatars .avatar_ring:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-4-10-12);
}


/* On live page, move floating messages widget away from live chat panel */

body.is-live-page .messages_box_wrapper {
    right: calc(360px + 16px);
    right: calc(min(360px, 100vw - 20px) + 16px);
    left: auto;
}


/* Dim and disable DM widget when user is interacting with live chat */

body.is-live-page.live-chat-focus .messages_box_wrapper {
    opacity: .15;
    pointer-events: none;
    transition: opacity 120ms ease;
}

.current_message_box {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 360px;
    width: min(360px, calc(100vw - 20px));
    background-color: var(--bg-elevated);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    box-shadow: var(--shadow-soft);
    height: 521px;
    max-height: 521px;
    height: min(521px, calc(100vh - 20px));
    max-height: calc(100vh - 20px);
    min-height: 320px;
    min-height: min(320px, calc(100vh - 20px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 720px) {
    .messages_box_wrapper {
        right: 0;
        left: 0;
        width: 100%;
    }

    .current_message_box {
        position: fixed;
        inset: 0;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        -webkit-border-radius: 0;
        z-index: 100;
    }
}

.chat_list_box {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat_list_header {
    padding: 12px 15px;
}

@supports (padding-top: env(safe-area-inset-top)) {
    .chat_list_header {
        padding-top: calc(12px + env(safe-area-inset-top));
    }
}

.chat_list_text {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.back-prev {
    margin-left: auto;
    color: var(--svg-color);
    cursor: pointer;
}

.back-prev svg,
.back-prev img {
    width: 20px;
    height: 20px;
}

.chat_list_container {
    height: 100%;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

.chat-result-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    transition: background 0.2s ease;
    cursor: pointer;
    width: 100%;
    /* ensure item doesn't exceed container */
    min-width: 0;
    /* allow children to shrink */
    max-width: 100%;
}

.chat-result-item:hover {
    background: var(--bg-light);
}

.chat-result-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.chat-result-avatar img {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
}

.chat-result-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    /* take remaining space */
    min-width: 0;
    /* KEY: enables ellipsis inside */
}

.chat-result-username {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    display: flex;
    align-items: center;
}

.chat-result-fullname {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 2px;
}

.chat-result-fullname-message {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 400;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 2px;
    min-width: 0;
    /* allow line to shrink within flex */
}

.chat-result-fullname-message .last-text {
    flex: 1 1 auto;
    min-width: 0;
    /* enables ellipsis inside flex */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* show … when text is long */
}

.chat-result-fullname-message .last-time {
    flex: 0 0 auto;
    /* do not shrink the time */
    white-space: nowrap;
    margin-left: 6px;
}

.chat-result-fullname-message .last-text span svg,
.chat-result-fullname-message .last-text span img {
    width: 18px;
    height: 18px;
}

.icon svg,
.icon img {
    width: 18px;
    height: 18px;
}

.back-prev-chat {
    color: var(--svg-color);
    cursor: pointer;
}

.back-prev-chat svg,
.back-prev-chat img {
    width: 20px;
    height: 20px;
}

.chat_current_user .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.chat_current_user .username {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}


/*=========================================
  CHAT
=========================================*/


/* Conversations container spacing */

.conversations {
    width: 100%;
    padding: 12px 14px 20px;
    /* composer padding */
    gap: 10px;
}


/* One message line */

.chat_message_row {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}


/* Side alignment */

.chat_message_row.incoming {
    justify-content: flex-start;
}

.chat_message_row.outgoing {
    justify-content: flex-end;
}


/* Avatar only for incoming (like Instagram DM) */

.chat_avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 28px;
}

.chat_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Bubble */

.chat_bubble {
    max-width: min(78%, 560px);
    padding: 10px 12px;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.35;
    word-break: break-word;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 1px 2px var(--rgba-11);
}


/* Incoming (light) */

.chat_bubble.incoming {
    background: var(--bg-base, var(--bg-color));
    color: var(--text-dark);
    border-top-left-radius: 6px;
    /* IG stile */
}


/* Outgoing (blue) */

.chat_bubble.outgoing {
    background: var(--button-blue-color);
    color: var(--white);
    border-top-right-radius: 6px;
}


/* Grouping: same side follows -> tighter radii & spacing */

.chat_message_row.compact .chat_bubble {
    margin-top: -2px;
}

.chat_message_row.compact .chat_bubble.incoming {
    border-top-left-radius: 18px;
}

.chat_message_row.compact .chat_bubble.outgoing {
    border-top-right-radius: 18px;
}


/* Emoji-only enlargement (optional helper) */

.chat_bubble.emoji_only {
    font-size: 28px;
    line-height: 1.05;
    padding: 8px 10px;
}

.chat_bubble img,
.chat_bubble video {
    width: 100%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}


/* Shared post (DM) card */

.chat-share-card {
    display: block;
    width: 180px;
    text-decoration: none;
    color: inherit;
}

.chat-share-card .csp-thumb {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--hover-bg-color);
    aspect-ratio: 1 / 1;
    min-height: 160px;
}

.chat-share-card .csp-thumb img,
.chat-share-card .csp-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-share-card .csp-video {
    position: relative;
}

.chat-share-card .csp-play {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--rgba-35);
    color: var(--white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.chat-share-card .csp-meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dark);
}

.chat-share-card .csp-user {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.chat-share-card .csp-type {
    opacity: .7;
}

.chat-share-loading {
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text-dark);
    opacity: .7;
}

.chat-share-skeleton {
    width: 180px;
    height: 120px;
    background: var(--hover-bg-color);
    border-radius: 12px;
}


/* Share popup */

.share-popup {
    width: min(548px, 90vw);
    background: var(--bg-elevated);
    border-radius: 22px;
    box-shadow: var(--shadow-20-40-25);
    padding: 12px 16px 14px;
    position: relative;
}

.share-close {
    position: absolute;
    right: 8px;
    top: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--svg-color);
}

.share-close svg,
.share-close img {
    width: 20px;
    height: 20px;
}

.share-header {
    padding: 6px 4px 10px;
    text-align: center;
    font-weight: 700;
}

.share-search {
    padding: 8px 0 4px;
}

.share-search-input {
    /* Match header .search_input style */
    outline: none;
    width: 100%;
    border-radius: 15px;
    font-size: 14px;
    font-family: var(--fontApple);
    color: var(--primary-text) !important;
    background-color: var(--bg-color);
    border: none;
    padding: 10px;
}

.share-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 10px 4px 6px;
    max-height: 360px;
    overflow: auto;
}

.share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 10px;
    position: relative;
    user-select: none;
}

.share-item:hover {
    background: var(--hover-bg-color);
}

.share-item.is-selected {
    background: var(--hover-bg-color);
}

.share-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: visible;
    box-shadow: 0 1px 2px var(--rgba-11);
    position: relative;
}

.share-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.share-name {
    max-width: 120px;
    font-size: 13px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-check {
    position: absolute;
    bottom: 2px;
    /* pull a bit outside the avatar */
    right: -3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--bg-elevated);
    /* crisp white ring over card bg */
    background: var(--button-blue-color);
    box-shadow: 0 2px 6px var(--rgba-12);
    opacity: 0;
    transform: scale(.92);
    transition: transform .15s ease, opacity .15s ease;
    z-index: 2;
    /* ensure above avatar */
    pointer-events: none;
    /* purely decorative */
}

.share-item.is-selected .share-check {
    opacity: 1;
    transform: scale(1);
}

.share-item.is-selected .share-check:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: 2px solid var(--white);
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

.share-empty {
    padding: 120px 0px;
    font-weight: 600;
    font-size: 18px;
}

.share-compose {
    padding: 8px 0 0;
    position: sticky;
    bottom: 64px;
    background: var(--bg-elevated);
    z-index: 2;
    border-top: 1px solid var(--border-color);
}

.share-message-input {
    /* Base on .create_text */
    width: 100%;
    min-height: 56px;
    border: 2px solid var(--border-subtle);
    background: var(--input-bg);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    border-radius: 15px;
    padding: 15px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.share-message-input::placeholder {
    color: var(--text-gray);
}

.share-message-input:focus {
    border-color: var(--button-blue-color);
    box-shadow: 0 0 0 3px var(--button-blue-a15);
    background: var(--white);
}

.share-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
    position: sticky;
    bottom: 0;
    background: var(--bg-elevated);
    padding-bottom: 8px;
}

.share-send-btn {
    width: 100%;
    background: var(--button-blue-color);
    color: var(--white);
    border: 0;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 6px 16px var(--button-blue-a25);
}

.share-send-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.share-copy-link {
    display: none;
}

.share-popup {
    backdrop-filter: saturate(1.2);
}

@media (max-width: 560px) {
    .share-list {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Outgoing message status ticks */

.chat_status {
    font-size: 11px;
    opacity: .85;
    display: flex;
    justify-content: flex-end;
}

.chat_bubble.outgoing .chat_status {
    color: var(--white-90);
}

.chat_status.blue {
    color: var(--color-4ea3ff);
}

.chat_status .tick_icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-left: auto;
}


/* Ensure inline SVGs scale to the wrapper size */

.chat_status .tick_icon svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* Centered meta time between groups */

.chat_meta {
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: var(--text-gray);
    margin: 8px 0 2px;
}


/* Per-message tiny time (optional) */

.chat_time {
    font-size: 11px;
    opacity: 0.65;
    margin-top: 4px;
}


/* Smooth scroll like other panels */

.chat_list_container.sidebar_scroll {
    overscroll-behavior: contain;
}


/* Ensure chat list can scroll */

.chat_list_container {
    height: 100%;
}

.chat_list_wrapper.conversations {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}


/* Spacer to align right side when no avatar */

.chat_spacer {
    flex: 0 0 28px;
    height: 28px;
}


/* Inline image inside bubble */

.chat_bubble img.inline-image {
    max-width: 100%;
    border-radius: 12px;
    display: block;
}

.chat_avatar_empty_message {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 58px;
}

.chat_avatar_empty_message img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Header username truncation safety */

.chat_current_user .username {
    max-width: 42vw;
}

.chat_input_area,
.chat_input_area_wrapper {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-elevated);
    margin-top: auto;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .chat_input_area,
    .chat_input_area_wrapper {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

.chat_textarea {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 14px;
    background: var(--input-bg);
    margin: 0 8px;
}

.chat_input_icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.chat_input_icon svg,
.chat_input_icon img {
    width: 20px;
    height: 20px;
}

.tick_icon img,
.tick_icon svg {
    width: 20px;
    height: 20px;
}

.most_popular_post_in_a_day {
    border-radius: 15px;
    -webkit-border-radius: 15px;
}

.most_popular_post_header {
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    text-align: left;
}

.create_ads_btns {
    padding: 10px;
}

.notice.small {
    font-weight: 400;
    font-size: 12px;
}

.create_ads {
    padding: 10px 12px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    background-color: var(--black);
    color: var(--white);
    gap: 12px;
    font-weight: 500;
    font-size: 14px;
}

.create_ads img,
.create_ads svg {
    width: 20px;
    height: 20px;
}

.ads-edit-form {
    padding: 20px;
}

.ads-edit-label {
    padding: 10px 0px;
    font-weight: 600;
    font-size: 18px;
}


/* ===========================
    TIPS – Send a tip modal
============================== */


/* Root overlay */

.tips-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    display: none;
    /* toggle with .is-open */
    align-items: center;
    justify-content: center;
    background: var(--rgba-10);
    -webkit-overflow-scrolling: touch;
}

.tips-overlay.is-open {
    display: flex;
}


/* Modal panel */

.tips {
    width: min(560px, 92vw);
    background: var(--bg-elevated);
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--rgba-10);
    padding: 18px 18px 16px;
    position: relative;
    font-family: var(--fontApple);
}


/* Close button (top-right “x”) */

.tips-close {
    position: absolute;
    width: 32px;
    height: 32px;
    padding: 0;
    top: 6px;
    right: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--svg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.tips-close:hover {
    background: var(--hover-bg-color);
    transform: scale(1.04);
}

.tips-close img,
.tips-close svg {
    width: 18px;
    height: 18px;
}

.tips-close span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    font-size: 20px;
}

.tips-close.close_pop {
    padding-left: 0 !important;
}


/* Header title */

.tips-header {
    padding: 2px 2px 10px;
}

.tips-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}


/* Recipient row */

.tips-user {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
    padding: 6px 2px 14px;
}

.tips-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.tips-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tips-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tips-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.tips-handle {
    font-size: 14px;
    color: var(--text-gray);
    font-family: var(--GaphikFont);
}


/* Form controls */

.tips-form {
    display: grid;
    gap: 14px;
}

.tips-field {
    position: relative;
}

.tips-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.tips-input,
.tips-select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--primary-text);
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease;
    font-family: var(--fontApple);
}

.tips-input::placeholder {
    color: var(--text-gray);
}

.tips-input:focus,
.tips-select:focus {
    border-color: #000;
}


/* Billing agreement accordion (native <details>) */

.tips-accordion {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-color);
}

.tips-accordion>summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tips-accordion>summary::-webkit-details-marker {
    display: none;
}

.tips-accordion .tips-accordion-body {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-gray);
    background: var(--bg-elevated);
}


/* Summary block */

.tips-section-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin: 10px 0px;
}

.tips-summary {
    padding-top: 2px;
}

.tips-summary dl {
    margin: 8px 0 0;
}

.tips-summary .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.tips-summary .row dt {
    font-weight: 600;
}

.tips-summary .row dd {
    margin: 0;
    color: var(--text-dark);
}


/* Payment methods */

.tips-methods {
    display: grid;
    gap: 10px;
}

.tips-gateways {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tips-total-amount {
    font-weight: 600;
    color: var(--color-1ca662);
}

.pay-opt {
    height: 64px;
    border: 2px solid var(--border-subtle);
    background: var(--bg-elevated);
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color .2s ease, transform .15s ease, background .2s ease;
    padding: 6px;
}

.pay-opt:hover {
    transform: translateY(-1px);
    background: var(--hover-bg-color);
}

.pay-opt.is-selected {
    border-color: var(--button-blue-color);
}

.pay-opt img,
.pay-opt svg {
    max-width: 110px;
    max-height: 28px;
}


/* Credit balance pill card */

.pay-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--border-subtle);
    background: var(--bg-elevated);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
    width: fit-content;
}

.pay-credit:hover {
    background: var(--hover-bg-color);
}

.pay-credit img {
    width: 22px;
    height: 22px;
}

.pay-credit .credit-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 14px;
}

.pay-credit .credit-amount {
    color: var(--text-gray);
    font-size: 14px;
}


/* Note text */

.tips-note {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.45;
}

.wallet-topup-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 14px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
}

.wallet-topup-balance-label {
    font-weight: 600;
    color: var(--text-dark);
}

.wallet-topup-balance-value {
    font-weight: 700;
    color: var(--text-accent, var(--text-dark));
}

.wallet-topup-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-topup-quick-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.wallet-topup-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wallet-topup-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--surface-default);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wallet-topup-chip:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.wallet-topup-chip.is-active {
    background: var(--hover-bg-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}

.wallet-topup-chip:focus-visible {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
}

.wallet-topup-note {
    margin-top: -6px;
    font-size: 13px;
    color: var(--text-gray);
}

.wallet-topup-empty-body {
    padding: 12px 4px 0;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.wallet-topup-empty-body p {
    margin: 0;
}

.wallet-topup-empty-actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.wallet-topup-empty-actions .wallet-topup-manage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
}

.wallet-topup-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--surface-default);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 0 20px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}

.wallet-topup-cancel:hover {
    border-color: var(--border-color);
    background: var(--hover-bg-color);
    transform: translateY(-1px);
}

.wallet-topup-cancel:focus-visible {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
}

:root[data-theme="dark"] .wallet-topup-balance,
html.theme-dark .wallet-topup-balance,
body.theme-dark .wallet-topup-balance {
    background: var(--surface-elevated);
    border-color: var(--border-color);
    color: var(--text-light);
}

:root[data-theme="dark"] .wallet-topup-chip,
html.theme-dark .wallet-topup-chip,
body.theme-dark .wallet-topup-chip {
    background: var(--surface-elevated);
    border-color: var(--border-color);
    color: var(--text-light);
}

:root[data-theme="dark"] .wallet-topup-chip.is-active,
html.theme-dark .wallet-topup-chip.is-active,
body.theme-dark .wallet-topup-chip.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

:root[data-theme="dark"] .wallet-topup-empty-body,
html.theme-dark .wallet-topup-empty-body,
body.theme-dark .wallet-topup-empty-body {
    color: var(--text-light);
}

:root[data-theme="dark"] .wallet-topup-cancel,
html.theme-dark .wallet-topup-cancel,
body.theme-dark .wallet-topup-cancel {
    border-color: var(--border-color);
    background: var(--surface-elevated);
    color: var(--text-light);
}

:root[data-theme="dark"] .wallet-topup-cancel:hover,
html.theme-dark .wallet-topup-cancel:hover,
body.theme-dark .wallet-topup-cancel:hover {
    background: var(--surface-hover);
}

@media (max-width: 600px) {
    .wallet-topup-empty-actions {
        justify-content: center;
    }

    .wallet-topup-empty-actions .wallet-topup-manage,
    .wallet-topup-cancel {
        width: 100%;
        min-width: 0;
    }
}


/* Footer action */

.tips-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.tips-cta {
    min-width: 160px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--button-blue-color);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease;
}

.tips-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}


/* Provider list (shared with ads create) */

.provider_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.provider-item {
    border: 2px solid var(--border-subtle);
    background: var(--bg-elevated);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
    user-select: none;
}

.provider-item:hover {
    background: var(--hover-bg-color);
    transform: translateY(-1px);
}

.provider-item input[type="radio"] {
    accent-color: var(--button-blue-color);
    flex-shrink: 0;
}

.provider-item .provider-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
}


/* highlight selected (modern browsers) */

.provider-item:has(input[type="radio"]:checked) {
    border-color: var(--button-blue-color);
    background: var(--hover-bg-color);
}


/* fallback: emphasize text when selected */

.provider-item input[type="radio"]:checked+.provider-name {
    color: var(--button-blue-color);
}

[data-wallet-balance-text] {
    font-variant-numeric: tabular-nums;
}

.wallet-topup-balance-value {
    font-variant-numeric: tabular-nums;
}


/* Billing fields grid (tips) */

.billing-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.billing-fields .full-span {
    grid-column: 1 / -1;
}


/* Buyer section spacing */

.tips-accordion .buyer-section {
    margin-bottom: 12px;
}


/* Utility icon size */

.icon-16 {
    width: 16px;
    height: 16px;
}


/* Responsive */

.locked_bg {
    background-image: url(imgs/geometricBg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
}

.unlock-price {
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--btn-dark);
    font-family: var(--fontApple);
    box-shadow: var(--shadow-8-24-10);
    cursor: pointer;
}

.unlock-price:hover {
    background-color: var(--button-dark-bg);
}


/* Hide empty thanks counter to avoid showing "0" */

.post-button-box-super-thanks .total-send:empty {
    display: none;
}

.tips-title-box {
    width: 100%;
    border-radius: 12px;
    background: var(--bg-elevated);
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s ease;
    font-family: var(--fontApple);
    padding: 15px;
    padding-left: 0px;
}


/*=========================================
  PROFILE
=========================================*/

.profile-area {
    width: 100%;
}

.profile-left {
    width: 100%;
    height: 100%;
    margin-top: -120px;
    z-index: 1;
}

.profile-left-container {
    width: 100%;
    max-width: 967px;
    margin: 0px auto;
}

.profile-top-container {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
}


/* Profile top - header */

.profile-cover {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.profile-cover-img,
.profile-cover>img.profile-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-cover--empty {
    background-color: var(--rgba-30);
}


/* Utility spacing */

.mt-40 {
    margin-top: 40px;
}


/* Settings – Payments (moved from inline <style>) */

.settings-section .title {
    font-weight: 600;
    margin-bottom: 8px;
}

.settings-section .notice.small {
    font-size: 12px;
    opacity: .8;
    margin-bottom: 12px;
}

.secrets-form .form-row {
    margin-bottom: 12px;
}

.secrets-form label {
    display: block;
    margin-bottom: 6px;
}

.secrets-form .input-group {
    display: flex;
    gap: 8px;
}

.secrets-form input[type=password],
.secrets-form input[type=text] {
    flex: 1;
    min-width: 300px;
    padding: 8px;
}

.secrets-form .reveal-btn,
.secrets-form .save-btn {
    padding: 8px 12px;
    cursor: pointer;
}

.secrets-form .form-actions {
    margin-top: 16px;
}

.settings-section .error {
    color: var(--color-red-700);
    margin-bottom: 8px;
}

.earnings-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.earnings-chart-card {
    min-height: 320px;
}

.table-card {
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    margin-bottom: 20px;
    overflow: hidden;
}

.table-card-plus {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    margin-bottom: 20px;
    overflow: hidden;
}

.earnings-table-card {
    gap: 18px;
}

.earnings-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.table-card .earnings-table-wrapper {
    flex: 1 1 auto;
    min-width: 0;
}

.table-card .earnings-pagination {
    margin-top: 12px;
}

.earnings-table {
    width: 100%;
    border-collapse: collapse;
}

.earnings-table th,
.earnings-table td {
    font-size: 13px;
    white-space: nowrap;
    padding: 12px 14px;
}

.earnings-table th {
    font-weight: 600;
    color: var(--text-gray);
    text-align: left;
}

.earnings-table td {
    border-top: 1px solid var(--border-subtle);
    color: var(--text-dark);
    vertical-align: middle;
}

.earnings-table th:nth-child(5),
.earnings-table th:nth-child(6),
.earnings-table th:nth-child(7),
.earnings-table th:nth-child(8),
.earnings-table th:nth-child(10),
.earnings-table td:nth-child(5),
.earnings-table td:nth-child(6),
.earnings-table td:nth-child(7),
.earnings-table td:nth-child(8),
.earnings-table td:nth-child(10) {
    text-align: right;
}

.earnings-type {
    font-weight: 600;
}

.earnings-reference {
    max-width: 220px;
    white-space: normal;
    word-break: break-word;
}

.earnings-supporter {
    min-width: 220px;
    white-space: normal;
}

.earnings-supporter__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.earnings-supporter__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.earnings-supporter__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.earnings-supporter__names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.earnings-supporter__display {
    font-weight: 600;
    color: var(--text-dark);
}

.earnings-supporter__username {
    font-size: 12px;
    color: var(--text-gray);
}

.earnings-post {
    text-align: center;
}

.earnings-post a {
    color: var(--button-blue-color);
    font-weight: 600;
    text-decoration: none;
}

.earnings-post a:hover {
    text-decoration: underline;
}

.earnings-status {
    white-space: normal;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--color-slate-500-a16);
    color: var(--color-gray-700);
}

.status-badge--success {
    background: var(--color-emerald-500-a18);
    color: var(--color-emerald-700);
}

.status-badge--pending {
    background: var(--color-sky-500-a18);
    color: var(--color-brand-blue);
}

.status-badge--danger {
    background: var(--color-red-500-a18);
    color: var(--color-red-600);
}

.status-badge--neutral {
    background: var(--color-slate-500-a18);
    color: var(--color-slate-650);
}

.table-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-gray);
}

.table-sort:hover,
.table-sort.is-active {
    color: var(--text-dark);
}

.table-sort .sort-indicator {
    font-size: 11px;
}

.earnings-reference {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-gray);
    white-space: normal;
    word-break: break-word;
}

.earnings-summary {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-gray);
}

.earnings-notice {
    margin-top: 12px;
}

.earnings-pagination {
    margin-top: 16px;
}

.earnings-empty {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    padding: 16px 0;
}


/* Settings – Profile Cropper (remove inline styles)
   pe-actions default layout: right-aligned actions row */

.pe-actions.pcrop-actions {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
    justify-content: flex-end;
}

.profile-header {
    gap: 24px;
}

.profile-avatar {
    border: 3px solid var(--bg-color);
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.profile-avatar img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.profile-meta {
    gap: 20px;
}

.profile-username-row {
    gap: 20px;
}

.profile-username {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-text);
}

.verified-badge svg,
.verified-badge img {
    width: 18px;
    height: 18px;
}

.profile-actions {
    gap: 8px;
}

.profile-actions svg,
.profile-actions img {
    width: 20px;
    height: 20px;
}

.profile-stats {
    background-color: var(--bg-elevated);
    border-radius: 15px;
    overflow: hidden;
}

.profile-stats .stat-item {
    color: var(--primary-text);
    font-size: 14px;
    padding: 12px 15px;
}

.stat-item:hover {
    background-color: var(--hover-bg-color);
}

.profile-stats .stat-item .stat-num {
    font-weight: 600;
    margin-right: 4px;
}

.profile-stats .stat-item.is-active {
    font-weight: 700;
    color: var(--text-dark);
}

.profile-fullname {
    font-weight: 600;
    color: var(--primary-text);
}

.profile-bio {
    color: var(--secondary-text);
    white-space: pre-line;
}


/* Profile tabs */

.profile-tabs-scroll {
    position: relative;
}

.tabs-viewport {
    width: 100%;
}

.profile-tabs {
    gap: 8px;
    padding: 10px 0 0 0;
}

.profile-tab {
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.profile-tab.is-active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.profile-tab .tab-icon svg,
.profile-tab .tab-icon img {
    width: 18px;
    height: 18px;
}

.profile-tabs-scroll .tabs-arrow.is-hidden {
    display: none;
}


/* Mobile: horizontal scrollable tabs with arrows */


/* Empty state (profile followers/following and tabs) */

.empty-state {
    padding: 40px 0;
}

.empty-state__icon svg,
.empty-state__icon img {
    width: 48px;
    height: 48px;
    opacity: 0.65;
}

.empty-state__title {
    font-weight: 600;
    color: var(--primary-text);
}

.empty-state__body {
    text-align: center;
    gap: 16px;
}

.empty-state__subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.empty-state__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--accent, var(--button-blue-color));
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.empty-state__cta:hover {
    background: var(--accent-hover, var(--button-blue-hover-color, #2563eb));
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 149, 246, 0.28);
}

.empty-state__cta:focus-visible {
    outline: 2px solid var(--accent, var(--button-blue-color));
    outline-offset: 3px;
}


/* Center empty-state when directly under profile root (All tab) */

#profile-root>.empty-state {
    width: 100%;
    text-align: center;
    padding: 80px 0;
}

#profile-root>.empty-state .empty-state__icon svg,
#profile-root>.empty-state .empty-state__icon img {
    width: 72px;
    height: 72px;
}


/* When empty-state is shown inside explore-grid (All tab) */

.explore-grid>.empty-state {
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    text-align: center;
    padding: 80px 0;
}

.explore-grid>.empty-state .empty-state__icon svg,
.explore-grid>.empty-state .empty-state__icon img {
    width: 72px;
    height: 72px;
}


/* Locked tile placeholder (no media leak) */

.tile-locked {
    width: 100%;
    height: 100%;
    background-image: url(imgs/geometricBg.png);
    background-repeat: repeat;
    background-size: contain;
}

.profile-left-container .reels_container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    overflow: hidden;
}


/* Center and enlarge empty-state inside 3-col grids */

.profile-left-container .reels_container .empty-state {
    grid-column: 1 / -1;
    /* span all columns */
    justify-self: center;
    align-self: center;
    text-align: center;
    padding: 80px 0;
    /* bigger */
}

.profile-left-container .reels_container .empty-state__icon svg,
.profile-left-container .reels_container .empty-state__icon img {
    width: 72px;
    height: 72px;
}

.profile-left-container .reels_container .empty-state__title {
    font-size: 20px;
}

.creators-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
}


/* Responsive: creators grid 3 → 2 → 1 columns */

.profile-left-container .reels_post_wrapper {
    border-radius: 10px;
}

.reels_post_wrapper_reels {
    border-radius: 10px;
}

.subscribeMe {
    background-color: var(--color-ff6f61);
}

.unsubscribeMe {
    background-color: var(--color-f65169);
}


/* ===========================
    SETTINGS PAGE
============================== */

.page-settings-ciontainer {
    background-color: var(--bg-elevated);
    border-radius: 15px;
    font-family: var(--fontApple);
}

.page-settings-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    padding: 14px 16px;
    text-align: left;
}

.page-settings-left {
    max-width: 320px;
    min-width: 320px;
    border-right: 1px solid var(--border-subtle)
}

.page-settings-right {
    padding: 16px;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
}

.page-settings-right>* {
    min-width: 0;
}

.settings_sidebar__menu_box {
    padding: 15px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    font-family: var(--fontApple);
}

.settings_sidebar__menu_box:hover {
    background-color: var(--hover-bg-color);
}

.settings_sidebar__menu_box span {
    margin-right: 8px;
}

.settings-menu__toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.settings-menu__toggle-btn,
.settings-menu__toggle-icon,
.settings-menu__active-label {
    display: none;
}

.settings-menu__options {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 991px) {
    .page-settings-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .page-settings-left {
        max-width: 100%;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 12px;
        align-items: stretch;
        gap: 0;
    }

    .settings-menu__toggle-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid var(--border-subtle);
        background-color: var(--bg-elevated, var(--color-fff));
        color: var(--text-dark);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    .settings-menu__toggle-btn:focus-visible {
        outline: 2px solid var(--color-4f46e5);
        outline-offset: 2px;
    }

    .settings-menu__toggle-title {
        flex: 0 0 auto;
    }

    .settings-menu__active-label {
        display: inline-flex;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
        color: var(--text-muted, var(--text-dark));
        font-weight: 500;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .settings-menu__toggle-icon {
        display: inline-flex;
        flex: 0 0 auto;
        width: 16px;
        height: 16px;
        align-items: center;
        justify-content: center;
        color: var(--text-dark);
    }

    .settings-menu__toggle-icon::before {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .settings-menu__toggle:checked + .settings-menu__toggle-btn .settings-menu__toggle-icon::before {
        transform: rotate(-135deg);
    }

    .settings-menu__options {
        margin-top: 16px;
        padding: 4px;
        border-radius: 12px;
        border: 1px solid var(--border-subtle);
        background-color: var(--bg-elevated, var(--color-fff));
        box-shadow: 0 12px 26px -18px var(--rgba-37);
        gap: 0;
        max-height: 9999px;
        opacity: 1;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.2s ease, padding 0.2s ease;
    }

    .settings-menu__toggle:not(:checked) ~ .settings-menu__options {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        border-width: 0;
        pointer-events: none;
    }

    .settings-menu__toggle:checked ~ .settings-menu__options {
        pointer-events: auto;
    }

    .settings-menu__options .settings_sidebar__menu_box {
        border-radius: 10px;
        margin: 4px 0;
        padding: 14px 16px;
        font-size: 15px;
    }

    .settings-menu__options .settings_sidebar__menu_box:first-child {
        margin-top: 0;
    }

    .settings-menu__options .settings_sidebar__menu_box:last-child {
        margin-bottom: 0;
    }

    .settings-menu__options .arrow {
        margin: 8px 0;
    }

    .settings-menu__options .arrow:first-child,
    .settings-menu__options .arrow:last-child {
        display: none;
    }

    .page-settings-right {
        padding: 20px 12px 16px;
    }
}

/* Active state for current settings tab */

.settings_sidebar__menu_box[aria-current="page"] {
    background-color: var(--hover-bg-color);
}


/* Settings: profile alerts */

.settings-profile .pp-alert {
    margin-top: 6px;
}


/*checkbox radio component*/

.el-radio,
.el-checkbox {
    position: relative;
    font-size: 100%;
}

label.el-radio,
label.el-checkbox {
    display: block;
    cursor: pointer;
}

.el-radio>input[type='radio'],
.el-checkbox>input[type='checkbox'] {
    display: none;
}

.el-radio>input[type='radio'][disabled],
.el-checkbox>input[type='checkbox'][disabled] {
    cursor: not-allowed;
}

.el-radio>input[type='radio']+.el-radio-style,
.el-checkbox>input[type='checkbox']+.el-checkbox-style {
    position: relative;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    vertical-align: middle;
    cursor: pointer;
}

.el-radio>input[type='radio']+.el-radio-style:hover:before,
.el-checkbox>input[type='checkbox']+.el-checkbox-style:hover:before {
    border-color: var(--range-blue);
}

.el-radio>input[type='radio']+.el-radio-style:before,
.el-checkbox>input[type='checkbox']+.el-checkbox-style:before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    content: '';
    border: 1px solid var(--range-color-1);
}

.el-radio>input[type='radio']+.el-radio-style:after,
.el-checkbox>input[type='checkbox']+.el-checkbox-style:after {
    position: absolute;
    display: none;
    content: '';
}

.el-radio>input[type='radio'][disabled]+.el-radio-style,
.el-checkbox>input[type='checkbox'][disabled]+.el-checkbox-style {
    cursor: not-allowed;
    color: var(--range-color-2);
}

.el-radio>input[type='radio'][disabled]+.el-radio-style:hover,
.el-radio>input[type='radio'][disabled]+.el-radio-style:before,
.el-radio>input[type='radio'][disabled]+.el-radio-style:after,
.el-checkbox>input[type='checkbox'][disabled]+.el-checkbox-style:hover,
.el-checkbox>input[type='checkbox'][disabled]+.el-checkbox-style:before,
.el-checkbox>input[type='checkbox'][disabled]+.el-checkbox-style:after {
    cursor: not-allowed;
}

.el-radio>input[type='radio'][disabled]+.el-radio-style:hover:before,
.el-checkbox>input[type='checkbox'][disabled]+.el-checkbox-style:hover:before {
    border: 1px solid var(--range-color-2);
    animation-name: none;
}

.el-radio>input[type='radio'][disabled]+.el-radio-style:before,
.el-checkbox>input[type='checkbox'][disabled]+.el-checkbox-style:before {
    border-color: var(--range-color-2);
}

.el-radio>input[type='radio']:checked+.el-radio-style:before,
.el-checkbox>input[type='checkbox']:checked+.el-checkbox-style:before {
    animation-name: none;
}

.el-radio>input[type='radio']:checked+.el-radio-style:after,
.el-checkbox>input[type='checkbox']:checked+.el-checkbox-style:after {
    display: block;
}

.el-radio>input[type='radio']+.el-radio-style:before {
    border-radius: 50%;
}

.el-radio>input[type='radio']+.el-radio-style:after {
    top: 0.4em;
    left: 0.4em;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background: var(--range-blue);
}

.el-radio>input[type='radio']:checked+.el-radio-style:before {
    border: 1px solid var(--range-blue);
}

.el-radio>input[type='radio']:checked[disabled]+.el-radio-style:before {
    border: 1px solid var(--range-color-5);
}

.el-radio>input[type='radio']:checked[disabled]+.el-radio-style:after {
    background: var(--range-color-5);
}

.el-checkbox>input[type='checkbox']+.el-checkbox-style:before {
    border-radius: 3px;
}

.el-checkbox>input[type='checkbox']+.el-checkbox-style:after {
    top: 0.15em;
    left: 0.5em;
    box-sizing: border-box;
    width: 0.4em;
    height: 0.85em;
    transform: rotate(45deg);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
}

.el-checkbox>input[type='checkbox']:checked+.el-checkbox-style:before {
    border: var(--range-blue);
    background: var(--range-blue);
}

.el-checkbox>input[type='checkbox']:checked[disabled]+.el-checkbox-style:before {
    border: var(--range-color-5);
    background: var(--range-color-5);
}


/*blue theme*/

.el-radio.el-radio-blue>input[type='radio']+label:hover:before,
.el-checkbox.el-checkbox-blue>input[type='checkbox']+label:hover:before,
.el-radio.el-radio-blue>input[type='radio']:checked+label:before,
.el-checkbox.el-checkbox-blue>input[type='checkbox']:checked+label:before {
    border-color: var(--range-blue);
}

.el-checkbox.el-checkbox-blue>input[type='checkbox']:checked+label:before,
.el-radio.el-radio-blue>input[type='radio']+label:after {
    background: var(--range-blue);
}

.el-radio.el-radio-blue>input[type='radio'][disabled]+label:hover:before,
.el-checkbox.el-checkbox-blue>input[type='checkbox'][disabled]+label:hover:before {
    border-color: var(--range-color-2);
}

.el-checkbox.el-checkbox-blue>input[type='checkbox']:checked[disabled]+label:before,
.el-radio.el-radio-blue>input[type='radio']:checked[disabled]+label:before {
    border-color: var(--range-color-5);
}

.el-checkbox.el-checkbox-blue>input[type='checkbox'][disabled]:checked+label:before,
.el-radio.el-radio-blue>input[type='radio']:checked[disabled]+label:after {
    background: var(--range-color-5);
}


/*green theme*/

.el-radio.el-radio-green>input[type='radio']+label:hover:before,
.el-checkbox.el-checkbox-green>input[type='checkbox']+label:hover:before,
.el-radio.el-radio-green>input[type='radio']:checked+label:before,
.el-checkbox.el-checkbox-green>input[type='checkbox']:checked+label:before {
    border-color: var(--range-color-5);
}

.el-checkbox.el-checkbox-green>input[type='checkbox']:checked+label:before,
.el-radio.el-radio-green>input[type='radio']+label:after {
    background: var(--range-color-5);
}

.el-radio.el-radio-green>input[type='radio'][disabled]+label:hover:before,
.el-checkbox.el-checkbox-green>input[type='checkbox'][disabled]+label:hover:before {
    border-color: var(--range-color-2);
}

.el-checkbox.el-checkbox-green>input[type='checkbox']:checked[disabled]+label:before,
.el-radio.el-radio-green>input[type='radio']:checked[disabled]+label:before {
    border-color: var(--range-color-6);
}

.el-checkbox.el-checkbox-green>input[type='checkbox'][disabled]:checked+label:before,
.el-radio.el-radio-green>input[type='radio']:checked[disabled]+label:after {
    background: var(--range-color-6);
}


/*red theme*/

.el-radio.el-radio-red>input[type='radio']+label:hover:before,
.el-checkbox.el-checkbox-red>input[type='checkbox']+label:hover:before,
.el-radio.el-radio-red>input[type='radio']:checked+label:before,
.el-checkbox.el-checkbox-red>input[type='checkbox']:checked+label:before {
    border-color: var(--range-color-7);
}

.el-checkbox.el-checkbox-red>input[type='checkbox']:checked+label:before,
.el-radio.el-radio-red>input[type='radio']+label:after {
    background: var(--range-color-7);
}

.el-radio.el-radio-red>input[type='radio'][disabled]+label:hover:before,
.el-checkbox.el-checkbox-red>input[type='checkbox'][disabled]+label:hover:before {
    border-color: var(--range-color-2);
}

.el-checkbox.el-checkbox-red>input[type='checkbox']:checked[disabled]+label:before,
.el-radio.el-radio-red>input[type='radio']:checked[disabled]+label:before {
    border-color: var(--range-color-8);
}

.el-checkbox.el-checkbox-red>input[type='checkbox'][disabled]:checked+label:before,
.el-radio.el-radio-red>input[type='radio']:checked[disabled]+label:after {
    background: var(--range-color-8);
}


/*yellow theme*/

.el-radio.el-radio-yellow>input[type='radio']+label:hover:before,
.el-checkbox.el-checkbox-yellow>input[type='checkbox']+label:hover:before,
.el-radio.el-radio-yellow>input[type='radio']:checked+label:before,
.el-checkbox.el-checkbox-yellow>input[type='checkbox']:checked+label:before {
    border-color: var(--range-color-3);
}

.el-checkbox.el-checkbox-yellow>input[type='checkbox']:checked+label:before,
.el-radio.el-radio-yellow>input[type='radio']+label:after {
    background: var(--range-color-3);
}

.el-radio.el-radio-yellow>input[type='radio'][disabled]+label:hover:before,
.el-checkbox.el-checkbox-yellow>input[type='checkbox'][disabled]+label:hover:before {
    border-color: var(--range-color-2);
}

.el-checkbox.el-checkbox-yellow>input[type='checkbox']:checked[disabled]+label:before,
.el-radio.el-radio-yellow>input[type='radio']:checked[disabled]+label:before {
    border-color: var(--range-color-9);
}

.el-checkbox.el-checkbox-yellow>input[type='checkbox'][disabled]:checked+label:before,
.el-radio.el-radio-yellow>input[type='radio']:checked[disabled]+label:after {
    background: var(--range-color-9);
}


/*switch component*/

.el-switch,
.el-switch-style,
.el-switch-style:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.el-switch {
    display: inline-block;
    font-size: 100%;
    height: 1.6em;
    position: relative;
}

.el-switch .el-switch-style {
    height: 1.6em;
    left: 0;
    background: var(--range-color-1);
    -webkit-border-radius: 0.8em;
    border-radius: 0.8em;
    display: inline-block;
    position: relative;
    top: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 3em;
    cursor: pointer;
}

.el-switch .el-switch-style:before {
    display: block;
    content: '';
    height: 1.4em;
    position: absolute;
    width: 1.4em;
    background-color: var(--white);
    -webkit-border-radius: 50%;
    border-radius: 50%;
    left: 0.1em;
    top: 0.1em;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.el-switch>input[type='checkbox'],
.el-switch>input[type='radio'] {
    display: none;
}

.el-switch>input[type='checkbox'][disabled]+.el-switch-style,
.el-switch>input[type='radio'][disabled]+.el-switch-style {
    cursor: not-allowed;
    background-color: var(--range-color-2);
}

.el-switch>input[type='checkbox']:checked+.el-switch-style,
.el-switch>input[type='radio']:checked+.el-switch-style {
    background-color: var(--range-blue);
}

.el-switch>input[type='checkbox']:checked+.el-switch-style:before,
.el-switch>input[type='radio']:checked+.el-switch-style:before {
    left: 50%;
}

.el-switch>input[type='checkbox']:checked[disabled]+.el-switch-style,
.el-switch>input[type='radio']:checked[disabled]+.el-switch-style {
    background-color: var(--range-color-5);
}

.el-switch.el-switch-blue>input[type='checkbox']:checked+.el-switch-style,
.el-switch.el-switch-blue>input[type='radio']:checked+.el-switch-style {
    background-color: var(--range-blue);
}

.el-switch.el-switch-blue>input[type='checkbox']:checked[disabled]+.el-switch-style {
    background-color: var(--range-color-5);
}

.el-switch.el-switch-green>input[type='checkbox']:checked+.el-switch-style,
.el-switch.el-switch-green>input[type='radio']:checked+.el-switch-style {
    background-color: var(--range-color-5);
}

.el-switch.el-switch-green>input[type='checkbox']:checked[disabled]+.el-switch-style {
    background-color: var(--range-color-6);
}

.el-switch.el-switch-red>input[type='checkbox']:checked+.el-switch-style,
.el-switch.el-switch-red>input[type='radio']:checked+.el-switch-style {
    background-color: var(--range-color-7);
}

.el-switch.el-switch-red>input[type='checkbox']:checked[disabled]+.el-switch-style {
    background-color: var(--range-color-8);
}

.el-switch.el-switch-yellow>input[type='checkbox']:checked,
.el-switch.el-switch-yellow>input[type='radio']:checked+.el-switch-style {
    background-color: var(--range-color-3);
}

.el-switch.el-switch-yellow>input[type='checkbox']:checked[disabled],
.el-switch.el-switch-yellow>input[type='radio']:checked[disabled]+.el-switch-style {
    background-color: var(--range-color-9);
}


/*define size*/

.el-radio.el-radio-sm,
.el-checkbox.el-checkbox-sm,
.el-switch.el-switch-sm {
    font-size: 85%;
}

.el-radio.el-radio-lg,
.el-checkbox.el-checkbox-lg,
.el-switch.el-switch-lg {
    font-size: 125%;
}


/* Custom: Small switch active color (#ffb300) */

.el-switch.el-switch-sm>input[type='checkbox']:checked+.el-switch-style,
.el-switch.el-switch-sm>input[type='radio']:checked+.el-switch-style {
    background-color: var(--color-amber-400);
}

.contact-card {
    max-width: 830px;
    margin: 0px auto;
}

@media (max-width: 1025px) {
    .menu-item {
        display: none;
    }
}

.vertical-box {
    transform: rotate(180deg);
    transform-origin: center center;
}

.chip-blue:focus-visible,
.donate-btn:focus-visible,
.upload-btn:focus-visible,
.tips-cta:focus-visible,
.embed-viewlink:focus-visible,
.pe-save:focus-visible,
.post-embed-popup .peb-copy:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}


/* ============ Profile media row (avatar left, cover right) ============ */

.profile-media-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 8px 0 12px;
}

.profile-media-row .pm-box {
    position: relative;
}

.profile-media-row .pm-avatar {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-elevated);
    background: var(--bg-muted);
    box-shadow: 0 8px 24px var(--rgba-black-18);
    flex: 0 0 auto;
}

.profile-media-row .pm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-media-row .pm-cover {
    flex: 1 1 auto;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-muted);
    box-shadow: var(--shadow-8-24-10);
}

.profile-media-row .pm-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-media-row .pm-edit {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rgba-55);
    color: var(--white);
    border: 1.5px solid var(--white-90);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
    opacity: 0;
    z-index: 2;
}

.profile-media-row .pm-edit img,
.profile-media-row .pm-edit svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.profile-media-row .pm-box:hover .pm-edit,
.profile-media-row .pm-edit:focus-visible {
    opacity: 1;
}

.disBlock {
    display: flex !important;
}


/* Maintenance mode */

.maintenance-body {
    min-height: 100vh;
    margin: 0;
    background: var(--bg-color, var(--white));
    color: var(--text-primary, var(--color-111827));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

.maintenance-screen {
    width: min(880px, 100%);
    background: var(--surface, var(--color-fff));
    border-radius: 32px;
    padding: 56px clamp(24px, 5vw, 64px);
    box-shadow: 0 24px 60px var(--color-slate-900-a12);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.maintenance-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.maintenance-logo {
    max-height: 48px;
    width: auto;
    display: none;
}

.maintenance-logo--light {
    display: block;
}

.maintenance-logo--mobile-light,
.maintenance-logo--mobile-dark {
    display: none;
}

.maintenance-header__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.maintenance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--white);
    background: linear-gradient(135deg, var(--color-4f86f7), var(--color-8c52ff));
    box-shadow: 0 4px 18px var(--color-accent-blue-a30);
}

.maintenance-site-name {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, var(--color-6b7280));
}

.maintenance-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.maintenance-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-primary, var(--color-111827));
}

.maintenance-lead {
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: var(--text, var(--color-37474f));
}

.maintenance-message p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text, var(--color-37474f));
    white-space: pre-wrap;
}

.maintenance-status-card {
    background: var(--color-accent-blue-a06);
    border: 1px solid var(--color-accent-blue-a12);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.maintenance-status-card__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.maintenance-status-card__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary, var(--color-6b7280));
}

.maintenance-status-card__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, var(--color-111827));
}

.maintenance-status-note {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary, var(--color-6b7280));
}

.maintenance-status-card__countdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maintenance-status-card__countdown--hidden {
    display: none;
}

.maintenance-status-card__countdown-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary, var(--color-6b7280));
}

.maintenance-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    gap: 12px;
}

.maintenance-countdown__segment {
    background: var(--white-75);
    border-radius: 18px;
    padding: 12px;
    text-align: center;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-primary, var(--color-111827));
}

.maintenance-countdown__segment strong {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.maintenance-countdown__segment span {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary, var(--color-6b7280));
}

.maintenance-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.maintenance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-4f86f7), var(--color-41d1ff));
    color: var(--white);
    box-shadow: 0 14px 30px var(--color-accent-blue-a30);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.maintenance-btn:hover,
.maintenance-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px var(--color-accent-blue-a35);
}

.maintenance-btn:focus-visible {
    outline: 3px solid var(--color-accent-blue-a40);
    outline-offset: 3px;
}

.maintenance-btn--secondary {
    background: transparent;
    color: var(--button-blue-color, var(--color-4f86f7));
    border: 2px solid var(--color-accent-blue-a50);
    box-shadow: none;
}

.maintenance-btn--secondary:hover,
.maintenance-btn--secondary:focus {
    background: var(--color-accent-blue-a18);
    transform: none;
}

.maintenance-btn--secondary:focus {
    border-color: #000;
}

.maintenance-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maintenance-social__title {
    margin: 0;
    font-weight: 600;
    color: var(--text-secondary, var(--color-6b7280));
}

.maintenance-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.maintenance-social__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-accent-blue-a08);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--button-blue-color, var(--color-4f86f7));
    text-decoration: none;
    transition: background 0.18s ease;
}

.maintenance-social__link:hover,
.maintenance-social__link:focus {
    background: var(--color-accent-blue-a18);
}

.maintenance-social__badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: var(--button-blue-color, var(--color-4f86f7));
}

.maintenance-social__badge--status {
    background: linear-gradient(135deg, var(--color-green-500), var(--color-green-600));
}

.maintenance-social__badge--twitter {
    background: linear-gradient(135deg, var(--color-twitter-blue), var(--color-twitter-deep));
}

.maintenance-social__badge--facebook {
    background: linear-gradient(135deg, var(--color-facebook-primary), var(--color-facebook-shadow));
}

.maintenance-social__badge--instagram {
    background: linear-gradient(135deg, var(--color-orange-450), var(--color-orange-gradient-mid), var(--color-red-500));
}

.maintenance-social__badge--tiktok {
    background: linear-gradient(135deg, var(--text-dark), var(--color-teal-500));
}

.maintenance-footer {
    margin-top: auto;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary, var(--color-6b7280));
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.maintenance-footer p {
    margin: 0;
}

.maintenance-retry-hint {
    font-size: 0.85rem;
}

.contact-maintenance-note {
    display: none;
}

body.layout-contact .contact-maintenance-note {
    display: block;
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--color-accent-blue-a08);
    color: var(--text-secondary, var(--color-6b7280));
    font-size: 0.9rem;
}


/* Contact page lockdown when maintenance mode is active */

body.maintenance-mode-live.layout-contact .get_box,
body.maintenance-mode-live.layout-contact .search_input,
body.maintenance-mode-live.layout-contact .mobile-search-toggle,
body.maintenance-mode-live.layout-contact .mobile-nav-btn-left,
body.maintenance-mode-live.layout-contact .mobile-nav-btn-right,
body.maintenance-mode-live.layout-contact .header-auth-link {
    pointer-events: none !important;
    opacity: 0.4;
    cursor: not-allowed;
}

body.maintenance-mode-live.layout-contact .messages_box_wrapper {
    display: none !important;
}

body.maintenance-mode-live.layout-contact .maintenance-disabled {
    pointer-events: none !important;
    opacity: 0.4;
    cursor: not-allowed;
}

body.maintenance-mode-live.layout-contact .get_box:focus,
body.maintenance-mode-live.layout-contact .search_input:focus,
body.maintenance-mode-live.layout-contact .mobile-search-toggle:focus,
body.maintenance-mode-live.layout-contact .header-auth-link:focus {
    outline: none;
}

body.maintenance-mode-live.layout-contact .header_icon_group,
body.maintenance-mode-live.layout-contact .header_search_wrapper {
    position: relative;
}

@media (max-width: 780px) {
    .maintenance-screen {
        padding: 36px clamp(20px, 5vw, 40px);
        border-radius: 28px;
    }
    .maintenance-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .maintenance-header__meta {
        align-items: flex-start;
    }
    .maintenance-countdown {
        grid-template-columns: repeat(2, minmax(72px, 1fr));
    }
    .maintenance-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

html[data-theme='dark'],
body.theme-dark,
html.theme-dark {
    --maintenance-card-bg: rgba(15, 23, 42, 0.6);
    --maintenance-card-border: rgba(79, 134, 247, 0.25);
}

html[data-theme='dark'] .maintenance-screen,
body.theme-dark .maintenance-screen,
html.theme-dark .maintenance-screen {
    background: var(--surface, var(--color-charcoal-900));
    box-shadow: 0 28px 50px var(--rgba-62);
}

html[data-theme='dark'] .maintenance-status-card,
body.theme-dark .maintenance-status-card,
html.theme-dark .maintenance-status-card {
    background: var(--maintenance-card-bg);
    border-color: var(--maintenance-card-border);
}

html[data-theme='dark'] .maintenance-countdown__segment,
body.theme-dark .maintenance-countdown__segment,
html.theme-dark .maintenance-countdown__segment {
    background: var(--hover-bg-color);
}

html[data-theme='dark'] .maintenance-logo--dark,
body.theme-dark .maintenance-logo--dark,
html.theme-dark .maintenance-logo--dark {
    display: block;
}

html[data-theme='dark'] .maintenance-logo--light,
body.theme-dark .maintenance-logo--light,
html.theme-dark .maintenance-logo--light {
    display: none;
}

html[data-theme='dark'] .maintenance-logo--mobile-dark,
body.theme-dark .maintenance-logo--mobile-dark,
html.theme-dark .maintenance-logo--mobile-dark {
    display: block;
}

html[data-theme='dark'] .maintenance-logo--mobile-light,
body.theme-dark .maintenance-logo--mobile-light,
html.theme-dark .maintenance-logo--mobile-light {
    display: none;
}

.creator-alert {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-indigo-600-a12), var(--color-emerald-500-a08));
    border: 1px solid var(--color-indigo-500-a25);
    color: var(--sd-admin-text-primary);
    margin-bottom: 12px;
    backdrop-filter: blur(2px);
}

.creator-alert__text {
    font-size: 14px;
    line-height: 1.45;
}

.creator-alert__action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-4f46e5);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.security-dashboard {
    gap: 28px;
    background: var(--sd-admin-bg-offwhite);
    padding: 24px;
    border-radius: 32px;
}

.security-dashboard .security-overview {
    margin-bottom: 8px;
}

.security-dashboard .status-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--color-indigo-500-a25);
    background: linear-gradient(135deg, var(--color-indigo-500-a12), var(--color-mint-500-a12));
}

.security-dashboard .status-pill__icon svg,
.security-dashboard .status-pill__icon img {
    width: 28px;
    height: 28px;
}

.security-dashboard .status-pill__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.security-dashboard .status-pill__label {
    font-weight: 600;
    color: var(--sd-admin-text-primary);
}

.security-dashboard .status-pill__meta {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.security-dashboard .status-pill--on {
    border-color: var(--color-emerald-500-a35);
}

.security-dashboard .status-pill--off {
    border-color: var(--color-gray-200-a90);
    background: var(--color-gray-50-a90);
}

.security-dashboard .security-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.security-dashboard .security-grid-pass {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.security-dashboard .security-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-base, var(--bg-color));
    border: 1px solid var(--color-slate-200-a70);
    border-radius: 26px;
    padding: 28px 26px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.security-dashboard .security-card:hover,
.security-dashboard .security-card:focus-within {
    transform: translateY(-2px);
}

.security-dashboard .security-card__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.security-dashboard .security-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sd-admin-text-primary);
    letter-spacing: -0.01em;
}

.security-dashboard .security-card__description {
    font-size: 14px;
    color: var(--sd-admin-text-muted);
    margin: 0;
    line-height: 1.55;
}

.security-dashboard .security-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.security-dashboard .security-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.security-dashboard .security-form__actions--end {
    justify-content: flex-end;
}

.security-dashboard .security-form__alert {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
    min-height: 18px;
}

.security-dashboard .security-form__alert.is-error {
    color: var(--danger-alt);
}

.security-dashboard .security-form__alert.is-success {
    color: var(--color-emerald-700);
}

.security-dashboard .security-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.security-dashboard .security-field__label {
    font-weight: 600;
    color: var(--sd-admin-text-primary);
}

.security-dashboard .security-field__hint {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.security-dashboard .security-field__feedback {
    font-size: 13px;
    color: var(--danger-alt);
    min-height: 16px;
}

.security-dashboard .security-field__feedback:empty {
    min-height: 0;
}

.security-dashboard .security-field input,
.security-dashboard .security-field textarea {
    border: 1px solid var(--color-slate-300-a90);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: var(--bg-base, var(--bg-color));
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.security-dashboard .security-field input:focus,
.security-dashboard .security-field textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
    outline: none;
}

.security-dashboard .security-meter {
    height: 10px;
    background: var(--color-slate-200-a90);
    border-radius: 999px;
    overflow: hidden;
}

.security-dashboard .security-meter__bar {
    display: block;
    height: 100%;
    width: 12%;
    background: linear-gradient(90deg, var(--color-orange-500), var(--color-orange-400), var(--color-green-500));
    transition: width 0.25s ease;
}

.security-dashboard .btn-secondary {
    background: var(--color-indigo-500-a08);
    border: 1px solid var(--color-indigo-500-a25);
    color: var(--button-blue-color);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.security-dashboard .btn-secondary:hover,
.security-dashboard .btn-secondary:focus {
    background: var(--color-indigo-500-a16);
    border-color: var(--color-indigo-500-a45);
    color: var(--button-blue-color);
}

.security-dashboard .btn-secondary:focus {
    border-color: var(--button-blue-color);
}

.payout-methods-grid .btn-secondary {
    background: var(--color-indigo-500-a08);
    border: 1px solid var(--color-indigo-500-a25);
    color: var(--button-blue-color);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.payout-methods-grid .btn-secondary:hover,
.payout-methods-grid .btn-secondary:focus {
    background: var(--color-indigo-500-a16);
    border-color: var(--color-indigo-500-a45);
    color: var(--button-blue-color);
}

.payout-methods-grid .btn-secondary:focus {
    border-color: #000;
}

.payout-methods-grid .btn-secondary.btn-dark {
    background: var(--color-slate-900);
    border-color: var(--color-slate-900);
    color: var(--white);
}

.payout-methods-grid .btn-secondary.btn-dark:hover,
.payout-methods-grid .btn-secondary.btn-dark:focus {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

.payout-methods-grid .btn-secondary.btn-dark:focus {
    border-color: #000;
}

.btn-link {
    background: none;
    border: none;
    color: var(--sd-admin-link);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus {
    text-decoration: underline;
}

.security-dashboard .security-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.security-dashboard .security-toggle__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.security-dashboard .security-toggle__status {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.security-dashboard .security-2fa-setup {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: start;
}

.security-dashboard .security-2fa-setup[hidden] {
    display: none!important;
}

.security-dashboard .security-2fa-qr {
    width: 100%;
    max-width: 360px;
    background: var(--surface);
    border: 1px solid var(--color-slate-900-a08);
    padding: 16px;
    border-radius: 0;
    overflow: visible;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
}

.security-qr-wrap {
    background: var(--surface);
    padding: 16px;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.security-qr-wrap code {
    background: var(--color-indigo-500-a08);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

.security-qr-wrap img {
    display: block;
    image-rendering: pixelated;
    max-width: 100%;
    height: auto;
    transform: none!important;
    filter: none!important;
    mix-blend-mode: normal!important;
}

.security-dashboard .security-2fa-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.security-dashboard .security-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.security-dashboard .security-code-row code {
    background: var(--color-indigo-500-a08);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

.security-dashboard .security-2fa-manage {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-dashboard .security-2fa-manage[hidden] {
    display: none!important;
}

.security-dashboard [data-twofactor-disable-actions] .btn-danger,
.security-form__actions .btn-danger {
    background: var(--color-slate-900);
    border-color: var(--color-slate-900);
    color: var(--white);
    outline: none;
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 13px;
}

.security-dashboard [data-twofactor-disable-actions] .btn-danger:hover {
    background: var(--color-slate-940);
    border-color: var(--color-slate-940);
    color: var(--white);
}

.security-dashboard [data-twofactor-disable-actions] .btn-danger:focus {
    outline: 2px solid var(--color-slate-900-a35);
    outline-offset: 2px;
}

.security-dashboard .security-2fa-disable {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
    padding: 18px;
    border: 1px dashed var(--color-indigo-500-a35);
    border-radius: 16px;
    background: var(--color-indigo-500-a08);
}

.security-dashboard .security-sessions {
    border: 1px solid var(--color-slate-400-a35);
    border-radius: 12px;
    overflow: hidden;
}

.security-dashboard .security-sessions__row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-slate-300-a35);
    background: var(--bg-base, var(--bg-color));
}

.security-dashboard .security-sessions__row:last-child {
    border-bottom: none;
}

.security-dashboard .security-sessions__row--head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sd-admin-text-muted);
    background: var(--color-indigo-500-a06);
    font-weight: 600;
}

.security-dashboard .security-sessions__device {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.security-dashboard .security-sessions__meta {
    font-size: 12px;
    color: var(--sd-admin-text-muted);
}

.security-dashboard .security-sessions__actions {
    display: flex;
    justify-content: flex-end;
}

.security-dashboard .security-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--color-emerald-500-a12);
    color: var(--color-emerald-700);
    font-size: 12px;
    font-weight: 600;
}

.security-dashboard .security-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 32px 16px;
    border: 1px solid var(--color-slate-200-a60);
    border-radius: 16px;
    background: var(--color-slate-50-a70);
}

.security-dashboard .security-empty__icon svg,
.security-dashboard .security-empty__icon img {
    width: 38px;
    height: 38px;
    opacity: 0.65;
}

.security-dashboard .security-empty p {
    margin: 0;
    color: var(--sd-admin-text-muted);
    font-size: 14px;
}

.security-dashboard .security-backup {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.security-dashboard .security-backup__meta {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
    align-items: center;
}

.security-dashboard .security-backup__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.security-dashboard .security-backup__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-dashboard .security-backup__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.security-dashboard .security-backup__list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.security-dashboard .security-backup__list li {
    background: var(--color-indigo-500-a08);
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-align: center;
}

.security-dashboard .security-events {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-dashboard .security-events__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sd-admin-text-primary);
}

.security-dashboard .security-events__description {
    font-size: 14px;
    color: var(--sd-admin-text-muted);
    margin: 0;
}

.security-dashboard .security-event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-dashboard .security-event {
    border: 1px solid var(--color-slate-200-a60);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-base, var(--bg-color));
    box-shadow: var(--shadow-4-10-12, 0 10px 24px var(--color-slate-900-a07));
}

.security-dashboard .security-event__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.security-dashboard .security-event__main time {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.security-dashboard .security-event__meta {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.security-dashboard .security-code-row button,
.security-dashboard .security-backup__actions button,
.security-dashboard .security-form__actions button {
    white-space: nowrap;
}

.creator-alert__action:hover,
.creator-alert__action:focus {
    background: var(--color-indigo-700);
    color: var(--white);
}

.creator-settings .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.creator-settings .description {
    color: var(--color-slate-650);
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.creator-status-card {
    border: 1px solid var(--color-indigo-500-a25);
    border-radius: 16px;
    padding: 16px;
    background: var(--color-indigo-600-a05);
    margin-bottom: 20px;
}

.creator-status-card--inline {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-emerald-500-a08);
    border-color: var(--color-emerald-500-a35);
}

.creator-status-card__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px;
}

.creator-status-card__row:last-child {
    margin-bottom: 0;
}

.creator-status-card__label {
    font-weight: 600;
    color: var(--sd-admin-text-primary);
}

.creator-status-card__value {
    font-weight: 600;
    text-transform: capitalize;
}

.creator-status-card__value--approved {
    color: var(--color-emerald-700);
}

.creator-status-card__value--pending {
    color: var(--color-amber-700);
}

.creator-status-card__value--rejected {
    color: var(--color-red-600);
}

.creator-status-card__value--none {
    color: var(--sd-admin-text-muted);
}

.creator-status-card__hint {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.creator-status-card__note {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
    margin: 0;
}

:root[data-theme="dark"] .creator-status-card,
html.theme-dark .creator-status-card,
body.theme-dark .creator-status-card {
    background: var(--color-indigo-500-a12);
    border-color: var(--color-indigo-500-a35);
}

:root[data-theme="dark"] .creator-status-card--inline,
html.theme-dark .creator-status-card--inline,
body.theme-dark .creator-status-card--inline {
    background: var(--color-emerald-500-a18);
    border-color: var(--color-emerald-500-a35);
}

.creator-documents {
    margin-bottom: 24px;
}

.creator-documents__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.creator-documents__list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
    color: var(--color-gray-800);
}

.creator-documents__list li {
    margin-bottom: 4px;
}

.creator-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.creator-form__group {
    border: 1px dashed var(--color-slate-400-a70);
    border-radius: 12px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    overflow: visible;
    min-height: 0;
}

.creator-form__group legend {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.creator-input {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.creator-input input[type="file"],
.creator-input input[type="text"],
.creator-input input[type="number"],
.creator-input input[type="email"],
.creator-input select,
.creator-input textarea {
    border: 2px solid var(--color-slate-400-a70);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    background: var(--bg-base, var(--bg-color));
}

.creator-input input[type="file"]:focus,
.creator-input input[type="text"]:focus,
.creator-input input[type="number"]:focus,
.creator-input input[type="email"]:focus,
.creator-input select:focus,
.creator-input textarea:focus {
    border-color: var(--button-blue-color) !important;
    box-shadow: 0 0 0 3px var(--button-blue-a15);
    outline: none !important;
}

:root[data-theme="dark"] .creator-input input[type="file"],
html.theme-dark .creator-input input[type="file"],
body.theme-dark .creator-input input[type="file"],
:root[data-theme="dark"] .creator-input input[type="text"],
html.theme-dark .creator-input input[type="text"],
body.theme-dark .creator-input input[type="text"],
:root[data-theme="dark"] .creator-input input[type="number"],
html.theme-dark .creator-input input[type="number"],
body.theme-dark .creator-input input[type="number"],
:root[data-theme="dark"] .creator-input input[type="email"],
html.theme-dark .creator-input input[type="email"],
body.theme-dark .creator-input input[type="email"],
:root[data-theme="dark"] .creator-input select,
html.theme-dark .creator-input select,
body.theme-dark .creator-input select,
:root[data-theme="dark"] .creator-input textarea,
html.theme-dark .creator-input textarea,
body.theme-dark .creator-input textarea {
    background: var(--surface);
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

:root[data-theme="dark"] .creator-input input[type="file"]:focus,
html.theme-dark .creator-input input[type="file"]:focus,
body.theme-dark .creator-input input[type="file"]:focus,
:root[data-theme="dark"] .creator-input input[type="text"]:focus,
html.theme-dark .creator-input input[type="text"]:focus,
body.theme-dark .creator-input input[type="text"]:focus,
:root[data-theme="dark"] .creator-input input[type="number"]:focus,
html.theme-dark .creator-input input[type="number"]:focus,
body.theme-dark .creator-input input[type="number"]:focus,
:root[data-theme="dark"] .creator-input input[type="email"]:focus,
html.theme-dark .creator-input input[type="email"]:focus,
body.theme-dark .creator-input input[type="email"]:focus,
:root[data-theme="dark"] .creator-input select:focus,
html.theme-dark .creator-input select:focus,
body.theme-dark .creator-input select:focus,
:root[data-theme="dark"] .creator-input textarea:focus,
html.theme-dark .creator-input textarea:focus,
body.theme-dark .creator-input textarea:focus {
    border-color: var(--button-blue-color) !important;
    box-shadow: 0 0 0 3px var(--button-blue-a25);
}

.creator-input--textarea textarea {
    min-height: 90px;
    resize: vertical;
    overflow: auto;
}

textarea,
textarea.form-input,
.form-input textarea,
.contact-page textarea,
.creator-input--textarea textarea {
    resize: vertical;
    overflow-x: hidden;
}

.creator-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-form__alert {
    font-size: 13px;
    color: var(--color-gray-800);
    min-height: 20px;
}

.creator-form__alert.is-success {
    color: var(--color-emerald-700);
}

.creator-form__alert.is-error {
    color: var(--color-red-600);
}

.creator-form__hint {
    font-size: 13px !important;
    color: var(--color-6b7280);
}

.creator-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.creator-grid-pref {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(200px, 1fr));
}

.creator-payout-group {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.creator-payout-group[hidden] {
    display: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-4f46e5), var(--color-indigo-500));
    border: none;
    color: var(--white);
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--color-indigo-700), var(--color-4f46e5));
}


/* Settings dashboard */

:root {
    --sd-admin-text-primary: #111b2e;
    --sd-admin-text-danger: #e05e5e;
    --sd-admin-text-muted: var(--text-gray);
    --sd-admin-link: var(--color-brand-blue);
    --sd-admin-bg-blue-soft: #eef1f6;
    --sd-admin-bg-blue-softer: #e9f2ff;
    --sd-admin-bg-teal-soft: #e8f7f6;
    --sd-admin-bg-coral-soft: #ffe8e6;
    --sd-admin-bg-danger-soft: #fff2f1;
    --sd-admin-bg-posts-soft: #f3fbfc;
    --sd-admin-bg-offwhite: #f6f8fb;
    --sd-admin-hover-bg: rgba(17, 27, 46, 0.06);
    --sd-admin-hover-bg-subtle: rgba(17, 27, 46, 0.04);
    --sd-admin-border: var(--border-subtle, var(--color-midnight-900-a08));
    --sd-admin-shadow: var(--shadow-soft, var(--box-shadow));
}

.card_admin.settings-dashboard {
    background-color: var(--bg-elevated);
    border-radius: 15px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--text-dark);
}

.settings-dashboard .h1 {
    padding: 0;
    font-size: 28px;
    font-weight: 700;
}

.settings-dashboard-intro {
    margin-top: -8px;
    color: var(--sd-admin-text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.kpi-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-card {
    background: var(--bg-base, var(--bg-color));
    color: var(--text-dark);
    border-radius: 14px;
    padding: 16px 18px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kpi-card {
    flex: 1 1 260px;
    max-width: 100%;
}

.kpi-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kpi-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon svg {
    width: 24px;
    height: 24px;
}

.kpi-icon--followers {
    background: var(--sd-admin-bg-blue-soft);
    color: var(--sd-admin-text-primary);
}

.kpi-icon--subscribers {
    background: var(--sd-admin-bg-blue-softer);
    color: var(--sd-admin-text-primary);
}

.kpi-icon--earnings {
    background: var(--sd-admin-bg-coral-soft);
    color: var(--color-coral-500);
}

.kpi-icon--supporters {
    background: var(--sd-admin-bg-teal-soft);
    color: var(--color-cyan-500);
}

.kpi-icon--revenue {
    background: var(--sd-admin-bg-danger-soft);
    color: var(--danger-alt);
}

.kpi-amount {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.kpi-period {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.kpi-delta {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.subscription-fees-segment-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.subscription-fees-segment {
    border: 1px solid var(--border-subtle, var(--color-midnight-900-a08));
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--bg-base, var(--bg-color));
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subscription-fees-segment__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subscription-fees-segment__indicator {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--accent);
    flex-shrink: 0;
}

.subscription-fees-segment__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.subscription-fees-segment__title {
    font-weight: 600;
    font-size: 14px;
}

.subscription-fees-segment__percent {
    font-size: 14px;
    color: var(--sd-admin-text-muted);
}

.subscription-fees-segment__indicator--creator {
    background: var(--accent);
}

.subscription-fees-segment__indicator--platform {
    background: var(--button-blue-color);
}

.subscription-fees-segment__indicator--processing {
    background: var(--warning);
}

.revenue-progress {
    margin-top: 18px;
}

.revenue-progress__chart {
    display: block;
    width: 100%;
    height: 16px;
}

.revenue-progress__background {
    fill: var(--border-subtle, var(--color-midnight-900-a08));
}

.revenue-progress__segment {
    fill: var(--accent);
}

.revenue-progress__segment--creator {
    fill: var(--accent);
}

.revenue-progress__segment--platform {
    fill: var(--button-blue-color);
}

.revenue-progress__segment--processing {
    fill: var(--warning);
}

.subscription-fees-calculator__results {
    margin-top: 16px;
    width: 100%;
}

.subscription-fees-resources {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-fees-resources__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subscription-fees-resource__trigger {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.subscription-fees-resource__trigger::after {
    content: ">";
    font-size: 14px;
    opacity: 0.6;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.subscription-fees-resource__trigger:hover::after,
.subscription-fees-resource__trigger:focus-visible::after {
    transform: translateX(4px);
    opacity: 1;
}

.fee-resource-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    z-index: 1200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fee-resource-modal.is-open {
    display: flex;
}

.fee-resource-modal:target {
    display: flex;
}

body.fee-resource-modal-open {
    overflow: hidden;
}

.fee-resource-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: block;
}

.fee-resource-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(600px, 100%);
    padding: 32px;
    background: var(--bg-elevated, #fff);
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
    color: var(--text-dark, #0f172a);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fee-resource-modal__header header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding:0px !important;
}

.fee-resource-modal__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--button-blue-color, #0ea5e9), var(--color-4f86f7, #4f86f7));
    align-items: center;
    justify-content: center;
    color: var(--white, #fff);
    flex-shrink: 0;
}

.fee-resource-modal__icon svg {
    width: 22px;
    height: 22px;
}

.fee-resource-modal__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
    margin: 0;
}

.fee-resource-modal__close {
    margin-left: auto;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right:10px;
    top:10px;
    z-index: 1;
}

.fee-resource-modal__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fee-resource-modal__intro {
    margin: 0;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: var(--text-gray, rgba(71, 85, 105, 0.9));
}

.fee-resource-modal__list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark, rgba(15, 23, 42, 0.92));
}

.fee-resource-modal__list li {
    background-image:  none !important;
    background-position: 0 14px;
    background-repeat: no-repeat;
    background-size: 12px;
    background-attachment: scroll;
    margin-bottom: 4px;
    padding-left: 20px;
    list-style-type: none;
    font-size: 14px;
}

.fee-resource-modal__footer {
    margin: 0;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: var(--text-gray, rgba(71, 85, 105, 0.9));
}

@media (max-width: 640px) {
    .fee-resource-modal {
        padding: 16px;
    }

    .fee-resource-modal__dialog {
        padding: 24px;
        border-radius: 18px;
        max-height: calc(100vh - 32px);
    }

    .fee-resource-modal__header header {
        align-items: center;
    }

    .fee-resource-modal__title {
        font-size: 18px;
    }
}

.blocked-card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.blocked-card {
    background: var(--sd-admin-bg-offwhite);
    border: 1px solid var(--sd-admin-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blocked-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blocked-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sd-admin-border);
}

.blocked-card__identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blocked-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.blocked-card__meta {
    display: grid;
    gap: 12px 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.blocked-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blocked-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--sd-admin-text-muted);
}

.blocked-card__value {
    font-size: 14px;
    color: var(--text-dark);
}

.blocked-card__value--wrap {
    word-break: break-word;
    white-space: pre-wrap;
}

.blocked-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.blocked-empty-card {
    background: var(--sd-admin-bg-offwhite);
    border: 1px dashed var(--sd-admin-border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscription-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.subscription-card {
    background: var(--sd-admin-bg-offwhite);
    border: 1px solid var(--sd-admin-border);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 8px 20px var(--sd-admin-hover-bg-subtle);
}

.subscription-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.subscription-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sd-admin-border);
}

.subscription-card__identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.subscription-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.subscription-card__meta {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.subscription-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subscription-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--sd-admin-text-muted);
}

.subscription-card__value {
    font-size: 14px;
    color: var(--text-dark);
}

.subscription-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sd-admin-bg-teal-soft);
    color: var(--sd-admin-text-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.subscription-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-card__action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subscription-card__form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.subscription-empty-card,
.subscription-history-empty {
    background: var(--sd-admin-bg-offwhite);
    border: 1px dashed var(--sd-admin-border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscription-empty-card__title,
.subscription-history-empty__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.subscription-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-history-item {
    background: var(--sd-admin-bg-offwhite);
    border: 1px solid var(--sd-admin-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 6px 18px var(--sd-admin-hover-bg-subtle);
}

.subscription-history-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subscription-history-item__event {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.subscription-history-item__meta {
    display: grid;
    gap: 12px 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.subscription-history-item__meta-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.subscription-history-item__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--sd-admin-text-muted);
}

.subscription-history-item__value {
    font-size: 14px;
    color: var(--text-dark);
}

.subscription-history-item__hint {
    color: var(--sd-admin-text-muted);
}

.creator-input--search-blocked {
    position: relative;
}

.creator-input--search-blocked input[type="search"] {
    border-radius: 14px;
    border: 1px solid var(--sd-admin-border);
    background: var(--sd-admin-bg-offwhite);
    padding: 12px 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 2px 6px var(--sd-admin-hover-bg-subtle);
    color: var(--text-dark);
}

.creator-input--search-blocked input[type="search"]::placeholder {
    color: var(--sd-admin-text-muted);
}

.creator-input--search-blocked input[type="search"]:focus,
.creator-input--search-blocked input[type="search"]:focus-visible {
    outline: none !important;
    border-color: #000;
    background: var(--bg-base, var(--bg-color));
}

.blocked-empty-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.blocked-empty-card__desc {
    font-size: 14px;
    color: var(--sd-admin-text-muted);
    line-height: 1.5;
}

.kpi-delta.positive {
    color: var(--sd-admin-text-primary);
}

.kpi-delta.negative {
    color: var(--sd-admin-text-danger);
}

.kpi-delta.neutral {
    color: var(--sd-admin-text-muted);
}

.kpi-chart {
    background: var(--sd-admin-bg-posts-soft);
    border-radius: 16px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
}

.kpi-chart--line {
    background: var(--sd-admin-bg-offwhite);
}

.kpi-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.charts-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 16px;
}

.chart-card,
.donut-card {
    flex: 1 1 320px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.chart-card .chart-box,
.donut-card .chart-box {
    position: relative;
    width: 100%;
    height: clamp(240px, 40vw, 360px);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.chart-card .chart-box canvas,
.donut-card .chart-box canvas {
    flex: 1 1 auto;
    width: 100% !important;
    height: 100% !important;
}

.chart-card .chart-box .chart-fallback,
.donut-card .chart-box .chart-fallback {
    margin-top: 12px;
}

.chart-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.chart-legend .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 6px;
}

.legend-blue {
    background: var(--color-brand-blue);
}

.legend-purple {
    background: var(--color-violet-500);
}

.legend-cyan {
    background: var(--color-cyan-400);
}

.ads-campaign-link-wrap {
    margin-top: 6px;
}

.ads-campaign-link {
    font-size: 12px;
    color: var(--button-blue-color);
    text-decoration: none;
    word-break: break-word;
}

.ads-campaign-link:hover {
    text-decoration: underline;
}

.advanced_settings_box,
.payment_box,
.ads-campaign-section {
    overflow: visible;
}

.ads-section-heading {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark, #111827);
    margin-bottom: 12px;
}

.ads-campaign-section {
    background: rgba(31, 75, 216, 0.04);
    border: 1px solid rgba(31, 75, 216, 0.12);
    border-radius: 14px;
    padding: 16px;
    gap: 16px;
}

.ads-field-label {
    column-gap: 6px;
}

.ads-field-label>span:first-child {
    font-weight: 600;
    color: var(--text-dark, #111827);
}

.ads-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.12));
    background: var(--hover-bg-color, #f3f4f6);
    color: var(--text-gray, #6b7280);
    font-size: 11px;
    font-weight: 600;
    cursor: help;
    position: relative;
}

.ads-help-button:hover,
.ads-help-button:focus {
    background: var(--btn-dark);
    color: var(--white);
    outline: none;
}

.ads-help-button:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.ads-help-button[aria-expanded='true'] {
    background: var(--btn-dark);
    color: var(--white);
}

.ads-tooltip {
    position: fixed;
    min-width: min(180px, calc(100vw - 24px));
    max-width: min(240px, calc(100vw - 24px));
    background: var(--text-dark, #111827);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    z-index: 999999;
    opacity: 0;
    transform: translateY(2px) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: auto;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    --ads-tooltip-anchor: 50%;
    --ads-tooltip-origin-x: 50%;
    --ads-tooltip-origin-y: 0%;
    transform-origin: var(--ads-tooltip-origin-x) var(--ads-tooltip-origin-y);
}

.ads-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ads-tooltip::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
    transform: rotate(45deg);
    left: var(--ads-tooltip-anchor, 50%);
    margin-left: -4px;
}

.ads-tooltip[data-placement='bottom']::after {
    top: -4px;
    box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.08);
}

.ads-tooltip[data-placement='top']::after {
    bottom: -4px;
    box-shadow: 2px 2px 4px rgba(15, 23, 42, 0.08);
}

.legend-red {
    background: var(--color-coral-500);
}

.chart-fallback {
    margin-top: 12px;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.chart-fallback.is-hidden {
    display: none;
}

.insight-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.insight-card {
    flex: 1 1 320px;
    position: relative;
    overflow: hidden;
}

.insight-card .insight-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-title-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insight-card .insight-title {
    font-size: 16px;
    font-weight: 600;
}

.insight-info {
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--sd-admin-text-muted);
    cursor: pointer;
}

.insight-info:focus-visible {
    outline: 2px solid var(--accent, var(--color-brand-blue));
    outline-offset: 2px;
}

.insight-info svg {
    width: 18px;
    height: 18px;
}

.insight-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-base, var(--bg-color));
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.4;
    box-shadow: var(--sd-admin-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 5;
}

.insight-title-wrap:focus-within .insight-tooltip,
.insight-title-wrap:hover .insight-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.insight-card .insight-summary {
    font-size: 14px;
    font-weight: 500;
    color: var(--sd-admin-text-primary);
}

.insight-card .insight-trend {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.list-card {
    flex: 1 1 320px;
    gap: 12px;
    max-height: 420px;
}

.list-header {
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sd-admin-border);
}

.list-header .icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.list-header .view-all {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: var(--black);
    padding: 6px 10px;
    border-radius: 10px;
    text-decoration: none;
}

.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 320px;
    padding-right: 4px;
}

.activity-item {
    display: flex;
    gap: 12px;
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--sd-admin-hover-bg-subtle);
    transition: background .2s ease;
}

.activity-item:hover {
    background: var(--sd-admin-hover-bg);
}

.activity-item--has-link {
    cursor: pointer;
}

.activity-item--has-link:focus,
.activity-item--has-link:focus-visible {
    outline: 2px solid var(--accent, var(--button-blue-color, #2563eb));
    outline-offset: 2px;
}

.activity-item--empty {
    justify-content: center;
    color: var(--sd-admin-text-muted);
    font-size: 14px;
}

.avatar-stack {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sd-admin-bg-blue-soft);
    color: var(--sd-admin-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-stack .avatar-link {
    display: block;
    width: 100%;
    height: 100%;
}

.avatar-stack img,
.avatar-stack .avatar-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    font-size: 16px;
}

.activity-name {
    font-weight: 600;
    color: var(--sd-admin-text-primary);
    text-decoration: none;
}

.activity-name:hover,
.activity-name:focus {
    text-decoration: underline;
}

.activity-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.activity-body .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.activity-body .title span {
    color: var(--sd-admin-text-muted);
}

.activity-body .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.activity-body .meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

.activity-chip {
    display: inline-flex;
    align-items: center;
    padding: 0px 10px;
    border-radius: 999px;
    background: var(--sd-admin-bg-offwhite, rgba(17, 17, 17, 0.08));
    color: var(--sd-admin-text-primary, var(--text-dark));
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.activity-meta__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: inherit;
    font-size: inherit;
}

.activity-meta__item+.activity-meta__item::before {
    content: '·';
    margin: 0 6px;
    color: inherit;
}

.activity-meta__amount {
    font-weight: 600;
    color: var(--text-dark);
}

.activity-meta__time {
    color: var(--sd-admin-text-muted);
}

.activity-page__section-empty {
    margin: 0;
    color: var(--sd-admin-text-muted);
    font-size: 12px !important;
}

.super-thanks-kpi-card,
.payments-kpi-card {
    gap: 10px;
}

.super-thanks-kpi-icon,
.payments-kpi-icon {
    border-radius: 14px;
    background: var(--sd-admin-bg-offwhite);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.super-thanks-kpi-icon--accent,
.payments-kpi-icon--accent {
    color: var(--accent);
}

.super-thanks-kpi-icon--primary,
.payments-kpi-icon--primary {
    color: var(--button-blue-color);
}

.super-thanks-kpi-icon--warning,
.payments-kpi-icon--warning {
    color: var(--warning);
}

.super-thanks-kpi-amount,
.payments-kpi-amount {
    font-size: 20px;
    font-weight: 700;
}

.super-thanks-kpi-period,
.payments-kpi-period {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}


/* Bank dashboard */

.settings-dashboard--bank {
    gap: 24px;
}

.bank-kpi-card {
    gap: 10px;
}

.bank-kpi-icon {
    border-radius: 14px;
    background: var(--sd-admin-bg-offwhite);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bank-kpi-icon svg {
    width: 24px;
    height: 24px;
}

.bank-kpi-icon--balance {
    background: var(--sd-admin-bg-blue-softer);
    color: var(--button-blue-color);
}

.bank-kpi-icon--pending {
    background: var(--sd-admin-bg-coral-soft);
    color: var(--color-coral-500);
}

.bank-kpi-icon--last {
    background: var(--sd-admin-bg-teal-soft);
    color: var(--color-cyan-500);
}

.bank-kpi-amount {
    font-size: 20px;
    font-weight: 700;
}

.bank-kpi-hint {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.bank-status-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bank-status-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bank-status-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--sd-admin-bg-blue-soft);
    color: var(--button-blue-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bank-status-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bank-status-card__eyebrow {
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--sd-admin-text-muted);
}

.bank-status-card__updated {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px !important;
    color: var(--sd-admin-text-muted);
}

.bank-status-card__updated span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

.bank-status-card__note {
    font-size: 13px !important;
    line-height: 1.55;
    color: var(--sd-admin-text-muted);
}

.bank-status-card__note strong {
    color: var(--sd-admin-text-primary);
    font-weight: 600;
    margin-right: 4px;
}

.bank-status-card__banner {
    margin: 12px 0;
}

.bank-status-card__admin-note {
    margin: 12px 0;
}

.bank-status-card__admin-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--sd-admin-text-primary);
}

.bank-form {
    gap: 20px;
}

.bank-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.settings-dashboard--bank .creator-form__group {
    border: none;
    padding: 0;
    background: transparent;
}

.settings-dashboard--bank .creator-form__group legend {
    margin-bottom: 0;
}

.bank-form-card {
    border: none;
    padding: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    overflow: visible !important;
    max-height: none;
    align-content: flex-start;
}

.bank-form-card__title {
    flex: 0 0 100%;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    color: var(--sd-admin-text-muted);
}

.bank-form-card .creator-input {
    flex: 1 1 220px;
    min-width: 220px;
}

.bank-form-card .creator-input-plus {
    flex: 1 1 auto !important;
}

.bank-form-card .creator-input--textarea {
    flex-basis: 100%;
}

.bank-form-card legend {
    border: 0;
    padding: 0;
}

.bank-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-form-actions .btn-primary {
    min-width: 180px;
}

.bank-withdraw-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-withdraw-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bank-withdraw-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-withdraw-card__title-wrap .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.2;
}

.bank-withdraw-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.bank-withdraw-card__balance {
    margin: 0;
    font-size: 14px !important;
    color: var(--sd-admin-text-muted);
}

.bank-withdraw-card__balance strong {
    color: var(--text-dark);
    font-weight: 700;
}

.bank-withdraw-card__hint {
    margin: 0;
    font-size: 13px !important;
    color: var(--sd-admin-text-muted);
}

.bank-withdraw-form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bank-withdraw-form-grid__row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bank-withdraw-form-grid .creator-input--textarea {
    grid-column: 1 / -1;
}

.bank-withdrawal-form textarea {
    resize: vertical;
    min-height: 72px;
}

.bank-withdrawal-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.bank-table-card .table-card__hint {
    color: var(--sd-admin-text-muted);
}

.bank-table-card .table-card__summary {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.bank-table {
    min-width: 600px;
}

.bank-table__cell {
    font-size: 13px;
}

.bank-table__cell--id {
    font-variant-numeric: tabular-nums;
    color: var(--sd-admin-text-muted);
}

.bank-table__cell--amount {
    font-weight: 600;
}

.bank-table__cell--status .status-badge {
    font-size: 12px;
}

.bank-table__cell--requested,
.bank-table__cell--processed {
    color: var(--sd-admin-text-muted);
}


/* Payout dashboard shared styles */

.settings-dashboard--payouts {
    gap: 24px;
}

.payout-summary-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payout-summary-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payout-summary-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--sd-admin-bg-offwhite);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--button-blue-color);
}

.payout-summary-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payout-summary-card__eyebrow {
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--sd-admin-text-muted);
}

.payout-summary-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.payout-summary-card__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payout-summary-card__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    font-size: 13px;
}

.payout-summary-card__label {
    font-weight: 600;
    color: var(--sd-admin-text-muted);
}

.payout-summary-card__value {
    font-weight: 600;
    color: var(--text-dark);
}

.payout-summary-card__status {
    font-size: 12px;
}

.payout-summary-card__connection {
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sd-admin-text-muted);
}

.payout-summary-card__connection.is-connected {
    color: var(--sd-admin-text-primary);
}

.payout-summary-card__connection.is-disconnected {
    color: var(--sd-admin-text-muted);
}

.payout-summary-card__hint {
    margin: 0;
    font-size: 13px !important;
    color: var(--sd-admin-text-muted);
}

.payout-summary-card--preferences .payout-summary-card__icon {
    background: var(--sd-admin-bg-teal-soft);
    color: var(--color-cyan-500);
}

.payout-methods-form,
.payout-preferences-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.payout-methods-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--color-sky-500-a08);
    color: var(--sd-admin-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.payout-methods-hint svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: var(--color-blue-600);
}

.payout-methods-hint p {
    margin: 0;
}

.payout-methods-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.payout-method-card,
.payout-preferences-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payout-method-card header {
    padding: 10px;
}

.payout-method-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.payout-method-card__titles {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.payout-method-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.payout-method-card__description {
    margin: 0;
    font-size: 13px !important;
    color: var(--sd-admin-text-muted);
}

.payout-method-card__status {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.payout-method-card__chip {
    background: var(--sd-admin-bg-blue-softer);
    color: var(--button-blue-color);
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.payout-method-card__status-badge {
    font-size: 12px;
}

.payout-method-card__connection {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.payout-method-card__connection.is-connected {
    color: var(--sd-admin-text-primary);
}

.payout-method-card__connection.is-disconnected {
    color: var(--sd-admin-text-muted);
}

.payout-method-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.payout-method-card__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: var(--sd-admin-bg-blue-softer);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--sd-admin-text-primary);
    margin-bottom: 12px;
}

.payout-method-card__note strong {
    font-weight: 600;
    color: inherit;
}

.payout-method-card__banner {
    background: var(--color-amber-500-a15);
    color: var(--color-amber-700);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.payout-summary-card__banner--pending {
    background: var(--color-sky-500-a15);
    color: var(--color-blue-600);
}

.payout-method-card__meta-item {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.payout-method-card__meta-item strong {
    color: var(--sd-admin-text-primary);
    font-weight: 600;
}

.payout-method-card__priority {
    max-width: 200px;
}

.payout-method-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.payout-method-card__default {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.creator-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--button-blue-color);
}

.payout-method-card__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payout-method-card__buttons button {
    flex: 0 1 auto;
}

.payout-method-card__switch {
    margin: 0;
    display: inline-flex;
}

.payout-method-card__switch-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
    cursor: pointer;
}

.payout-method-card__inline-message {
    margin: 0;
    font-size: 13px !important;
    color: var(--sd-admin-text-muted);
    max-width: 360px;
}

.payout-method-card__inline-message.is-success {
    color: var(--color-emerald-700);
}

.payout-method-card__inline-message.is-error {
    color: var(--danger-alt);
}

.payout-inline-link {
    color: var(--button-blue-color);
    font-weight: 600;
}

.payout-inline-link:hover,
.payout-inline-link:focus {
    text-decoration: underline;
}

.btn-dark {
    background: var(--color-slate-900);
    border: 1px solid var(--color-slate-900);
    color: var(--white);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-dark:hover,
.btn-dark:focus {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

.payout-method-card__buttons .btn-dark {
    min-width: 120px;
    justify-content: center;
}

.payout-methods-form__actions,
.payout-preferences-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payout-method-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payout-method-fields[hidden] {
    display: none !important;
}

.payout-method-fields__intro {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payout-method-fields__intro h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.payout-method-fields__intro p {
    margin: 0;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.payout-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.payout-method-fields__textarea textarea {
    min-height: 96px;
    resize: vertical;
}

.payout-preferences-form__groups {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.super-thanks-charts {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.super-thanks-charts>* {
    width: 100%;
}

.super-thanks-chart-card .chart-box {
    height: min(300px, 28vw);
}

.table-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
}

.table-card__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.table-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.table-card__hint,
.table-card__summary {
    margin: 0;
    font-size: 13px !important;
    color: var(--sd-admin-text-muted);
}

.table-card__scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}

.earnings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.earnings-table th,
.earnings-table td {
    padding: 12px 14px;
    font-size: 13px !important;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-dark);
    white-space: normal;
    vertical-align: middle;
}


/* Ads dashboard grid */

.ads-grid-wrapper {
    min-width: 100%;
}

.ads-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.8fr) minmax(220px, 1.5fr) minmax(200px, 1.2fr) minmax(160px, 0.8fr);
    gap: 16px;
    align-items: flex-start;
    min-width: 760px;
}

.ads-grid--header {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sd-admin-text-muted);
}

.ads-grid--header>div {
    display: flex;
    align-items: center;
}

.ads-header-actions {
    justify-content: flex-end;
}

.ads-grid-body {
    width: 100%;
}

.ads-grid-row {
    padding: 20px 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.ads-grid-body .ads-grid-row:last-child {
    border-bottom: none;
}

.ads-cell-full {
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--text-dark);
    text-align: left;
}

.ads-placeholder-row .ads-cell-full {
    text-align: center;
    color: var(--sd-admin-text-muted);
}

.ads-campaign-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ads-campaign-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    word-break: break-word;
}

.ads-campaign-status {
    display: flex;
    align-items: center;
}

.ads-campaign-meta {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sd-admin-text-muted);
}

.ads-budget-cell,
.ads-performance-cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-budget-list,
.ads-performance-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-budget-line,
.ads-performance-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ads-budget-label,
.ads-performance-label,
.ads-dashboard .ads-spent-meta,
.ads-dashboard .ads-spent-over,
.ads-dashboard .ads-remaining-meta,
.ads-dashboard .ads-toggle-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sd-admin-text-muted);
}

.ads-budget-value,
.ads-performance-value {
    font-weight: 600;
    color: var(--text-dark);
}

.ads-dashboard .ads-spent-over {
    color: var(--color-red-600);
}

.ads-budget-meter {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--border-subtle);
    overflow: hidden;
    margin: 4px 0;
}

.ads-budget-meter__fill {
    height: 100%;
    background: var(--color-brand-blue);
    transition: width 0.2s ease-in-out;
}

.ads-budget-meter__fill.is-over {
    background: var(--color-red-500);
}

.ads-actions-cell {
    text-align: right;
}

.ads-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ads-toggle-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ads-toggle-group.is-disabled .ads-toggle-label {
    color: var(--sd-admin-text-muted);
}

.ads-action-btn {
    border: 1px solid var(--border-subtle);
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ads-action-btn:hover {
    background: var(--hover-bg-color);
    border-color: var(--hover-bg-color);
}

.ads-action-btn:focus-visible {
    outline: 2px solid var(--color-brand-blue);
    outline-offset: 2px;
}

.ads-empty-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ads-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ads-edit-actions {
    padding: 15px 0px;
}

.ads-btn:hover {
    transform: translateY(-1px);
}

.ads-btn:focus-visible {
    outline: 2px solid var(--color-brand-blue);
    outline-offset: 2px;
}

.ads-btn-primary {
    background: var(--color-brand-blue);
    color: var(--white);
}

.ads-btn-primary:hover {
    background: var(--color-brand-blue-hover, #1f4bd8);
}

.ads-btn-grey {
    background: var(--bg-elevated);
    color: var(--text-dark);
}

.ads-btn-grey:hover {
    background: var(--hover-bg-color);
}

@media (max-width: 960px) {
    .ads-grid {
        grid-template-columns: minmax(200px, 1fr);
        min-width: 100%;
    }
    .ads-grid--header {
        display: none;
    }
    .ads-grid-row {
        grid-template-columns: minmax(200px, 1fr);
        padding: 18px 0;
    }
    .ads-actions-cell,
    .ads-actions {
        text-align: left;
        justify-content: flex-start;
    }
    .ads-actions {
        gap: 10px;
    }
    .ads-cell-full {
        grid-column: 1 / -1;
    }
}

.earnings-table th {
    text-align: left;
    font-weight: 600;
    color: var(--text-gray);
}

.earnings-table th:nth-child(5),
.earnings-table th:nth-child(6),
.earnings-table th:nth-child(7),
.earnings-table th:nth-child(8),
.earnings-table th:nth-child(10),
.earnings-table td:nth-child(5),
.earnings-table td:nth-child(6),
.earnings-table td:nth-child(7),
.earnings-table td:nth-child(8),
.earnings-table td:nth-child(10) {
    text-align: right;
}

.earnings-supporter__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.earnings-supporter__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.earnings-supporter__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.earnings-supporter__names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.earnings-supporter__display {
    font-weight: 600;
    color: var(--text-dark);
}

.earnings-supporter__username {
    font-size: 12px;
    color: var(--text-gray);
}

.earnings-post a {
    color: var(--sd-admin-link);
    font-weight: 600;
    text-decoration: none;
}

.earnings-post a:hover {
    text-decoration: underline;
}

.earnings-reference {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-gray);
    max-width: 220px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.table-invoice-link {
    color: var(--sd-admin-link);
    font-weight: 600;
    text-decoration: none;
}

.table-invoice-link:hover {
    text-decoration: underline;
}

.invoice {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invoice__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
}

.brand-xl {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-xl__logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--sd-admin-bg-offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.brand-xl__logo svg,
.brand-xl__logo img {
    width: 32px;
    height: 32px;
}

.brand-xl__name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.invoice__actions {
    display: flex;
    gap: 12px;
}

.inv-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--color-brand-blue-a11);
    color: var(--button-blue-color);
    font-weight: 600;
    text-decoration: none;
}

.inv-action:hover {
    text-decoration: none;
    filter: brightness(0.96);
}

.inv-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 12px 0;
}

.box-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-gray);
    font-weight: 700;
    margin-bottom: 8px;
}

.party__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.party__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.party__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.party__name:hover {
    text-decoration: underline;
}

.party__meta {
    font-size: 13px;
    color: var(--sd-admin-text-muted);
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

.summary-list .paid {
    color: var(--button-blue-color);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.divider {
    height: 1px;
    background: var(--border-subtle);
}

.invoice__items table {
    width: 100%;
    border-collapse: collapse;
}

.invoice__items th {
    text-transform: uppercase;
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 0.3px;
}

.invoice__items td,
.invoice__items th {
    padding: 12px 0;
}

.amount-mono {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    text-align: right;
    color: var(--text-dark);
}

.totals-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.totals-box .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

.thanks {
    text-align: center;
    font-weight: 800;
    margin-top: 12px;
}

.support-link {
    text-align: center;
}

.support-link a {
    color: var(--sd-admin-link);
    font-weight: 700;
    text-decoration: none;
}

.support-link a:hover {
    text-decoration: underline;
}

.foot-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--sd-admin-text-muted);
    text-align: center;
}

@media print {
    .invoice__actions,
    .support-link {
        display: none !important;
    }
    .invoice {
        box-shadow: none;
        padding: 0;
    }
}

.earnings-empty {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
}


/* ===== Media Viewer ===================================================== */

html.media-viewer--locked,
body.media-viewer--locked {
    overflow: hidden;
}

.media-viewer {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    display: grid;
    place-items: center;
    padding: clamp(12px, 4vw, 32px);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease-in-out, visibility 160ms ease-in-out;
}

.media-viewer--active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.media-viewer__overlay {
    position: absolute;
    inset: 0;
    background: var(--rgba-80, rgba(0, 0, 0, 0.82));
    opacity: 0;
    transition: opacity 160ms ease-in-out;
}

.media-viewer--active .media-viewer__overlay {
    opacity: 1;
}

.media-viewer__viewport {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: calc(100vh - clamp(48px, 12vh, 168px));
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(18px, 3vw, 32px);
    background: var(--bg-elevated, var(--white));
    color: var(--primary-text, var(--text-dark));
    border-radius: 20px;
    box-shadow: var(--shadow-20-40-25, var(--shadow-8-24-10));
    overflow: hidden;
}

.media-viewer__content {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 140px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.media-viewer__content img,
.media-viewer__content video,
.media-viewer__content canvas {
    max-width: 100%;
    border-radius: 16px;
    background: var(--bg-muted, var(--hover-bg-color));
}

.media-viewer__stage {
    position: relative;
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 24px);
    background: var(--bg-muted, var(--grey-light));
    border-radius: 18px;
    overflow: hidden;
}

.media-viewer__stage>* {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.media-viewer__meta {
    flex: 0 0 auto;
    color: var(--text, var(--text-gray));
    font-size: 0.95rem;
    line-height: 1.6;
}

.media-viewer__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.media-viewer__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius, 999px);
    background: var(--button-blue-color);
    color: var(--button-text, var(--white));
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 160ms ease-in-out, transform 160ms ease-in-out;
}

.media-viewer__action:hover {
    background: var(--button-blue-hover-color, var(--button-blue-color));
    transform: translateY(-1px);
}

.media-viewer__action:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.media-viewer__close {
    position: absolute;
    top: clamp(12px, 2vw, 20px);
    right: clamp(12px, 2vw, 20px);
    width: 42px;
    height: 42px;
    border-radius: var(--radius, 999px);
    border: 1px solid var(--border-subtle, var(--rgba-11));
    background: var(--surface, var(--white));
    color: var(--text, var(--text-dark));
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease-in-out, color 160ms ease-in-out, border-color 160ms ease-in-out, transform 160ms ease-in-out;
    box-shadow: var(--shadow-2-6-08, var(--box-shadow));
}

.media-viewer__close:hover,
.media-viewer__close:focus {
    background: var(--hover-bg-color, var(--bg-muted));
    color: var(--text-dark, var(--black));
    border-color: var(--button-blue-color);
    transform: translateY(-1px);
}

.media-viewer__close:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.media-viewer__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: var(--radius, 999px);
    border: 1px solid var(--border-subtle, var(--rgba-11));
    background: var(--surface, var(--white));
    color: var(--text, var(--text-dark));
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-2-6-08, var(--box-shadow));
    transition: background-color 160ms ease-in-out, color 160ms ease-in-out, border-color 160ms ease-in-out;
    z-index: 2;
}

.media-viewer__nav[hidden] {
    display: none;
}

.media-viewer__nav:disabled {
    cursor: default;
    opacity: 0.55;
    box-shadow: none;
}

.media-viewer__nav:not(:disabled):hover,
.media-viewer__nav:not(:disabled):focus {
    background: var(--hover-bg-color, var(--bg-muted));
    color: var(--text-dark, var(--black));
    border-color: var(--button-blue-color);
}

.media-viewer__nav:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.media-viewer__nav--prev {
    left: clamp(12px, 4vw, 28px);
}

.media-viewer__nav--next {
    right: clamp(12px, 4vw, 28px);
}

.media-viewer__reset {
    position: absolute;
    bottom: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 24px);
    padding: 8px 14px;
    border-radius: var(--radius, 999px);
    border: 1px solid var(--border-subtle, var(--rgba-11));
    background: var(--surface, var(--white));
    color: var(--text, var(--text-dark));
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: var(--shadow-2-6-08, var(--box-shadow));
    transition: background-color 160ms ease-in-out, color 160ms ease-in-out, border-color 160ms ease-in-out;
    z-index: 2;
}

.media-viewer__reset[hidden] {
    display: none;
}

.media-viewer__reset:hover,
.media-viewer__reset:focus {
    background: var(--hover-bg-color, var(--bg-muted));
    color: var(--text-dark, var(--black));
    border-color: var(--button-blue-color);
}

.media-viewer__reset:focus-visible {
    outline: 2px solid var(--button-blue-color);
    outline-offset: 2px;
}

.media-viewer--loading .media-viewer__content {
    opacity: 0.6;
    pointer-events: none;
}

.media-viewer__spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--hover-bg-color, rgba(255, 255, 255, 0.35));
    border-top-color: var(--button-blue-color);
    animation: mediaViewerSpin 1s linear infinite;
    margin: 24px auto;
}

.media-viewer__zoom-surface {
    position: relative;
    overflow: hidden;
    touch-action: none;
}

.media-viewer__zoom-surface img {
    will-change: transform;
}

.media-viewer__zoom-surface.is-zoomed {
    cursor: grab;
}

@keyframes mediaViewerSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .media-viewer,
    .media-viewer__overlay,
    .media-viewer__action,
    .media-viewer__close {
        transition-duration: 0.01ms;
        transition-delay: 0ms;
    }
    .media-viewer__spinner {
        animation-duration: 1.6s;
    }
}

@media (max-width: 520px) {
    .media-viewer {
        padding: 0;
    }
    .media-viewer__viewport {
        width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
    .media-viewer__close {
        top: 16px;
        right: 16px;
    }
    .media-viewer__nav {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .media-viewer__reset {
        padding: 6px 11px;
        font-size: 11px;
    }
}


/* LightGallery CSP-safe thumbnail strip */

.lg-components .dz-lg-thumb-strip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 18px;
    gap: 12px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

@supports not (backdrop-filter: blur(8px)) {
    .lg-components .dz-lg-thumb-strip {
        background: rgba(15, 23, 42, 0.85);
    }
}

.dz-lg-thumb-list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    max-width: min(920px, 100%);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.dz-lg-thumb-list li {
    background-image: none !important;
}

.dz-lg-thumb-list:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 4px;
}

.dz-lg-thumb-list::-webkit-scrollbar {
    height: 6px;
}

.dz-lg-thumb-list::-webkit-scrollbar-track {
    background: transparent;
}

.dz-lg-thumb-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.dz-lg-thumb-item {
    flex: 0 0 auto;
}

.dz-lg-thumb {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.dz-lg-thumb:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.dz-lg-thumb-img,
.dz-lg-thumb-fallback {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0.7;
}

.dz-lg-thumb-img {
    object-fit: cover;
}

.dz-lg-thumb:hover .dz-lg-thumb-img,
.dz-lg-thumb:hover .dz-lg-thumb-fallback {
    opacity: 0.9;
}

.dz-lg-thumb.is-active .dz-lg-thumb-img,
.dz-lg-thumb.is-active .dz-lg-thumb-fallback,
.dz-lg-thumb[aria-current="true"] .dz-lg-thumb-img,
.dz-lg-thumb[aria-current="true"] .dz-lg-thumb-fallback {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.dz-lg-thumb.is-active,
.dz-lg-thumb[aria-current="true"] {
    cursor: default;
}

.dz-lg-thumb-strip+.lg-sub-html {
    margin-top: 8px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.subscription-table-card {
    margin-top: 20px;
}

.subscription-row--cancelled {
    background: var(--alert-success-bg, rgba(15, 81, 50, 0.08));
}

.settings-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    pointer-events: none;
}

.settings-toast {
    min-width: 220px;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--color-gray-800);
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    pointer-events: auto;
    font-size: 14px;
    line-height: 1.4;
}

.settings-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.settings-toast.is-success {
    background: var(--toast-bg-success, var(--color-emerald-700));
}

.settings-toast.is-error {
    background: var(--color-red-600);
}

.settings-toast.is-info {
    background: var(--color-gray-800);
}

@media (prefers-color-scheme: dark) {
     :root:not([data-theme]),
     :root[data-theme="auto"] {
        --bg-base: #0b0f14;
        --bg-color: var(--bg-base);
        --bg-muted: #12161c;
        --bg-elevated: #202123;
        --surface: var(--bg-elevated);
        --hover-bg-color: rgba(255, 255, 255, 0.06);
        --text-primary: #e5e7eb;
        --text-dark: #e5e7eb;
        --text: #cfd3da;
        --text-secondary: #c4ccd4;
        --text-muted: #b7c1cc;
        --text-gray: #b7c1cc;
        /* Legacy variables used across styles */
        --primary-text: var(--text-primary);
        --secondary-text: var(--text-secondary);
        --icon-color: #ffffff;
        --eye-color: #ffffff;
        --svg-color: #c0c8d0;
        --btn-primary-bg: var(--button-blue-color);
        --btn-primary-text: var(--white);
        --button-dark-bg: #1a1d21;
        --input-bg: #303030;
        --border-subtle: rgba(255, 255, 255, 0.08);
        --accent: var(--primary-color);
        --link-color: var(--button-blue-color);
        --box-shadow: var(--rgba-41);
        --rgba-18: rgba(30, 35, 43, 0.65);
        --rgba-12: rgba(12, 14, 20, 0.4);
        --rgba-29: rgba(23, 30, 40, 0.9);
    }
    /* Desktop auto/system */
     :root:not([data-theme]) .logo--desktop.logo--for-light,
     :root[data-theme="auto"] .logo--desktop.logo--for-light {
        display: none !important;
    }
     :root:not([data-theme]) .logo--desktop.logo--for-dark,
     :root[data-theme="auto"] .logo--desktop.logo--for-dark {
        display: inline !important;
    }
     :root:not([data-theme]),
     :root[data-theme='auto'] {
        --maintenance-card-bg: rgba(15, 23, 42, 0.6);
        --maintenance-card-border: rgba(79, 134, 247, 0.25);
    }
     :root:not([data-theme]) .maintenance-screen,
     :root[data-theme='auto'] .maintenance-screen {
        background: var(--surface, var(--color-charcoal-900));
        box-shadow: 0 28px 50px var(--rgba-62);
    }
     :root:not([data-theme]) .maintenance-status-card,
     :root[data-theme='auto'] .maintenance-status-card {
        background: var(--maintenance-card-bg);
        border-color: var(--maintenance-card-border);
    }
     :root:not([data-theme]) .maintenance-countdown__segment,
     :root[data-theme='auto'] .maintenance-countdown__segment {
        background: var(--hover-bg-color);
    }
     :root:not([data-theme]) .maintenance-logo--dark,
     :root[data-theme='auto'] .maintenance-logo--dark {
        display: block;
    }
     :root:not([data-theme]) .maintenance-logo--light,
     :root[data-theme='auto'] .maintenance-logo--light {
        display: none;
    }
     :root:not([data-theme]) .maintenance-logo--mobile-dark,
     :root[data-theme='auto'] .maintenance-logo--mobile-dark {
        display: block;
    }
     :root:not([data-theme]) .maintenance-logo--mobile-light,
     :root[data-theme='auto'] .maintenance-logo--mobile-light {
        display: none;
    }
}

@media (max-width: 768px) {
    .ads-sidebar,
    .sponsor-sidebar {
        width: 100%;
    }
    .ads-sidebar__cards,
    .sponsor-sidebar__cards {
        gap: 20px;
    }
    .ads-card,
    .sponsor-card {
        margin-bottom: 0;
    }
    .dz-pagination {
        gap: 6px;
    }
    .dz-pagination .page-btn,
    .dz-pagination .page-link {
        height: 32px;
        min-width: 32px;
        border-radius: 8px;
    }
    .dz-pagination .goto-input {
        height: 32px;
        width: 72px;
        border-radius: 8px;
    }
    .dz-pagination .goto-btn {
        height: 32px;
        border-radius: 8px;
    }
    .activity-page {
        padding: 20px 12px;
        gap: 12px;
    }
    .activity-page__heading {
        font-size: 22px;
    }
    .activity-page__card {
        padding: 16px;
    }
    .main-content {
        padding: 0;
    }
    .profile-cover {
        border-radius: 0px !important;
    }
    .reels_container {
        grid-template-columns: repeat(2, 1fr);
    }
    .reels_container>.empty-state {
        padding: 48px 0;
    }
    .creator-avatar {
        width: 64px;
        height: 64px;
    }
    .creator-info-wrapper {
        margin-top: -32px;
        padding-top: 44px;
    }
    .profile-left-container .reels_container {
        grid-template-columns: repeat(2, 1fr);
    }
    .creators-container {
        grid-template-columns: 1fr;
    }
    .creators-grid {
        grid-template-columns: 1fr;
    }
    .creator-wrapper {
        padding: 6px;
    }
    .creator-follow-btn-wrapper {
        padding: 6px;
        gap: 6px;
    }
    header {
        padding: 20px 30px;
        flex-direction: column;
        align-items: flex-start;
    }
    .main-header-inner {
        padding: 20px;
    }
    .container h1 {
        font-size: 60px;
    }
    .hero h1 {
        font-size: 5.4rem;
    }
    .ghost {
        width: 60px;
    }
    .ghost-center-top {
        display: none;
    }
    .marquee-slider__list--item {
        width: 160px;
        height: 160px;
        max-width: 160px;
        min-height: 160px;
    }
    .pricing-card {
        flex-flow: column;
    }
    .benefit-cards {
        gap: 10px;
        flex-flow: column;
        display: flex;
    }
    .big-bold-list {
        font-size: 58px;
        line-height: 1.1;
    }
    .recent-work h2 {
        font-size: 30px;
    }
    .features-title {
        font-size: 30px;
    }
    .features-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .sticker-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .bank-form-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .bank-form-card {
        flex-direction: column;
        gap: 12px;
    }
    .bank-form-card .creator-input,
    .bank-form-card .creator-input--textarea {
        flex-basis: 100%;
        min-width: 0;
    }
    .bank-table {
        min-width: 480px;
    }
    .payout-method-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .payout-method-card__status {
        justify-content: flex-start;
    }
    .payout-method-card__actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .payout-method-card__buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .media-viewer {
        padding: clamp(8px, 3vw, 20px);
    }
    .media-viewer__viewport {
        width: 100%;
        max-height: calc(100vh - 32px);
        border-radius: 18px;
    }
    .media-viewer__nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .media-viewer__reset {
        padding: 7px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .dz-pagination {
        justify-content: space-between;
    }
    .dz-pagination .page-core {
        flex: 1 1 auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dz-pagination .page-list {
        flex-wrap: nowrap;
    }
    .dz-pagination .page-first,
    .dz-pagination .page-last {
        display: none;
    }
    .dz-pagination .page-goto {
        order: 3;
        width: 100%;
        justify-content: flex-end;
    }
    .site-announcement__content {
        padding: 20px 16px 0 16px;
    }
    .site-announcement__footer {
        padding: 18px 16px 20px 16px;
        gap: 10px;
    }
    .create-new-modal {
        padding: 0 0 20px;
    }
    .create-new-modal .click_box_header {
        padding: 16px 20px 14px;
        font-size: 18px;
    }
    .create-new-modal__body {
        padding: 12px 16px 20px;
    }
}

@media (max-width: 640px) {
    .has-mobile-logo .logo--desktop {
        display: none !important;
    }
    .has-mobile-logo .logo--mobile {
        display: inline !important;
    }
    /* On mobile, show only the matching theme variant */
     :root[data-theme="dark"] .has-mobile-logo .logo--mobile.logo--for-light,
    html.theme-dark .has-mobile-logo .logo--mobile.logo--for-light,
    body.theme-dark .has-mobile-logo .logo--mobile.logo--for-light {
        display: none !important;
    }
     :root[data-theme="dark"] .has-mobile-logo .logo--mobile.logo--for-dark,
    html.theme-dark .has-mobile-logo .logo--mobile.logo--for-dark,
    body.theme-dark .has-mobile-logo .logo--mobile.logo--for-dark {
        display: inline !important;
    }
     :root[data-theme="light"] .has-mobile-logo .logo--mobile.logo--for-light,
    html.theme-light .has-mobile-logo .logo--mobile.logo--for-light,
    body.theme-light .has-mobile-logo .logo--mobile.logo--for-light {
        display: inline !important;
    }
     :root[data-theme="light"] .has-mobile-logo .logo--mobile.logo--for-dark,
    html.theme-light .has-mobile-logo .logo--mobile.logo--for-dark,
    body.theme-light .has-mobile-logo .logo--mobile.logo--for-dark {
        display: none !important;
    }
    /* Ensure desktop variants are force-hidden on mobile (higher specificity than theme show rules) */
     :root[data-theme="dark"] .has-mobile-logo .logo--desktop.logo--for-dark,
     :root[data-theme="dark"] .has-mobile-logo .logo--desktop.logo--for-light,
    html.theme-dark .has-mobile-logo .logo--desktop.logo--for-dark,
    html.theme-dark .has-mobile-logo .logo--desktop.logo--for-light,
    body.theme-dark .has-mobile-logo .logo--desktop.logo--for-dark,
    body.theme-dark .has-mobile-logo .logo--desktop.logo--for-light,
     :root[data-theme="light"] .has-mobile-logo .logo--desktop.logo--for-dark,
     :root[data-theme="light"] .has-mobile-logo .logo--desktop.logo--for-light,
    html.theme-light .has-mobile-logo .logo--desktop.logo--for-dark,
    html.theme-light .has-mobile-logo .logo--desktop.logo--for-light,
    body.theme-light .has-mobile-logo .logo--desktop.logo--for-dark,
    body.theme-light .has-mobile-logo .logo--desktop.logo--for-light {
        display: none !important;
    }
    .subscription-table th:nth-child(8),
    .subscription-table td:nth-child(8) {
        display: none;
    }
    .site-announcement {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }
    .site-announcement__dialog {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    @supports (height: 100dvh) {
        .site-announcement__dialog {
            height: 100dvh;
            max-height: 100dvh;
        }
    }
    .site-announcement__media {
        height: clamp(180px, 45vh, 360px);
        min-height: 160px;
    }
    .site-announcement__content {
        padding: 24px 20px 0;
    }
    .site-announcement__footer {
        padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    }
    .site-announcement {
        padding: 0px;
    }
    .site-announcement__content {
        padding: 24px 20px 0 20px;
    }
    .site-announcement__footer {
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .site-announcement__title {
        font-size: 1.1rem;
    }
    .site-announcement__body {
        font-size: 0.95rem;
    }
    .site-announcement__cta,
    .site-announcement__close {
        flex: 1 1 auto;
        justify-content: center;
        width: 100%;
    }
    .live-title-bar {
        font-size: 18px;
    }
    .lives-grid {
        grid-template-columns: 1fr;
    }
    .earnings-section {
        gap: 16px;
    }
    .earnings-chart-card {
        min-height: 280px;
    }
    .earnings-supporter__avatar {
        width: 32px;
        height: 32px;
    }
    .security-dashboard .security-sessions__row {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    .security-dashboard .security-sessions__row--head {
        display: none;
    }
    .security-dashboard .security-sessions__actions {
        justify-content: flex-start;
    }
    .security-dashboard .security-form__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-secondary,
    .btn-primary,
    .btn-danger {
        width: 100%;
        text-align: center;
    }
    .status-pill {
        flex-direction: column;
        align-items: flex-start;
    }
    .security-dashboard .security-card {
        padding: 20px;
    }
    .creator-form__group {
        grid-template-columns: 1fr;
    }
    .creator-payout-group {
        grid-template-columns: 1fr;
    }
    .creator-form__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .creator-alert {
        flex-direction: column;
        align-items: flex-start;
    }
    .creator-alert__action {
        width: 100%;
        justify-content: center;
    }
    .subscription-card__header {
        align-items: flex-start;
    }
    .subscription-card__form {
        width: 100%;
        justify-content: space-between;
    }
    .subscription-card__form button {
        width: 100%;
        justify-content: center;
    }
    .blocked-card {
        padding: 14px;
    }
    .blocked-card__meta {
        grid-template-columns: 1fr;
    }
    .payout-method-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .payout-method-card__default {
        justify-content: flex-start;
    }
    .payout-method-card__priority {
        width: 100%;
        max-width: none;
    }
    .payout-method-card__buttons {
        width: 100%;
    }
    .payout-method-card__buttons button {
        flex: 1 1 140px;
    }
    .payout-method-card__inline-message {
        max-width: none;
    }
    .invoice__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .invoice__actions {
        width: 100%;
        justify-content: flex-start;
    }
    .settings-dashboard .h1 {
        font-size: 24px;
    }
    .kpi-row,
    .charts-row,
    .insight-row {
        flex-direction: column;
    }
    .admin-card {
        min-width: 100%;
    }
    .dz-lg-thumb-img,
    .dz-lg-thumb-fallback {
        width: 60px;
        height: 60px;
        font-size: 11px;
    }
    .settings-toast-stack {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    .settings-toast {
        width: 100%;
        max-width: none;
    }
    .kpi-card {
        flex: 1 1 auto;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table th,
     :is(.settings-section,
    .settings-dashboard) .table-card__scroll .earnings-table td {
        padding: 10px 8px;
    }
    .subscription-table th:nth-child(7),
    .subscription-table td:nth-child(7) {
        display: none;
    }
    body.is-live-page .messages_box_wrapper {
        right: 10px;
    }
    .security-dashboard .security-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
    }
    .security-dashboard .security-2fa-setup {
        grid-template-columns: 1fr;
    }
    .security-dashboard .security-2fa-qr {
        justify-self: center;
    }
    .payout-methods-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .payout-method-card__titles {
        flex: 1 1 auto;
        min-width: 0;
    }
}

@media (max-width: 992px) {
    .subscription-table th:nth-child(2),
    .subscription-table td:nth-child(2) {
        display: none;
    }
    .reels_container {
        grid-template-columns: repeat(3, 1fr);
    }
    .creator-avatar {
        width: 72px;
        height: 72px;
    }
    .creator-info-wrapper {
        margin-top: -36px;
        padding-top: 50px;
    }
    .creators-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .creators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .creator-wrapper {
        padding: 8px;
    }
    .card_admin.settings-dashboard {
        padding: 20px;
    }
    .chart-card,
    .donut-card {
        min-height: 280px;
    }
    .activity-list {
        max-height: none;
    }
}

@media (max-width: 1024px) {
    .main-header.menu-open .main-header-inner {
        border-radius: 30px;
    }
    .container-nav {
        flex-wrap: wrap;
        gap: 2px;
    }
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }
    .nav-cluster {
        width: calc(100% - 24px);
        max-width: 520px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin: 0 auto;
        padding: 0;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.12));
        border-width: 0;
        box-shadow: 0 24px 45px rgba(15, 23, 42, 0.25);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        box-sizing: border-box;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, max-height 0.25s ease;
    }
    :root[data-theme="dark"] .nav-cluster,
    html.theme-dark .nav-cluster,
    body.theme-dark .nav-cluster {
        background: rgba(15, 23, 42, 0.85);
        border-color: var(--color-slate-900-a40, rgba(15, 23, 42, 0.4));
        box-shadow: 0 24px 45px rgba(0, 0, 0, 0.6);
    }
    .main-header.menu-open .nav-cluster {
        padding: 18px;
        margin: 12px auto;
        border-width: 1px;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        max-height: 85vh;
    }
    .primary-navigation {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .primary-navigation .menu-item {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 12px 0;
        font-size: 1rem;
    }
    .primary-navigation .menu-item + .menu-item {
        margin-left: 0;
    }
    .primary-navigation .menu-item::after {
        display: none;
    }
    .primary-navigation .btn-call {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 12px;
    }
    .welcome_language_switcher_wrapper {
        width: 100%;
        margin-left: 0;
        margin-top: 16px;
        justify-content: flex-start;
    }
    .content-left {
        max-width: 100% !important;
    }
    .mobile-nav-btn-left,
    .mobile-nav-btn-right,
    .mobile-search-toggle {
        display: inline-flex;
    }
    .site_header_container {
        flex-wrap: wrap;
    }
    .header_left {
        order: 1;
    }
    /* Hide search row by default on mobile; toggle via .search-expanded */
    .header_search_wrapper {
        order: 2;
        width: 100%;
        padding: 8px 0 0 0;
        display: none;
    }
    .header_right {
        order: 3;
    }
    .search_bar_container {
        max-width: none;
    }
    .search_input {
        padding: 12px 14px;
        min-height: 44px;
        font-size: 16px;
    }
    /* Full-width overlay when search is focused/active */
    .site_header_container.search-expanded .header_search_wrapper {
        order: 0;
        width: 100%;
        position: absolute;
        z-index: 3000;
        left: 0;
        right: 0;
        top: 0;
        padding: 8px;
        display: block;
    }
    .site_header_container.search-expanded .search_bar_container {
        max-width: none !important;
        width: 100% !important;
    }
    .live-content {
        grid-template-columns: 1fr;
    }
    .live-right.sticky {
        position: static;
        top: auto;
    }
    .live-chat-body {
        max-height: none;
        min-height: 240px;
    }
    .advanced_settings_box .visibility-options {
        justify-content: center;
    }
    .advanced_settings_box .setting-row .advanced_settings_title {
        width: 100%;
    }
    .advanced_settings_box .setting-row .advanced_sttings_switch {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 6px;
    }
    input,
    select,
    textarea,
    button,
    .form-input,
    .text-field,
    .create_text,
    .write-comment,
    .chat_textarea,
    .tips-input,
    .tips-select {
        font-size: 13px !important;
        line-height: 1.35;
    }
    .post-visiblity {
        padding: 8px 10px;
    }
    /* Left sidebar off-canvas */
    .sidebar.sidebar--left {
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        width: 86vw;
        max-width: 300px;
        padding: 0px;
        transform: translateX(-110%);
        transition: transform 0.25s ease;
        z-index: 2000;
    }
    .sidebar.sidebar--left .sidebar__inner {
        height: 100%;
        border-radius: 0 12px 12px 0;
    }
    body.mobile-left-open .sidebar.sidebar--left {
        transform: translateX(0);
    }
    /* Right panel off-canvas */
    .content-right {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: 90vw;
        min-width: 360px;
        max-width: 420px;
        padding: 0px;
        transform: translateX(110%);
        transition: transform 0.25s ease;
        z-index: 2000;
        padding-left: 0px;
    }
    .content-right .content-right-container {
        height: 100%;
        background: var(--bg-elevated);
        border-radius: 12px 0 0 12px;
        box-shadow: var(--box-shadow);
        overflow-y: auto;
    }
    body.mobile-right-open .content-right {
        transform: translateX(0);
    }
    /* When any drawer open, lock body scroll */
    body.mobile-left-open,
    body.mobile-right-open {
        overflow: hidden;
    }
    .user_dropdown .username {
        display: none;
    }
    .user_dropdown {
        padding: 6px 6px !important;
    }
    .site_header_container a {
        min-width: auto !important;
    }
    .site_header {
        padding: 0px !important;
    }
    .site_header_container {
        border-radius: 0px !important;
        padding: 10px 10px 10px 10px;
    }
    .user_dropdown .dropdown_arrow {
        display: none;
    }
    .total-like .metric-label,
    .total-comment .metric-label {
        display: none !important;
    }
    .lives-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .earnings-section {
        gap: 20px;
    }
    .earnings-table th,
    .earnings-table td {
        font-size: 12px;
    }
    .earnings-supporter {
        min-width: 200px;
    }
    /* Flex layout: [<] [scrollable tabs] [>] */
    .profile-tabs-scroll {
        position: relative;
        min-height: 52px;
        overflow: visible;
        display: flex;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    .tabs-viewport {
        position: relative;
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0;
    }
    .tabs-viewport::-webkit-scrollbar {
        display: none;
    }
    .profile-tabs {
        flex-wrap: nowrap;
    }
    .profile-tab {
        flex: 0 0 auto;
    }
    .profile-tabs-scroll .tabs-arrow {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 999px;
        background: var(--bg-elevated);
        box-shadow: var(--shadow-4-10-12);
        display: grid;
        place-items: center;
        cursor: pointer;
        flex: 0 0 36px;
        z-index: 2147483000;
    }
    .profile-tabs-scroll .tabs-arrow svg,
    .profile-tabs-scroll .tabs-arrow img {
        width: 18px;
        height: 18px;
    }
    /* Default: show both arrows; JS hides with .is-hidden (low opacity, no clicks) */
    .profile-tabs-scroll .tabs-arrow {
        opacity: 1;
        pointer-events: auto;
    }
    .profile-tabs-scroll .tabs-arrow.is-hidden {
        display: grid !important;
        opacity: .4;
        pointer-events: none;
    }
    /* Optional edge fades (controlled by JS) */
    .profile-tabs-scroll.can-left .tabs-arrow--left {
        opacity: 1;
    }
    .profile-tabs-scroll.can-right .tabs-arrow--right {
        opacity: 1;
    }
    /* Edge fade cues (like YouTube) */
    .profile-tabs-scroll::before,
    .profile-tabs-scroll::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 22px;
        pointer-events: none;
        z-index: 1;
        display: none;
        /* toggled by JS via .can-left/.can-right */
    }
    .profile-tabs-scroll::before {
        left: 0;
        background: linear-gradient(to right, var(--bg-elevated), var(--rgba-0));
    }
    .profile-tabs-scroll::after {
        right: 0;
        background: linear-gradient(to left, var(--bg-elevated), var(--rgba-0));
    }
    .profile-tabs-scroll.can-left::before {
        display: block;
    }
    .profile-tabs-scroll.can-right::after {
        display: block;
    }
    .security-dashboard .security-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
    }
    .security-dashboard .security-2fa-setup {
        grid-template-columns: 1fr;
    }
    .security-dashboard .security-2fa-qr {
        justify-self: center;
    }
}

@media (max-width: 680px) {
    .profile-hero {
        margin: 8px 0 64px;
    }
    .profile-hero .hero-cover {
        aspect-ratio: 16/9;
        max-height: 220px;
    }
    .profile-hero .hero-avatar {
        width: 96px;
        height: 96px;
        bottom: -48px;
    }
    .profile-media-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-media-row .pm-cover {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 540px) {
    .billing-fields {
        grid-template-columns: 1fr;
    }
    .tips {
        padding: 16px 14px;
    }
    .tips-gateways {
        grid-template-columns: repeat(2, 1fr);
    }
    .maintenance-body {
        padding: 24px 16px;
    }
    .maintenance-screen {
        gap: 24px;
    }
    .maintenance-logo--light,
    .maintenance-logo--dark {
        display: none;
    }
    .maintenance-logo--mobile-light {
        display: block;
        max-height: 40px;
    }
    .maintenance-logo--mobile-dark {
        display: none;
        max-height: 40px;
    }
    .maintenance-countdown__segment {
        padding: 10px;
    }
}

.gdpr-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 16px 18px;
    z-index: 1200;
    color: #111827;
    font-family: inherit;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.gdpr-banner--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gdpr-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gdpr-banner__icon {
    flex: none;
    width: 40px;
    height: 40px;
}

.gdpr-banner__icon svg,
.gdpr-banner__icon img {
    width: 40px;
    height: 40px;
}

.gdpr-banner__icon-svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.gdpr-banner__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gdpr-banner__message {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.gdpr-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gdpr-banner__btn {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gdpr-banner__btn:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.gdpr-banner__btn--primary {
    background-color: #111111;
    color: #ffffff;
}

.gdpr-banner__btn--primary:hover {
    background-color: #000000;
}

.gdpr-banner__btn--ghost {
    background-color: transparent;
    color: #6b7280;
}

.gdpr-banner__btn--ghost:hover {
    color: #111827;
}

@media (max-width: 768px) {
    .gdpr-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .gdpr-banner__inner {
        flex-direction: column;
        gap: 12px;
    }
    .gdpr-banner__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .gdpr-banner__btn {
        width: 100%;
        text-align: center;
    }
}
.theme-dark .contact-submit {
    background: var(--color-neutral-50, #f9fafb);
    color: var(--color-neutral-900, #111827);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.4);
}

.theme-dark .contact-submit:hover,
.theme-dark .contact-submit:focus {
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.52);
    filter: brightness(1.08);
}

.theme-dark .contact-submit:active {
    filter: brightness(0.94);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.45);
}

.csrf-session-modal__backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-family: inherit;
}

.csrf-session-modal {
    background: #fff;
    color: #1b1b1f;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    max-width: 420px;
    width: 100%;
    padding: 24px;
    text-align: center;
}

.csrf-session-modal h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.csrf-session-modal p {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.csrf-session-modal button {
    min-width: 140px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #1f4bd8;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.csrf-session-modal button:focus {
    outline: 2px solid #1f4bd8;
    outline-offset: 2px;
}

.csrf-session-modal__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffe6e6;
    color: #d93025;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}
.reset-password-form .login-submit {
  display: block;
  width: 100%;
  margin-top: 12px;
}

.reset-password-form .form-container {
  flex-wrap: wrap;
}

.reset-password-form .form-input-wrapper.divid {
  flex: 0 0 100%;
  max-width: 100%;
}
