/* =========================================================
   PUBLIC SITE MASTER
   File: /SiteMaster/sitemaster.css
========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --cos-accent: #1683ff;
    --cos-accent-2: #005ee8;
    --cos-radius: 22px;
    --cos-density-scale: 1;
    --cos-font-scale: 1;
    --cos-header-height: 82px;
    --cos-footer-height: 76px;

    --cos-bg: #070b13;
    --cos-bg-2: #0d1424;
    --cos-surface: rgba(17, 24, 39, .86);
    --cos-surface-strong: rgba(15, 23, 42, .96);
    --cos-soft: rgba(30, 41, 59, .76);
    --cos-text: #f8fafc;
    --cos-muted: #aab6c9;
    --cos-border: rgba(148, 163, 184, .18);
    --cos-shadow: rgba(0, 0, 0, .34);
}

html[data-accent="blue"] { --cos-accent: #1683ff; --cos-accent-2: #005ee8; }
html[data-accent="purple"] { --cos-accent: #7c3aed; --cos-accent-2: #5b21b6; }
html[data-accent="teal"] { --cos-accent: #14b8a6; --cos-accent-2: #0f766e; }
html[data-accent="green"] { --cos-accent: #22c55e; --cos-accent-2: #15803d; }
html[data-accent="orange"] { --cos-accent: #f97316; --cos-accent-2: #c2410c; }
html[data-accent="red"] { --cos-accent: #ef4444; --cos-accent-2: #b91c1c; }
html[data-accent="pink"] { --cos-accent: #ec4899; --cos-accent-2: #be185d; }
html[data-accent="indigo"] { --cos-accent: #6366f1; --cos-accent-2: #4338ca; }
html[data-accent="amber"] { --cos-accent: #f59e0b; --cos-accent-2: #b45309; }
html[data-accent="cyan"] { --cos-accent: #06b6d4; --cos-accent-2: #0e7490; }

html[data-mode="light"] {
    --cos-bg: #f6f8fc;
    --cos-bg-2: #eef3fb;
    --cos-surface: rgba(255, 255, 255, .82);
    --cos-surface-strong: rgba(255, 255, 255, .96);
    --cos-soft: rgba(241, 245, 249, .9);
    --cos-text: #172033;
    --cos-muted: #66748a;
    --cos-border: rgba(15, 23, 42, .12);
    --cos-shadow: rgba(15, 23, 42, .12);
}

html[data-density="compact"] { --cos-density-scale: .92; }
html[data-density="normal"] { --cos-density-scale: 1; }
html[data-density="roomy"] { --cos-density-scale: 1.08; }

html[data-font="small"] { --cos-font-scale: .94; }
html[data-font="normal"] { --cos-font-scale: 1; }
html[data-font="large"] { --cos-font-scale: 1.08; }

html,
body {
    margin: 0;
    min-height: 100%;
    color: var(--cos-text);
    background: var(--cos-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: calc(16px * var(--cos-font-scale));
}

body {
    overflow-x: hidden;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
}

.cos-page {
    position: relative;
    min-height: 100vh;
    padding-top: var(--cos-header-height);
    padding-bottom: var(--cos-footer-height);
    background:
        radial-gradient(circle at 14% 12%, color-mix(in srgb, var(--cos-accent) 16%, transparent), transparent 28%),
        radial-gradient(circle at 90% 18%, color-mix(in srgb, var(--cos-accent-2) 13%, transparent), transparent 28%),
        linear-gradient(180deg, var(--cos-bg), var(--cos-bg-2));
}

.cos-page::before {
    content: "";
    position: fixed;
    inset: var(--cos-header-height) 0 var(--cos-footer-height) 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(var(--cos-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--cos-border) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 8%, black, transparent 70%);
}

/* =========================================================
   HEADER
========================================================= */

.cos-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    min-height: var(--cos-header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--cos-accent) 22%, var(--cos-border));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--cos-accent) 12%, transparent), transparent 42%),
        color-mix(in srgb, var(--cos-surface-strong) 95%, transparent);
    box-shadow: 0 18px 50px var(--cos-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.cos-header-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    opacity: .82;
}

