:root {
    --d88-app-bg: linear-gradient(180deg, #f8fafc 0%, #eef2ff 52%, #f8fafc 100%);
    --d88-panel-bg: rgba(255, 255, 255, 0.9);
    --d88-panel-border: rgba(219, 229, 246, 0.9);
    --d88-panel-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
    --d88-copy: #334155;
    --d88-heading: #0f172a;
    --d88-muted: #64748b;
}

html,
body {
    min-height: 100%;
}

body.d88-theme-app {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.d88-theme-app__note,
.note-notification {
    border-radius: 12px;
    box-shadow: var(--lk-shadow-soft);
}

.d88-theme-app .d88-theme-app__notifications {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1100;
    display: grid;
    gap: 10px;
}

.d88-theme-app__viewport {
    width: min(1760px, calc(100% - 28px));
    margin: 0 auto;
}

.d88-theme-app__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
}

.d88-theme-app__grid>.col-l {
    flex: 0 0 clamp(280px, 23vw, 320px);
    width: clamp(280px, 23vw, 320px);
    max-width: clamp(280px, 23vw, 320px);
}

.d88-theme-app__grid>.col-r {
    flex: 1 1 0;
    width: auto !important;
    max-width: none !important;
}

.padding0 {
    padding: 0 !important;
}

.d88-theme-app__main.main-body {
    overflow: visible;
}

.d88-theme-app__content-column {
    min-width: 0;
}

.d88-theme-app__content-column--full {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.d88-theme-app__clearfix {
    flex-basis: 100%;
    width: 100%;
    height: 0;
}

@media (max-width: 1199px) {
    .d88-theme-app__viewport {
        width: calc(100% - 18px);
    }

    .d88-theme-app__grid {
        column-gap: 10px;
    }

    .d88-theme-app__grid>.col-l {
        flex-basis: min(300px, 25vw);
        width: min(300px, 25vw);
        max-width: min(300px, 25vw);
    }
}

@media (max-width: 991px) {
    .d88-theme-app .d88-theme-app__notifications {
        top: calc(66px + env(safe-area-inset-top));
    }

    .d88-theme-app__viewport {
        width: calc(100% - 10px);
    }

    .d88-theme-app__grid {
        column-gap: 0;
    }

    .d88-theme-app__grid>.col-l,
    .d88-theme-app__grid>.col-r {
        flex-basis: 100%;
        width: 100% !important;
        max-width: 100% !important;
    }
}
