:root {
    --app-w: 1425px;
    --drawer-w: 250px;
    --header-h: 60px;
    --border-color: #e2e8f0;
    --overlay: rgba(15, 23, 42, 0.08);
    --ad-column-width: 160px;
    /* --ad-space-color: #dfccfb; */
    --ad-space-color: #e7d8fc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
    overflow: hidden;
}
body {
    font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--body-bg);
    color: var(--text);
    display: flex;
    height: 100vh;
    overflow: hidden;
    flex-direction: row;
    position: relative;
}

.extreme-ad-left,
.extreme-ad-right {
    width: var(--ad-column-width);
    background-color: var(--ad-space-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    flex-shrink: 0;
    height: 100vh;
    z-index: 10;
}
.extreme-ad-left {
    border-right: 1px solid var(--border-color);
}
.extreme-ad-right {
    border-left: 1px solid var(--border-color);
}

.hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

body:has(#sl-300:checked) {
    --body-bg: #cbd5e1;
    --bg-light: #f1f5f9;
    --header-bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --drawer-bg: #1e293b;
    --drawer-border: #334155;
    --drawer-hover: #2a3a55;
    --active-bg: #64748b;
    --active-text: #fff;
    --active-dot: #f1f5f9;
    --input-bg: #ffffff;
    --input-border: #cbd5e1;
}
body:has(#sl-50:checked) {
    --body-bg: #f8fafc;
    --bg-light: #ffffff;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #94a3b8;
    --border-color: #f1f5f9;
    --drawer-bg: #1e293b;
    --drawer-border: #334155;
    --drawer-hover: #2a3a55;
    --active-bg: #e2e8f0;
    --active-text: #0f172a;
    --active-dot: #0f172a;
    --input-bg: #f8fafc;
    --input-border: #e2e8f0;
}
body:has(#sl-100:checked) {
    --body-bg: #f1f5f9;
    --bg-light: #f8fafc;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --drawer-bg: #1e293b;
    --drawer-border: #334155;
    --drawer-hover: #2a3a55;
    --active-bg: #cbd5e1;
    --active-text: #0f172a;
    --active-dot: #0f172a;
    --input-bg: #f8fafc;
    --input-border: #e2e8f0;
}
body:has(#sl-200:checked) {
    --body-bg: #e2e8f0;
    --bg-light: #f8fafc;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --drawer-bg: #1e293b;
    --drawer-border: #334155;
    --drawer-hover: #233045;
    --active-bg: #94a3b8;
    --active-text: #fff;
    --active-dot: #f8fafc;
    --input-bg: #f1f5f9;
    --input-border: #e2e8f0;
}
body:has(#sl-400:checked) {
    --body-bg: #94a3b8;
    --bg-light: #e2e8f0;
    --header-bg: #f1f5f9;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #475569;
    --border-color: #94a3b8;
    --drawer-bg: #0f172a;
    --drawer-border: #1e293b;
    --drawer-hover: #1e2a44;
    --active-bg: #475569;
    --active-text: #fff;
    --active-dot: #e2e8f0;
    --input-bg: #ffffff;
    --input-border: #94a3b8;
}
body:has(#sl-500:checked) {
    --body-bg: #64748b;
    --bg-light: #cbd5e1;
    --header-bg: #e2e8f0;
    --card-bg: #f8fafc;
    --text: #0f172a;
    --text-muted: #334155;
    --border-color: #64748b;
    --drawer-bg: #0f172a;
    --drawer-border: #1e293b;
    --drawer-hover: #1e2a44;
    --active-bg: #334155;
    --active-text: #f1f5f9;
    --active-dot: #cbd5e1;
    --input-bg: #f1f5f9;
    --input-border: #94a3b8;
}
body:has(#sl-blue:checked) {
    --body-bg: #bfdbfe;
    --bg-light: #eff6ff;
    --header-bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e3a5f;
    --text-muted: #64748b;
    --border-color: #bfdbfe;
    --drawer-bg: #172554;
    --drawer-border: #1e3a8a;
    --drawer-hover: #1e3a6a;
    --active-bg: #3b82f6;
    --active-text: #fff;
    --active-dot: #dbeafe;
    --input-bg: #eff6ff;
    --input-border: #bfdbfe;
}
body:has(#sl-cool:checked) {
    --body-bg: #dbeafe;
    --bg-light: #f0f9ff;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border-color: #dbeafe;
    --drawer-bg: #0f172a;
    --drawer-border: #1e293b;
    --drawer-hover: #1e293b;
    --active-bg: #0ea5e9;
    --active-text: #fff;
    --active-dot: #e0f2fe;
    --input-bg: #f0f9ff;
    --input-border: #dbeafe;
}
body:has(#sl-steel:checked) {
    --body-bg: #94a3b8;
    --bg-light: #e2e8f0;
    --header-bg: #e2e8f0;
    --card-bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #475569;
    --border-color: #94a3b8;
    --drawer-bg: #1e293b;
    --drawer-border: #334155;
    --drawer-hover: #334155;
    --active-bg: #1e293b;
    --active-text: #f1f5f9;
    --active-dot: #94a3b8;
    --input-bg: #f8fafc;
    --input-border: #94a3b8;
}
body:has(#sl-ink:checked) {
    --body-bg: #334155;
    --bg-light: #1e293b;
    --header-bg: #1e293b;
    --card-bg: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --drawer-bg: #020617;
    --drawer-border: #0f172a;
    --drawer-hover: #0f172a;
    --active-bg: #e2e8f0;
    --active-text: #0f172a;
    --active-dot: #0f172a;
    --input-bg: #1e293b;
    --input-border: #334155;
}
body:has(#sl-graphite:checked) {
    --body-bg: #0f172a;
    --bg-light: #1e293b;
    --header-bg: #1e293b;
    --card-bg: #334155;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --drawer-bg: #020617;
    --drawer-border: #0f172a;
    --drawer-hover: #111a2e;
    --active-bg: #f1f5f9;
    --active-text: #0f172a;
    --active-dot: #0f172a;
    --input-bg: #1e293b;
    --input-border: #334155;
}
body:has(#sl-midnight:checked) {
    --body-bg: #020617;
    --bg-light: #0f172a;
    --header-bg: #0f172a;
    --card-bg: #1e293b;
    --text: #e2e8f0;
    --text-muted: #64748b;
    --border-color: #1e293b;
    --drawer-bg: #000000;
    --drawer-border: #1e293b;
    --drawer-hover: #0f172a;
    --active-bg: #cbd5e1;
    --active-text: #020617;
    --active-dot: #020617;
    --input-bg: #1e293b;
    --input-border: #334155;
}

.app {
    flex: 1;
    max-width: var(--app-w);
    margin: 0 auto;
    height: 100%;
    /* height: 100dvh; */

    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.header {
    height: var(--header-h);
    flex-shrink: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    z-index: 50;
    position: relative;
}
.ham {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--card-bg);
    color: var(--text);
    flex-shrink: 0;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    line-height: 38px;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--active-bg);
    place-items: center;
    color: var(--active-text);
    font-weight: 600;
    font-size: 25px;
    padding: 0;
    font-family: Arial, system-ui, Segoe UI, Roboto, Helvetica;
}
.brand-name b {
    font-size: 14px;
    color: var(--text);
    display: block;
    line-height: 1.1;
}
.brand-name span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.06em;
}
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}
.search-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
}
.search-input {
    width: 100%;
    height: 36px;
    padding: 0 36px 0 36px;
    border-radius: 10px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    font-size: 13px;
    color: var(--text);
    outline: none;
}
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}
.search-kbd {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: 700;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    border-radius: 5px;
    color: var(--text-muted);
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-height: 320px;
    overflow: auto;
    display: none;
    z-index: 100;
}
.search-dropdown.show {
    display: block;
}
.search-item {
    padding: 9px 12px;
    font-size: 12.5px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
    margin: 0 2px;
}
.dropdown-anchor {
    position: relative;
    display: inline-flex;
}
.fy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
}
.fy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.fy-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 200;
    padding: 6px;
}
.fy-dropdown.show {
    display: block;
}
.fy-option {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}
.fy-option:hover {
    background: var(--bg-light);
}
.fy-option.active {
    background: var(--active-bg);
    color: var(--active-text);
}
.fy-option small {
    font-size: 10px;
    opacity: 0.7;
}
.quick-btn {
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    border: none;
    background: var(--active-bg);
    color: var(--active-text);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.quick-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 210px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 200;
    padding: 6px;
}
.quick-dropdown.show {
    display: block;
}
.quick-option {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    cursor: pointer;
    color: var(--text);
    display: flex;
    gap: 8px;
    align-items: center;
}
.quick-option:hover {
    background: var(--bg-light);
}