.cos-header-shape-one {
    width: 420px;
    height: 120px;
    left: 16%;
    top: -76px;
    background: color-mix(in srgb, var(--cos-accent) 22%, transparent);
    transform: rotate(-7deg);
}

.cos-header-shape-two {
    width: 290px;
    height: 90px;
    right: -70px;
    top: 18px;
    border: 1px solid color-mix(in srgb, var(--cos-accent) 30%, transparent);
    background: color-mix(in srgb, var(--cos-accent-2) 12%, transparent);
    transform: rotate(-13deg);
}

.cos-header-inner {
    position: relative;
    z-index: 2;
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.cos-brand {
    min-width: 235px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cos-brand-mark {
    position: relative;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(circle at 24% 22%, rgba(255, 255, 255, .34), transparent 29%),
        linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
    box-shadow: 0 16px 34px color-mix(in srgb, var(--cos-accent) 28%, transparent);
    overflow: hidden;
}

.cos-brand-dot {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
}

.dot-one { width: 10px; height: 10px; left: 10px; bottom: 11px; }
.dot-two { width: 7px; height: 7px; right: 12px; top: 12px; }
.dot-three { width: 15px; height: 15px; right: -3px; bottom: 7px; }

.cos-brand-letter {
    position: relative;
    z-index: 1;
    font-size: 25px;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -.08em;
}

.cos-brand-text strong,
.cos-brand-text small {
    display: block;
}

.cos-brand-text strong {
    color: var(--cos-text);
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: -.035em;
}

.cos-brand-text small {
    margin-top: 2px;
    color: var(--cos-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* =========================================================
   PRO MENU
========================================================= */

.cos-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    max-width: 690px;
    margin: 0 auto;
    padding: 7px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--cos-accent) 22%, var(--cos-border));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--cos-accent) 9%, transparent), transparent 54%),
        color-mix(in srgb, var(--cos-soft) 48%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 16px 42px color-mix(in srgb, var(--cos-shadow) 65%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cos-nav::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .035);
}

.cos-nav-link {
    position: relative;
    min-height: calc(44px * var(--cos-density-scale));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 13px 0 9px;
    border-radius: 999px;
    color: var(--cos-muted);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}

.cos-nav-button {
    appearance: none;
}

.cos-nav-link::before {
    content: attr(data-nav-icon);
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
    color: var(--cos-accent);
    background: color-mix(in srgb, var(--cos-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--cos-accent) 16%, transparent);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: -.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
    transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.cos-nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 5px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--cos-accent), transparent);
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .16s ease, transform .16s ease;
}

.cos-nav-label {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.cos-nav-link:hover {
    color: var(--cos-text);
    background: color-mix(in srgb, var(--cos-accent) 10%, transparent);
    transform: translateY(-1px);
}

.cos-nav-link:hover::before {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
    transform: translateY(-1px);
}

.cos-nav-link:hover::after {
    opacity: .75;
    transform: scaleX(1);
}

.cos-nav-link.is-active {
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .24), transparent 32%),
        linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
    box-shadow:
        0 14px 32px color-mix(in srgb, var(--cos-accent) 24%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .2);
}

.cos-nav-link.is-active::before {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .18);
}

.cos-nav-link.is-active::after {
    opacity: 0;
}

.cos-header-theme {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--cos-text);
    background: color-mix(in srgb, var(--cos-soft) 76%, transparent);
    border: 1px solid color-mix(in srgb, var(--cos-accent) 26%, var(--cos-border));
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
}

.theme-orb {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--cos-accent) 12%, transparent);
}

.cos-menu-button {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    gap: 5px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--cos-soft) 86%, transparent);
    border: 1px solid var(--cos-border);
    cursor: pointer;
}

.cos-menu-button span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: var(--cos-text);
    transition: transform .18s ease, opacity .18s ease;
}

body.menu-open .cos-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .cos-menu-button span:nth-child(2) {
    opacity: 0;
}

body.menu-open .cos-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MAIN AND FOOTER
========================================================= */

.cos-main {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 36px));
    min-height: calc(100vh - var(--cos-header-height) - var(--cos-footer-height));
    margin: 0 auto;
    padding: calc(32px * var(--cos-density-scale)) 0;
}

.cos-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8000;
    min-height: var(--cos-footer-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid color-mix(in srgb, var(--cos-accent) 20%, var(--cos-border));
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--cos-accent) 13%, transparent), transparent 40%),
        color-mix(in srgb, var(--cos-surface-strong) 95%, transparent);
    box-shadow: 0 -18px 48px var(--cos-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cos-footer-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}

.cos-footer-shape-one {
    width: 340px;
    height: 100px;
    left: -86px;
    bottom: -60px;
    background: color-mix(in srgb, var(--cos-accent) 16%, transparent);
}

.cos-footer-shape-two {
    width: 430px;
    height: 92px;
    right: 12%;
    bottom: -65px;
    border: 1px solid color-mix(in srgb, var(--cos-accent) 25%, transparent);
    background: color-mix(in srgb, var(--cos-accent-2) 10%, transparent);
    transform: rotate(4deg);
}

.cos-footer-inner {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cos-footer-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cos-footer-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: -.08em;
}

.cos-footer-brand strong,
.cos-footer-brand small {
    display: block;
}

.cos-footer-brand strong {
    color: var(--cos-text);
    font-size: 14px;
    font-weight: 1000;
}

.cos-footer-brand small {
    margin-top: 2px;
    color: var(--cos-muted);
    font-size: 12px;
    font-weight: 700;
}

.cos-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cos-footer-links a,
.cos-footer-links button {
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--cos-muted);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.cos-footer-links a:hover,
.cos-footer-links button:hover {
    color: var(--cos-text);
    background: color-mix(in srgb, var(--cos-accent) 10%, transparent);
}

/* =========================================================
   COMING SOON TOAST
========================================================= */

.coming-soon-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--cos-footer-height) + 18px);
    z-index: 12000;
    min-width: 270px;
    max-width: calc(100vw - 34px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 19px;
    color: var(--cos-text);
    background: var(--cos-surface-strong);
    border: 1px solid color-mix(in srgb, var(--cos-accent) 28%, var(--cos-border));
    box-shadow: 0 20px 52px var(--cos-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
}

.coming-soon-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.coming-soon-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
}

.coming-soon-toast strong,
.coming-soon-toast small {
    display: block;
}

.coming-soon-toast strong {
    font-size: 14px;
    font-weight: 1000;
}

.coming-soon-toast small {
    margin-top: 2px;
    color: var(--cos-muted);
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   FLOATING THEME PANEL
========================================================= */

.order-theme-floating-btn {
    position: fixed;
    right: 22px;
    bottom: calc(var(--cos-footer-height) + 18px);
    z-index: 11000;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--cos-accent) 38%, transparent);
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .38), transparent 24%),
        linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
    box-shadow: 0 18px 44px color-mix(in srgb, var(--cos-accent) 26%, transparent);
    cursor: pointer;
}

.theme-float-ring {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, .95);
    border-radius: 999px;
}

.theme-float-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    right: 15px;
    top: 15px;
    background: #fff;
}

.order-theme-panel {
    position: fixed;
    right: 22px;
    bottom: calc(var(--cos-footer-height) + 86px);
    z-index: 11001;
    width: 320px;
    max-width: calc(100vw - 32px);
    display: none;
    padding: 18px;
    border-radius: 26px;
    color: var(--cos-text);
    border: 1px solid color-mix(in srgb, var(--cos-accent) 28%, var(--cos-border));
    background:
        radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--cos-accent) 16%, transparent), transparent 38%),
        var(--cos-surface-strong);
    box-shadow: 0 26px 80px var(--cos-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.order-theme-panel.is-open {
    display: block;
    animation: themePanelIn .16s ease both;
}

.order-theme-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.order-theme-head strong,
.order-theme-head span {
    display: block;
}

.order-theme-head strong {
    color: var(--cos-text);
    font-size: 16px;
    font-weight: 1000;
}

.order-theme-head span {
    margin-top: 3px;
    color: var(--cos-muted);
    font-size: 12px;
    font-weight: 750;
}

.order-theme-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--cos-text);
    background: var(--cos-soft);
    border: 1px solid var(--cos-border);
    cursor: pointer;
    font-size: 20px;
}