/* AVATAR + LOGOUT DROPDOWN */
.user-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--text);
    cursor: pointer;
    transition: 0.15s;
}
.user-btn:hover {
    border-color: var(--active-bg);
}
.avatar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 200;
    padding: 6px;
    overflow: hidden;
}
.avatar-dropdown.show {
    display: block;
}
.avatar-head {
    padding: 10px 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 6px;
}
.avatar-big {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--active-bg);
    color: var(--active-text);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
}
.avatar-info b {
    font-size: 13px;
    color: var(--text);
    display: block;
}
.avatar-info span {
    font-size: 11px;
    color: var(--text-muted);
}
.avatar-menu {
    padding: 2px;
}
.avatar-item {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    cursor: pointer;
    color: var(--text);
    display: flex;
    gap: 9px;
    align-items: center;
    transition: 0.12s;
}
.avatar-item:hover {
    background: var(--bg-light);
}
.avatar-item.danger {
    color: #ef4444;
}
.avatar-item.danger:hover {
    background: #fef2f2;
}

.layout {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /* border: 3px solid red; */
}
.drawer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--drawer-w);
    /* height: 100%; */
    background: var(--drawer-bg);
    border-right: 1px solid var(--drawer-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
    transform: translateX(-105%);
    transition: transform 0.26s ease;
}
.drawer.open {
    transform: translateX(0);
}
.app.is-pinned .drawer {
    position: relative;
    left: auto;
    top: auto;
    /* bottom: 0; */
    transform: none !important;
    flex: 0 0 var(--drawer-w);
    height: 100%;
    transition: none;
}
.app.is-pinned .ham {
    display: none;
}
.app.is-pinned {
    .layout {
        flex-direction: row;
    }
}

.work-space {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 25;
}

.modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 26;
}

.overlay.show {
    /* opacity: 1; */
    opacity: 0;
    pointer-events: auto;
}
.overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.app.is-pinned .overlay {
    /* display: none !important; */
    opacity: 0 !important;
}
.app.is-pinned .overlay.visible {
    opacity: 1 !important;
}

.modal-backdrop {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    display: none;
    place-items: center;
    z-index: 100;
    padding: 16px;
}
.modal-backdrop.open {
    display: grid;
}

.drawer-scroll {
    flex: 1;
    /* overflow-y: auto; */
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--drawer-border) transparent;
    padding: 8px;
    scrollbar-gutter: stable;
}
.drawer-head {
    padding: 12px 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}
.drawer-head strong {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #94a3b8;
}
.drawer-head div {
    font-size: 11px;
    color: #cbd5e1;
    margin-top: 3px;
}
.group {
    margin-bottom: 2px;
}
.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.group-header:hover {
    background: var(--drawer-hover);
    color: #fff;
}
.group.open .group-header {
    background: var(--drawer-hover);
    color: #fff;
}
.expand-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
}
.group-header:hover .expand-dot {
    background: #e2e8f0;
}
.group.open .expand-dot {
    background: #ffffff;
}
.nested-header .expand-dot {
    width: 5px;
    height: 5px;
    background: #64748b;
}
.nested-header:hover .expand-dot {
    background: #cbd5e1;
}
.submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: max-height 0.26s ease, opacity 0.18s, transform 0.18s, visibility 0.26s;
}
.group.open .submenu {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 2px;
}
.m-item {
    padding: 8px 10px 8px 32px;
    border-radius: 7px;
    font-size: 12.5px;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.m-item::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
}
.m-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.m-item.active {
    background: var(--active-bg);
    color: var(--active-text);
    font-weight: 600;
}
.m-item.active::before {
    background: var(--active-dot);
    width: 6px;
    height: 6px;
}