.theme-block {
    margin-top: 13px;
}

.theme-block p {
    margin: 0 0 8px;
    color: var(--cos-muted);
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.theme-choice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.theme-choice-row.three {
    grid-template-columns: repeat(3, 1fr);
}

.theme-choice-row button,
.theme-reset-button {
    min-height: 40px;
    border-radius: 14px;
    color: var(--cos-text);
    background: var(--cos-soft);
    border: 1px solid var(--cos-border);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.theme-choice-row button:hover,
.theme-reset-button:hover {
    border-color: color-mix(in srgb, var(--cos-accent) 42%, var(--cos-border));
}

.theme-choice-row button.is-active,
.theme-reset-button:active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cos-accent), var(--cos-accent-2));
}

.accent-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.accent-dot {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
}

.accent-dot.is-active {
    border-color: #fff;
    outline: 4px solid color-mix(in srgb, var(--cos-accent) 22%, transparent);
}

.accent-blue { background: #1683ff; }
.accent-purple { background: #7c3aed; }
.accent-teal { background: #14b8a6; }
.accent-green { background: #22c55e; }
.accent-orange { background: #f97316; }
.accent-red { background: #ef4444; }
.accent-pink { background: #ec4899; }
.accent-indigo { background: #6366f1; }
.accent-amber { background: #f59e0b; }
.accent-cyan { background: #06b6d4; }

.theme-reset-button {
    width: 100%;
    margin-top: 14px;
}

@keyframes themePanelIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   TABLET / MOBILE
========================================================= */

.cos-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 8700;
    display: none;
    background: rgba(0, 0, 0, .38);
    backdrop-filter: blur(3px);
}

body.menu-open .cos-mobile-backdrop {
    display: block;
}

@media (max-width: 1020px) {
    .cos-header-inner,
    .cos-main,
    .cos-footer-inner {
        width: min(100% - 28px, 940px);
    }

    .cos-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .cos-menu-button {
        display: grid;
        order: 3;
    }

    .cos-header-theme {
        order: 2;
    }

    .cos-nav {
        position: fixed;
        top: calc(var(--cos-header-height) + 12px);
        right: 14px;
        z-index: 9200;
        width: min(380px, calc(100vw - 28px));
        display: none;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 14px;
        border-radius: 26px;
        border: 1px solid color-mix(in srgb, var(--cos-accent) 28%, var(--cos-border));
        background:
            radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--cos-accent) 15%, transparent), transparent 34%),
            var(--cos-surface-strong);
        box-shadow: 0 24px 70px var(--cos-shadow);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    body.menu-open .cos-nav {
        display: flex;
        animation: mobileNavIn .16s ease both;
    }

    .cos-nav-link {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 0 16px;
        border-radius: 17px;
    }

    .cos-nav-link.is-active {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    :root {
        --cos-header-height: 74px;
        --cos-footer-height: 90px;
    }

    .cos-header-inner,
    .cos-main,
    .cos-footer-inner {
        width: calc(100% - 22px);
    }

    .cos-brand-mark {
        width: 46px;
        height: 46px;
        border-radius: 17px;
    }

    .cos-brand-text strong {
        font-size: 16px;
    }

    .cos-brand-text small {
        font-size: 10px;
    }

    .cos-header-theme span:not(.theme-orb) {
        display: none;
    }

    .cos-header-theme {
        width: 46px;
        padding: 0;
    }

    .cos-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
    }

    .cos-footer-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .cos-footer-links a,
    .cos-footer-links button {
        flex: 0 0 auto;
        height: 28px;
        padding: 0 9px;
        font-size: 11px;
    }

    .cos-footer-brand small {
        display: none;
    }

    .order-theme-floating-btn {
        right: 13px;
        bottom: calc(var(--cos-footer-height) + 13px);
        width: 50px;
        height: 50px;
        border-radius: 18px;
    }

    .order-theme-panel {
        right: 11px;
        bottom: calc(var(--cos-footer-height) + 74px);
    }

    .coming-soon-toast {
        bottom: calc(var(--cos-footer-height) + 13px);
    }
}

@keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