.nested {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: 0.2s;
    margin: 1px 0 1px 32px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.nested.open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px 2px;
}
.theme-card {
    padding: 8px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}
.theme-card:hover {
    background: rgba(255, 255, 255, 0.08);
}
.theme-card.active {
    border-color: var(--active-bg);
    background: rgba(148, 163, 184, 0.15);
}
.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.theme-name {
    font-size: 11px;
    color: #e2e8f0;
}
.theme-name small {
    display: block;
    font-size: 9px;
    color: #94a3b8;
}
.drawer-foot {
    padding: 12px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
}
.pin-beautiful {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f172a;
    color: #e2e8f0;
    cursor: pointer;
}
.pin-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}
.pin-toggle {
    min-width: 44px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    color: #94a3b8;
}
.pin-beautiful.on .pin-toggle {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #e2e8f0;
}
.content {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: auto;
    background: var(--bg-light);
}

.content-area {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.content-area#spa-content-canvas {
    display: flex !important;
    flex-direction: column !important; /* Arranges child panels in a clean vertical stack */
    flex: 1;

    /* height: calc(100vh - 60px) !important; 
    max-height: calc(100vh - 60px) !important;  */

    min-height: 0;
    overflow: hidden !important; /* Prevents global page layout blowouts */
    box-sizing: border-box !important;
    position: relative;
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

.content-area#spa-content-canvas.canvas-hidden {
    opacity: 0;
    pointer-events: none;
}

.responsive-ad-bottom {
    /* Baseline: Hidden on wide desktop layouts where vertical side banners take over */
    display: none !important;

    /* 🔒 LOCKOUT MECHANISM: Tells the flex engine it is forbidden from shrinking the ad size */
    flex-shrink: 0 !important;

    height: 125px !important;
    min-height: 125px !important;
    max-height: 125px !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    background: cornflowerblue;
    border: 1px dashed #cbd5e1;
    box-sizing: border-box !important;
    /* border: 5px solid yellowgreen; */
}

.canvas-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 12px;
    padding: 20px;
    text-align: center;
}




@media (max-width: 1400px) {
    .extreme-ad-right,
    .extreme-ad-left {
        display: none;
    }

    .responsive-ad-bottom {
        display: flex !important;
        /* min-height: 125px !important;
        max-height: 125px !important; */
    }

    /* .overlay,
    .modal-overlay {
        bottom: 125px;
    }

    .ui-modal-overlay {
        bottom: 125px !important; 
    } */
}

@media (max-width: 900px) {
    .header-center {
        display: none;
    }
}

@media (max-width: 800px) {
    .drawer-foot {
        display: none !important;
    }
    .app.is-pinned .drawer {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        transform: translateX(-105%) !important;
        flex: none !important;
    }
    .app.is-pinned .drawer.open {
        transform: translateX(0) !important;
    }
    .app.is-pinned .ham {
        display: grid !important;
    }
    /* .overlay,
    .modal-overlay {
        bottom: 125px;
    } */
}

